/* The same catalogue and order flow, arranged for one-handed use. */
.mobile-dock{display:none}
.checkout-actions{margin-top:20px}
.checkout-back{display:flex;align-items:center;min-height:44px;margin-bottom:8px}
.step-progress{font-size:12px;color:var(--muted);margin:14px 0 0}
.step-progress:empty{display:none}
.order-summary{border:1px solid var(--line);border-radius:6px;padding:0 14px;margin:4px 0 16px}
.order-summary summary{padding:14px 0;cursor:pointer;color:var(--navy);font-size:15px;min-height:48px}
.order-summary p{font-size:14px;padding:12px 0;border-top:1px solid var(--line)}
.order-summary strong{font-weight:500}
.form-heading,.catalog-toolbar{scroll-margin-top:90px}
@media(pointer:coarse){
  .field input,.field select,.field textarea,.search-box input{font-size:16px}
  .quantity button,.remove,.country-trigger,.close-button,.add-button,.bag-button,.language select{min-width:44px;min-height:44px}
}
@media(max-width:767px){
  html{scroll-padding-top:76px;-webkit-text-size-adjust:100%}
  body{padding-bottom:calc(86px + env(safe-area-inset-bottom))}
  .page-width{padding-left:16px;padding-right:16px}
  .announcement{justify-content:center;padding:calc(8px + env(safe-area-inset-top)) 16px 8px;font-size:11px;text-align:center}
  .announcement-right{display:none}
  .header-inner{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'brand actions' 'location location';gap:8px 12px;padding:12px 16px 8px;min-height:0}
  .header .brand{grid-area:brand;justify-self:start;justify-content:flex-start;gap:8px}
  .header .brand .brand-text{width:133px;gap:7px}
  .header .brand .brand-tower{width:28px;height:52px}
  .header-actions{grid-area:actions;gap:0}
  .header-actions .bag-button{display:none}
  .language select{max-width:124px;min-height:44px;font-size:16px;padding:8px 3px;background:white}
  .header .location{grid-area:location;display:flex;align-items:center;gap:10px;min-width:0;border-top:1px solid var(--line);padding-top:5px}
  .location .tiny-label{font-size:11px;letter-spacing:.04em;margin:0;flex-shrink:0}
  .country-trigger{font-size:14px;min-height:44px;max-width:100%;min-width:0;gap:8px;padding:5px 8px;flex:1;justify-content:space-between}
  .country-trigger svg{width:16px;height:16px}
  .main-nav{justify-content:flex-start;gap:26px;overflow-x:auto;overscroll-behavior-x:contain;padding:0 16px;scrollbar-width:none}
  .main-nav a{font-size:13px;min-height:48px;padding:14px 0;white-space:nowrap;flex-shrink:0}
  .catalog-intro{padding-top:16px}
  .breadcrumb{display:none}
  .intro-row{display:block;padding:9px 0 18px;margin:0}
  .intro-row:before{inset:0 -16px;background-position:center top}
  .intro-row .eyebrow{font-size:10px;line-height:1.6;letter-spacing:.075em;margin-bottom:9px}
  h1{font-size:38px;line-height:1.1;max-width:none}
  .intro-text{font-size:14px;line-height:1.55;margin-top:12px;max-width:100%}
  .category-bar{position:sticky;top:0;z-index:5;background:var(--paper);padding-top:env(safe-area-inset-top);border-bottom:1px solid var(--line);box-shadow:0 3px 12px #173f7d06}
  .category-bar>.page-width{padding:0}
  .category-tabs{gap:8px;padding:9px 16px;border:0;scroll-padding-inline:16px;overscroll-behavior-x:contain}
  .category-tabs button{border:1px solid var(--line);border-radius:24px;padding:10px 16px;min-height:44px;font-size:14px;background:white;line-height:1.4}
  .category-tabs button.active{color:white;border-color:var(--navy);background:var(--navy)}
  .catalog-layout{grid-template-columns:minmax(0,1fr);padding-top:16px;padding-bottom:36px}
  .catalog-sidebar{display:none}
  .catalog-toolbar{flex-direction:column-reverse;align-items:stretch;gap:12px;margin-bottom:16px}
  .search-box{width:100%;max-width:none;min-height:48px;border:1px solid var(--line);border-radius:8px;padding:10px 13px;gap:10px;background:white}
  .search-box svg{width:20px;height:20px}
  .search-box input{font-size:16px;min-height:26px}
  #result-count{font-size:12px}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 14px}
  .product-card{display:flex;flex-direction:column;min-width:0}
  .photo-button{aspect-ratio:1;border-radius:6px}
  .photo-button:hover .food-photo>img,.photo-button:hover .menu-crop{transform:none}
  .product-badge{font-size:10px;max-width:calc(100% - 16px);top:8px;left:8px;padding:4px 6px;line-height:1.35}
  .photo-arrow{width:30px;height:30px;right:8px;bottom:8px}
  .product-info{display:flex;flex-direction:column;flex:1;padding-top:8px}
  .product-info h2{font-size:21px;line-height:1.2;margin-bottom:5px;overflow-wrap:anywhere;hyphens:auto}
  .name-button{min-height:44px;display:flex;align-items:center;width:100%}
  .product-info p{font-size:13px;line-height:1.5;min-height:0;margin-bottom:12px;overflow-wrap:anywhere}
  .card-bottom{align-items:stretch;flex-direction:column;gap:8px;border:0;padding:0;margin-top:auto}
  .price{font-size:12px;line-height:1.5}
  .add-button{width:100%;min-height:46px;padding:10px 8px;font-size:14px;border:1px solid var(--red);border-radius:6px;line-height:1.4;background:white}
  .catalog-footnote{font-size:12px;line-height:1.6}
  .mobile-dock{position:fixed;inset:auto 0 0;z-index:12;display:grid;grid-template-columns:1fr 1fr 1.6fr;align-items:stretch;gap:8px;background:white;border-top:1px solid var(--line);box-shadow:0 -4px 24px #173f7d0d;padding:8px max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}
  .mobile-dock button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:56px;min-width:0;padding:5px 4px;border:0;background:white;color:var(--navy);font-size:12px;line-height:1.25;border-radius:8px}
  .mobile-dock svg{width:21px;height:21px}
  .mobile-dock .dock-cart{position:relative;flex-direction:column;gap:4px;background:var(--red);color:white;padding:5px 8px;font-size:13px}
  #mobile-cart-count{position:absolute;top:6px;left:calc(50% + 12px);display:grid;place-items:center;background:white;color:var(--red);border-radius:20px;min-width:20px;min-height:20px;padding:2px 4px;font-size:11px}
  body:has(dialog[open]) .mobile-dock,body:has(input:not([type='checkbox']):focus,textarea:focus) .mobile-dock{display:none}
  .toast{bottom:calc(88px + env(safe-area-inset-bottom));max-width:calc(100vw - 32px);width:max-content;padding:12px 18px;text-align:center;font-size:14px;border-radius:8px}
  dialog{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
  .close-button{width:44px;height:44px;min-width:44px;min-height:44px}
  .product-dialog{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:100%;max-height:calc(100dvh - env(safe-area-inset-top) - 8px);border-radius:18px 18px 0 0;overflow-y:auto}
  .product-dialog>.close-button{position:sticky;top:12px;margin:12px 12px -56px auto;z-index:4}
  .product-detail-layout{display:block;min-height:0}
  .detail-photo{height:240px;min-height:0;max-height:32dvh}
  .detail-photo .food-photo>img{object-fit:contain}
  .detail-body{padding:22px 20px 0}
  .detail-body h2{font-size:30px;line-height:1.18;padding-right:0}
  .detail-subtitle{font-size:14px;margin-bottom:12px}
  .detail-note,.small-note{font-size:13px;line-height:1.6}
  .detail-add{position:sticky;bottom:0;margin:20px -20px 0;z-index:2;gap:10px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:white;border-top:1px solid var(--line);box-shadow:0 -4px 18px #173f7d08}
  .quantity{min-height:48px;border-radius:6px;flex-shrink:0}
  .quantity button,.cart-item .quantity button{width:44px;min-width:44px;min-height:46px;font-size:22px}
  .quantity input{width:36px;font-size:16px}
  .quantity span,.cart-item .quantity span{min-width:36px;font-size:16px}
  .detail-add .primary-button{font-size:14px;line-height:1.3;min-width:0;padding:12px;border-radius:6px;min-height:50px}
  .cart-dialog{width:100%;max-width:100%;padding:0 18px calc(22px + env(safe-area-inset-bottom));height:100dvh;max-height:100dvh;scroll-padding-top:112px}
  .drawer-header{padding:calc(20px + env(safe-area-inset-top)) 52px 15px 0;margin-bottom:8px}
  .drawer-header .close-button{top:calc(13px + env(safe-area-inset-top))}
  .drawer-header h2{font-size:28px}
  .cart-item{grid-template-columns:64px minmax(0,1fr);gap:12px;padding:16px 0}
  .cart-item-photo{height:74px;border-radius:5px;overflow:hidden}
  .cart-item h3{font-size:22px;overflow-wrap:anywhere}
  .cart-item p{font-size:13px}
  .cart-item-controls{gap:6px;flex-wrap:wrap}
  .cart-item .quantity{min-height:46px}
  .remove{min-width:44px;min-height:44px;padding:8px 0;font-size:13px}
  .cart-total{font-size:15px;gap:18px;align-items:flex-start}
  .cart-total span:last-child{text-align:right}
  .cart-price-note{font-size:13px}
  .checkout-actions{position:sticky;bottom:0;z-index:2;margin:16px -18px -22px;padding:12px 18px calc(12px + env(safe-area-inset-bottom));background:white;border-top:1px solid var(--line)}
  .checkout-actions .cart-continue{padding:12px 0;margin:0;min-height:44px}
  .primary-button,.secondary-button{min-height:50px;border-radius:6px;font-size:16px;line-height:1.4}
  .form-grid{grid-template-columns:minmax(0,1fr);gap:0}
  .form-grid .span-two{grid-column:auto}
  .field{margin:14px 0}
  .form-grid .field{margin:12px 0}
  .field>span{font-size:14px;margin-bottom:8px}
  .field input,.field select,.field textarea,.country-field{font-size:16px;min-height:50px;line-height:1.5;padding:12px;border-radius:7px;max-width:100%}
  .field textarea{min-height:110px}
  .field input:focus,.field textarea:focus{scroll-margin-block:130px}
  .form-heading{font-size:27px;margin-top:20px;scroll-margin-top:112px}
  .check-label{font-size:14px;gap:12px;padding:8px 0;margin:18px 0}
  .check-label input{width:24px;height:24px;margin:0}
  .check-label button{line-height:1.6;min-height:44px;text-align:left}
  .review-block{font-size:15px;border-radius:6px}
  .review-actions{flex-direction:column-reverse;gap:10px}
  .review-actions>*{width:100%;flex:auto}
  .cart-continue{min-height:44px;padding:10px}
  .country-dialog{width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);padding:24px 18px 18px;border-radius:16px;overflow:hidden}
  .country-dialog[open]{display:flex;flex-direction:column}
  .country-dialog h2{font-size:26px;line-height:1.2;margin:4px 46px 20px 0;flex-shrink:0;outline:none}
  .country-dialog>.close-button{top:12px;right:12px}
  .country-dialog input{min-height:50px;font-size:16px;border-radius:7px;flex-shrink:0}
  .country-results{max-height:49dvh;min-height:0;flex:1 1 auto;overscroll-behavior:contain;padding:4px;scroll-padding:8px}
  .country-option{font-size:14px;min-height:50px;padding:9px;gap:7px;border-radius:6px}
  .country-grid{grid-template-columns:1fr;gap:8px}
  .country-code{font-size:10px;width:25px}
  .country-dialog .small-note{font-size:12px;line-height:1.5;margin:16px 0 0;flex-shrink:0}
  .info-dialog{width:calc(100vw - 24px);max-width:calc(100vw - 24px);padding:64px 22px 24px;border-radius:16px}
  .info-dialog p{font-size:15px;line-height:1.7}
  .steps{grid-template-columns:1fr;gap:24px}
  .steps p,.about-section p:not(.eyebrow){font-size:15px;line-height:1.7}
  .about-section{grid-template-columns:minmax(0,1fr);gap:28px;padding-top:40px;padding-bottom:40px}
  .about-mark .brand-text{width:min(230px,65vw)}
  .footer-main{display:block}
  .footer-main>div:nth-child(2){margin-top:24px}
  .footer-main .email-link{font-size:16px;overflow-wrap:anywhere;display:inline-block;min-height:44px;padding-top:8px}
  .footer-main>div:nth-child(2)>p:last-child{font-size:13px}
  .footer-bottom{font-size:12px;flex-wrap:wrap;gap:6px 18px;align-items:center}
  .footer-bottom>span:last-child{display:none}
  .footer-bottom button,.footer-bottom a{min-height:44px;display:flex;align-items:center;text-align:left}
  .back-top{display:none}
}
@media(max-width:359px){
  .header .brand .brand-text{width:115px}
  .header .brand .brand-tower{width:24px;height:47px}
  .language select{max-width:110px;font-size:15px}
  .product-grid{gap:24px 12px}
  .product-info h2{font-size:19px}
  .product-badge{font-size:9px}
  .detail-add{gap:8px;padding-left:12px;padding-right:12px}
  .detail-add .primary-button{font-size:13px}
  .mobile-dock{gap:5px;grid-template-columns:1fr .85fr 1.65fr}
  .mobile-dock .dock-cart{font-size:13px;padding:5px 8px}
  .country-grid{grid-template-columns:1fr}
}
@media(max-height:560px) and (max-width:767px){
  .country-dialog .small-note{display:none}
  .country-results{max-height:none}
  .detail-photo{height:150px}
}
