@layer reset, base, components, responsive;
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, h4, p { margin: 0; }
  button, input, select, textarea { font: inherit; }
  button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
  button, a { touch-action: manipulation; }
  button { cursor: pointer; color: inherit; }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; outline: 1px solid rgba(0, 0, 0, 0.07); outline-offset: -1px; }
  [hidden] { display: none !important; }
}
@layer base {
  :root, html[data-theme="ios-blue"] {
    color-scheme: light;
    --background: #F4F7FC;
    --surface: #fff;
    --text: #16213E;
    --muted: #5E677B;
    --blue: #0A84FF;
    --accessible-blue: #0064C7;
    --soft-blue: #EAF4FF;
    --pink: #FFE7EE;
    --pink-text: #B42355;
    --border: #E8ECF2;
    --error: #D92D20;
    --green: #25D366;
    --action: linear-gradient(145deg, #348CF4, #0064C7);
    --shadow: 0 5px 18px #16213E08;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-synthesis: none;
  }
  html[data-theme="choco-warm"] {
    --background: #FAF6F3;
    --blue: #7A3E22;
    --accessible-blue: #5C2C16;
    --soft-blue: #F5E9E2;
    --action: linear-gradient(145deg, #8A4A2B, #5C2C16);
    --pink: #F7E6DC;
    --pink-text: #5C2C16;
  }
  html[data-theme="berry-pink"] {
    --background: #FCF5F7;
    --blue: #B42355;
    --accessible-blue: #86173B;
    --soft-blue: #FCE8EF;
    --action: linear-gradient(145deg, #C92A61, #86173B);
    --pink: #FCE8EF;
    --pink-text: #86173B;
  }
  html[data-theme="matcha-green"] {
    --background: #F4F9F5;
    --blue: #2E7D32;
    --accessible-blue: #1C5424;
    --soft-blue: #E6F4E8;
    --action: linear-gradient(145deg, #388E3C, #1C5424);
    --pink: #E6F4E8;
    --pink-text: #1C5424;
  }
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  body {
    color: var(--text);
    background: radial-gradient(ellipse at 15% 0%, var(--soft-blue), transparent 48%), var(--background);
    min-width: 320px;
    line-height: 1.5;
  }
  body:has(dialog[open]) { overflow: hidden; }
  :focus-visible { outline: 3px solid var(--accessible-blue); outline-offset: 3px; }
  button:disabled { cursor: not-allowed; opacity: .48; }
  svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .skip-link { position: fixed; z-index: 100; top: -70px; left: 20px; padding: 12px 18px; border-radius: 12px; background: white; color: var(--accessible-blue); }
  .skip-link:focus { top: 10px; }
  .storefront { max-width: 1120px; margin: auto; padding: 16px 20px 130px; }
  h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.035em; text-wrap: balance; }
  h1 { font-size: 28px; font-weight: 750; }
  h2 { font-size: 23px; font-weight: 750; }
  h3 { font-size: 18px; font-weight: 700; }
  p { color: var(--muted); text-wrap: pretty; }
  .price, .cart-badge, .add-count, .stepper output, #cart-pill-count, #cart-pill-total, .tabular-num, .pin-field {
    font-variant-numeric: tabular-nums;
  }
}
@layer components {
  .announcement-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    margin-bottom: 10px;
    border-radius: 18px;
    background: var(--action);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow);
  }
  .announcement-bar p { color: #fff; margin: 0; }
  .announcement-bar svg { width: 18px; height: 18px; flex: none; }
  .store-closed-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 18px;
    background: #FFF4E5;
    border: 1px solid #FFD8A8;
    color: #7C2D12;
    font-size: 13px;
    font-weight: 600;
  }
  .store-closed-banner p { color: #7C2D12; margin: 0; }
  .store-closed-banner svg { width: 20px; height: 20px; flex: none; }
  .glass { background: #ffffffba; border: 1px solid #fff; box-shadow: inset 0 1px #ffffffb3, 0 6px 22px #16213E05; -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }
  .header { height: 72px; display: flex; align-items: center; justify-content: space-between; border-radius: 36px; padding: 8px 12px 8px 20px; position: relative; z-index: 5; gap: 10px; }
  .brand { flex: none; display: flex; align-items: center; height: 50px; }
  .brand img { width: 100px; height: 50px; object-fit: contain; outline: none; }
  .header-note { display: none; font-size: 13px; color: var(--muted); }
  .header-actions { display: flex; align-items: center; gap: 8px; }
  .icon-button { width: 44px; height: 44px; padding: 0; display: inline-grid; flex: none; place-items: center; border: 1px solid #fff; border-radius: 50%; background: #ffffffbe; color: var(--text); transition: transform 180ms, background-color 180ms; }
  .icon-button:hover { background: #fff; }
  .icon-button:active, .button:active, .add-button:active { transform: scale(.96); }
  .header-cart { position: relative; }
  .cart-badge { position: absolute; top: -3px; right: -3px; border: 2px solid white; border-radius: 20px; background: var(--accessible-blue); color: white; min-width: 21px; height: 21px; padding: 0 4px; font-size: 10px; font-weight: 700; line-height: 17px; }
  .hero { height: 254px; margin: 12px 0; position: relative; overflow: hidden; isolation: isolate; border-radius: 16px 16px 22px 22px; }
  .hero-photos { position: absolute; inset: 0; z-index: -3; }
  .hero-photo { position: absolute; width: 100%; height: auto; max-width: none; top: -12px; left: 0; opacity: 0; transition: opacity 600ms ease; outline: none; }
  .hero-photo.current { opacity: 1; }
  .hero-wash { position: absolute; inset: 0; z-index: -1; background: linear-gradient(125deg, var(--background) 0%, #F4F7FCF5 20%, #F4F7FC90 40%, transparent 64%), linear-gradient(0deg, var(--background), transparent 12%); pointer-events: none; }
  .hero-copy { padding-top: 6px; position: relative; max-width: 520px; }
  .eyebrow { display: none; }
  .hero-subtitle { margin-top: 7px; font-size: 14px; }
  .button { min-height: 44px; display: inline-flex; justify-content: center; align-items: center; gap: 9px; border: 0; border-radius: 24px; padding: 11px 22px; font-size: 14px; font-weight: 650; line-height: 1.45; transition: transform 180ms, box-shadow 180ms, background-color 180ms; }
  .primary { color: white; background: var(--action); box-shadow: inset 0 1px #ffffff70, 0 4px 12px #0A84FF0C; }
  .button.primary:hover { box-shadow: inset 0 1px #ffffff70, 0 6px 18px #0A84FF25; }
  .secondary { color: var(--accessible-blue); background: var(--soft-blue); }
  .danger-btn { color: #B42318; background: #FEE4E2; }
  .hero-cta { margin-top: 18px; background: var(--action); }
  .hero-cta svg { display: none; width: 18px; height: 18px; }
  .hero-bottom { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
  .slide-label { display: none; }
  .slide-controls { margin-left: auto; display: flex; gap: 6px; align-items: center; }
  .slide-controls .icon-button { width: 44px; height: 44px; }
  .slide-controls svg { width: 18px; height: 18px; }
  .slide-controls .pause-button { width: 44px; height: 44px; border-radius: 22px; }
  .search-field { display: flex; align-items: center; gap: 10px; min-height: 46px; border: 1px solid #fff; background: #ffffffaf; box-shadow: var(--shadow); border-radius: 28px; padding: 0 16px; color: var(--muted); }
  .search-field > span { flex: none; }
  .search-field input { width: 100%; min-width: 0; min-height: 44px; border: 0; outline: none; background: none; font-size: 14px; color: var(--text); }
  .search-field:focus-within { outline: 2px solid var(--accessible-blue); outline-offset: 3px; }
  .search-field input::placeholder { color: #747D8E; opacity: 1; }
  .categories { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
  .chip { flex: 1 1 calc(25% - 8px); min-width: 74px; min-height: 44px; border: 1px solid var(--border); background: #ffffffd9; border-radius: 24px; padding: 9px 10px; font-size: 13px; font-weight: 500; box-shadow: var(--shadow); }
  .chip.selected { background: var(--action); border-color: #ffffff70; color: white; }
  .section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
  #result-count { display: none; font-size: 12px; color: var(--muted); }
  .product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .product-card { position: relative; background: var(--surface); border-radius: 18px; padding: 6px; box-shadow: 0 5px 16px #16213E07; overflow: hidden; min-width: 0; transition: transform 200ms, box-shadow 200ms; }
  .product-card.is-unavailable { opacity: 0.72; }
  .product-badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 3px 9px; border-radius: 12px; background: rgba(22, 33, 62, 0.82); color: #fff; font-size: 11px; font-weight: 700; backdrop-filter: blur(8px); }
  .product-badge.sold-out { background: #B42318; }
  .product-photo { display: block; border: 0; padding: 0; width: 100%; background: var(--soft-blue); aspect-ratio: 169/103; overflow: hidden; border-radius: 12px; }
  .product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms; }
  .product-info { padding: 8px 6px 4px; }
  .product-name { border: 0; text-align: left; padding: 0; background: none; font-size: 14px; line-height: 1.3; font-weight: 700; letter-spacing: -.025em; min-height: 24px; }
  .product-name:hover { color: var(--accessible-blue); }
  .product-buy { display: flex; justify-content: space-between; align-items: center; gap: 4px; min-height: 44px; margin-top: 2px; }
  .price { background: var(--pink); color: var(--pink-text); border-radius: 8px; padding: 3px 7px; font-size: 14px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
  .add-button { border: 0; background: var(--action); color: #fff; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; transition: transform 180ms; position: relative; flex: none; }
  .add-button svg { width: 22px; height: 22px; }
  .add-count { position: absolute; right: -2px; top: -4px; min-width: 17px; height: 17px; display: grid; place-items: center; padding: 0 3px; border-radius: 12px; background: var(--text); color: white; font-size: 10px; border: 1px solid white; }
  .catalog-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 26px 0 12px; font-size: 12px; text-align: center; }
  .catalog-note svg { width: 14px; height: 14px; color: var(--pink-text); }
  .footer { text-align: center; padding: 12px 0 24px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
  .footer > span { font-size: 12px; font-weight: 650; color: var(--text); }
  .footer p { font-size: 11px; }
  .admin-trigger-pill {
    margin-top: 6px;
    min-height: 44px;
    padding: 8px 16px;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: #ffffffc9;
    color: var(--accessible-blue);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 650;
    box-shadow: var(--shadow);
  }
  .admin-trigger-pill svg { width: 16px; height: 16px; }
  .bottom-dock { position: fixed; z-index: 20; bottom: max(12px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: calc(100% - 32px); max-width: 460px; display: flex; flex-direction: column; gap: 9px; align-items: flex-end; pointer-events: none; }
  .bottom-dock > * { pointer-events: auto; }
  .bottom-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 6px; border-radius: 34px; width: 100%; min-height: 69px; }
  .nav-item { min-height: 55px; border: 0; background: none; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 2px; border-radius: 28px; color: #596171; font-size: 10px; line-height: 1.5; }
  .nav-item svg { width: 24px; height: 24px; }
  .nav-item.active { background: var(--soft-blue); color: var(--accessible-blue); font-weight: 650; }
  .floating-cart { display: flex; align-items: center; gap: 8px; min-height: 44px; border-radius: 28px; border: 1px solid #fff; padding: 10px 16px; font-size: 14px; font-weight: 650; background: var(--action); box-shadow: 0 4px 22px #0A84FF20; }
  .floating-cart svg { width: 21px; height: 21px; }
  .floating-cart svg:last-child { width: 14px; }
  .pill-divider { height: 16px; width: 1px; background: #ffffff55; }
  #cart-pill-total { font-size: 12px; }
  .empty-search { text-align: center; padding: 32px 12px; border: 1px dashed #c7d5e5; border-radius: 20px; background: #ffffff70; }
  .empty-search > span { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--soft-blue); color: var(--accessible-blue); margin-bottom: 14px; }
  .empty-search p { margin: 10px auto 20px; max-width: 260px; font-size: 14px; }
  .sheet { border: 1px solid #fff; border-radius: 28px 28px 0 0; background: #F9FBFFf5; color: var(--text); padding: 0; width: 100%; max-width: 560px; max-height: 92dvh; margin: auto auto 0; box-shadow: 0 -12px 60px #16213E18; overflow: auto; overscroll-behavior: contain; }
  .sheet.admin-wide { max-width: 680px; }
  .sheet::backdrop { background: #111C3766; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
  .sheet[open] { animation: sheet-in 220ms ease-out; }
  .sheet-handle { width: 38px; height: 4px; background: #C6CFDD; border-radius: 10px; margin: 10px auto 0; }
  .sheet-header { position: sticky; z-index: 3; top: 0; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 16px 20px 12px; background: #F9FBFFf5; border-bottom: 1px solid #E8ECF280; backdrop-filter: blur(12px); }
  .sheet-header h2 { font-size: 21px; }
  .sheet-header p { font-size: 12px; margin-top: 3px; }
  .close-button { border-color: var(--border); background: #fff; }
  .sheet-body { padding: 20px; }
  .sheet-footer { position: sticky; z-index: 2; bottom: 0; background: #F9FBFFf5; border-top: 1px solid var(--border); padding: 14px 20px max(18px, env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: 10px; }
  .full { width: 100%; }
  .sheet-product-image { width: 100%; aspect-ratio: 1.8; object-fit: cover; border-radius: 18px; margin-bottom: 16px; }
  .product-description { font-size: 14px; margin: 12px 0 20px; }
  .choice-fieldset { margin: 16px 0; padding: 0; border: 0; }
  .choice-fieldset legend { font-size: 14px; font-weight: 650; margin-bottom: 10px; }
  .variant-list { display: grid; gap: 8px; }
  .radio-choice { cursor: pointer; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 13px; min-height: 48px; padding: 12px; font-size: 14px; }
  .radio-choice:has(input:checked) { border-color: var(--blue); background: var(--soft-blue); }
  input[type=radio], input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--accessible-blue); margin: 0; flex: none; }
  .quantity-row { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; font-size: 14px; }
  .stepper { display: flex; align-items: center; height: 44px; border-radius: 24px; background: var(--soft-blue); }
  .stepper button { width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; background: none; color: var(--accessible-blue); }
  .stepper svg { width: 17px; height: 17px; }
  .stepper output { min-width: 24px; text-align: center; font-weight: 650; }
  .cart-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
  .cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
  .cart-item h3 { font-size: 14px; letter-spacing: -.015em; margin: 2px 0 3px; }
  .cart-item p { font-size: 12px; }
  .cart-item-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
  .cart-item .stepper { height: 38px; }
  .cart-item .stepper button { width: 44px; height: 44px; }
  .cart-item .remove { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; color: #8B3E50; border-radius: 50%; }
  .cart-item .remove svg { width: 18px; height: 18px; }
  .empty-cart { padding: 26px 6px; text-align: center; }
  .empty-cart > span { width: 74px; height: 74px; background: var(--soft-blue); color: var(--accessible-blue); border-radius: 50%; display: inline-grid; place-items: center; margin-bottom: 20px; }
  .empty-cart > span svg { width: 32px; height: 32px; }
  .empty-cart p { font-size: 14px; margin: 12px auto 24px; max-width: 280px; }
  .summary-line { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; font-size: 14px; margin: 8px 0; }
  .summary-total { border-top: 1px solid var(--border); padding-top: 14px; margin-top: 14px; font-size: 18px; font-weight: 700; }
  .summary-note { font-size: 12px; margin: 10px 0 16px; }
  .checkout-form, .admin-form { display: grid; gap: 14px; }
  .field { display: flex; flex-direction: column; gap: 6px; }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .field > label { font-size: 13px; font-weight: 650; }
  .field > label span { color: var(--muted); font-weight: 400; }
  .field input, .field textarea, .field select { padding: 11px 14px; border: 1px solid #D8DFE9; border-radius: 12px; width: 100%; min-height: 46px; color: var(--text); background: #fff; font-size: 15px; }
  .field textarea { resize: vertical; min-height: 82px; }
  .field [aria-invalid=true] { border-color: var(--error); }
  .field-error { font-size: 12px; color: var(--error); }
  .delivery-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .order-review { padding: 16px; background: #fff; border-radius: 16px; border: 1px solid var(--border); margin-bottom: 20px; }
  .order-review h3 { font-size: 15px; margin-bottom: 12px; }
  .whatsapp-button { background: #25D366; color: #083B21; }
  .whatsapp-button svg { width: 21px; height: 21px; }
  .back-button { background: none; border: 0; padding: 8px 0; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--accessible-blue); font-size: 13px; font-weight: 600; }
  .back-button svg { width: 16px; height: 16px; }
  .checkout-summary { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: 13px; line-height: 1.7; color: var(--text); background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 16px; margin: 0; }
  .toast { position: fixed; top: 100px; left: 50%; transform: translate(-50%, -12px); z-index: 60; opacity: 0; pointer-events: none; background: #16213E; color: white; border-radius: 24px; box-shadow: 0 8px 22px #16213E20; padding: 11px 18px; max-width: calc(100% - 32px); width: max-content; font-size: 13px; transition: opacity 200ms, transform 200ms; }
  .toast.visible { opacity: 1; transform: translate(-50%, 0); }
  .noscript { padding: 24px; text-align: center; }

  /* Admin Dashboard Styles */
  .admin-tablist {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 8px 16px;
    background: #F1F5FB;
    border-bottom: 1px solid var(--border);
  }
  .admin-tab {
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: transparent;
    padding: 6px 8px;
    font-size: 12px;
    font-weight: 650;
    color: var(--muted);
    transition: background-color 150ms, color 150ms;
  }
  .admin-tab[aria-selected="true"] {
    background: #fff;
    color: var(--accessible-blue);
    border-color: var(--border);
    box-shadow: 0 2px 8px rgba(22, 33, 62, 0.06);
  }
  .admin-section-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
  }
  .admin-card-list { display: grid; gap: 10px; }
  .admin-item-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--border);
  }
  .admin-item-card img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
  .admin-item-meta h4 { font-size: 14px; margin-bottom: 2px; }
  .admin-item-meta p { font-size: 12px; }
  .admin-item-actions { display: flex; align-items: center; gap: 4px; }
  .mini-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #F8FAFC;
    display: inline-grid;
    place-items: center;
    color: var(--text);
  }
  .mini-icon-btn.danger { color: #B42318; background: #FFF5F5; border-color: #FECACA; }
  .mini-icon-btn svg { width: 18px; height: 18px; }
  .admin-editor-box {
    padding: 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--border);
    margin-bottom: 16px;
  }
  .admin-editor-box h3 { font-size: 16px; margin-bottom: 12px; }
  .upload-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
  .upload-preview { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: var(--soft-blue); }
  .theme-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .theme-swatch {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 13px;
    font-weight: 600;
  }
  .theme-swatch:has(input:checked) { border-color: var(--accessible-blue); background: var(--soft-blue); }
  .swatch-dot { width: 20px; height: 20px; border-radius: 50%; flex: none; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,0.15); }
  .pin-field { text-align: center; font-size: 22px; letter-spacing: 0.35em; font-weight: 700; }

  @keyframes sheet-in { from { opacity: .2; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
}
@layer responsive {
  @media (min-width: 600px) {
    .storefront { padding-top: 24px; }
    .header { padding-left: 28px; }
    .header-note { display: block; }
    .hero { height: 360px; margin-top: 16px; border-radius: 24px; }
    .hero-photo { width: 72%; left: auto; right: 0; top: -90px; }
    .hero-wash { background: linear-gradient(105deg, var(--background) 0%, #F4F7FCF0 25%, #F4F7FC70 43%, transparent 65%), linear-gradient(0deg, var(--background), transparent 15%); }
    .hero-copy { padding: 44px 28px; }
    h1 { font-size: 40px; }
    .hero-subtitle { font-size: 16px; }
    .hero-cta svg { display: block; }
    .eyebrow { display: block; font-size: 9px; letter-spacing: .17em; color: #616E87; margin-bottom: 14px; font-weight: 650; }
    .hero-bottom { bottom: 20px; left: 28px; right: 20px; }
    .slide-label { display: flex; gap: 12px; font-size: 12px; font-weight: 650; }
    .slide-label > span { color: var(--muted); font-size: 11px; font-weight: 400; }
    .catalog { max-width: 100%; }
    .search-field { max-width: 560px; margin: 24px auto 0; }
    .categories { max-width: 560px; margin: 18px auto 32px; }
    .section-heading { margin-bottom: 20px; }
    #result-count { display: inline; }
    .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
    .product-photo { aspect-ratio: 1.3; }
    .product-info { padding: 10px 10px 8px; }
    .product-name { font-size: 15px; }
    .price { font-size: 14px; }
    .sheet { margin: auto; border-radius: 28px; max-height: 88dvh; }
    .sheet-handle { display: none; }
    .sheet-header { border-radius: 28px 28px 0 0; padding-top: 20px; }
    .footer { padding-bottom: 30px; }
  }
  @media (min-width: 900px) {
    .storefront { padding: 28px 32px 140px; }
    .header { max-width: 960px; margin: auto; }
    .hero { height: 420px; margin: 24px 0 36px; }
    .hero-copy { padding: 60px 40px; }
    h1 { font-size: 48px; }
    h2 { font-size: 28px; }
    .hero-photo { width: 67%; top: -125px; }
    .hero-subtitle { margin-top: 14px; }
    .hero-cta { margin-top: 26px; }
    .hero-bottom { left: 40px; }
    .product-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px #16213E0D; }
    .product-photo:hover img { transform: scale(1.025); }
    .product-name { font-size: 17px; }
    .product-info { padding: 12px 14px; }
    .price { font-size: 16px; }
    .catalog-note { margin-top: 36px; }
  }
  @media (max-width: 359px) {
    .storefront { padding-left: 14px; padding-right: 14px; }
    h1 { font-size: 25px; }
    .product-grid { gap: 12px 10px; }
    .product-name, .price { font-size: 12px; }
    .price { padding: 3px 5px; }
    .chip { font-size: 12px; }
    .hero { height: 240px; }
    .product-info { padding: 6px; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  }
}
