/* PlumRun storefront: the same plum palette, with room to browse. */
.storefront { --header-height: 139px; padding-bottom: 0; }
.skip-link { position: fixed; top: -80px; left: 18px; z-index: 50; padding: 12px 18px; background: var(--button); color: var(--button-text); border-radius: 10px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 15; max-width: none; padding: 18px 28px 0; gap: 18px 28px; display: grid; grid-template-columns: 214px minmax(180px,1fr) auto; background: var(--surface); border-bottom: 1px solid var(--border); }
.brand-group { display: flex; align-items: center; gap: 10px; min-width: 0; }
.site-header .brand { font-size: 29px; }
.site-header .brand span { font-size: 8px; letter-spacing: 1.5px; }
.site-header .brand.has-logo { display: block; width: clamp(108px, 12vw, 200px); line-height: 0; letter-spacing: 0; }
.brand-logo { display: block; width: 100%; height: auto; }
:root[data-theme="dark"] .site-header .brand-logo {
  filter: drop-shadow(0 0 1px rgba(255,255,255,.95))
          drop-shadow(0 0 3px rgba(255,255,255,.8))
          drop-shadow(0 0 7px rgba(255,255,255,.45))
          drop-shadow(0 0 14px rgba(255,255,255,.18));
}
.icon-button { color: var(--plum); background: var(--soft-surface); padding: 10px; min-width: 44px; min-height: 44px; }
#aisle-toggle, #aisle-close { display: none; }
.header-actions { flex-wrap: nowrap; margin: 0; gap: 8px; }
.header-actions > button { min-height: 46px; white-space: nowrap; font-size: 13px; padding: 12px 14px; }
.header-actions #account { max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.header-actions .header-bag { display: flex; align-items: center; gap: 9px; background: var(--button); color: var(--button-text); border-radius: 28px; padding: 12px 18px; }
.header-bag svg { width: 20px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
#count { min-width: 23px; min-height: 23px; border-radius: 50%; background: var(--button-text); color: var(--button); display: grid; place-items: center; font-size: 12px; }
.header-search { position: relative; min-width: 0; }
#search-form { border: 1px solid var(--border); border-radius: 40px; padding: 4px 5px 4px 18px; background: var(--background); flex-wrap: nowrap; margin: 0; gap: 8px; }
#search-form:focus-within { outline: 2px solid var(--focus); outline-offset: 1px; }
#search-form input { min-width: 0; width: 100%; border: 0; background: transparent; padding: 11px 5px; outline: none; font-size: 15px; }
#search-form button { padding: 10px 18px; min-height: 42px; border-radius: 30px; font-size: 13px; }
.search-icon { display: flex; flex-shrink: 0; color: var(--plum); }
.search-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.delivery-strip { grid-column: 1/-1; display: flex; align-items: center; gap: 24px; min-width: 0; padding: 10px 0; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); }
.store-shortcut { display: flex; align-items: center; gap: 11px; background: none; color: var(--text); padding: 0; text-align: left; min-height: 40px; min-width: 0; }
.store-shortcut > span:first-child { font-size: 26px; color: var(--plum); }
.store-shortcut > span:nth-child(2) { display: grid; gap: 3px; min-width: 0; }
.store-shortcut small { font-size: 10px; font-weight: 400; color: var(--muted); }
.store-shortcut b { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.neighborhoods { margin-left: auto; }
.storefront-layout { display: grid; grid-template-columns: 240px minmax(0,1fr); max-width: none; padding: 0; }
.aisle-sidebar { position: sticky; top: var(--header-height); height: calc(100dvh - var(--header-height)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 24px 18px; background: var(--surface); border-right: 1px solid var(--border); }
.sidebar-top { display: flex; align-items: center; justify-content: space-between; }
.sidebar-top .eyebrow { font-size: 9px; letter-spacing: 1.3px; }
.aisle-sidebar .selected-store { position: static; display: grid; padding: 14px 0 20px; margin: 0; border: 0; border-radius: 0; box-shadow: none; gap: 10px; }
.selected-store b { font-size: 18px; line-height: 1.4; }
.selected-store #selected-store-address { font-size: 12px; line-height: 1.7; }
.text-button { background: transparent; color: var(--plum); padding: 5px 0; text-align: left; font-size: 13px; border-radius: 4px; }
.text-button:hover { text-decoration: underline; text-underline-offset: 4px; }
.selected-store .text-button { justify-self: start; padding: 0; }
.store-picker { border-block: 1px solid var(--border); padding: 14px 0; font-size: 13px; }
.store-picker summary { min-height: 26px; font-weight: 650; }
.store-picker p { color: var(--muted); font-size: 11px; line-height: 1.6; margin-bottom: 0; }
#store-form { display: grid; grid-template-columns: 76px minmax(0,1fr); align-items: end; gap: 10px; margin: 14px 0; }
#store-form label { display: grid; gap: 7px; min-width: 0; font-size: 11px; }
#store-form input { width: 100%; padding: 11px 8px; font-size: 13px; }
#store-form button { font-size: 11px; padding: 12px 8px; min-height: 40px; }
#store-form select { grid-column: 1/-1; font-size: 12px; padding: 10px 5px; width: 100%; }
.aisle-navigation { display: grid; gap: 3px; align-items: stretch; margin: 18px -5px; }
.aisle-navigation h2 { font-size: 13px; letter-spacing: 0; margin: 22px 12px 10px; }
.aisle-navigation button { display: flex; gap: 12px; align-items: center; text-align: left; background: none; color: var(--text); padding: 12px; border-radius: 10px; font-size: 16px; min-height: 44px; font-weight: 400; }
.aisle-navigation button span { font-size: 13px; }
.aisle-navigation button:hover { background: var(--background); }
.aisle-navigation button.is-current { background: var(--soft-surface); color: var(--plum); font-weight: 700; }
.sidebar-help { border-top: 1px solid var(--border); margin-top: 24px; padding: 22px 6px 6px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.sidebar-help b, .sidebar-help a { color: var(--plum); }
.storefront-content { padding: 30px clamp(22px,3vw,52px) 0; min-width: 0; max-width: 1800px; }
.storefront .hero { display: grid; grid-template-columns: 1.4fr 1fr; padding: 32px 40px; gap: 15px; background: var(--hero-surface); border-radius: 24px; overflow: hidden; }
.hero .eyebrow { font-size: 10px; margin: 0; letter-spacing: 1.6px; }
.hero h1 { font-size: clamp(30px,3vw,48px); letter-spacing: -1.9px; line-height: 1.12; margin: 13px 0; }
.hero p:not(.eyebrow) { font-size: 14px; margin: 8px 0; }
.hero .cta { border-radius: 25px; font-size: 13px; padding: 12px 20px; margin-top: 10px; }
.hero-art { background: transparent; border-radius: 0; padding: 0; transform: rotate(5deg); display: flex; align-items: center; justify-content: center; gap: 20px; }
.hero-art .hero-fruit { font-size: clamp(36px,5vw,72px); margin: 0; letter-spacing: 6px; line-height: 1.5; filter: drop-shadow(0 8px 8px #30223918); }
.hero-art > span:last-child { font-size: 14px; line-height: 1.7; transform: rotate(-5deg); }
.aisle-tiles { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: 14px; margin: 28px 0 36px; }
.aisle-tiles button { display: grid; gap: 10px; align-content: start; padding: 0; font-size: 12px; text-align: center; color: var(--text); background: none; font-weight: 500; }
.aisle-tiles button span { display: grid; place-items: center; height: 86px; width: 100%; background: var(--soft-surface); border: 1px solid transparent; border-radius: 18px; font-size: 37px; transition: transform .15s,border-color .15s; }
.aisle-tiles button:hover span { transform: translateY(-3px); border-color: var(--plum); }
#shop { scroll-margin-top: calc(var(--header-height) + 20px); }
.section-title h2 { margin: 7px 0 0; font-size: 26px; }
.section-title .eyebrow { margin: 0; font-size: 9px; letter-spacing: 1.5px; }
#notice { font-size: 12px; line-height: 1.7; margin: 12px 0 24px; min-height: 20px; }
.catalog-shelf { margin: 28px 0 38px; min-width: 0; }
.shelf-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.shelf-heading h3 { margin: 0; font-size: 20px; letter-spacing: -.5px; }
.shelf-heading > div { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.rail-arrow, .product-rail-controls button { border-radius: 50%; background: var(--soft-surface); color: var(--plum); width: 36px; height: 36px; padding: 0; font-size: 18px; }
.product-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(172px,calc((100% - 64px)/5)); gap: 16px; overflow-x: auto; padding: 3px 3px 14px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.storefront .product { position: relative; background: var(--surface); padding: 10px; border: 1px solid transparent; border-radius: 16px; scroll-snap-align: start; transition: border-color .15s; }
.storefront .product:hover { border-color: var(--border); }
.product-open { position: relative; border-radius: 10px; }
.product-photo { width: 100%; height: 165px; background: #fff; border-radius: 12px; display: grid; place-items: center; padding: 12px; margin-bottom: 14px; }
.storefront .product .product-photo img { height: 100%; max-height: 140px; width: 100%; object-fit: contain; border-radius: 0; }
.product-photo > span { font-size: 40px; }
.product-quantity-badge { position: absolute; top: 8px; left: 8px; border-radius: 20px; padding: 5px 9px; background: var(--soft-surface); color: var(--plum); font-size: 11px; }
.product-open small { min-height: 0; font-size: 10px; margin: 0 0 5px; }
.product-open h3 { font-size: 13px; font-weight: 550; line-height: 1.5; margin: 0 0 6px; }
.storefront .product .buy { margin-top: 14px; flex-wrap: wrap; }
.storefront .product .buy b { font-size: 17px; }
.storefront .product .buy button { min-width: 56px; min-height: 34px; border-radius: 24px; padding: 8px 12px; font-size: 12px; }
.product-price-note { font-size: 10px; color: var(--muted); margin-top: 5px; }
.storefront .grid { grid-template-columns: repeat(auto-fill,minmax(175px,1fr)); gap: 22px 16px; }
.shelf-loading { height: 280px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); padding: 24px; font-size: 13px; }
.shelf-message { background: var(--soft-surface); border-radius: 12px; padding: 24px; font-size: 13px; }
.catalog-filters { display: flex; flex-wrap: wrap; gap: 12px; }
.catalog-filters label { min-width: 145px; max-width: 250px; }
.catalog-filters select { border-radius: 25px; padding: 10px 16px; font-size: 12px; }
.catalog-filters p { flex-basis: 100%; font-size: 11px; }
.storefront .promise { margin: 46px 0 20px; padding: 28px 32px; }
.promise h2 { font-size: 23px; margin: 8px 0 20px; }
.promise .eyebrow { font-size: 10px; margin: 0; }
.promise p { font-size: 12px; }
.storefront footer { padding: 24px 0 35px; font-size: 11px; }
.storefront footer .legal-links { font-size: 11px; max-width: 330px; }
.storefront .cart-summary { display: none; }
.search-suggestions { position: absolute; z-index: 30; top: calc(100% + 9px); left: 0; width: 100%; min-width: 280px; max-height: min(65dvh,570px); overflow-y: auto; margin: 0; padding: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 16px 40px #09050c25; }
.search-suggestions .search-suggestions-heading { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; padding: 9px 10px; color: var(--muted); margin: 0; }
.search-suggestions .search-option { display: flex; align-items: center; text-align: left; gap: 11px; width: 100%; border: 0; background: none; color: var(--text); border-radius: 10px; padding: 9px 10px; font-size: 13px; font-weight: 400; }
.search-option:hover, .search-suggestions .search-option.is-active { background: var(--soft-surface); }
.search-option-image { width: 44px; height: 44px; flex-shrink: 0; object-fit: contain; border-radius: 7px; background: white; }
.search-option-placeholder { display: grid; place-items: center; color: #60348b; font-size: 24px; }
.search-option-copy { display: grid; gap: 4px; min-width: 0; }
.search-option-title { line-height: 1.5; }
.search-option-meta { font-size: 11px; color: var(--muted); }
.search-option-price { margin-left: auto; flex-shrink: 0; font-size: 11px; color: var(--plum); }
.search-option-term-icon { font-size: 19px; width: 28px; color: var(--plum); }
.search-suggestion-status { display: block; padding: 12px; line-height: 1.6; }
/* Wide item view, with its own sticky purchase bar. */
#panel.product-panel { width: min(1220px,94vw); padding: 0; max-height: 90dvh; overflow-y: auto; }
.product-panel > .close { position: sticky; top: 15px; float: right; margin: 15px 14px -59px 0; z-index: 5; height: 40px; width: 40px; padding: 0; border-radius: 50%; }
.product-sticky { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 76px 14px 24px; background: var(--surface); border-bottom: 1px solid var(--border); }
.product-sticky-summary { display: flex; align-items: center; gap: 12px; min-width: 0; }
.product-sticky-summary > img { width: 42px; height: 48px; object-fit: contain; background: white; border-radius: 6px; }
.product-sticky-summary > div { display: grid; gap: 5px; min-width: 0; }
.product-sticky-summary b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.product-sticky-summary span { font-size: 11px; color: var(--muted); }
.product-sticky > button { flex-shrink: 0; border-radius: 28px; padding: 12px 24px; font-size: 13px; }
.product-overview { padding: 36px 30px; display: grid; grid-template-columns: 1.05fr .85fr 1fr; align-items: start; gap: 26px; }
.product-main-photo { height: 330px; display: grid; place-items: center; padding: 25px; background: white; border-radius: 18px; }
.product-main-photo img { width: 100%; height: 100%; max-height: 280px; object-fit: contain; }
.product-photo-placeholder { display: grid; place-items: center; gap: 10px; font-size: 11px; color: #716176; }
.product-photo-placeholder > span:first-child { font-size: 40px; }
.product-thumbnails { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.product-thumbnails button { height: 54px; width: 48px; padding: 5px; border: 2px solid transparent; background: white; }
.product-thumbnails button[aria-pressed="true"] { border-color: var(--plum); }
.product-thumbnails img { width: 100%; height: 100%; object-fit: contain; }
.product-summary .eyebrow { font-size: 10px; line-height: 1.6; margin: 0; }
.product-summary h2 { margin: 12px 0; font-size: 25px; line-height: 1.3; letter-spacing: -.8px; }
.product-summary-price { font-size: 23px; font-weight: 750; }
.product-estimate-note { line-height: 1.8; }
.product-purchase { border: 1px solid var(--border); border-radius: 18px; padding: 22px; }
.product-price { font-size: 24px; font-weight: 750; margin: 0 0 8px; }
.product-purchase > .muted { font-size: 11px; }
#product-choice { gap: 15px; align-items: stretch; margin-bottom: 0; }
#product-choice label { display: grid; gap: 8px; line-height: 1.5; }
.product-quantity { display: grid; gap: 8px; }
.product-quantity label { font-size: 12px; }
#product-choice input, #product-choice select, #product-choice textarea { min-width: 0; width: 100%; font-size: 13px; }
#product-choice > button[type="submit"] { border-radius: 25px; }
.product-preferences { border-top: 1px solid var(--border); padding-top: 15px; }
.product-preferences summary { font-size: 12px; font-weight: 650; }
.product-preferences label { margin-top: 16px; font-size: 12px; }
.product-preferences textarea { min-height: 80px; resize: vertical; }
.product-preferences .muted { font-size: 11px; line-height: 1.6; }
#product-error:empty { display: none; }
.product-information { padding: 0 30px 30px; line-height: 1.8; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.product-related { margin: 0 30px 30px; border-top: 1px solid var(--border); padding-top: 25px; }
.product-related-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.product-related-header h3 { margin: 6px 0 20px; font-size: 21px; }
.product-related-header .eyebrow { font-size: 9px; margin: 0; }
.product-rail-controls { display: flex; gap: 8px; }
.product-related-row { display: grid; grid-auto-flow: column; grid-auto-columns: 170px; gap: 20px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 12px; }
.product-related-card > button { display: grid; gap: 7px; width: 100%; padding: 0; background: none; color: var(--text); text-align: left; font-weight: 400; }
.product-related-card img { height: 145px; width: 100%; object-fit: contain; background: white; padding: 12px; border-radius: 12px; }
.product-related-price { font-size: 17px; font-weight: 700; margin-top: 7px; }
.product-related-name { font-size: 12px; line-height: 1.6; }
.product-related-size { font-size: 11px; color: var(--muted); }
/* Bag drawer and a separate, spacious checkout. */
#panel.bag-panel { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(510px,100vw); max-width: 100vw; border-radius: 0; padding: 0; border: 0; border-left: 1px solid var(--border); }
.bag-panel > .close { position: absolute; top: 15px; right: 16px; z-index: 3; padding: 10px 14px; }
.bag-panel #panel-content { min-height: 100%; display: flex; flex-direction: column; }
#bag-title { margin: 0; padding: 25px 70px 24px 24px; font-size: 22px; border-bottom: 1px solid var(--border); }
.bag-panel .bag-store { margin: 0; border-radius: 0; padding: 18px 24px; background: var(--soft-surface); }
.bag-items { padding: 0 24px; flex: 1; }
.bag-line { display: grid; grid-template-columns: 58px minmax(0,1fr); gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.bag-line > img { width: 58px; height: 70px; object-fit: contain; background: white; border-radius: 8px; padding: 4px; }
.bag-line-copy { min-width: 0; display: grid; gap: 7px; font-size: 13px; line-height: 1.5; }
.bag-line-copy b { font-size: 13px; }
.bag-line-size, .bag-line-calculation { color: var(--muted); font-size: 12px; }
.bag-line-actions { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bag-line-actions > button { padding: 7px 10px; min-height: 34px; font-size: 11px; background: var(--soft-surface); color: var(--plum); }
.bag-quantity { display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 24px; padding: 2px; font-size: 12px; }
.bag-quantity button { padding: 4px 9px; min-width: 30px; min-height: 30px; border-radius: 50%; background: none; color: var(--plum); font-size: 17px; }
.bag-footer { position: sticky; bottom: 0; background: var(--surface); border-top: 1px solid var(--border); padding: 22px 24px; margin-top: auto; }
.bag-total { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0; font-size: 16px; }
.bag-total dd { margin: 0; font-weight: 750; font-variant-numeric: tabular-nums; }
.bag-footer p { font-size: 11px; color: var(--muted); line-height: 1.6; }
#bag-checkout, #bag-keep-shopping { width: 100%; border-radius: 25px; margin-top: 10px; }
#bag-keep-shopping { background: var(--soft-surface); color: var(--plum); font-size: 12px; }
.bag-empty { text-align: center; padding: 60px 28px; color: var(--muted); line-height: 1.8; font-size: 14px; }
#panel.checkout-panel { width: min(1080px,95vw); padding: 32px; }
.checkout-panel > .close { position: sticky; top: 0; z-index: 2; }
.checkout-layout { display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 32px; clear: both; }
.checkout-main { min-width: 0; }
.checkout-main h2 { font-size: 30px; margin: 12px 0 24px; }
.checkout-main > .eyebrow { font-size: 9px; margin-top: 22px; }
.checkout-main .cart-row { font-size: 12px; }
.checkout-main .cart-row b { font-size: 12px; }
.checkout-main .cart-row button { font-size: 10px; }
.checkout-side { position: sticky; top: 0; align-self: start; background: var(--soft-surface); padding: 24px; border-radius: 18px; }
.checkout-side h3 { margin: 0 0 14px; font-size: 20px; }
.checkout-side p { font-size: 12px; line-height: 1.8; color: var(--muted); }
.checkout-side dl > div { display: grid; gap: 12px; border-block: 1px solid var(--border); padding: 18px 0; margin: 20px 0; }
.checkout-side dt { font-size: 12px; }
.checkout-side dd { margin: 0; font-size: 26px; font-weight: 750; }
.checkout-neighbor { padding-top: 20px; margin-top: 28px; border-top: 1px solid var(--border); }
.checkout-neighbor > span { color: var(--plum); margin-right: 6px; }
.checkout-neighbor b { font-size: 13px; }
#checkout { margin-top: 24px; }
#checkout-submit { width: 100%; border-radius: 28px; }
.aisle-overlay { display: none; }
@media (min-width: 1700px) { .product-rail { grid-auto-columns: calc((100% - 80px)/6); } }
@media (max-width: 1250px) { .site-header { grid-template-columns: 190px minmax(180px,1fr) auto; padding-inline: 20px; gap: 14px; } .site-header .brand { font-size: 25px; } .brand span { letter-spacing: 1px; } .header-actions > button { padding: 10px; } .header-actions #account { max-width: 110px; } .storefront-layout { grid-template-columns: 220px minmax(0,1fr); } .hero-art > span:last-child { display: none; } .hero { padding: 30px; } .aisle-tiles { gap: 10px; } .aisle-tiles button { font-size: 10px; } .aisle-tiles button span { height: 70px; font-size: 30px; } .product-overview { grid-template-columns: 1fr 1fr; } .product-gallery { grid-row: span 2; } .product-summary h2 { font-size: 23px; } .product-purchase { grid-column: 2; } }
@media (max-width: 1000px) {
  .storefront { --header-height: 188px; }
  .site-header { grid-template-columns: auto 1fr; gap: 12px 16px; padding: 14px 20px 0; }
  .header-actions { justify-self: end; }
  .header-search { grid-row: 2; grid-column: 1/-1; }
  #aisle-toggle, #aisle-close { display: inline-block; }
  .delivery-strip { padding: 6px 0; gap: 14px; }
  .delivery-note { margin-left: auto; font-size: 11px; }
  .neighborhoods { display: none; }
  .storefront-layout { display: block; }
  .aisle-sidebar { position: fixed; z-index: 25; top: 0; left: 0; height: 100dvh; width: 290px; max-width: 85vw; transform: translateX(-102%); transition: transform .2s; padding-top: 18px; visibility: hidden; }
  .aisles-open .aisle-sidebar { transform: translateX(0); visibility: visible; }
  .aisles-open { overflow: hidden; }
  .aisle-overlay { position: fixed; inset: 0; z-index: 24; background: var(--backdrop); border-radius: 0; display: block; }
  .storefront-content { padding: 24px; }
  .storefront .hero { grid-template-columns: 1.3fr 1fr; }
  .hero h1 { font-size: 39px; }
  .aisle-tiles button span { height: 86px; font-size: 38px; }
}
@media (max-width: 650px) {
  .storefront { --header-height: 184px; padding-bottom: 95px; }
  .site-header { padding: 11px 14px 0; gap: 10px 6px; }
  .brand-group { gap: 7px; }
  .site-header .brand { font-size: 21px; letter-spacing: -.8px; }
  .site-header .brand span { display: none; }
  .icon-button { padding: 9px; min-width: 36px; min-height: 40px; }
  .header-actions { gap: 4px; }
  .header-actions > button { min-height: 40px; padding: 7px; font-size: 10px; border-radius: 9px; }
  .header-actions #account { max-width: 62px; }
  .header-actions .theme-toggle { width: 32px; min-width: 32px; }
  .theme-toggle svg { width: 18px; }
  .header-actions .header-bag { padding: 8px 9px; gap: 5px; border-radius: 24px; }
  .header-bag > span:first-of-type { display: none; }
  .header-bag svg { width: 16px; height: 18px; }
  #count { width: 20px; min-width: 20px; min-height: 20px; font-size: 10px; }
  #search-form { padding-left: 12px; }
  #search-form input { font-size: 14px; min-height: 42px; }
  #search-form button { padding: 9px 14px; font-size: 11px; }
  .delivery-strip { min-height: 48px; }
  .store-shortcut { max-width: 67%; gap: 8px; }
  .store-shortcut b { font-size: 10px; }
  .delivery-note { max-width: 33%; font-size: 9px; line-height: 1.6; }
  .storefront-content { padding: 18px 16px 0; }
  .storefront .hero { grid-template-columns: 1fr; padding: 25px; border-radius: 20px; position: relative; }
  .hero h1 { font-size: 32px; letter-spacing: -1.2px; }
  .hero p:not(.eyebrow) { font-size: 12px; max-width: 230px; }
  .hero .hero-art { display: none; }
  .hero .cta { font-size: 12px; }
  .aisle-tiles { display: grid; grid-auto-flow: column; grid-auto-columns: 86px; grid-template-columns: none; overflow-x: auto; gap: 12px; padding: 0 0 12px; margin: 22px -2px; scrollbar-width: none; }
  .aisle-tiles button { font-size: 10px; }
  .aisle-tiles button span { height: 72px; font-size: 32px; border-radius: 16px; }
  .section-title { display: flex; align-items: end; }
  .section-title h2 { font-size: 23px; line-height: 1.3; }
  #notice { font-size: 11px; margin: 10px 0 20px; }
  .catalog-shelf { margin: 20px 0 28px; }
  .shelf-heading { gap: 8px; margin-bottom: 10px; }
  .shelf-heading h3 { font-size: 17px; max-width: 210px; line-height: 1.4; }
  .shelf-heading > div { gap: 7px; }
  .shelf-heading .text-button { font-size: 11px; }
  .rail-arrow { display: none; }
  .product-rail { grid-auto-columns: 155px; gap: 8px; margin: 0 -4px; }
  .storefront .grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 8px; }
  .storefront .product { padding: 7px; }
  .product-photo { height: 140px; padding: 12px; margin-bottom: 12px; }
  .storefront .product .product-photo img { max-height: 120px; height: 100%; }
  .product-open h3 { font-size: 12px; }
  .product-size { font-size: 10px; }
  .storefront .product .buy { margin-top: 12px; gap: 5px; }
  .storefront .product .buy b { font-size: 16px; }
  .storefront .product .buy button { min-width: 50px; min-height: 32px; font-size: 11px; padding: 7px 10px; }
  .catalog-filters { gap: 10px; }
  .catalog-filters label { min-width: 125px; flex: 1; }
  .catalog-filters label:last-of-type { max-width: none; }
  .storefront .promise { margin-top: 28px; padding: 24px; }
  .promise h2 { font-size: 22px; }
  .storefront footer { display: grid; padding-bottom: 25px; }
  .storefront .cart-summary { display: flex; bottom: max(12px,env(safe-area-inset-bottom)); padding: 14px 20px; border-radius: 28px; }
  .cart-summary strong { font-size: 17px; }
  .search-suggestions { left: 0; min-width: 0; padding: 6px; max-height: 62dvh; }
  .search-suggestions .search-option { padding: 8px 6px; font-size: 12px; gap: 8px; }
  .search-option-price { font-size: 10px; max-width: 72px; text-align: right; white-space: normal; }
  #panel.product-panel { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .product-sticky { padding: 12px 60px 12px 16px; gap: 10px; min-height: 78px; }
  .product-sticky-summary b { font-size: 11px; }
  .product-sticky-summary span { font-size: 10px; }
  .product-sticky-summary > img { width: 31px; height: 40px; }
  .product-sticky > button { padding: 10px 13px; font-size: 10px; }
  .product-panel > .close { top: 20px; width: 34px; height: 34px; margin: 20px 12px -54px 0; }
  .product-overview { display: flex; flex-direction: column; padding: 22px 18px; gap: 22px; }
  .product-gallery, .product-summary, .product-purchase { width: 100%; }
  .product-main-photo { height: 260px; }
  .product-main-photo img { max-height: 220px; }
  .product-summary h2 { font-size: 26px; }
  .product-summary-price { display: none; }
  .product-purchase { padding: 20px; }
  .product-related { margin: 0 18px 26px; }
  .product-related-row { grid-auto-columns: 145px; gap: 14px; }
  .product-information { padding-inline: 18px; }
  #panel.checkout-panel { max-width: 100vw; width: 100vw; max-height: 100dvh; height: 100dvh; border: 0; border-radius: 0; padding: 20px; margin: 0; }
  .checkout-layout { display: flex; flex-direction: column; gap: 20px; }
  .checkout-side { position: static; order: -1; padding: 18px; margin-top: 18px; }
  .checkout-side h3 { font-size: 18px; }
  .checkout-side dl > div { display: flex; align-items: center; justify-content: space-between; margin: 14px 0; padding: 14px 0; }
  .checkout-side dd { font-size: 22px; }
  .checkout-neighbor { display: none; }
  .checkout-main > .eyebrow { margin-top: 18px; }
  .bag-footer { padding-bottom: max(22px,env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .aisle-sidebar, .product, .aisle-tiles button span { transition: none; } }
/* Keep drawer images compact and its footer within reach. */
.bag-view { min-height: 100dvh; display: flex; flex-direction: column; }
.bag-line .bag-line-photo { width: 58px; height: 70px; margin: 0; padding: 5px; }
.bag-line .bag-line-photo img { width: 100%; height: 100%; max-height: 60px; object-fit: contain; }
.bag-line h3, .bag-line p { margin: 0; }
.bag-line h3 { font-size: 13px; line-height: 1.5; }
.bag-line .cart-preference { margin: 0; font-size: 11px; }
.bag-line .bag-line-actions { grid-column: auto; }
.bag-total strong { font-size: 19px; font-variant-numeric: tabular-nums; }
.product-price-note { display: block; }
.catalog-promotion { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.catalog-promotion mark { padding: 3px 6px; background: #fff08a; color: #231a0a; font-weight: 750; border-radius: 4px; }
.catalog-promotion del { color: var(--muted); font-size: .8em; font-weight: 400; }
.catalog-promotion small { color: var(--muted); font-size: 12px; line-height: 1.5; font-weight: 400; }
.checkout-bag-review { border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin-bottom: 24px; }
.checkout-bag-review summary { font-size: 13px; font-weight: 650; line-height: 1.6; }
.checkout-bag-review > .bag-store { margin-top: 18px; }
.checkout-bag-review > .muted { line-height: 1.7; }
.storefront #search-form { display: flex; grid-template-columns: none; }
@media (max-width:650px) {
  .site-header { grid-template-columns: minmax(0,1fr) auto; }
  .header-actions #account { font-size: 0; max-width: none; min-width: 40px; }
  .header-actions #account::before { content: 'Account'; font-size: 10px; }
  .header-actions #orders { font-size: 0; }
  .header-actions #orders::before { content: 'Orders'; font-size: 10px; }
  .site-header .brand { font-size: 20px; }
}
@media (max-width:380px) {
  .site-header { padding-inline: 10px; column-gap: 4px; }
  .site-header .brand { font-size: 17px; }
  .brand-group { gap: 5px; }
  .brand-group .icon-button { min-width: 30px; padding: 6px; }
  .header-actions { gap: 3px; }
  .header-actions > button { padding: 6px; }
  .header-actions .theme-toggle { width: 27px; min-width: 27px; }
  .header-actions .header-bag { padding: 7px; gap: 4px; }
  .hero h1 { font-size: 28px; }
}
.storefront #search-form button { width: auto; flex: 0 0 auto; }
.storefront #search-form input { width: 0; flex: 1 1 0; }
