:root {
  --paper: #f8f4ea;
  --cream: #fffdf7;
  --ink: #203529;
  --green: #214535;
  --rust: #963a28;
  --line: #ded6c6;
  --sans: system-ui, -apple-system, sans-serif;
  --gutter: clamp(1rem, 4.4vw, 4.5rem);
}
.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 5; padding: .7rem; background: var(--cream); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.pantry :is(section[id], .product, #build) { scroll-margin-top: 7.5rem; }
.pantry .ribbon { padding: .42rem .6rem; letter-spacing: .07em; font-size: .75rem; }
.pantry-header { position: sticky; top: 0; z-index: 4; min-height: 76px; padding: 0 var(--gutter); background: var(--paper); }
.pantry-header nav { gap: clamp(.75rem, 2vw, 1.6rem); }
.pantry-header nav a { display: inline-flex; align-items: center; min-height: 44px; }
.pantry-header .bag { min-height: 44px; background: var(--cream); font-weight: 650; }
.pantry .hero { max-width: 1580px; margin: auto; min-height: 0; padding: clamp(1rem, 3vw, 3rem) var(--gutter); gap: clamp(1rem, 4vw, 4.25rem); background: transparent; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: center; }
.pantry .hero .intro { background: transparent; color: var(--ink); padding: 0; }
.pantry .hero .eyebrow { color: var(--rust); margin: 0 0 clamp(.75rem, 2vw, 1.4rem); font-size: .8rem; }
.pantry .hero h1 { font-size: clamp(3.3rem, 7.1vw, 7.4rem); line-height: .91; letter-spacing: -.075em; }
.pantry .hero h1 em { color: var(--rust); }
.pantry .hero .lead { color: #47564b; font-size: clamp(1rem, 1.4vw, 1.16rem); max-width: 32ch; margin: 1.2rem 0 .9rem; }
.pantry .hero-price { margin-bottom: 1.15rem; }
.pantry .hero-price strong { color: var(--ink); }
.pantry .hero-mrp { color: #625b4e; }
.pantry .hero .primary, .pantry .hero .secondary { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; margin: 0; }
.pantry .hero .primary { color: white; background: var(--green); border-color: var(--green); border-radius: 6px; }
.pantry .hero .primary:hover { background: #325944; }
.pantry .hero .secondary { color: var(--green); font-weight: 650; }
.pantry .hero-gallery { border: 1px solid var(--line); border-radius: 12px; background: #f1dfc6; }
.pantry .hero-gallery figure { width: 100%; }
.pantry .gallery-controls { gap: .35rem; background: var(--cream); padding: .55rem; }
.pantry .gallery-controls button { min-height: 44px; padding: .35rem .7rem; }
.pantry .flavour-ticker { color: #fff4de; background: #214535; }
.pantry .ticker-group a { font-weight: 550; min-height: 44px; }
.pantry .ticker-group a::after { color: #eab377; }
.pantry .ticker-pause { min-height: 44px; background: transparent; border: 1px solid #9cae96; margin: .25rem .5rem; }
.pantry .shop, .pantry .combo-section { padding: clamp(2rem, 5vw, 5rem) var(--gutter); }
.pantry .shop-head { max-width: 1460px; margin-inline: auto; }
.pantry .shop-head h2, .pantry .about h2 { font-size: clamp(2.45rem, 5.3vw, 5rem); }
.pantry .shop-head > a { text-underline-offset: .2em; font-size: .94rem; }
.pantry .products, .pantry .presets, .pantry .builder { max-width: 1460px; margin-inline: auto; }
.pantry .products { gap: clamp(.7rem, 1.45vw, 1.6rem); }
.pantry .product { background: var(--cream); border: 1px solid var(--line); border-radius: 10px; padding: .65rem; }
.pantry .product-image { border-radius: 6px; background: var(--paper); }
.pantry .product-image img { display: block; width: 100%; height: 100%; padding: 0; object-fit: contain; }
.pantry .product-meta, .pantry .notes, .pantry .detail-link { margin-inline: .2rem; }
.pantry .product h3 { font-size: clamp(1.1rem, 1.7vw, 1.55rem); }
.pantry .sale-price { column-gap: .45rem; row-gap: .15rem; }
.pantry .sale-price strong { font-size: 1.12rem; }
.pantry .detail-link { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: .2rem; }
.pantry .product .add, .pantry .preset .add { min-height: 46px; background: var(--green); color: white; font-weight: 650; }
.pantry .product .add:hover, .pantry .preset .add:hover { background: #325944; }
.pantry .combo-section { background: #efe5d1; }
.pantry .preset { border: 1px solid var(--line); border-radius: 10px; }
.pantry .preset-art { background: #f1e7d6; min-height: 125px; }
.pantry .preset-art img { mix-blend-mode: normal; }
.pantry .builder { border-radius: 10px; }
.pantry .builder select, .pantry .quantity button { min-height: 44px; min-width: 44px; }
.pantry .about { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1fr); align-items: center; gap: clamp(1.5rem, 5vw, 5rem); text-align: left; padding: clamp(2rem, 5vw, 5rem) var(--gutter); background: #e3e9db; }
.pantry .about img { width: 100%; height: auto; max-width: 520px; border-radius: 10px; justify-self: end; }
.pantry .about p { margin: 1rem 0; }
.pantry .faq summary { min-height: 44px; }
.pantry-footer { background: #1d392c; color: #fff6e4; padding: 2rem var(--gutter); align-items: start; }
.pantry-footer .brand { background: var(--paper); padding: .5rem; border-radius: 6px; }
.pantry-footer nav { display: grid; gap: .65rem; }
.pantry dialog { width: min(100%, 490px); padding: clamp(.9rem, 4vw, 1.6rem); }
.pantry dialog .drawer-head { flex-shrink: 0; }
.pantry dialog .drawer-head button { min-height: 44px; min-width: 44px; }
.pantry #checkout-form :is(input,textarea) { min-height: 46px; }
.pantry #checkout .primary, .pantry #checkout .add, .pantry #open-checkout { min-height: 46px; }
.pantry #pay-button { width: 100%; }
.pantry .delivery-fields { display: grid; grid-template-columns: 1fr 1fr; column-gap: .7rem; }
.pantry .delivery-fields label:last-child { grid-column: 1 / -1; }
.pantry .item { grid-template-columns: 40px minmax(0,1fr) auto; gap: .45rem; }
.pantry .item img { width: 40px; }
.pantry .item.combo-item { grid-template-columns: minmax(0,1fr) auto; }
@media (max-width: 900px) {
  .pantry-header nav { font-size: .82rem; }
  .pantry .products { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .pantry-header { grid-template-columns: 1fr auto; grid-template-rows: 58px 44px; gap: 0; }
  .pantry-header .brand { justify-self: start; grid-row: 1; }
  .pantry-header .bag { grid-column: 2; grid-row: 1; }
  .pantry-header nav { display: flex; grid-area: 2 / 1 / 3 / -1; justify-content: space-between; border-top: 1px solid var(--line); font-size: .88rem; }
  .pantry .hero { grid-template-columns: minmax(0,1fr); }
  .pantry .hero h1 { font-size: clamp(2.8rem, 10vw, 4.8rem); }
  .pantry .hero h1 br { display: none; }
  .pantry .hero h1 em::before { content: ' '; }
  .pantry .hero .lead { margin: .7rem 0 .55rem; max-width: 40ch; }
  .pantry .hero-price { margin-bottom: .65rem; }
  .pantry .hero-actions { gap: .8rem; }
  .pantry .hero .primary, .pantry .hero .secondary { min-height: 44px; font-size: .9rem; }
  .pantry .gallery-controls { display: flex; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; }
  .pantry .gallery-controls button { flex: none; }
  .pantry .products { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pantry .shop-head { align-items: flex-start; }
  .pantry .about { grid-template-columns: 1fr; }
  .pantry .about img { max-height: 280px; max-width: 100%; object-fit: cover; object-position: 50% 50%; }
  .pantry-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem .7rem; }
  .pantry-footer .brand { grid-column: 1 / -1; justify-self: start; }
}
.pantry .gallery-controls[hidden] { display: none; }

.discovery-product { align-items: start; }
.product-gallery { min-width: 0; }
.gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; border: 1px solid var(--line); border-radius: 12px; background: #f1e8d9; }
.gallery-shot { display: grid; place-items: center; aspect-ratio: 1; min-width: 0; scroll-snap-align: start; }
.discovery-product .gallery-shot img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
.product-gallery-tools { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: .35rem; margin-top: .65rem; align-items: center; }
.product-gallery-tools[hidden] { display: none; }
.product-thumbs { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .3rem; }
.discovery-product .product-thumbs button, .discovery-product .gallery-step { margin: 0; }
.product-thumbs button, .gallery-step { background: var(--cream); border: 1px solid var(--line); border-radius: 6px; min-height: 44px; padding: .15rem; }
.product-thumbs button[aria-pressed="true"] { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.discovery-product .product-thumbs img { display: block; width: 100%; height: 40px; object-fit: contain; border-radius: 3px; }
.gallery-step { min-width: 44px; font-size: 1.5rem; line-height: 1; }
.discovery-page .product-image-caption { margin: .4rem 0; font-size: .875rem; color: #605a4e; }
.product-comparison { margin-top: 2.8rem; }
.product-comparison table { width: 100%; border-collapse: collapse; background: var(--cream); font-size: .95rem; }
.product-comparison :is(td,th) { border: 1px solid var(--line); padding: clamp(.4rem,1.7vw,1rem); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.product-comparison thead { background: var(--green); color: white; }
.product-comparison tbody th { width: 24%; }
.product-comparison tbody td:nth-child(2) { background: #e7edde; font-weight: 600; }
@media (max-width: 680px) { .product-comparison table { font-size: .875rem; } }
