
:root{
  --bg:#f5f9fb;
  --surface:#ffffff;
  --text:#103a55;
  --muted:#668092;
  --navy:#07577f;
  --navy-dark:#064767;
  --cyan:#20acd1;
  --cyan-soft:#e9f8fc;
  --border:#dceaf0;
  --shadow:0 14px 38px rgba(7,87,127,.10);
  --radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);background:var(--bg)
}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
a{text-decoration:none;color:inherit}
.container{width:min(1180px,calc(100% - 32px));margin:auto}

.topbar{
  position:sticky;top:0;z-index:30;background:rgba(255,255,255,.95);
  backdrop-filter:blur(14px);border-bottom:1px solid var(--border)
}
.header-inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:flex;align-items:center;gap:12px}
.brand-logo{width:58px;height:58px;object-fit:contain;border-radius:14px;background:white}
.brand-title{font-weight:900;font-size:20px;letter-spacing:.08em;color:var(--navy)}
.brand-subtitle{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.header-actions{display:flex;gap:10px;align-items:center}

.hero{padding:62px 0 36px}
.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:28px;align-items:stretch}
.hero h1{font-size:clamp(40px,6vw,74px);line-height:.98;margin:14px 0 18px;letter-spacing:-.045em;color:var(--navy)}
.hero p{font-size:19px;line-height:1.6;color:var(--muted);max-width:680px}
.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:900;color:var(--cyan)}
.eyebrow.light{color:#77d9ef}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0}
.primary-btn,.secondary-btn,.ghost-btn,.cart-btn{
  border:0;border-radius:14px;padding:13px 18px;font-weight:800
}
.primary-btn{background:var(--navy);color:#fff;display:inline-flex;justify-content:center;align-items:center}
.primary-btn:hover{background:var(--navy-dark)}
.secondary-btn{background:var(--cyan-soft);color:var(--navy)}
.ghost-btn{background:#fff;border:1px solid var(--border);color:var(--text)}
.cart-btn{background:var(--navy);color:white}
#cartCount{
  display:inline-grid;place-items:center;min-width:22px;height:22px;border-radius:99px;background:white;color:var(--navy);
  padding:0 6px;margin-left:6px;font-size:12px
}
.hero-benefits{display:flex;gap:18px;flex-wrap:wrap;color:var(--muted);font-size:14px}
.hero-card{
  position:relative;overflow:hidden;border-radius:30px;min-height:390px;background:linear-gradient(150deg,#07577f,#1598bd);
  box-shadow:var(--shadow);display:flex;align-items:end
}
.hero-logo{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.18;mix-blend-mode:screen
}
.hero-card-content{position:relative;z-index:2;padding:34px;color:#fff}
.hero-card-badge{display:inline-block;background:rgba(255,255,255,.16);padding:8px 12px;border-radius:99px;font-size:12px;font-weight:900;letter-spacing:.13em}
.hero-card h3{font-size:32px;margin:18px 0 10px}
.hero-card p{font-size:15px;color:rgba(255,255,255,.8)}

.search-section{padding:18px 0 12px}
.search-wrap{display:flex;gap:10px;background:#fff;border:1px solid var(--border);padding:8px;border-radius:18px;box-shadow:var(--shadow)}
.search-wrap input{flex:1;border:0;outline:0;padding:10px 14px;background:transparent}
.search-wrap button{border:0;background:var(--navy);color:#fff;border-radius:12px;padding:0 22px;font-weight:900}

.categories-section,.catalog-section{padding:42px 0}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:22px}
.section-head h2{font-size:34px;margin:7px 0 0;letter-spacing:-.03em}
.categories{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.category{
  background:#fff;border:1px solid var(--border);border-radius:16px;padding:18px 14px;text-align:left;
  transition:.2s transform,.2s box-shadow
}
.category:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.category .icon{font-size:28px;display:block;margin-bottom:12px}
.category .name{font-weight:850}
.products-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.product-card{
  background:#fff;border:1px solid var(--border);border-radius:20px;padding:16px;display:flex;flex-direction:column;min-height:320px
}
.product-image{height:150px;border-radius:14px;background:var(--cyan-soft);display:grid;place-items:center;font-size:64px;margin-bottom:16px}
.product-name{font-weight:850;font-size:18px}
.product-meta{color:var(--muted);font-size:13px;margin:6px 0 14px}
.product-bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px}
.product-price{font-size:21px;font-weight:900;color:var(--navy)}
.add-btn{border:0;border-radius:12px;background:var(--navy);color:white;padding:10px 13px;font-weight:850}

.promo-section{padding:54px 0;background:linear-gradient(135deg,#063d5c,#07577f);color:white;margin-top:22px}
.promo-grid{display:grid;grid-template-columns:1fr 320px;gap:28px;align-items:center}
.promo-grid h2{font-size:38px;margin:10px 0}
.promo-grid p{color:#c7dde8}
.promo-card{background:#fff;color:var(--text);border-radius:22px;padding:28px;display:flex;flex-direction:column}
.promo-card strong{font-size:58px;color:var(--cyan)}

.drawer{
  position:fixed;right:0;top:0;height:100vh;width:min(440px,100%);background:white;z-index:60;
  transform:translateX(102%);transition:.25s ease;display:flex;flex-direction:column;box-shadow:-20px 0 50px rgba(0,0,0,.12)
}
.drawer.open{transform:translateX(0)}
.drawer-header,.drawer-footer{padding:24px;border-bottom:1px solid var(--border)}
.drawer-footer{border-top:1px solid var(--border);border-bottom:0;margin-top:auto}
.drawer-content{padding:18px 24px;overflow:auto}
.cart-item{display:grid;grid-template-columns:1fr auto;gap:10px;padding:14px 0;border-bottom:1px solid var(--border)}
.cart-item-name{font-weight:800}
.cart-item-meta{font-size:13px;color:var(--muted);margin-top:4px}
.qty-row{display:flex;align-items:center;gap:8px;justify-content:flex-end}
.qty-btn{width:30px;height:30px;border-radius:9px;border:1px solid var(--border);background:#fff}
.total-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;font-size:20px}
.full{width:100%}
/* Keep checkout reachable above the mobile browser toolbar. */
#cartDrawer{height:100vh;height:100dvh;max-height:100dvh;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto;padding-top:env(safe-area-inset-top,0px)}
#cartDrawer .drawer-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;min-width:0}
#cartDrawer .drawer-header h2{margin:2px 0 0;font-size:24px;line-height:1.2}
#cartDrawer .drawer-header .icon-btn{flex:0 0 44px;width:44px;height:44px}
#cartDrawer .drawer-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0 20px}
#cartDrawer .drawer-footer{margin:0;min-height:0;max-height:55vh;max-height:55dvh;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:12px;background:#fff;padding:12px 20px calc(16px + env(safe-area-inset-bottom,0px))}
#cartDrawer .cart-summary-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain}
#cartDrawer .summary-row{margin-bottom:5px;font-size:14px}
#cartDrawer .total-row{margin-bottom:8px;font-size:20px}
#cartDrawer .delivery-hint{margin:6px 0 0;font-size:13px;line-height:1.4}
#cartDrawer #checkoutBtn{position:relative;margin:0;min-height:50px;padding:12px 16px;font-size:16px;line-height:1.4;touch-action:manipulation}
#checkoutDialog{max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}
#checkoutDialog .checkout-form{padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))}
#checkoutDialog input,#checkoutDialog select,#checkoutDialog textarea{font-size:16px}
@media(max-width:640px){
  #cartDrawer .drawer-header{padding:12px 16px}
  #cartDrawer .drawer-content{padding:0 16px}
  #cartDrawer .drawer-footer{padding-left:16px;padding-right:16px}
  #cartDrawer .cart-item{padding:12px 0;grid-template-columns:minmax(0,1fr) auto}
  #cartDrawer .cart-item-name{font-size:16px;line-height:1.4;overflow-wrap:anywhere}
  #cartDrawer .qty-row{gap:6px}
  #cartDrawer #cityNotice{display:none}
}
.overlay{position:fixed;inset:0;background:rgba(10,31,44,.4);z-index:50;opacity:0;pointer-events:none;transition:.2s}
.overlay.show{opacity:1;pointer-events:auto}
.icon-btn{border:0;background:#eef5f8;border-radius:10px;width:38px;height:38px}
dialog{border:0;border-radius:22px;padding:0;width:min(520px,calc(100% - 28px));box-shadow:0 30px 80px rgba(0,0,0,.22)}
dialog::backdrop{background:rgba(0,0,0,.4)}
.checkout-form{padding:24px;display:grid;gap:16px}
.dialog-head{display:flex;align-items:start;justify-content:space-between}
.checkout-form label{display:grid;gap:7px;font-size:13px;font-weight:750}
.checkout-form input,.checkout-form select,.checkout-form textarea{
  width:100%;border:1px solid var(--border);border-radius:12px;padding:12px 13px;outline:0;background:#fff
}
.checkout-form textarea{min-height:90px;resize:vertical}

footer{padding:30px 0;background:#fff;border-top:1px solid var(--border)}
.footer-inner{display:flex;justify-content:space-between;align-items:center}
.footer-brand{display:flex;align-items:center;gap:12px}
.footer-brand img{width:54px;height:54px;object-fit:contain}
.muted{color:var(--muted)}
.empty{padding:30px 0;color:var(--muted);text-align:center}

@media (max-width:980px){
  .hero-grid{grid-template-columns:1fr}
  .hero-card{min-height:260px}
  .categories{grid-template-columns:repeat(3,1fr)}
  .products-grid{grid-template-columns:repeat(2,1fr)}
  .promo-grid{grid-template-columns:1fr}
}
@media (max-width:640px){
  .header-inner{padding:10px 0}
  .brand-logo{width:48px;height:48px}
  .brand-title{font-size:16px}
  .brand-subtitle{display:none}
  .header-actions .ghost-btn{display:none}
  .hero{padding-top:36px}
  .hero h1{font-size:44px}
  .categories{grid-template-columns:repeat(2,1fr)}
  .products-grid{grid-template-columns:1fr}
  .section-head{align-items:start}
  .section-head h2{font-size:29px}
  .show-all{display:inline-block}
  .search-wrap button{padding:0 14px}
}


.store-info-section{padding:54px 0 30px}
.store-info-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:16px;
}
.store-info-main{
  grid-row:span 2;
  background:linear-gradient(145deg,#ffffff,#eef9fc);
  border:1px solid var(--border);
  border-radius:24px;
  padding:28px;
}
.store-info-main h2{font-size:38px;margin:10px 0 12px;letter-spacing:-.03em}
.store-info-main p{color:var(--muted);line-height:1.6}
.info-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:20px;
  padding:20px;
  display:flex;
  gap:14px;
  align-items:flex-start;
}
.info-icon{
  width:42px;height:42px;border-radius:12px;background:var(--cyan-soft);
  display:grid;place-items:center;font-size:20px;flex:0 0 auto
}
.info-card strong{display:block;margin-bottom:6px}
.info-card p{margin:0;color:var(--muted);line-height:1.5}
.info-card a{color:var(--navy);font-weight:800}
.delivery-card{
  grid-column:2 / 4;
  background:var(--navy);
  color:#fff;
  border-radius:24px;
  padding:24px;
}
.delivery-rules{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-top:14px;
}
.delivery-rules div{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:5px
}
.delivery-rules strong{font-size:18px}
.delivery-rules span{font-size:13px;color:rgba(255,255,255,.78)}
.delivery-note{margin:14px 0 0;color:rgba(255,255,255,.72);font-size:13px}
.summary-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px;color:var(--muted)}
.delivery-hint{font-size:12px;color:var(--muted);margin:-4px 0 12px}
.footer-contact{display:flex;flex-direction:column;gap:3px;font-size:13px;color:var(--muted);text-align:right}
.footer-contact a{font-weight:800;color:var(--navy)}

@media (max-width:980px){
  .store-info-grid{grid-template-columns:1fr 1fr}
  .store-info-main{grid-column:1 / 3;grid-row:auto}
  .delivery-card{grid-column:1 / 3}
}
@media (max-width:640px){
  .store-info-grid{grid-template-columns:1fr}
  .store-info-main,.delivery-card{grid-column:auto}
  .delivery-rules{grid-template-columns:1fr}
  .footer-inner{align-items:flex-start;gap:18px;flex-wrap:wrap}
  .footer-contact{text-align:left;width:100%}
}

.category-count{display:block;margin-top:7px;font-size:12px;color:var(--muted)}
.results-note{grid-column:1/-1;background:#fff;border:1px solid var(--border);border-radius:16px;padding:18px;color:var(--muted);text-align:center}

.category small{display:block;color:var(--muted);font-size:11px;margin-top:6px}
.product-card.unavailable{opacity:.68}
.add-btn:disabled{background:#9eafb8;cursor:not-allowed}
.catalog-note{grid-column:1/-1;padding:18px;text-align:center;color:var(--muted);background:#fff;border:1px solid var(--border);border-radius:16px}

.catalog-breadcrumbs{
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
  margin:0 0 18px;
}
.crumb{
  border:0;
  background:transparent;
  color:var(--navy);
  font-weight:750;
  padding:6px 0;
}
.crumb.active{color:var(--text)}
.crumb-sep{color:#9bb0bd}
.category{
  position:relative;
  padding-right:38px;
}
.category-arrow{
  position:absolute;
  right:14px;
  bottom:16px;
  font-size:18px;
  color:var(--cyan);
  font-weight:900;
}
.category-empty{grid-column:1/-1}
.catalog-welcome{
  grid-column:1/-1;
  background:#fff;
  border:1px dashed var(--border);
  border-radius:20px;
  padding:34px;
  text-align:center;
  color:var(--muted);
  font-size:16px;
  line-height:1.6;
}
.product-path{
  display:inline-block;
  max-width:100%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  vertical-align:bottom;
}

.requisites-section{padding:54px 0;background:#eef7fa}
.requisites-card{background:#fff;border:1px solid var(--border);border-radius:26px;padding:30px;box-shadow:var(--shadow)}
.requisites-card h2{font-size:36px;margin:8px 0 22px;color:var(--navy)}
.requisites-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.req-item{border:1px solid var(--border);border-radius:16px;padding:16px;background:#fbfdfe;display:flex;flex-direction:column;gap:5px;min-width:0}
.req-item span{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:800}
.req-item strong{font-size:15px;line-height:1.45;overflow-wrap:anywhere}
.req-item small{color:var(--muted)}
.req-item a{color:var(--navy)}
.req-wide{grid-column:1/-1}
@media(max-width:640px){.requisites-card{padding:20px}.requisites-grid{grid-template-columns:1fr}.req-wide{grid-column:auto}}

.requisites-page{padding:58px 0 70px}
.requisites-page-head{max-width:760px;margin-bottom:26px}
.requisites-page-head h1{
  font-size:clamp(38px,6vw,62px);
  line-height:1;
  margin:12px 0 16px;
  letter-spacing:-.04em;
  color:var(--navy)
}
.requisites-page-head p{font-size:18px;line-height:1.6;color:var(--muted)}
.req-back-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
@media(max-width:640px){
  .req-back-link{display:inline-flex}
  .requisites-page{padding-top:34px}
}

.order-preview{border:1px solid var(--border);background:#f6fbfc;border-radius:16px;padding:14px;display:grid;gap:10px}
.order-preview-list{display:grid;gap:7px;max-height:180px;overflow:auto;padding-top:4px}
.order-preview-list>div,.order-preview-total{display:flex;justify-content:space-between;gap:14px;font-size:13px}
.order-preview-list span{min-width:0;line-height:1.35}.order-preview-list b{white-space:nowrap}
.order-preview-total{border-top:1px solid var(--border);padding-top:8px}.order-preview-total.grand{font-size:16px;color:var(--navy)}
.consent-line{grid-template-columns:auto 1fr!important;align-items:start!important;gap:9px!important;font-size:12px;color:var(--muted)}
.consent-line input{margin-top:3px}.order-send-status{min-height:20px;font-size:13px;line-height:1.4;color:var(--navy)}
#placeOrderBtn:disabled{opacity:.65;cursor:wait}
.catalog-sync-note{margin-top:10px;color:var(--muted);font-size:13px;text-align:right}
.admin-page{padding:58px 0 80px;min-height:65vh}
.admin-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.65fr);gap:24px;align-items:start}
.admin-card{background:#fff;border:1px solid var(--border);border-radius:24px;padding:28px;box-shadow:var(--shadow)}
.admin-card h1{font-size:clamp(32px,5vw,52px);line-height:1.05;margin:10px 0 14px;color:var(--navy)}
.admin-card h2{margin:0 0 14px;color:var(--navy)}
.admin-card p,.admin-card li{line-height:1.55;color:var(--muted)}
.import-form{display:grid;gap:18px;margin-top:24px}
.import-form label{display:grid;gap:8px;font-weight:750;color:var(--navy)}
.import-form input{width:100%;border:1px solid var(--border);border-radius:13px;padding:13px 14px;font:inherit;background:#fff}
.import-form input[type=file]{padding:11px}
.import-result{min-height:24px;border-radius:14px;font-size:14px;line-height:1.5}
.import-result.success{padding:14px;background:#e8f8f2;color:#155e4b}
.import-result.error{padding:14px;background:#fff0f0;color:#8a2d2d}
.admin-help{margin:0;padding-left:20px;display:grid;gap:10px}
.admin-warning{margin-top:18px;padding:14px;border-radius:14px;background:#fff8e6;color:#715410!important}
@media(max-width:760px){.admin-layout{grid-template-columns:1fr}.admin-card{padding:21px}.catalog-sync-note{text-align:left}}

/* Grocery storefront */
.hero-grocery{padding:42px 0 32px;background:linear-gradient(120deg,#edf8fc 0%,#f5f9fb 62%)}
.hero-grocery .hero-grid{grid-template-columns:1fr 1fr;gap:38px;align-items:center}
.hero-grocery h1{font-size:clamp(42px,5.3vw,68px);line-height:1.06;margin:18px 0;letter-spacing:-.035em}
.hero-grocery h1 em{font-style:normal;color:#16859a}
.hero-grocery p{font-size:18px;line-height:1.65;max-width:460px;margin:0}
.hero-grocery .hero-actions{margin:24px 0 18px}
.hero-grocery .primary-btn{padding:16px 24px;display:inline-flex;gap:26px;align-items:center;font-size:17px}
.hero-grocery .hero-benefits{gap:8px 18px;color:#416476}
.grocery-shortcuts{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:26px}
.grocery-shortcuts>span{flex-basis:100%;font-size:14px;color:#416476;margin-bottom:3px}
.grocery-shortcuts button{border:1px solid #c8dfe8;background:#fff;color:#07577f;border-radius:24px;padding:11px 15px;font:600 14px inherit;cursor:pointer;font-family:inherit;font-size:14px}
.grocery-shortcuts button:hover{background:#dff3f7;border-color:#16859a}
.grocery-shortcuts button:focus-visible,.hero-grocery a:focus-visible{outline:3px solid #16859a;outline-offset:4px}
.grocery-photo{position:relative;margin:0;min-width:0;border-radius:26px;overflow:hidden;background:#08607a;aspect-ratio:1.15}
.grocery-photo img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}
.grocery-photo::after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(3,39,48,.87))}
.grocery-photo figcaption{position:absolute;z-index:1;left:28px;right:24px;bottom:26px;color:white}
.grocery-photo figcaption span{display:block;font-size:14px;margin-bottom:10px}
.grocery-photo figcaption strong{font-size:30px;line-height:1.15;display:block}
#shop-categories{scroll-margin-top:110px}
@media(max-width:980px){.hero-grocery .hero-grid{gap:24px}.hero-grocery h1{font-size:48px}.grocery-photo{aspect-ratio:.85}.grocery-photo figcaption strong{font-size:26px}}
@media(max-width:700px){.hero-grocery{padding:28px 0 24px}.hero-grocery .hero-grid{grid-template-columns:1fr;gap:24px}.hero-grocery h1{font-size:clamp(40px,10vw,56px)}.hero-grocery p{font-size:17px}.grocery-photo{aspect-ratio:1.7}.grocery-photo figcaption{left:20px;bottom:18px}.grocery-photo figcaption span{font-size:13px;margin-bottom:6px}.grocery-photo figcaption strong{font-size:24px}.grocery-shortcuts{margin-top:20px}#shop-categories{scroll-margin-top:150px}}

/* Compact shopping layout, independent stylesheet version. */
html{font-size:16px}
body{font-size:1rem;line-height:1.5}
.container{width:min(1200px,calc(100% - 40px))}
img{max-width:100%}
.hero-grocery{padding:28px 0 24px;background:#eef7fa}
.hero-grocery .hero-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:40px}
.hero-grid>div{min-width:0}
.hero-grocery h1{font-size:clamp(36px,4vw,52px);line-height:1.12;letter-spacing:-.025em;margin:12px 0 16px;max-width:520px}
.hero-grocery h1 em{display:block}
.hero-grocery p{font-size:17px;line-height:1.6;max-width:510px;color:#476575}
.hero-grocery .hero-actions{margin:20px 0 14px}
.hero-grocery .primary-btn{min-height:48px;font-size:16px;padding:12px 22px}
.hero-benefits{font-size:14px}
.grocery-shortcuts{margin-top:18px;gap:8px}
.grocery-shortcuts>span{flex-basis:auto;margin:0 6px 0 0}
.grocery-shortcuts button{font:600 14px/1.3 system-ui,sans-serif;min-height:44px;padding:10px 16px}
.grocery-photo{aspect-ratio:1.5;max-height:370px;border-radius:20px;align-self:stretch;min-height:280px}
.grocery-photo img{object-position:center}
.grocery-photo figcaption{left:24px;bottom:22px}
.grocery-photo figcaption strong{font-size:26px}
.grocery-photo figcaption span{font-size:14px}
.search-section{padding:24px 0 8px}
.search-wrap{box-shadow:0 4px 18px #07577f09;border-radius:14px;gap:6px}
.search-wrap input{min-width:0;font-size:16px;padding:10px 12px;min-height:44px}
.search-wrap:focus-within{outline:2px solid #16859a;outline-offset:2px}
.search-wrap button{min-height:44px;font-size:16px}
.catalog-sync-note{font-size:13px;line-height:1.5}
.categories-section,.catalog-section{padding:24px 0}
.section-head h2{font-size:28px;line-height:1.2;margin:6px 0 0}
.categories{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.category{min-width:0;padding:18px;text-align:left;min-height:116px;border-radius:14px;line-height:1.4}
.category .icon{font-size:26px;margin-bottom:8px}
.category .name{font-size:16px;font-weight:700;overflow-wrap:anywhere}
.category small,.category-count{font-size:13px}
.product-name{font-size:17px;line-height:1.4;overflow-wrap:anywhere}
.product-meta{font-size:14px}
.add-btn,.qty-btn{min-height:44px;min-width:44px}
button:focus-visible,a:focus-visible{outline:3px solid #16859a;outline-offset:3px}
@media(max-width:900px){
.hero-grocery .hero-grid{gap:24px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.hero-grocery h1{font-size:40px}.grocery-photo{min-height:300px;max-height:none;aspect-ratio:auto}
.categories{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:700px){
.container{width:calc(100% - 28px)}
.header-inner{min-height:70px;gap:10px}.brand{gap:8px}.cart-btn{padding:11px 14px}
.hero-grocery{padding:22px 0}.hero-grocery .hero-grid{grid-template-columns:minmax(0,1fr);gap:20px}
.hero-grocery h1{font-size:38px;max-width:none}.hero-grocery h1 em{display:inline}
.hero-grocery p{font-size:16px}.hero-grocery .eyebrow{font-size:12px}
.hero-grocery .hero-actions{margin:18px 0 12px}.hero-grocery .primary-btn{justify-content:space-between;width:100%}
.grocery-photo{min-height:0;height:190px;max-height:190px;aspect-ratio:auto}
.grocery-photo figcaption{left:18px;bottom:16px}.grocery-photo figcaption strong{font-size:22px}
.grocery-photo figcaption strong br{display:none}.grocery-photo figcaption span{display:none}
.grocery-shortcuts>span{flex-basis:100%}.grocery-shortcuts{margin-top:16px}
.categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.category{padding:14px;min-height:110px}.category .name{font-size:15px}
.search-section{padding-top:18px}.search-wrap button{padding:0 14px}
.section-head h2{font-size:25px}.hero-benefits{font-size:13px;gap:8px 14px}
#shop-categories{scroll-margin-top:90px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.product-buy{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:110px}.product-cart-count{font-size:14px;color:#07577f;text-align:center;font-weight:700}.product-bottom{flex-wrap:wrap}.product-card{content-visibility:auto;contain-intrinsic-size:auto 350px}.catalog-note{grid-column:1/-1}.product-image{height:100px;font-size:48px}.delivery-settings{max-width:760px;margin:28px auto}.delivery-settings input,.delivery-settings textarea{width:100%;font:inherit;padding:12px;border:1px solid #c8dfe8;border-radius:10px}.delivery-settings textarea{min-height:100px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.settings-grid label{display:grid;gap:6px}.settings-wide{grid-column:1/-1}@media(max-width:640px){.settings-grid{grid-template-columns:1fr}.product-image{height:80px}.product-card{padding:16px}.product-buy{flex-direction:row;align-items:center;justify-content:flex-end;gap:10px;flex:1}.product-name{font-size:17px}}

/* Refined retail visual system */
:root{--bg:#f6f8fa;--text:#173346;--muted:#647582;--border:#e2e8ed;--shadow:0 6px 24px #15384a08;--radius:12px}
body{background:var(--bg)}.topbar{background:#fff;backdrop-filter:none}.header-inner{min-height:80px}.hero-grocery{background:#edf4f7;padding:32px 0}.hero-grocery h1{font-weight:750;letter-spacing:-.035em}.hero-grocery h1 em{color:#07577f}.hero-grocery p{color:#586e7c}.eyebrow{letter-spacing:.1em}.primary-btn,.cart-btn,.ghost-btn,.add-btn{border-radius:9px}.grocery-shortcuts button{border-radius:8px;font-weight:500}.grocery-photo{border-radius:16px}.search-wrap{border-radius:10px;box-shadow:none}.categories{gap:10px}.category{background:#fff;border:1px solid #e2e8ed;border-radius:10px;box-shadow:none;min-height:100px;padding:16px 18px;transition:border-color .15s}.category:hover{transform:none;box-shadow:none;border-color:#7fa8ba}.category .icon{font-size:21px;margin-bottom:8px}.category .name{font-weight:600}.category-arrow{opacity:.5}.section-head h2{font-weight:700;letter-spacing:-.025em}.product-card{border-radius:12px;border:1px solid #e2e8ed;box-shadow:none;padding:20px}.product-image{background:#f3f6f8;border-radius:8px;height:76px;font-size:32px;margin-bottom:16px}.product-name{font-weight:600;min-height:48px}.product-price{font-size:22px;letter-spacing:-.03em}.product-meta{line-height:1.6}.product-card.unavailable{opacity:1;background:#fafbfc}.product-card.unavailable .product-price,.product-card.unavailable .product-name{color:#78858e}.add-btn{font-weight:600;padding:12px 15px}.product-cart-count{font-weight:500;font-size:13px}.product-bottom{border-top:1px solid #edf0f3;padding-top:14px}.cart-drawer{box-shadow:-8px 0 36px #17334612}.info-card,.delivery-card{border-radius:12px}.catalog-section{padding-top:20px}.category-count{font-size:13px}@media(max-width:640px){.hero-grocery{padding:22px 0}.product-card{padding:16px}.product-name{min-height:0}.product-image{height:62px}.category{padding:14px;min-height:100px}.product-buy{flex-wrap:wrap}}
