:root {
  --app-paper: #f4f0e8;
  --app-ink: #282019;
  --app-muted: #6b5849;
  --app-rule: #e4dbcf;
  --app-tab-height: 55px;
}
.store-app { background: var(--app-paper); color: var(--app-ink); font-family: system-ui, sans-serif; }
.store-app main { padding-bottom: calc(var(--app-tab-height) + env(safe-area-inset-bottom)); }
.store-app .announce, .store-app .brand-band, .store-app .site-footer, .store-app .app-header #nav,
.store-app .app-header #langSel, .store-app .app-header .currency-picker { display: none; }
.store-app .app-header {
  position: sticky; top: 0; background: var(--app-paper); z-index: 60; border-bottom: 1px solid var(--app-rule);
  padding-top: env(safe-area-inset-top);
}
.store-app .app-header .header-inner {
  max-width: 960px; width: 100%; padding: 0 8px; height: 50px; min-height: 50px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0;
}
.store-app .app-header .brand {
  color: var(--app-ink); padding: 0; font: 600 18px/1 system-ui, sans-serif; letter-spacing: .02em;
}
.store-app .app-header .tools { display: flex; justify-content: flex-end; gap: 0; align-items: center; }
.store-app .app-icon, .store-app .app-header .tools .icobtn {
  position: relative; display: grid; place-items: center; border: 0; width: 36px; height: 44px;
  background: transparent; padding: 0; color: var(--app-ink);
}
.store-app .app-icon svg, .store-app .app-header .tools .icobtn svg, .app-tabs svg, .app-save svg { width: 19px; height: 19px; }
.store-app .app-header .bagcount { top: 3px; right: 0; }
.app-tagline {
  margin: 0; padding: 0 12px 10px; text-align: center; color: var(--app-muted);
  font-size: 9px; line-height: 1.5; text-transform: uppercase; letter-spacing: .045em;
}
.app-hero { max-width: 960px; margin: 0 auto; }
.app-hero-photo { display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: center 45%; }
.app-hero-copy { text-align: center; padding: 14px 12px 9px; }
.app-hero-copy h1 { margin: 0; font-size: clamp(19px,5.25vw,29px); font-weight: 570; line-height: 1.25; }
.app-hero-copy p { margin: 11px 0; color: var(--app-muted); font-size: 12px; line-height: 1.45; }
.app-primary {
  display: flex; justify-content: center; align-items: center; width: 100%; min-height: 44px;
  border: 1px solid var(--app-ink); background: var(--app-ink); color: #fff;
  font: 650 13px/1.3 system-ui, sans-serif; letter-spacing: .015em; text-transform: uppercase;
  padding: 9px 12px; text-decoration: none; cursor: pointer;
}
.app-primary:hover { background: #48382b; }
.app-primary:focus-visible, .app-tabs button:focus-visible, .app-icon:focus-visible { outline: 2px solid #916536; outline-offset: -3px; }
.app-tabs {
  position: fixed; z-index: 70; inset: auto 0 0; height: calc(var(--app-tab-height) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--app-paper); border-top: 1px solid var(--app-rule);
}
.app-tabs button {
  display: grid; place-content: center; justify-items: center; gap: 3px;
  color: var(--app-ink); font: 10px/1.1 system-ui, sans-serif; padding: 5px;
}
.app-tabs button[aria-current] { color: #775136; font-weight: 650; }
.store-app #cats { scroll-margin-top: 76px; padding-top: 20px; }
.app-shop-heading { font-size: 22px; font-weight: 560; padding-bottom: 14px; }
.store-app .catview { padding-top: 20px; }
.store-app .app-save {
  color: var(--app-muted); display: flex; align-items: center; gap: 8px;
  min-height: 42px; font-size: 13px; margin-bottom: 8px;
}
.store-app .app-save[aria-pressed="true"] svg { fill: #a07b60; stroke: #78553c; }
.store-app:has(dialog[open]) { overflow: hidden; }
.app-sheet {
  position: fixed; inset: auto 0 0; margin: 0 auto; width: min(100%, 540px); max-width: none;
  max-height: min(92dvh, 820px); overflow: auto; overscroll-behavior: contain;
  border: 1px solid var(--app-rule); border-radius: 19px 19px 0 0;
  background: var(--app-paper); color: var(--app-ink);
  padding: 17px 16px max(24px, env(safe-area-inset-bottom)); box-shadow: 0 10px 50px #261c1a38;
}
.app-sheet::backdrop { background: #211b16a0; }
.app-sheet-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.app-sheet h2 { font: 590 22px/1.2 system-ui, sans-serif; margin: 0; }
.app-dismiss { width: 44px; height: 44px; font: 27px/1 system-ui, sans-serif; color: var(--app-ink); }
.app-field { display: grid; gap: 5px; margin: 0 0 12px; min-width: 0; color: var(--app-ink); font-size: 12px; font-weight: 560; }
.app-field[hidden] { display: none; }
.app-field input {
  min-width: 0; width: 100%; height: 44px; border: 1px solid #c8bbaa; border-radius: 6px;
  padding: 0 10px; color: var(--app-ink); background: #fffcf7; font: 16px system-ui, sans-serif;
}
.app-field input:focus-visible { outline: 2px solid #916536; outline-offset: 1px; }
.app-form-row, .app-results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 10px; }
.app-results { gap: 12px; }
.app-result-note { margin: 0 0 14px; color: var(--app-muted); font-size: 13px; }
.app-order-summary { padding: 12px; border: 1px solid var(--app-rule); border-radius: 8px; font-size: 13px; }
.app-order-summary ul { list-style: none; max-height: 110px; overflow: auto; }
.app-order-summary li, .app-order-summary > div { display: flex; justify-content: space-between; gap: 12px; }
.app-order-summary li { padding-bottom: 6px; }
.app-order-summary li small { display: block; color: var(--app-muted); }
.app-order-summary > div { border-top: 1px solid var(--app-rule); padding-top: 7px; }
.app-disclosure { margin: 10px 0 14px; color: var(--app-muted); font-size: 12px; line-height: 1.55; }
.app-receipt { text-align: center; padding-top: 30px; }
.app-receipt-close { position: absolute; top: 4px; right: 8px; }
.app-confirm-icon { width: 54px; height: 54px; border-radius: 50%; background: #e2e9dd; color: #38533b; margin: 0 auto 13px; display: grid; place-items: center; }
.app-confirm-icon svg { width: 29px; height: 29px; }
.app-order-number { margin: 8px 0 15px; color: var(--app-muted); font-size: 13px; letter-spacing: .05em; }
.app-tracking { border: 1px solid var(--app-rule); border-radius: 8px; padding: 12px; display: flex; gap: 10px; align-items: center; justify-content: center; text-align: left; }
.app-tracking svg { width: 24px; height: 24px; }
.app-tracking span { display: block; color: var(--app-muted); font-size: 12px; margin-top: 2px; }
@media (min-width: 680px) {
  .app-hero { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; }
  .app-hero-photo { max-height: min(70vh,650px); }
  .app-hero-copy { padding: 30px clamp(30px,5vw,62px); }
  .app-hero-copy p { margin: 17px 0; }
  .app-tabs { grid-template-columns: repeat(4,minmax(0,145px)); justify-content: center; }
  .app-sheet { inset: 0; margin: auto; border-radius: 16px; padding: 20px 24px 24px; }
}
@media (max-width: 679px) {
  .app-hero-photo { height: min(125vw,calc(100svh - 250px)); min-height: 290px; }
  .store-app #cats { margin-top: 20px; }
  .store-app .app-hero-copy { min-height: 128px; }
}
@media (prefers-reduced-motion: reduce) {
  .store-app *, .store-app *::before, .store-app *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
