/* SHUTTR's warm palette and touch-friendly, rounded storefront. */
:root {
  --ink: #402e25;
  --paper: #faf7f0;
  --white: #fffdfa;
  --muted: #745c4b;
  --line: #e5d8bc;
  --accent: #ff8c00;
  --sienna: #a0522d;
  --clay: #d95d30;
  --cream: #f5deb3;
  --sage: #c2b280;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'DM Sans', sans-serif;
}
body { background: var(--paper); }
button { transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease; }
button:active { transform: scale(.98); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--clay); outline-offset: 3px;
}
.demo-bar { background: var(--sienna); color: #fff; font: 700 .75rem/1.5 var(--font); letter-spacing: .035em; }
header { max-width: 1480px; border: 0; gap: 24px; padding-top: 23px; padding-bottom: 18px; }
.brand { letter-spacing: -.075em; }
.brand-mark, .footer-brand .brand-mark {
  transform: none; border-radius: 12px; background: var(--accent); color: var(--ink);
  box-shadow: 0 5px 14px #a0522d23;
}
.brand small { font-family: var(--font); letter-spacing: .15em; color: var(--sienna); }
.location { border-radius: 16px; padding: 9px 12px; }
.location:hover { background: #f5deb36b; }
.location-icon { color: var(--clay); }
.location small { font-family: var(--font); }
.text-button { text-decoration: none; padding: 10px 12px; border-radius: 12px; }
.text-button:hover { background: var(--cream); }
.bag-button { background: var(--ink); border-color: var(--ink); border-radius: 16px; padding: 11px 17px; }
.bag-button:hover, .primary-button:hover { background: var(--sienna); border-color: var(--sienna); }
.bag-button span { background: var(--accent); border-radius: 10px; min-width: 22px; text-align: center; }
main { max-width: 1480px; }
.intro {
  border: 0; border-radius: 28px; margin-top: 12px; background: var(--cream);
  padding: 10px; box-shadow: 0 14px 42px #a0522d16;
}
.intro-copy { padding: clamp(25px, 4vw, 62px); align-self: center; }
.intro .eyebrow { display: inline-block; width: fit-content; border-radius: 999px; padding: 7px 12px; background: #fff9ea; color: var(--sienna); font: 750 .75rem var(--font); letter-spacing: .09em; }
.intro h1 { font: 800 clamp(2.6rem, 5vw, 5rem)/.99 var(--font); letter-spacing: -.075em; text-transform: none; }
.intro h1 span { color: var(--clay); background: transparent; padding: 0; }
.intro-text { font-size: 1.05rem; color: #5d4839; margin-top: 18px; }
.promise { gap: 10px; flex-wrap: wrap; font: 650 .8rem var(--font); margin-top: 22px; }
.promise span { background: #fff9ea; padding: 8px 12px; border-radius: 999px; }
.promise span:before { color: var(--clay); }
.hero-photo { min-height: 370px; border: 0; border-radius: 22px; }
.photo-note { background: #fffdfae8; border: 0; border-radius: 999px; transform: none; font: 750 .72rem var(--font); letter-spacing: .04em; box-shadow: 0 5px 18px #402e2530; }
.store-layout { gap: 22px; }
.shop-heading { margin-top: 12px; }
.shop-heading h2, .how-section h2 { font: 800 clamp(1.7rem, 3vw, 2.45rem)/1.1 var(--font); letter-spacing: -.055em; }
.shop-heading .eyebrow { color: var(--sienna); font: 750 .75rem var(--font); letter-spacing: .12em; }
.outline-button, .close-button { border-color: #d1b88f; border-radius: 14px; background: #fffdfa; }
.outline-button:hover, .close-button:hover { background: var(--cream); }
.search { border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 3px 12px #402e2508; }
.search:focus-within { border-color: var(--clay); box-shadow: 0 0 0 4px #d95d3025; }
kbd { border-radius: 7px; }
.categories { gap: 9px; counter-reset: none; padding: 3px 2px 9px; }
.category { counter-increment: none; background: #fffdfa; border-color: var(--line); border-radius: 999px; padding: 11px 16px; font-weight: 650; }
.category:before { display: none; }
.category span { background: #f4ead7; padding: 2px 7px; border-radius: 999px; font-family: var(--font); }
.category.active { background: var(--sienna); border-color: var(--sienna); box-shadow: 0 5px 12px #a0522d2b; }
.category.active span { color: var(--ink); }
.catalogue-controls { margin: 15px 0 22px; }
.catalogue-controls select { background: #fffdfa; border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; }
.product-sections { display: grid; gap: 34px; }
.category-section { min-width: 0; scroll-margin-top: 18px; }
.category-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 13px; }
.category-section-heading .eyebrow { margin: 0 0 3px; color: var(--sienna); font: 750 .7rem var(--font); letter-spacing: .09em; }
.category-section-heading h3 { font-size: 1.35rem; letter-spacing: -.04em; }
.category-section-heading>span { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.product-grid { gap: 14px; }
.product { background: var(--white); border-color: var(--line); border-radius: 20px; box-shadow: 0 4px 16px #402e250a; }
.product:hover { border-color: var(--sage); box-shadow: 0 12px 26px #402e251a; }
.product-topline { font-family: var(--font); font-weight: 650; }
.product-topline span:last-child { border: 0; background: var(--cream); border-radius: 999px; padding: 3px 7px; }
.product-photo { background: #fff; border-radius: 14px; margin: 0 9px; }
.photo-caption { padding-top: 8px; }
.brand-label { font: 700 .75rem/1.5 var(--font); color: var(--sienna); }
.request-status { border-radius: 999px; padding: 5px 9px; background: #f5deb387; color: #664627; }
.details-button { text-decoration-color: #c2b280; }
.product-bottom { border-color: var(--line); }
.price { letter-spacing: -.045em; }
.add { background: var(--accent); border-color: var(--accent); border-radius: 12px; min-width: 66px; }
.add:hover { background: #f5a83d; border-color: var(--sienna); }
.quantity { background: #fff3df; border-color: #e9c693; border-radius: 12px; overflow: hidden; }
.quantity button:hover { background: #f5deb3; }
.bag-panel { top: 18px; background: #fffdfa; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 12px 32px #402e2512; }
.bag-title { border-color: var(--cream); }
.empty-mark, .success-icon { border: 0; border-radius: 19px; background: var(--cream); color: var(--sienna); }
.bag-help>span { border-radius: 7px; }
.bag-line, .bag-help { border-color: var(--line); }
.totals { font-family: var(--font); }
.totals .total { border-color: var(--cream); }
.primary-button { background: var(--clay); border-color: var(--clay); border-radius: 14px; box-shadow: 0 5px 14px #d95d302b; }
.bulky-note, .notice { background: #fff1d8; border-left: 0; border-radius: 14px; }
.request-card { background: #f1e7cf; border: 0; border-radius: 22px; }
.request-symbol { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--accent); }
.how-section { display: block; border: 0; border-radius: 26px; background: #f5deb378; margin: 38px 0 26px; padding: 28px; }
.how-section>div { max-width: 650px; margin-bottom: 22px; }
.how-section .eyebrow { color: var(--sienna); font-weight: 750; }
.how-section ol { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.how-section li { background: #fffdfa; border-radius: 18px; padding: 18px; min-height: 165px; }
.how-section b { color: var(--clay); font: 800 1.25rem var(--font); }
.source-section { border-color: var(--line); }
footer { border-color: var(--line); }
dialog { border: 1px solid #e5d8bc; border-radius: 26px; background: #fffdfa; box-shadow: 0 20px 80px #30211755; }
dialog::backdrop { background: #402e2580; backdrop-filter: blur(6px); }
.dialog-heading h2 { font-family: var(--font); letter-spacing: -.045em; }
.close-button { display: grid; place-items: center; width: 44px; height: 44px; }
.field input, .field select, .field textarea { border-color: #d1b88f; border-radius: 14px; padding: 13px; }
fieldset { border-color: var(--line); border-radius: 17px; background: #fffaf0; }
.detail-photo, .detail-photo img { border-radius: 17px; }
.detail-photo { overflow: hidden; border-color: var(--line); }
.empty-results { background: #fffdfa; border-radius: 20px; }
#toast { border: 0; border-radius: 15px; background: var(--ink); box-shadow: 0 10px 32px #402e2540; }
@media (max-width: 1100px) { .how-section ol { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 800px) {
  header { padding-top: 13px; padding-bottom: 13px; }
  .location { padding: 4px 7px; }
  .intro { grid-template-columns: minmax(0,1fr) 30%; border-radius: 22px; padding: 7px; }
  .intro-copy { padding: 17px; }
  .intro .eyebrow { font-size: .65rem; padding: 5px 8px; }
  .intro h1 { font-size: clamp(1.75rem, 7.8vw, 3.3rem); letter-spacing: -.075em; }
  .hero-photo { border-radius: 16px; min-height: 175px; }
  .product-sections { gap: 30px; }
  .category-section-heading h3 { font-size: 1.25rem; }
  .product-grid { gap: 10px; }
  .product { border-radius: 17px; }
  .product-photo { border-radius: 11px; margin: 0 6px; }
  .how-section { padding: 20px; border-radius: 22px; }
  .how-section ol { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
  .how-section li { position: static; padding: 14px; min-height: 150px; }
  .how-section b { position: static; }
  .mobile-nav { left: 10px; right: 10px; bottom: 9px; border: 1px solid #e5d8bc; border-radius: 20px; padding: 7px 8px calc(7px + env(safe-area-inset-bottom)); background: #fffdfaf2; box-shadow: 0 6px 26px #402e252e; }
  .mobile-nav button { border-radius: 14px; }
  .mobile-nav .active { background: var(--sienna); }
  .mobile-nav span { border-radius: 8px; }
  .bag-dialog { border-radius: 25px 25px 0 0; border-bottom: 0; }
  #toast { bottom: 94px; }
}
@media (max-width: 380px) {
  .intro { grid-template-columns: minmax(0,1fr) 25%; }
  .intro h1 { font-size: 1.65rem; }
  .hero-photo { min-height: 150px; }
  .how-section ol { grid-template-columns: 1fr; }
  .how-section li { min-height: 0; }
}
