:root {
  color-scheme: light;
  --canvas:#fcfbf7; --white:#fff; --forest:#14392a; --forest-deep:#112d23;
  --green:#205f43; --lime:#d9ed9e; --ink:#172b22; --muted:#57665d;
  --line:#dee3d8; --soft:#eff2e9; --title:Georgia,"Times New Roman",serif;
  --body:"Segoe UI",Arial,sans-serif;
  font-family:var(--body); color:var(--ink); background:var(--canvas); font-size:16px;
}
*, *::before, *::after { box-sizing:border-box; }
body { margin:0; min-width:290px; min-height:100vh; display:flex; flex-direction:column; }
main { flex:1; }
html { scroll-behavior:smooth; }
[hidden] { display:none !important; }
img { max-width:100%; display:block; }
a { color:inherit; text-decoration:none; }
button, input, select { font:inherit; }
button { cursor:pointer; }
button:disabled { opacity:.58; cursor:not-allowed; }
button, a, input, select { -webkit-tap-highlight-color:transparent; }
:focus-visible { outline:3px solid #64843b; outline-offset:3px; }
h1, h2, h3, p { margin:0; }
svg { width:1.15rem; height:1.15rem; display:block; flex:none; }
.sr-only, .skip:not(:focus) { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.skip:focus { position:fixed; z-index:30; top:.5rem; left:.5rem; padding:.85rem; color:white; background:var(--forest); }
.shell { width:min(100% - 72px, 1320px); margin-inline:auto; }

.header { position:sticky; top:0; z-index:10; border-bottom:1px solid #e5e7de; background:#fffefa; }
.header-inner { min-height:76px; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:25px; }
.brand { display:block; width:158px; height:58px; overflow:hidden; mix-blend-mode:multiply; border-radius:6px; }
.brand img { width:100%; height:100%; object-fit:cover; object-position:center 49%; }
.navigation, .header-tools { display:flex; gap:30px; align-items:center; }
.navigation a { display:flex; align-items:center; min-height:76px; color:var(--muted); font-weight:650; font-size:.94rem; box-shadow:inset 0 -2px transparent; }
.navigation a:hover, .navigation a[aria-current] { color:var(--forest); }
.navigation a[aria-current] { box-shadow:inset 0 -2px #5b8149; }
.header-tools { justify-content:flex-end; gap:18px; }
.staff-link { display:inline-flex; align-items:center; gap:.5rem; padding:9px 10px; border-radius:8px; color:#47604f; font-weight:650; font-size:.86rem; white-space:nowrap; }
.staff-link:hover, .staff-link[aria-current] { background:#e9efdf; color:var(--forest); }
.staff-link svg { width:16px; height:16px; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:9px; border:1px solid transparent; border-radius:9px; min-height:44px; padding:10px 16px; white-space:nowrap; font-weight:700; font-size:.91rem; transition:background .18s, border-color .18s, box-shadow .18s; }
.cart-trigger, .button-primary { color:white; background:var(--forest); }
.cart-trigger:hover, .button-primary:hover { background:#276147; }
.cart-trigger { min-height:40px; padding:7px 11px; }
#cart-count { min-width:23px; height:23px; padding-inline:5px; display:grid; place-items:center; border-radius:99px; font-size:.75rem; color:var(--forest-deep); background:var(--lime); font-variant-numeric:tabular-nums; }
.button-outline { border-color:#c7d2c4; color:var(--forest); background:white; }
.button-outline:hover { background:#edf4e9; border-color:#8eaa88; }
.button-lime { background:var(--lime); color:#1d3623; }
.button-lime:hover { background:#ebf7bd; }
.button-hero { background:#ffffff0e; border-color:#ffffff42; color:white; }
.button-hero:hover { background:#ffffff21; border-color:#ffffff90; }
.icon-button { display:inline-grid; place-items:center; width:40px; height:40px; padding:0; color:var(--forest); background:#f1f3ed; border:0; border-radius:9px; }
.icon-button:hover { background:#e1eadb; }

.hero { margin-top:24px; min-height:320px; display:grid; grid-template-columns:1.03fr 1.15fr; position:relative; isolation:isolate; border-radius:20px; overflow:hidden; background:var(--forest-deep); color:#f9fbf4; scroll-margin-top:105px; }
.hero-copy { padding:38px clamp(29px, 4.25vw, 65px); display:flex; flex-direction:column; align-items:flex-start; justify-content:center; position:relative; }
.hero-copy::after { content:""; position:absolute; z-index:1; top:0; bottom:0; width:45px; left:100%; background:linear-gradient(90deg,var(--forest-deep),transparent); pointer-events:none; }
.hero-photo { width:100%; height:100%; max-height:360px; min-height:320px; object-fit:cover; object-position:52% 54%; }
.eyebrow { display:flex; align-items:center; gap:.55rem; font-size:.73rem; font-weight:750; letter-spacing:.115em; }
.eyebrow svg { width:16px; height:16px; }
.hero h1 { font-family:var(--title); font-size:clamp(3.15rem, 5.05vw, 4.7rem); letter-spacing:-.068em; line-height:1; font-weight:400; }
.hero h1 em { color:var(--lime); font-weight:400; font-style:italic; }
.hero-description { margin:22px 0 26px; max-width:28rem; color:#e0e9df; line-height:1.6; }
.hero-actions { display:flex; gap:10px; flex-wrap:wrap; }
.hero-directions { display:inline-flex; align-items:center; gap:.3em; color:#d9ed9e; font-weight:650; text-decoration:underline; text-underline-offset:.2em; white-space:nowrap; }
.hero-directions svg { width:1em; height:1em; }
.store-visit { display:grid; grid-template-columns:minmax(17rem,.85fr) minmax(0,1.25fr); margin-bottom:clamp(2rem,5vw,4rem); border-radius:20px; overflow:hidden; background:#124431; color:#fff; scroll-margin-top:90px; }
.visit-copy { display:grid; justify-items:start; align-content:center; gap:1rem; padding:clamp(1.5rem,4vw,3.75rem); }
.visit-pin { display:grid; place-items:center; width:2.75rem; height:2.75rem; border-radius:50%; background:#d9ed9e; color:#124431; }
.visit-copy h2 { max-width:12ch; font:400 clamp(2.25rem,3.6vw,3.5rem)/1.05 var(--title); letter-spacing:-.045em; }
.visit-copy p { max-width:34ch; line-height:1.5; color:#dce9df; }
.visit-copy .button { margin-top:.35rem; }
.store-visit iframe { display:block; width:100%; height:100%; min-height:285px; border:0; background:#e9ece3; }
@media (max-width:680px) {
  .store-visit { grid-template-columns:minmax(0,1fr); }
  .store-visit iframe { min-height:0; height:235px; }
}

.catalog { padding-block:40px 52px; scroll-margin-top:76px; }
.section-head { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:22px; }
.section-head h2, .section-head h1 { font-family:var(--title); font-size:clamp(2rem,3.3vw,3rem); line-height:1.12; letter-spacing:-.045em; color:var(--forest-deep); font-weight:400; }
.section-head p:not(.eyebrow) { margin-top:8px; line-height:1.55; color:var(--muted); }
.search { width:min(100%,385px); display:flex; height:47px; align-items:center; gap:.68rem; padding:0 10px 0 14px; background:#fff; border:1px solid #d3dbce; border-radius:10px; color:#486352; }
.search:focus-within { border-color:#5d8a66; box-shadow:0 0 0 2px #dcebd8; }
.search input { border:0; width:100%; min-width:0; height:100%; background:none; outline:none; color:var(--ink); }
.search input:focus-visible { outline:none; }
.search input::-webkit-search-cancel-button { appearance:none; }
.search-clear { width:30px; height:30px; flex:none; }
.search-clear svg { width:15px; height:15px; }
.categories { display:grid; grid-template-columns:repeat(9, minmax(0,1fr)); gap:8px; margin:0 0 28px; }
.category { width:100%; color:#334535; background:#fff; border:1px solid var(--line); border-radius:12px; display:flex; flex-direction:column; align-items:center; gap:6px; text-align:center; font-weight:700; font-size:.85rem; line-height:1.2; padding:10px 4px; }
.category:hover { border-color:#97b096; background:#f6faf1; }
.category[aria-pressed="true"] { background:#eaf2e0; color:#204a2e; border-color:#7b9d79; box-shadow:inset 0 0 0 1px #7b9d79; }
.category-symbol { width:36px; height:36px; border-radius:11px; flex:none; display:grid; place-items:center; background:#e7efe2; color:#355b41; }
.category-symbol svg { width:22px; height:22px; }
.category[aria-pressed="true"] .category-symbol { background:#34583e; color:white; }
.art { --px:100%; --py:100%; --paint:#f5dedc; }
.art.despensa { --px:0%; --py:0%; --paint:#efdac0; }
.art.bebidas { --px:50%; --py:0%; --paint:#f0edac; }
.art.lacteos { --px:100%; --py:0%; --paint:#d0e8f0; }
.art.snacks { --px:0%; --py:100%; --paint:#f7d0b7; }
.art.hogar { --px:50%; --py:100%; --paint:#ebddf3; }
.sprite { position:absolute; background-image:url("./assets/categorias.jpg"); background-size:300% 200%; background-position:var(--px) var(--py); background-repeat:no-repeat; }
.results-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.results-bar h3 { font-size:1.16rem; font-weight:750; }
#results-count { font-size:.86rem; color:#596b5e; text-align:right; }
.product-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.product { display:flex; flex-direction:column; container-type:inline-size; min-width:0; padding:8px; border-radius:16px; border:1px solid var(--line); background:var(--white); transition:border .2s, box-shadow .2s; }
.product:hover { border-color:#c1cfbc; box-shadow:0 5px 22px #1a2e1c0d; }
.product-photo { display:grid; place-items:center; width:100%; height:clamp(120px,12.5vw,176px); overflow:hidden; border-radius:10px; background:#fcf6eb; }
.product-photo > span { display:block; height:100%; aspect-ratio:4 / 3; background:url("./assets/destacados.jpg") var(--photo-x) var(--photo-y) / 400% 200% no-repeat; }
.product-photo.packshot { background:#fff; }
.packshot img { width:100%; height:100%; min-height:0; object-fit:contain; padding:5px; }
.photo-note { color:var(--muted); font-size:.76rem; line-height:1.3; }
#photo-credits { color:var(--muted); font-size:.875rem; margin:12px 0; }
#photo-credits summary { cursor:pointer; }
#photo-credits ul { max-height:18rem; overflow-y:auto; }
[data-theme="dark"] .product-photo { filter:brightness(.84) saturate(.93); }
.product-info { padding:13px 6px 6px; flex:1; display:flex; flex-direction:column; align-items:start; gap:6px; }
.product { cursor:pointer; }
.product-open { font:inherit; color:inherit; text-align:inherit; padding:0; border:0; background:transparent; }
.product-view[open] { position:fixed; inset:0; width:100%; height:100%; max-width:none; max-height:none; margin:0; border:0; padding:clamp(16px,4vw,48px); background:var(--canvas); color:var(--ink); overflow:auto; }
html:has(.product-view[open]) { overflow:hidden; }
.product-view-back { position:sticky; top:0; min-height:46px; padding:0 18px; border:1px solid var(--line); border-radius:24px; color:var(--ink); background:var(--white); }
.product-view-content { max-width:850px; margin:2vh auto; display:grid; justify-items:center; gap:20px; text-align:center; }
.product-view-content img { width:auto; height:auto; max-width:100%; max-height:58vh; }
.product-view-control { width:fit-content; margin:12px auto 0; }
.favorite-heart { width:44px; height:44px; padding:0; border:1px solid var(--line); border-radius:50%; background:var(--white); color:var(--ink); font:28px/1 Arial,sans-serif; }
.favorite-heart[aria-pressed=true] { color:#ba3155; }
#favorite-filter[aria-pressed=true] { box-shadow:inset 0 0 0 2px currentColor; }
.product { position:relative; }
.product>.favorite-heart { position:absolute; z-index:1; right:6px; top:6px; }
.compact-product .product-category { padding-right:40px; }
.product-view[open] { padding:0; overflow:hidden; }
.product-view .product-view-back { position:absolute; top:max(8px,env(safe-area-inset-top)); left:12px; z-index:1; }
.product-feed { height:100%; overflow-y:auto; scroll-snap-type:y mandatory; overscroll-behavior:contain; overflow-anchor:none; }
.product-slide { min-height:100%; scroll-snap-align:start; display:grid; align-content:center; justify-items:center; padding:64px 16px 20px; }
.product-slide .product-view-content { width:100%; margin:0; }
.product-slide img { touch-action:manipulation; }
.product-slide-actions { display:flex; justify-content:center; align-items:center; gap:12px; margin-top:12px; }
.product-slide-actions .product-view-control { margin:0; }
.product-view-content h2 { font-family:var(--title); font-size:clamp(1.5rem,4vw,2.5rem); margin:6px 0 10px; }
.compact-product .product-info { padding-top:6px; }
.product-category { display:flex; align-items:center; gap:7px; letter-spacing:.07em; text-transform:uppercase; font-size:.68rem; color:var(--muted); font-weight:700; }
.product-thumb { position:relative; flex:none; width:30px; height:30px; overflow:hidden; border-radius:8px; background:var(--paint); }
.product-thumb .sprite { width:30px; height:45px; top:-7px; }
.product h4 { font-size:1rem; line-height:1.35; min-height:2.7em; overflow-wrap:anywhere; margin:0; }
.product-bottom { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:6px; width:100%; margin-top:auto; padding-top:5px; min-height:44px; }
.price { font-size:1.18rem; color:#214b32; font-weight:750; font-variant-numeric:tabular-nums; white-space:nowrap; }
.price-review { font-size:.83rem; color:#6b531e; }
.add-button { border:1px solid #c1d7ba; color:#215536; background:#e9f2e3; height:40px; border-radius:9px;
  display:inline-flex; justify-content:center; align-items:center; gap:4px; padding-inline:8px; font-weight:700; font-size:.81rem; }
.add-button:hover { background:#d6ead0; border-color:#86ab83; }
.stepper { display:inline-flex; justify-content:flex-end; align-items:center; gap:4px; color:#214b32; font-size:.91rem; font-weight:750; white-space:nowrap; }
.stepper button { width:31px; height:34px; border:1px solid #d6e3d0; background:#f0f6eb; border-radius:8px; display:grid; place-items:center; color:#215536; padding:0; }
.stepper button:hover { background:#e0ebd7; }
.stepper button svg { width:15px; height:15px; }
.stepper span { min-width:15px; text-align:center; }
.review-button { padding:8px; border:1px solid #d9dfd0; border-radius:7px; background:#fafbf6; color:#35533c; font-size:.78rem; font-weight:700; }
.review-button:hover { background:#ebf1e2; }
.pagination { text-align:center; margin-top:22px; }
.catalog-note { display:flex; align-items:center; gap:8px; color:var(--muted); font-size:.85rem; margin-top:26px; line-height:1.4; }
.loading { grid-column:1 / -1; padding:40px; text-align:center; color:var(--muted); background:#fff; border:1px solid var(--line); }
.footer { border-top:1px solid var(--line); background:#f1f3eb; color:#4a5c50; }
.footer-inner { min-height:80px; display:flex; justify-content:space-between; align-items:center; gap:10px; padding-block:17px; font-size:.85rem; }
.footer strong { color:var(--forest); }

.assistant-launcher { position:fixed; z-index:11; right:24px; bottom:24px; display:flex; align-items:center; gap:8px; padding:8px 15px 8px 8px; color:white; background:var(--forest); border:1px solid #ffffff45; border-radius:99px; box-shadow:0 7px 26px #0b281f42; font-size:.86rem; font-weight:700; }
.assistant-launcher:hover { background:#245740; }
.mobile-tools { display:none; }
.assistant-launcher-icon, .chat-avatar { display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:var(--lime); color:var(--forest); flex:none; }
.toast { position:fixed; z-index:12; bottom:26px; left:50%; transform:translateX(-50%); max-width:calc(100vw - 36px); padding:12px 18px; border-radius:9px; background:#17392c; color:#fff; font-size:.87rem; text-align:center; box-shadow:0 5px 18px #152e2040; }
body:has(dialog[open]) { overflow:hidden; }
dialog { padding:0; border:1px solid var(--line); background:white; color:var(--ink); }
dialog::backdrop { background:#13291f66; backdrop-filter:blur(2px); }
.drawer { width:min(100%,465px); max-width:100%; max-height:100%; height:100dvh; margin:0 0 0 auto; inset:0 0 0 auto; border-width:0 0 0 1px; }
.drawer-body { height:100%; display:flex; flex-direction:column; }
.panel-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid var(--line); padding:18px 20px; }
.panel-heading h2 { font-family:var(--title); color:var(--forest-deep); letter-spacing:-.04em; font-size:1.72rem; font-weight:400; }
.panel-heading p { font-size:.84rem; color:var(--muted); margin-top:4px; }
.cart-content { padding:0 20px; flex:1; overflow-y:auto; }
.cart-line { display:grid; grid-template-columns:1fr auto; gap:8px 10px; align-items:center; padding:15px 0; border-bottom:1px solid #ebeee7; }
.cart-line h3 { font-size:.94rem; line-height:1.35; }
.cart-line p { font-size:.84rem; color:var(--muted); margin-top:4px; }
.cart-line strong { justify-self:end; font-size:.9rem; }
.checkout { padding:15px 20px 18px; border-top:1px solid var(--line); background:#fbfcf8; }
.cart-total { display:flex; justify-content:space-between; align-items:center; margin-bottom:13px; }
.cart-total strong { font-size:1.35rem; color:var(--forest); }
form label:not(.sr-only) { display:block; color:#344b3a; font-weight:700; font-size:.86rem; margin-bottom:6px; }
form input { width:100%; min-width:0; height:43px; padding:8px 11px; color:var(--ink); border:1px solid #cbd6ca; border-radius:8px; background:#fff; }
.checkout-note { margin:9px 0 12px; color:var(--muted); line-height:1.45; font-size:.82rem; }
.full { width:100%; }
.empty { display:grid; justify-items:center; text-align:center; gap:9px; border:1px dashed #cdd8c8; background:#f9fbf6; border-radius:13px; padding:30px 18px; margin-block:10px; color:var(--muted); }
.empty h3 { font-size:1.04rem; color:var(--forest); }
.empty .button { margin-top:7px; }
.empty-symbol { display:grid; place-items:center; width:40px; height:40px; border-radius:50%; background:#eaf3e4; color:var(--green); }
.drawer .empty { margin-top:18px; }
.success-card { margin-top:18px; }
.success-card strong { color:var(--forest); }

.chat-dialog { width:min(100% - 28px, 415px); height:min(620px,100dvh - 52px); max-height:100%; border-radius:15px; inset:auto 22px 22px auto; margin:0; box-shadow:0 14px 50px #10261f4d; }
.chat-body { display:flex; flex-direction:column; height:100%; }
.chat-heading { background:#f3f7ed; justify-content:flex-start; padding:15px; }
.chat-heading-copy { flex:1; }
.chat-heading h2 { font-size:1.37rem; letter-spacing:-.032em; }
.chat-avatar { height:37px; width:37px; }
.chat-log { flex:1; min-height:0; overflow-y:auto; padding:16px 14px; display:flex; flex-direction:column; gap:11px; background:#fafbf7; }
.chat-message { align-self:flex-start; max-width:93%; border-radius:2px 11px 11px; background:white; border:1px solid #e0e8db; padding:10px 11px; font-size:.9rem; white-space:pre-wrap; line-height:1.45; overflow-wrap:anywhere; }
.chat-message.user { align-self:flex-end; background:#e4f0dc; border-color:#cedfc8; border-radius:11px 2px 11px 11px; }
.chat-choices { display:grid; gap:6px; }
.chat-shortcuts { display:flex; gap:6px; padding:8px 11px 2px; flex-wrap:wrap; }
.chat-shortcuts button, .chat-choices button { padding:5px 8px; color:var(--forest); background:#eff6ea; border:1px solid #cddfc7; border-radius:8px; text-align:left; font-weight:650; font-size:.8rem; }
.chat-shortcuts button:hover, .chat-choices button:hover { background:#dcecd4; }
.chat-choices button { min-height:44px; padding:8px 10px; }
.chat-choices .choice-option { display:grid; grid-template-columns:1.5rem 1fr auto; align-items:center; gap:8px; color:var(--ink); background:var(--white); border-color:var(--line); }
.choice-number { display:grid; place-items:center; width:1.5rem; height:1.5rem; border-radius:50%; color:var(--green); background:var(--soft); font-variant-numeric:tabular-nums; }
.choice-product { min-width:0; overflow-wrap:anywhere; line-height:1.3; }
.choice-price { max-width:8em; font-variant-numeric:tabular-nums; text-align:right; color:var(--green); }
.chat-choices .choice-page { justify-self:start; }
.chat-message:has(.chat-receipt) { width:100%; max-width:100%; padding:13px; }
.chat-receipt { white-space:normal; }
.receipt-heading { display:flex; align-items:center; gap:6px; color:var(--green); }
.chat-receipt ul { padding:0; margin:10px 0; list-style:none; }
.chat-receipt li, .receipt-total, .receipt-subtotal { display:flex; align-items:baseline; justify-content:space-between; gap:10px; }
.chat-receipt li { margin-block:6px; }
.chat-receipt li span:last-child, .receipt-total strong, .receipt-subtotal span { white-space:nowrap; font-variant-numeric:tabular-nums; }
.receipt-subtotal { color:var(--muted); font-size:.82rem; }
.receipt-total { margin-top:9px; padding-top:9px; border-top:1px solid var(--line); font-weight:650; }
.chat-form { display:flex; gap:7px; padding:9px 11px 11px; }
.send { width:43px; padding:0; flex:none; }

.inner-page { padding-block:42px 60px; }
.text-green { color:var(--green); margin-bottom:10px; }
.staff-notice { display:flex; align-items:center; gap:8px; padding:11px 13px; background:#edf2e6; border:1px solid #dce8d5; color:#3c5541; border-radius:8px; font-size:.88rem; margin-bottom:18px; }
.staff-counts { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:28px; }
.staff-count { padding:15px; border:1px solid var(--line); background:white; border-radius:10px; }
.staff-count strong { display:block; font-size:1.55rem; color:var(--forest); }
.staff-count span { color:var(--muted); font-size:.87rem; }
.staff-tools { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.staff-tools h2 { font-size:1.18rem; }
.staff-filter { display:flex; gap:8px; align-items:center; color:var(--muted); font-size:.87rem; }
.staff-filter select { border:1px solid #ccd7cf; min-height:40px; border-radius:8px; padding:7px 9px; background:white; color:var(--ink); }
.orders { display:grid; gap:12px; }
.order { padding:17px; background:white; border:1px solid var(--line); border-radius:12px; }
.order-head { display:flex; justify-content:space-between; gap:10px; align-items:start; }
.order-head h3 { font-size:1.1rem; }
.order-meta { color:var(--muted); font-size:.84rem; margin-top:5px; }
.status { font-size:.76rem; padding:6px 10px; border-radius:99px; background:#fff0d1; font-weight:750; color:#624a13; white-space:nowrap; }
.status.packing { color:#24485f; background:#e4f0f8; }
.status.ready { color:#234e30; background:#e1f0db; }
.status.collected { color:#425347; background:#ecefe9; }
.order details { margin-top:13px; padding-top:10px; border-top:1px solid var(--line); }
.order summary { cursor:pointer; font-weight:650; color:#31533a; font-size:.88rem; }
.order ul { margin:9px 0 6px; padding-left:1.25rem; color:#385041; font-size:.87rem; line-height:1.55; }
.order-foot { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:12px; }
.order-foot strong { color:var(--forest); }
.order-staff-heading { color:var(--muted); font-size:.87rem; }

@media (max-width:1050px) {
  .shell { width:calc(100% - 48px); }
  .header-tools { gap:9px; }
  .navigation { gap:20px; }
  .category { font-size:.8rem; }
}
@media (max-width:799px) {
  .header-inner { min-height:63px; gap:10px 12px; grid-template-columns:1fr 1fr; }
  .brand { width:123px; height:49px; }
  .navigation { grid-column:1 / -1; grid-row:2; margin-top:-9px; gap:21px; }
  .navigation a { min-height:33px; font-size:.88rem; }
  .header-tools { grid-column:2; grid-row:1; }
  .staff-link { font-size:.77rem; padding:7px 5px; }
  .staff-link svg { display:none; }
  .cart-trigger { font-size:.82rem; }
  .hero { min-height:350px; grid-template-columns:1fr .9fr; }
  .hero-copy { padding:32px 26px; }
  .hero-photo { min-height:350px; }
  .hero h1 { font-size:clamp(2.65rem,6.3vw,3.65rem); }
  .hero-description { font-size:.94rem; }
  .categories { display:flex; overflow-x:auto; gap:8px; padding:3px 2px 7px; margin:0 -2px 15px; scroll-padding-inline:3px; scrollbar-width:thin; scrollbar-color:var(--line) transparent; }
  .category { flex:none; flex-direction:row; width:auto; min-height:46px; padding:5px 12px 5px 6px; gap:7px; font-size:.85rem; border-radius:99px; }
  .category .category-symbol { width:30px; height:30px; border-radius:50%; }
  .category .category-symbol svg { width:19px; height:19px; }
  .product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .footer-inner { align-items:flex-start; flex-direction:column; }
}
@media (max-width:540px) {
  .shell { width:calc(100% - 28px); }
  .header-inner { min-height:61px; }
  .navigation, .cart-trigger, .assistant-launcher { display:none; }
  .staff-link { min-height:44px; padding-inline:8px; }
  .staff-link svg { display:block; }
  .hero { margin-top:12px; display:block; border-radius:16px; min-height:0; }
  .hero-copy { z-index:1; padding:24px 17px; align-items:flex-start; }
  .hero-copy::after { display:none; }
  .hero::before { content:""; position:absolute; inset:0; z-index:0; background:linear-gradient(90deg, #102d23 8%, #102d23ef 34%, #102d23cf 57%, #102d2390 77%, #102d233d); }
  .hero h1 { font-size:clamp(2.53rem,9.5vw,3.65rem); }
  .hero-description { margin-block:10px 15px; max-width:26ch; line-height:1.4; color:#fff; }
  .hero-actions { gap:6px; }
  .hero-actions .button { font-size:.81rem; padding-inline:9px; }
  .hero-actions .button svg { width:15px; height:15px; }
  .hero-photo { position:absolute; inset:0 0 0 auto; z-index:-1; min-height:0; height:100%; width:73%; max-height:none; object-position:60% 55%; }
  .catalog { padding-block:26px 30px; scroll-margin-top:61px; }
  .section-head { align-items:stretch; flex-direction:column; gap:12px; }
  .section-head .button { align-self:flex-start; }
  .search { width:100%; }
  .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .product { padding:6px; border-radius:10px; }
  .product-photo { height:clamp(88px,26vw,122px); border-radius:7px; }
  .product-info { padding:8px 3px 2px; }
  .product h4 { font-size:.86rem; }
  .price { font-size:1rem; }
  .product-bottom { display:grid; grid-template-columns:1fr; align-items:start; gap:4px; padding-top:4px; }
  .stepper { gap:4px; }
  .stepper button { width:44px; height:44px; }
  .product-bottom .stepper { justify-content:space-between; }
  .add-button { width:100%; height:44px; }
  .review-button, .chat-shortcuts button, .icon-button, .send { min-height:44px; }
  .send, .icon-button { min-width:44px; }
  .chat-form { padding-bottom:max(11px, env(safe-area-inset-bottom)); }
  .catalog-note { align-items:flex-start; }
  body { padding-bottom:calc(67px + env(safe-area-inset-bottom, 0px)); }
  .mobile-tools { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); position:fixed; z-index:11; inset:auto 0 0;
    background:#fffefa; border-top:1px solid #dce3d6; min-height:66px; padding:5px 9px calc(6px + env(safe-area-inset-bottom, 0px));
    box-shadow:0 -3px 20px #1237250b; }
  .mobile-tools > * { border:0; background:none; display:flex; flex-direction:column; gap:2px; align-items:center; justify-content:center;
    color:#49634e; font-size:.73rem; font-weight:700; border-radius:9px; padding:4px 2px; min-height:50px; }
  .mobile-tools > [aria-current], .mobile-tools > *:hover { color:var(--forest); background:#eaf3e4; }
  .mobile-tools svg { height:22px; width:22px; }
  .mobile-cart-icon { position:relative; }
  #mobile-count { position:absolute; top:-4px; left:15px; min-width:16px; height:16px; border-radius:99px; display:grid;
    place-items:center; background:var(--forest); color:#fff; font-size:.65rem; padding:0 3px; }
  .toast { bottom:calc(77px + env(safe-area-inset-bottom, 0px)); }
  .chat-dialog { inset:auto 8px 8px auto; width:calc(100% - 16px); height:min(650px,100dvh - 16px); }
  .staff-counts { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .staff-tools { flex-wrap:wrap; }
  .order-foot { flex-wrap:wrap; }
}
@media (max-width:350px) {
  .hero-actions .button { padding-inline:7px; gap:4px; font-size:.76rem; }
}
@container (max-width:205px) {
  .product-bottom { display:grid; grid-template-columns:minmax(0,1fr); gap:6px; }
  .product-bottom .stepper { justify-content:space-between; }
  .product-bottom .add-button, .product-bottom .stepper button { min-height:44px; }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; transition:none !important; }
}

.product-slide .product-view-content {
  background:var(--white); border:1px solid var(--line); border-radius:24px; overflow:hidden;
  box-shadow:0 18px 54px #163a2914; gap:0; justify-items:stretch; max-width:880px;
}
.product-stage {
  display:grid; place-items:center; min-width:0; padding:20px;
  background:radial-gradient(ellipse at center,#fff 36%,#edf1e7);
  color:#435a46; min-height:min(32vh,240px);
}
.product-stage img { width:100%; height:min(34dvh,350px); object-fit:contain; }
.product-caption { min-width:0; padding:clamp(16px,3vw,36px); align-self:center; overflow-wrap:anywhere; }
.product-caption .product-category { color:var(--green); font-weight:700; font-size:.85rem; letter-spacing:.04em; }
.product-caption .price { font-size:clamp(1.35rem,3vw,2rem); }
@media(min-width:700px){
  .product-slide .product-view-content { grid-template-columns:1.1fr 1fr; text-align:left; }
  .product-stage { min-height:min(58dvh,430px); }
  .product-slide-actions { justify-content:flex-start; }
}
