/* =========================================================
   Redwood — full-width, responsive storefront styles
   ========================================================= */
:root {
  --paper: #eeebe6;
  --cream: #f6f3ee;
  --white: #fff;
  --ink: #2f3a25;
  --text: #4a4a44;
  --muted: #6f6e66;
  --sage: #8b9a7c;
  --sage-dark: #6f7f61;
  --sage-soft: #a3ad95;
  --line: rgba(47, 58, 37, .14);
  --error: #a3322a;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Raleway", system-ui, sans-serif;
  --pad: clamp(16px, 4.5vw, 64px);
  --gutter: max(var(--pad), calc((100% - 1520px) / 2)); /* edge-to-edge backgrounds, content capped on huge screens */
  --nav-h: 68px;
  --radius: 14px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
figure { margin: 0; overflow: hidden; }
figure > img { width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--sage-dark); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.page { width: 100%; overflow-x: clip; }
.section { padding-inline: var(--gutter); }
.has-solid-nav .page > main:first-child, .has-solid-nav .page > .section:first-child { padding-top: calc(var(--nav-h) + 28px); }
p { margin: 0 0 14px; max-width: 60ch; }

.h1 { font: 400 clamp(32px, 4.2vw, 56px)/1.1 var(--serif); color: var(--ink); margin: 0 0 12px; letter-spacing: -.01em; }
.h2 { font: 500 clamp(28px, 3.2vw, 46px)/1.12 var(--sans); color: var(--ink); letter-spacing: -.01em; margin: 0 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 500; border: 1px solid transparent; text-align: center;
  transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--solid { background: var(--ink); color: #fff; }
.btn--solid:hover { background: #1f2818; }
.btn--ghost { border-color: rgba(47,58,37,.35); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--cream); }
.btn--block { width: 100%; }
.btn--lg { min-height: 54px; font-size: 16px; }
.btn:disabled, .btn.is-disabled { opacity: .5; pointer-events: none; }
.link-arrow { font-weight: 600; font-size: 15px; color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: " →"; }
.link-arrow--back::after { content: ""; }
.link-arrow--back::before { content: "← "; }

/* ---------- Navigation (fixed, full width) ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--nav-h);
  display: flex; align-items: center; gap: 8px; padding-inline: var(--gutter);
  color: #fff; transition: background .3s, color .3s, box-shadow .3s;
}
.nav.is-scrolled, .nav.is-open {
  background: rgba(246, 243, 238, .96); color: var(--ink);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__logo { display: flex; align-items: center; gap: 8px; margin-right: 18px; }
.nav__logo svg { width: 30px; height: 30px; fill: currentColor; }
.nav__logo span { font: 400 26px/1 var(--serif); letter-spacing: -.02em; }
.nav__links { display: flex; gap: clamp(14px, 1.8vw, 28px); list-style: none; margin: 0 auto 0 0; padding: 0; font-size: 14.5px; font-weight: 500; }
.nav__links a { padding: 8px 0; opacity: .9; border-bottom: 1px solid transparent; }
.nav__links a:hover { opacity: 1; border-bottom-color: currentColor; }
.nav__call { display: none; }
.nav__icon { position: relative; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: inherit; border-radius: 50%; }
.nav__icon:hover { background: rgba(127,127,127,.12); }
.nav__icon svg { width: 24px; height: 24px; }
.nav__count { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--sage-dark); color: #fff; font-size: 11px; line-height: 19px; font-weight: 700; text-align: center; }
.nav__toggle { display: none; position: relative; width: 44px; height: 44px; background: none; border: 0; color: inherit; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .3s, top .3s; }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav.is-open .nav__toggle span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; height: clamp(560px, 100svh, 1000px); overflow: hidden; isolation: isolate; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; z-index: -2; transform: scale(1.05); animation: zoom 14s ease-out forwards; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(40,25,15,.4), rgba(40,25,15,0) 30%, rgba(40,25,15,0) 55%, rgba(40,25,15,.25)); }
@keyframes zoom { to { transform: scale(1); } }
.hero__cta { position: absolute; left: var(--gutter); top: calc(var(--nav-h) + clamp(24px, 6vh, 80px)); color: #fff; max-width: 420px; }
.hero__cta p { font: 400 clamp(20px, 2vw, 28px)/1.3 var(--serif); margin-bottom: 18px; text-shadow: 0 1px 20px rgba(0,0,0,.2); }
.hero__word {
  position: absolute; left: 0; right: 0; bottom: -0.2em; margin: 0; text-align: center;
  font: 400 23vw/1 var(--serif); white-space: nowrap; letter-spacing: -.035em; color: #f4efe8;
  pointer-events: none; animation: rise 1.4s cubic-bezier(.2,.7,.2,1) both .15s;
}
@keyframes rise { from { opacity: 0; transform: translateY(12%); } }

/* ---------- Home sections ---------- */
.intro { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 96px); padding-block: clamp(64px, 9vw, 140px); }
.intro__media { aspect-ratio: 5/4; border-radius: 50% 50% 14px 14px / 38% 38% 14px 14px; box-shadow: 30px 40px 60px -30px rgba(60,40,25,.35); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head .h2 { margin: 0; }
.cats { padding-bottom: clamp(64px, 8vw, 120px); }
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-tile { display: flex; flex-direction: column; gap: 4px; }
.cat-tile__img { aspect-ratio: 4/5; background: var(--white); border-radius: var(--radius); display: grid; place-items: center; overflow: hidden; margin-bottom: 10px; border: 1px solid var(--line); }
.cat-tile__img .pack { width: 78%; height: 78%; object-fit: contain; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.cat-tile:hover .pack { transform: scale(1.05); }
.cat-tile__label { font: 500 18px/1.2 var(--sans); color: var(--ink); }
.cat-tile__count { font-size: 14px; color: var(--muted); }
.featured { padding-bottom: clamp(64px, 8vw, 120px); }
.brands { padding-block: clamp(56px, 7vw, 110px); background: var(--cream); }
.brands__head { text-align: center; margin-bottom: 28px; }
.brands__head .h2 { margin: 0; }
.brand-grid { --cols: 7; --gap: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.brand-grid > * { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
.brand-logo { display: grid; place-items: center; aspect-ratio: 16/9; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.brand-logo img { max-width: 100%; object-fit: contain; opacity: 0; transition: opacity .3s; }
.brand-logo img.is-sized { opacity: 1; }
.is-inverted { filter: invert(1); }
.brand-logo__text { font: 500 15px/1.2 var(--sans); color: var(--ink); text-align: center; }
@media (hover: hover) { .brand-logo:hover { border-color: var(--sage); box-shadow: 0 12px 28px -18px rgba(47,58,37,.45); transform: translateY(-2px); } }

.care { display: grid; grid-template-columns: 1fr 1fr 1.05fr; grid-template-areas: "a b text" "a b c"; grid-template-rows: auto 1fr; gap: 14px; padding-block: clamp(72px, 9vw, 140px); }
.care__a { grid-area: a; aspect-ratio: 3/4; border-radius: 4px; }
.care__b { grid-area: b; aspect-ratio: 3/4; border-radius: 4px; }
.care__c { grid-area: c; min-height: 180px; border-radius: 4px; }
.care__text { grid-area: text; padding: 0 0 14px 14px; }
.complex { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); padding-bottom: clamp(72px, 9vw, 130px); }
.complex__head { grid-column: 1 / 6; grid-row: 1; align-self: center; z-index: 2; }
.complex__top { grid-column: 6 / 12; grid-row: 1; aspect-ratio: 16/9; z-index: 2; border-radius: 4px; }
.complex__word { grid-column: 1 / -1; grid-row: 2; font: 400 29vw/.72 var(--serif); color: var(--sage-soft); letter-spacing: -.02em; text-align: center; margin-top: -0.14em; z-index: 1; user-select: none; }
.complex__bottom { grid-column: 2 / 8; grid-row: 3; aspect-ratio: 16/9; margin-top: calc(-1 * clamp(28px, 5vw, 90px)); position: relative; z-index: 2; border-radius: 4px; }
.complex__copy { grid-column: 8 / 12; grid-row: 3; align-self: end; padding-left: 28px; z-index: 2; }
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 80px); padding-block: clamp(64px, 8vw, 120px); background: var(--cream); }
.contact__lead { font-size: 17px; }
.contact__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.contact__item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
a.contact__item:hover { border-color: var(--sage); }
.contact__icon { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--paper); display: grid; place-items: center; color: var(--sage-dark); }
.contact__icon svg { width: 20px; height: 20px; }
.contact__label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--sage-dark); font-weight: 600; margin-bottom: 2px; }
.contact__value { font-size: 18px; color: var(--ink); font-weight: 500; line-height: 1.4; }
.contact__value address { font-style: normal; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.contact__map { border-radius: var(--radius); overflow: hidden; min-height: 360px; border: 1px solid var(--line); }
.contact__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; filter: saturate(.7) sepia(.08); }

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 36px 20px; }
.grid--featured { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; min-width: 0; }
.card__link { display: block; border-radius: var(--radius); }
.card__img { position: relative; aspect-ratio: 1; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); display: grid; place-items: center; }
.pack { object-fit: contain; }
.card__img .pack { width: 84%; height: 84%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) { .card:hover .card__img .pack { transform: scale(1.04); } }
.card__badge { position: absolute; top: 10px; left: 10px; background: var(--ink); color: #fff; font-size: 11px; letter-spacing: .04em; padding: 3px 10px; border-radius: 99px; font-weight: 600; }
.card__body { padding-top: 14px; flex: 1; display: flex; flex-direction: column; }
.card__brand { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--sage-dark); font-weight: 700; margin-bottom: 4px; }
.card__name { margin: 0 0 4px; font: 500 15.5px/1.35 var(--sans); color: var(--ink); }
.card__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card__type { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.card__price { margin-top: auto; font-weight: 700; color: var(--ink); font-size: 16px; }
.card__add { margin-top: 12px; min-height: 42px; padding: 9px 18px; font-size: 14px; }
.card__add.is-added { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #dfe3d7; padding-top: clamp(56px, 7vw, 100px); padding-bottom: calc(28px + var(--safe-b)); overflow: hidden; }
.footer .h2 { color: #fff; }
.footer__top { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 48px; }
.footer__news .btn--solid { background: var(--sage); }
.footer__news .btn--solid:hover { background: var(--sage-dark); }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer__cols h4 { margin: 0 0 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: #fff; font-weight: 600; }
.footer__cols a, .footer__cols span { display: block; font-size: 15px; opacity: .78; padding: 5px 0; line-height: 1.4; }
.footer__cols a:hover { opacity: 1; }
.footer__word { font: 400 21vw/.8 var(--serif); white-space: nowrap; color: rgba(255,255,255,.07); text-align: center; margin: 48px 0 -0.05em; letter-spacing: -.03em; user-select: none; }
.footer__legal { font-size: 13px; opacity: .6; margin: 16px 0 0; max-width: none; }

/* ---------- Cart drawer + toast ---------- */
.cart { position: fixed; inset: 0; z-index: 60; background: rgba(30,30,25,.4); opacity: 0; pointer-events: none; transition: opacity .3s; }
.cart.is-open { opacity: 1; pointer-events: auto; }
.cart__panel { position: absolute; inset: 0 0 0 auto; width: min(440px, 100%); background: var(--cream); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.cart.is-open .cart__panel { transform: none; }
.cart__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 14px 24px; border-bottom: 1px solid var(--line); }
.cart__head h3 { margin: 0; font: 400 26px var(--serif); color: var(--ink); }
.cart__close { background: none; border: 0; width: 44px; height: 44px; font-size: 30px; line-height: 1; color: var(--ink); }
.cart__items { list-style: none; margin: 0; padding: 8px 24px; flex: 1; overflow: auto; overscroll-behavior: contain; }
.cart__items li { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.cart__thumb { width: 64px; height: 64px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; }
.cart__thumb .pack { width: 86%; height: 86%; }
.cart__info small, .line__info small, .summary__name small { display: block; color: var(--sage-dark); font-size: 10.5px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.cart__info a { color: var(--ink); line-height: 1.3; }
.qty { display: inline-flex; gap: 10px; align-items: center; margin-top: 6px; color: var(--ink); }
.qty button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); line-height: 1; padding: 0; font-size: 18px; color: var(--ink); }
.qty button:disabled { opacity: .4; }
.qty span { min-width: 18px; text-align: center; font-weight: 600; }
.cart__empty { display: block !important; text-align: center; color: var(--muted); padding: 40px 0 !important; border: 0 !important; }
.cart__empty .btn { margin-top: 16px; }
.cart__foot { padding: 18px 24px calc(22px + var(--safe-b)); border-top: 1px solid var(--line); }
.cart__total { display: flex; justify-content: space-between; color: var(--ink); font-size: 17px; }
.cart__note { font-size: 13px; color: var(--sage-dark); margin: 6px 0 14px; max-width: none; min-height: 1em; }
.cart__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.toast {
  position: fixed; z-index: 70; right: 20px; bottom: calc(20px + var(--safe-b)); max-width: min(380px, calc(100% - 32px));
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--ink); color: #fff;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); transform: translateY(140%); opacity: 0; transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .35s;
}
.toast.is-on { transform: none; opacity: 1; }
.toast img { width: 44px; height: 44px; background: #fff; border-radius: 8px; padding: 3px; }
.toast span { font-size: 14px; line-height: 1.35; }
.toast strong { display: block; }
.toast a { margin-left: auto; white-space: nowrap; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Breadcrumbs, chips, form fields ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .5; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px; border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 99px; font-size: 13.5px; }
.chip--remove:hover { border-color: var(--ink); }
.chip--clear { background: none; border-color: transparent; text-decoration: underline; }
.field { position: relative; display: flex; align-items: center; }
.field svg { position: absolute; left: 16px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.field input, .field select { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 99px; background: var(--white); font: inherit; font-size: 16px; color: var(--ink); }
.field input { padding: 10px 18px 10px 44px; }
.field--select select { appearance: none; -webkit-appearance: none; padding: 10px 42px 10px 18px; cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f6e66' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 16px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--sage-dark); box-shadow: 0 0 0 3px rgba(139,154,124,.25); }

/* ---------- Shop ---------- */
.shop { padding-bottom: clamp(56px, 7vw, 100px); }
.shop__head { margin-bottom: 20px; }
.shop__intro { color: var(--muted); margin: 0; }
.shop__toolbar { display: flex; gap: 12px; align-items: center; padding: 16px 0; margin-bottom: 8px; border-block: 1px solid var(--line); position: sticky; top: var(--nav-h); z-index: 20; background: var(--paper); }
.shop__toolbar .field--search { flex: 1 1 auto; max-width: 520px; }
.shop__sort { margin-left: auto; width: 230px; }
.shop__filter-btn { display: none; }
.shop__filter-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 12px; }
.shop__layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.filters-panel { position: sticky; top: calc(var(--nav-h) + 96px); max-height: calc(100vh - var(--nav-h) - 110px); overflow: auto; padding-right: 6px; }
.filters-panel__head, .filters-panel__foot { display: none; }
.filter-group { border: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 18px 0; }
.filter-group legend { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--ink); padding: 0; margin-bottom: 10px; }
.filter-group__scroll { max-height: 340px; overflow: auto; padding-right: 4px; }
.opt { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; font-size: 15px; color: var(--ink); }
.opt input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; margin: 0; }
.opt__count { margin-left: auto; font-size: 13px; color: var(--muted); }
.opt.is-empty { color: #aaa69c; cursor: default; }
.shop__status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 18px 0 22px; }
.shop__status p { margin: 0; color: var(--muted); font-size: 14px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.shop__empty { text-align: center; padding: 60px 0; }
.shop__empty p { margin-inline: auto; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 48px; }
.pager__btn { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-weight: 600; }
.pager__btn.is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager__btn:disabled { opacity: .4; cursor: default; }
.pager__gap { align-self: center; color: var(--muted); padding: 0 4px; }
.filters-scrim { position: fixed; inset: 0; background: rgba(30,30,25,.4); z-index: 49; }

/* ---------- Product page ---------- */
.pdp { padding-bottom: clamp(48px, 6vw, 90px); }
.pdp__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.pdp__media { position: sticky; top: calc(var(--nav-h) + 24px); aspect-ratio: 1; border-radius: 20px; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; }
.pdp__media .pack { width: 80%; height: 80%; }
.pdp__brand--logo { display: inline-flex; align-items: center; min-height: 40px; margin-bottom: 6px; }
.pdp__brand--logo img { object-fit: contain; object-position: left center; }
.pdp__brand--logo:hover { opacity: .75; }
.pdp h1 { font: 400 clamp(28px, 3.2vw, 44px)/1.12 var(--serif); color: var(--ink); margin: 6px 0 8px; }
.pdp__type { color: var(--muted); margin: 0 0 18px; }
.pdp__price { font-size: 30px; font-weight: 700; color: var(--ink); }
.pdp__vat { font-size: 13px; color: var(--muted); margin: 4px 0 22px; }
.pdp__buy { display: flex; gap: 12px; flex-wrap: wrap; }
.pdp__add { flex: 1 1 220px; min-height: 54px; }
.qty-field { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; background: var(--white); height: 54px; }
.qty-field__btn { width: 48px; height: 100%; border: 0; background: none; font-size: 20px; color: var(--ink); }
.qty-field__input { width: 44px; border: 0; text-align: center; font: 600 16px var(--sans); color: var(--ink); background: none; -moz-appearance: textfield; }
.qty-field__input::-webkit-inner-spin-button, .qty-field__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.pdp__perks { list-style: none; padding: 0; margin: 22px 0 8px; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.pdp__perks li::before { content: "✓"; color: var(--sage-dark); font-weight: 700; margin-right: 10px; }
.pdp__section { border-top: 1px solid var(--line); padding: 18px 0; }
.pdp__section:last-child { border-bottom: 1px solid var(--line); }
.pdp__section summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; font: 600 13px/1 var(--sans); text-transform: uppercase; letter-spacing: .16em; color: var(--ink); padding: 4px 0; }
.pdp__section summary::-webkit-details-marker { display: none; }
.pdp__section summary::after { content: "+"; font-size: 20px; line-height: .6; }
.pdp__section[open] summary::after { content: "−"; }
.pdp__section > p, .pdp__section > ul, .pdp__section > dl { margin-top: 14px; }
.pdp__section a { text-decoration: underline; }
.points { padding-left: 20px; display: grid; gap: 6px; }
.pdp__specs { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; font-size: 15px; }
.pdp__specs dt { color: var(--muted); }
.pdp__specs dd { margin: 0; color: var(--ink); }
.related { padding-bottom: clamp(56px, 7vw, 100px); }
.related .grid { grid-template-columns: repeat(4, 1fr); }

/* ---------- Checkout steps, cart page, summary ---------- */
.steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: 13px; font-weight: 600; color: var(--muted); counter-reset: s; }
.steps li { display: flex; align-items: center; gap: 8px; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); font-size: 12px; }
.steps li:not(:last-child)::after { content: ""; width: 28px; height: 1px; background: var(--line); margin-left: 4px; }
.steps .is-current { color: var(--ink); }
.steps .is-current::before { background: var(--ink); border-color: var(--ink); color: #fff; }
.steps .is-done::before { content: "✓"; background: var(--sage); border-color: var(--sage); color: #fff; }
.cartpage, .checkout, .orderpage, .prose { padding-bottom: clamp(56px, 7vw, 100px); }
.cartpage__layout, .checkout__layout, .orderpage__grid { display: grid; grid-template-columns: 1fr 400px; gap: clamp(24px, 4vw, 60px); align-items: start; margin-top: 20px; }
.cartpage__layout[hidden], .checkout__layout[hidden] { display: none; }
.line-items { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 96px 1fr auto auto; grid-template-areas: "img info qty total" "img info remove remove"; gap: 6px 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.line__img { grid-area: img; width: 96px; height: 96px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; }
.line__img .pack { width: 86%; height: 86%; }
.line__info { grid-area: info; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.line__info a { color: var(--ink); font-weight: 500; }
.line__type, .line__each { font-size: 13px; color: var(--muted); }
.line__qty { grid-area: qty; margin: 0; }
.line__total { grid-area: total; color: var(--ink); min-width: 80px; text-align: right; }
.line__remove { grid-area: remove; justify-self: end; background: none; border: 0; color: var(--muted); text-decoration: underline; font-size: 13px; padding: 4px 0; }
.summary { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.summary--sticky { position: sticky; top: calc(var(--nav-h) + 20px); }
.summary__title { font: 500 20px/1.2 var(--sans); color: var(--ink); margin: 0 0 16px; }
.summary__items { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; max-height: 320px; overflow: auto; padding-top: 8px; }
.summary__items li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.summary__thumb { position: relative; width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; }
.summary__thumb .pack { width: 84%; height: 84%; }
.summary__qty { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 11px; display: grid; place-items: center; padding: 0 5px; }
.summary__name { color: var(--ink); line-height: 1.3; }
.summary__rows, .summary__meta { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 0; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; }
.summary__rows dd, .summary__meta dd { margin: 0; text-align: right; color: var(--ink); }
.summary__meta { grid-template-columns: auto 1fr; font-size: 14px; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 6px; border-top: 1px solid var(--line); color: var(--ink); font-size: 18px; }
.summary__total strong { font-size: 24px; }
.summary__note { font-size: 13px; color: var(--sage-dark); margin: 4px 0 16px; }
.summary__fine { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
.summary__fine a { text-decoration: underline; }
.empty-state { text-align: center; padding: 60px 0 40px; }
.empty-state p { margin-inline: auto; }
.empty-state__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Checkout form ---------- */
.co-step { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 3vw, 32px); margin-bottom: 16px; }
.co-step h2 { display: flex; align-items: center; gap: 12px; font: 500 20px/1.2 var(--sans); color: var(--ink); margin: 0 0 18px; }
.co-step__num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; }
.co-step__intro { color: var(--muted); font-size: 14.5px; }
.co-step__fine { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; text-align: center; max-width: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid[hidden] { display: none; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.form-field input, .form-field textarea { min-height: 50px; padding: 12px 14px; border: 1px solid rgba(47,58,37,.25); border-radius: 10px; font: inherit; font-size: 16px; color: var(--ink); background: var(--white); }
.form-field textarea { min-height: 90px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--sage-dark); box-shadow: 0 0 0 3px rgba(139,154,124,.25); }
.form-field input[aria-invalid="true"] { border-color: var(--error); }
.form-field small, .form-note { font-size: 12.5px; color: var(--muted); margin: 0; }
.form-field__error { font-size: 13px; color: var(--error); font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
.form-error { background: #fbeceb; color: var(--error); border: 1px solid rgba(163,50,42,.3); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; font-weight: 600; }
.form-error a { text-decoration: underline; }
.choice-list { border: 0; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.choice { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid rgba(47,58,37,.25); border-radius: 12px; cursor: pointer; transition: border-color .2s, background .2s; }
.choice:has(input:checked) { border-color: var(--ink); background: var(--cream); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; margin: 0; }
.choice__body { display: flex; flex-direction: column; gap: 2px; }
.choice__body strong { color: var(--ink); font-weight: 600; }
.choice__body small { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.choice__price { margin-left: auto; font-weight: 700; color: var(--ink); white-space: nowrap; }
.choice.is-disabled { opacity: .45; cursor: not-allowed; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; margin: 16px 0 18px; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); margin: 2px 0 0; flex: none; }
.check a { text-decoration: underline; }
.check.is-invalid { color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Order confirmation ---------- */
.orderpage__hero { text-align: center; padding: 20px 0 10px; }
.orderpage__hero p { margin-inline: auto; font-size: 17px; }
.orderpage__tick { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--sage); color: #fff; font-size: 30px; margin-bottom: 16px; }
.orderpage__next h2 { font: 500 22px var(--sans); color: var(--ink); margin: 0 0 12px; }
.next-steps { padding-left: 20px; display: grid; gap: 10px; margin: 0 0 20px; }

/* ---------- Text pages ---------- */
.prose { max-width: calc(900px + 2 * var(--gutter)); }
.prose h2 { font: 500 22px/1.3 var(--sans); color: var(--ink); margin: 32px 0 10px; }
.prose a { text-decoration: underline; }
.prose ul { padding-left: 20px; }
.table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 14px; font-size: 15px; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--cream); color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1200px) {
  .brand-grid { --cols: 6; }
  .grid--featured, .related .grid { grid-template-columns: repeat(3, 1fr); }
  .grid--featured > :nth-child(n+7) { display: none; }
}
@media (max-width: 1080px) {
  .nav__toggle { display: block; margin-right: -8px; }
  .nav__search { margin-left: auto; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--nav-h));
    flex-direction: column; gap: 0; margin: 0; padding: 8px var(--pad) calc(24px + var(--safe-b));
    background: var(--cream); color: var(--ink); font: 400 26px/1.2 var(--serif); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .nav__links li { border-bottom: 1px solid var(--line); }
  .nav__links a { display: block; padding: 16px 4px; border: 0; }
  .nav__links .nav__call { display: block; border: 0; margin-top: 20px; }
  .nav__links .nav__call a { font: 600 16px/1 var(--sans); text-align: center; border-radius: 99px; background: var(--ink); color: #fff; padding: 17px; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-grid { --cols: 4; }
  .cartpage__layout, .checkout__layout, .orderpage__grid { grid-template-columns: 1fr; }
  .summary--sticky { position: static; order: -1; }
  .shop__layout { grid-template-columns: 1fr; }
  .shop__filter-btn { display: inline-flex; }
  .shop__sort { width: auto; }
  .filters-panel {
    position: fixed; inset: 0 auto 0 0; z-index: 50; width: min(380px, 88vw); max-height: none; padding: 0;
    background: var(--cream); display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .35s cubic-bezier(.2,.7,.2,1);
  }
  .filters-open .filters-panel { transform: none; }
  .filters-panel__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 14px 24px; border-bottom: 1px solid var(--line); }
  .filters-panel__head h2 { margin: 0; font: 400 24px var(--serif); color: var(--ink); }
  .filters-panel__close { width: 44px; height: 44px; border: 0; background: none; font-size: 30px; color: var(--ink); }
  .filters-panel__body { flex: 1; overflow: auto; padding: 0 24px; }
  .filter-group__scroll { max-height: none; }
  .opt { min-height: 44px; padding: 4px 0; }
  .filters-panel__foot { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 14px 24px calc(14px + var(--safe-b)); border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; }
  .intro__media { order: -1; max-width: 560px; width: 100%; justify-self: center; }
  .care { grid-template-columns: 1fr 1fr; grid-template-areas: "text text" "a b" "c c"; }
  .care__text { padding: 0 0 12px; }
  .care__c { aspect-ratio: 16/7; }
  .complex { grid-template-columns: 1fr; }
  .complex > * { grid-column: 1 !important; grid-row: auto !important; }
  .complex__top { margin-top: 20px; }
  .complex__word { margin-top: 0; padding-top: .1em; }
  .complex__bottom { margin-top: -5vw; }
  .complex__copy { padding: 24px 0 0; }
  .contact { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .pdp__grid { grid-template-columns: 1fr; }
  .pdp__media { position: relative; top: 0; max-width: 560px; width: 100%; justify-self: center; }
}
@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  .nav__logo span { font-size: 23px; }
  .nav__logo { margin-right: 0; }
  .hero { height: 88svh; min-height: 520px; }
  .hero__img { object-position: 45% 35%; }
  .hero__word { bottom: -0.16em; }
  .hero__cta { right: var(--gutter); }
  .h2 { font-size: 28px; }
  .section-head { align-items: center; }
  .intro .btn { width: 100%; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-grid > :last-child { grid-column: 1 / -1; }
  .cat-grid > :last-child .cat-tile__img { aspect-ratio: 2/1; }
  .brand-grid { --cols: 3; --gap: 8px; }
  .brand-logo { padding: 10px; border-radius: 10px; }
  .grid, .grid--featured, .related .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .grid--featured > :nth-child(n+7) { display: flex; }
  .card__img { border-radius: 10px; }
  .card__name { font-size: 14.5px; }
  .card__add { width: 100%; padding: 9px 10px; }
  .care { gap: 10px; }
  .contact__item { padding: 16px; }
  .contact__actions .btn { flex: 1 1 100%; }
  .contact__map, .contact__map iframe { min-height: 280px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cols > div:last-child { grid-column: 1 / -1; }
  .footer__news .btn { width: 100%; }
  .shop__toolbar { flex-wrap: wrap; gap: 8px; padding: 12px 0; }
  .shop__toolbar .field--search { flex-basis: 100%; max-width: none; }
  .shop__filter-btn, .shop__sort { flex: 1 1 0; }
  .shop__sort select { padding-left: 14px; }
  .pdp__buy .qty-field { flex: 0 0 auto; }
  .line { grid-template-columns: 76px 1fr auto; grid-template-areas: "img info total" "img qty remove"; gap: 8px 14px; }
  .line__img { width: 76px; height: 76px; }
  .form-grid { grid-template-columns: 1fr; }
  .choice { padding: 14px; align-items: flex-start; }
  .cart__actions { grid-template-columns: 1fr; }
  .steps { font-size: 12px; }
  .steps li:not(:last-child)::after { width: 14px; }
  .toast { left: 16px; right: 16px; max-width: none; }
}
