/* Granola Factory – storefront styles */

@font-face { font-family: "EB Garamond"; src: url("../fonts/eb-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/eb-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/eb-garamond-latin-400-italic.woff2") format("woff2"); font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("../fonts/oswald-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --cream: #f7f2e8;
  --paper: #fffdf8;
  --kraft: #e3cba3;
  --kraft-soft: #efe2c9;
  --kraft-dark: #9c7848;
  --ink: #23241f;
  --muted: #6b675c;
  --line: #e7dcc7;
  --green: #1f5c38;
  --green-hover: #174a2c;
  --leaf: #3a9b3a;
  --blue: #1b8ccc;
  --orange: #f08a1c;
  --red: #b3261e;
  --accent: var(--green);

  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --label: "Oswald", "Arial Narrow", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(35, 36, 31, .05), 0 8px 24px rgba(35, 36, 31, .07);
  --shadow-lg: 0 20px 50px rgba(35, 36, 31, .14);
  --gutter: 20px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { max-width: 100%; display: block; }
picture { display: contents; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-hover); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: 1.125rem; color: var(--muted); }
.rounded { border-radius: var(--radius); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--green); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.5em;
  border: 1.5px solid transparent; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: .975rem; text-decoration: none; cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s, border-color .2s;
}
.btn:hover { color: var(--fg); }
.btn--primary:hover { background: var(--green-hover); box-shadow: 0 6px 16px rgba(31, 92, 56, .25); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: rgba(35, 36, 31, .25); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, .5); }
.btn--sm { min-height: 40px; padding: 0 1.1em; font-size: .9rem; }
.btn--lg { min-height: 56px; padding: 0 2em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--green); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; cursor: pointer; color: var(--ink); position: relative; font-size: 1.4rem; }
.icon-btn:hover { background: rgba(35, 36, 31, .06); color: var(--ink); }

.kicker { font-family: var(--label); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--kraft-dark); margin-bottom: .75em; }

/* ---------- Announcement & header ---------- */
.announce { background: var(--green); color: #f3ead6; font-size: .82rem; text-align: center; padding: 8px 0; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 242, 232, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(35, 36, 31, .05); }
.site-header__inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.logo img { height: 46px; width: auto; }
.main-nav { display: none; }
.site-header__tools { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.country-switch select {
  appearance: none; border: 1px solid var(--line); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2323241f' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center;
  border-radius: 999px; padding: 6px 28px 6px 12px; font-size: .82rem; font-weight: 500; cursor: pointer;
}
.lang-switch { display: none; font-family: var(--label); font-size: .9rem; letter-spacing: .08em; text-decoration: none; color: var(--ink); padding: 8px; }
.cart-btn__count { position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--orange); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.cart-btn__count.bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }

body.nav-open { overflow: hidden; }
body.nav-open .main-nav {
  display: flex; flex-direction: column; position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--cream); padding: 24px var(--gutter); gap: 4px; overflow-y: auto;
}
body.nav-open .main-nav a { font-family: var(--serif); font-size: 1.8rem; padding: 10px 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.main-nav__mobile-extra { margin-top: 12px; }

@media (min-width: 960px) {
  .nav-toggle, .main-nav__mobile-extra { display: none; }
  .main-nav { display: flex; gap: 28px; margin-left: 32px; }
  .main-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; padding: 6px 0; }
  .main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--green); transition: right .25s; }
  .main-nav a:hover::after { right: 0; }
  .lang-switch { display: inline-block; }
  .logo img { height: 52px; }
}

/* ---------- Hero ---------- */
.hero { padding: 28px 0 48px; overflow: hidden; }
.hero__grid { display: grid; gap: 36px; align-items: center; }
.hero__title { font-size: clamp(2.4rem, 7vw, 4.4rem); line-height: 1.02; margin-bottom: .35em; }
.hero__text { font-size: 1.12rem; color: var(--muted); max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 18px; }
.hero__rating { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.hero__media { position: relative; justify-self: center; width: min(100%, 380px); }
.hero__video-frame { border-radius: 28px; overflow: hidden; aspect-ratio: 9 / 16; max-height: 640px; box-shadow: var(--shadow-lg); background: var(--kraft-soft); transform: rotate(1.5deg); }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__floating { position: absolute; background: var(--paper); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; font-size: .82rem; line-height: 1.25; max-width: 180px; }
.hero__floating strong { font-family: var(--serif); font-size: 2rem; color: var(--green); line-height: 1; white-space: nowrap; }
.hero__floating--a { left: -8px; top: 18%; transform: rotate(-3deg); }
.hero__floating--b { right: -4px; bottom: 14%; transform: rotate(2deg); }
.hero__floating--b strong { color: var(--orange); }
@media (min-width: 900px) {
  .hero { padding: 56px 0 80px; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 64px; }
  .hero__floating--a { left: -60px; }
  .hero__floating--b { right: -40px; }
}

.pill-list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li, .checks li {
  font-family: var(--label); text-transform: uppercase; font-size: .78rem; letter-spacing: .06em;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); border: 1.5px solid var(--accent); border-radius: 999px; padding: 4px 14px 4px 4px;
}
.pill-list li::before, .checks li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- USP bar ---------- */
.usp-bar { background: var(--paper); border-block: 1px solid var(--line); overflow: hidden; }
.usp-bar__inner { display: flex; gap: 32px; padding-block: 16px; overflow-x: auto; scrollbar-width: none; justify-content: space-between; }
.usp-bar__inner::-webkit-scrollbar { display: none; }
.usp-bar span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-weight: 500; font-size: .92rem; color: var(--green); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section--tight { padding: 32px 0 64px; }
.section--kraft { background: var(--kraft-soft); }
.section--green { background: var(--green); color: #f3ead6; }
.section--seo { background: var(--paper); border-top: 1px solid var(--line); }
.section__head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section__head--light .kicker { color: #d9c49a; }
.section__title { font-size: clamp(1.9rem, 4.5vw, 3rem); }
.section__lead { color: var(--muted); font-size: 1.08rem; }
.section--green .section__lead { color: #d8d2c0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }

.page-hero { padding: 28px 0 8px; }
.page-hero__title, .page-title { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.page-hero__lead { color: var(--muted); font-size: 1.1rem; max-width: 40em; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--green); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; color: var(--ink); font-size: .9rem; }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 20px; }
.grid--products { grid-template-columns: 1fr; gap: 24px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
@media (min-width: 560px) { .grid--products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--products { grid-template-columns: repeat(4, 1fr); } .grid--products.grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Product card ---------- */
.pcard { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; border-top: 5px solid var(--accent); }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pcard__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--kraft-soft); display: block; }
.pcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s, transform .6s; }
.pcard__img--alt { opacity: 0; }
.pcard:hover .pcard__img--alt { opacity: 1; }
.pcard:hover .pcard__img { transform: scale(1.03); }
.pcard__badge { position: absolute; z-index: 2; top: 12px; left: 12px; background: var(--orange); color: #fff; font-weight: 700; font-size: .8rem; padding: 4px 10px; border-radius: 99px; }
.pcard__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.pcard__rating { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); margin-bottom: 6px; }
.pcard__title { font-size: 1.45rem; margin-bottom: .2em; }
.pcard__title a { color: var(--ink); text-decoration: none; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; }
.pcard { position: relative; }
.pcard form, .pcard__media { position: relative; z-index: 1; }
.pcard__sub { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.pcard__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }

.price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
.price__now { font-weight: 700; font-size: 1.2rem; }
.price__now--lg { font-size: 2rem; font-family: var(--serif); font-weight: 600; }
.price__was { color: var(--muted); font-size: .95rem; }
.price__unit { flex-basis: 100%; font-size: .75rem; color: var(--muted); }

/* ---------- Stars ---------- */
.stars { --size: 16px; position: relative; display: inline-block; width: calc(var(--size) * 5); height: var(--size); vertical-align: middle;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 3 6.5 7 .8-5.2 4.8 1.4 7L12 17.6 5.8 21l1.4-7L2 9.3l7-.8z' fill='%23e3d6bd'/%3E%3C/svg%3E") repeat-x left / var(--size) var(--size); }
.stars__fill { position: absolute; inset: 0 auto 0 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 3 6.5 7 .8-5.2 4.8 1.4 7L12 17.6 5.8 21l1.4-7L2 9.3l7-.8z' fill='%23f0a21c'/%3E%3C/svg%3E") repeat-x left / var(--size) var(--size); }
.stars--lg { --size: 24px; }

/* ---------- Split sections ---------- */
.split { display: grid; gap: 40px; align-items: center; }
.split__media img { width: 100%; height: auto; max-height: 640px; object-fit: cover; border-radius: var(--radius); }
.split__media--video { justify-self: center; width: min(100%, 360px); }
.reel { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); background: var(--kraft); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--reverse .split__media { order: 2; }
}

.features { display: grid; gap: 22px; margin-top: 28px; }
.feature { display: flex; gap: 16px; }
.feature__num { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 1.2rem; }
.feature__title { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; margin-bottom: .25em; letter-spacing: 0; }
.feature p { margin: 0; color: var(--muted); }

/* ---------- Ingredient bars ---------- */
.recipe { display: block; background: var(--paper); border-radius: var(--radius); padding: 26px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); border-left: 6px solid var(--accent); transition: transform .2s; }
.recipe:hover { transform: translateY(-3px); color: var(--ink); }
.recipe__title { font-size: 1.5rem; }
.recipe__more { display: inline-block; margin-top: 12px; font-weight: 600; color: var(--accent); }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bars__row { display: grid; grid-template-columns: minmax(110px, 38%) 1fr 52px; align-items: center; gap: 12px; font-size: .9rem; }
.bars__track { height: 8px; background: var(--kraft-soft); border-radius: 99px; overflow: hidden; }
.bars__fill { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.bars__val { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }

/* ---------- Free-from ---------- */
.free-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.free-list li { display: flex; align-items: center; gap: 10px; font-family: var(--label); text-transform: uppercase; letter-spacing: .06em; font-size: .92rem; }
.section--green .free-list li { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15); border-radius: 14px; padding: 16px; justify-content: center; flex-direction: column; text-align: center; }
.section--green .free-list__icon { color: #f2b56b; }
.free-list__icon svg { width: 26px; height: 26px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table thead th { font-family: var(--label); text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; color: var(--muted); font-weight: 500; }
.table--compact th { font-weight: 500; }
.table--compact td { text-align: right; font-variant-numeric: tabular-nums; }
.feeding-box { background: var(--paper); border-radius: var(--radius); padding: 22px; margin: 24px 0; box-shadow: var(--shadow); }
.feeding-box__title { font-size: 1.4rem; margin-bottom: .2em; }

/* ---------- FAQ / accordion ---------- */
.faq { display: grid; gap: 10px; margin-bottom: 28px; }
.faq__item, .accordion details { background: var(--paper); border-radius: 14px; border: 1px solid var(--line); }
.faq__item summary, .accordion summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 600; position: relative; }
.faq__item summary::-webkit-details-marker, .accordion summary::-webkit-details-marker { display: none; }
.faq__item summary::after, .accordion summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.faq__item[open] summary::after, .accordion details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__answer, .accordion__body { padding: 0 20px 18px; color: #3d3c36; }
.accordion { display: grid; gap: 8px; margin-top: 28px; }

/* ---------- Prose ---------- */
.prose h2 { font-size: 1.7rem; margin-top: 1.4em; }
.prose h3 { font-size: 1.3rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose > :first-child { margin-top: 0; }

/* ---------- Product page ---------- */
.product-page { padding-top: 20px; }
.pdp { display: grid; gap: 32px; padding-bottom: 56px; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; } .pdp__gallery { position: sticky; top: calc(var(--header-h) + 16px); } }
.pdp__main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius); scrollbar-width: none; background: var(--kraft-soft); }
.pdp__main::-webkit-scrollbar { display: none; }
.pdp__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 4 / 5; }
.pdp__slide img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.pdp__thumb { flex: none; width: 68px; height: 84px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; cursor: pointer; opacity: .7; transition: opacity .2s, border-color .2s; }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb.is-active, .pdp__thumb:hover { border-color: var(--accent); opacity: 1; }
.pdp__rating { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); text-decoration: none; margin-bottom: 8px; }
.pdp__title { font-size: clamp(2.1rem, 4.5vw, 3.2rem); margin-bottom: .15em; }
.pdp__subtitle { font-family: var(--label); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-size: .9rem; }
.pdp__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.pdp__vat { font-size: .82rem; color: var(--muted); }
.pdp__vat a { color: var(--muted); }
.pdp__short { font-size: 1.05rem; }
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.checks li { background: var(--paper); }
.pdp__buy { display: flex; gap: 12px; align-items: stretch; }
.pdp__buy .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); overflow: hidden; }
.qty button { width: 44px; height: 54px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; }
.qty button:hover { background: var(--kraft-soft); }
.qty input { width: 40px; text-align: center; border: 0; background: none; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--sm button { width: 34px; height: 36px; font-size: 1.05rem; }
.qty--sm span { min-width: 26px; text-align: center; font-weight: 600; }
.stock { display: flex; align-items: center; gap: 8px; font-size: .88rem; margin: 14px 0 0; color: var(--green); }
.stock__dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(31, 92, 56, .15); }
.stock--low { color: #b86100; }
.stock--out { color: var(--red); }
.trust { list-style: none; padding: 18px 0 0; margin: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 14px; font-size: .9rem; }
.trust li { display: flex; gap: 12px; align-items: flex-start; }
.trust svg { flex: none; color: var(--green); }
.trust small { color: var(--muted); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .78rem; font-weight: 600; }
.badge--save { background: #fdebd5; color: #a35400; }
.mini-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mini-list li { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; background: var(--cream); border-left: 4px solid var(--accent); }
.mini-list img { width: 40px; height: 56px; object-fit: cover; border-radius: 6px; }
.mini-list span { margin-left: auto; color: var(--muted); font-size: .85rem; }

.sticky-atc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--paper); box-shadow: 0 -8px 24px rgba(0, 0, 0, .08); transform: translateY(110%); transition: transform .3s; }
.sticky-atc.is-visible { transform: none; }
.sticky-atc__info { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.sticky-atc__info strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .9rem; }
.sticky-atc .btn { margin-left: auto; flex: none; }
@media (min-width: 900px) { .sticky-atc { display: none; } }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: 28px; }
@media (min-width: 900px) { .reviews { grid-template-columns: 280px 1fr; align-items: start; } .reviews__summary { position: sticky; top: calc(var(--header-h) + 16px); } }
.reviews__summary { background: var(--paper); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.reviews__avg { font-family: var(--serif); font-size: 3.4rem; line-height: 1; }
.reviews__avg small { font-size: 1.2rem; color: var(--muted); }
.reviews__list { display: grid; gap: 16px; }
.dist { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 6px; font-size: .82rem; }
.dist li { display: grid; grid-template-columns: 34px 1fr 24px; gap: 8px; align-items: center; }
.dist__track { height: 6px; border-radius: 9px; background: var(--kraft-soft); overflow: hidden; }
.dist__track span { display: block; height: 100%; background: #f0a21c; }
.review { background: var(--paper); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.review__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.review__verified { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 600; color: var(--green); }
.review__title { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; letter-spacing: 0; margin-bottom: .3em; }
.review__body { margin-bottom: .8em; }
.review__meta { font-size: .82rem; color: var(--muted); }
.review__reply { margin-top: 12px; padding: 12px 14px; border-left: 3px solid var(--green); background: var(--cream); border-radius: 0 10px 10px 0; font-size: .9rem; }

.rate-input { border: 0; padding: 0; margin: 0 0 12px; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rate-input legend { width: 100%; font-weight: 500; font-size: .9rem; margin-bottom: 4px; float: left; }
.rate-input input { position: absolute; opacity: 0; }
.rate-input label { font-size: 2rem; line-height: 1; color: #e3d6bd; cursor: pointer; transition: color .15s; }
.rate-input label:hover, .rate-input label:hover ~ label, .rate-input input:checked ~ label { color: #f0a21c; }
.rate-input input:focus-visible + label { outline: 2px solid var(--orange); border-radius: 4px; }
.hp { position: absolute; left: -9999px; }

/* ---------- Forms ---------- */
.card { background: var(--paper); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border: 0; margin: 0 0 18px; min-width: 0; }
.card__title { font-family: var(--serif); font-size: 1.5rem; display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 12px; float: left; width: 100%; }
.card__title + * { clear: both; }
.step { width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--sans); font-size: .9rem; font-weight: 600; display: grid; place-items: center; }
.field { display: block; margin-bottom: 14px; clear: both; }
.field > span { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 6px; }
.field em { font-style: normal; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea, .coupon input {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 0; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .coupon input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(31, 92, 56, .12); }
.field input.is-invalid { border-color: var(--red); }
.form-grid { display: grid; gap: 0 14px; }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid--zip { grid-template-columns: 140px 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; cursor: pointer; margin-bottom: 10px; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--green); }
.check--terms { margin: 18px 0 16px; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 500; }
.alert--ok { background: #e3f1e5; color: #1b5130; }
.alert--error { background: #fbe4e2; color: #8c1d16; }

/* ---------- Cart & checkout ---------- */
.cart-layout, .checkout { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) {
  .cart-layout { grid-template-columns: 1fr 380px; }
  .checkout { grid-template-columns: 1fr 400px; }
  .summary { position: sticky; top: calc(var(--header-h) + 16px); }
}
.cart-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 70px 1fr; gap: 14px; align-items: center; background: var(--paper); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.cart-line img { width: 70px; height: 92px; object-fit: cover; border-radius: 10px; }
.cart-line__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cart-line__name { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.cart-line__qty { display: flex; align-items: center; gap: 14px; grid-column: 2; }
.cart-line__total { grid-column: 2; font-size: 1.05rem; }
@media (min-width: 640px) {
  .cart-line { grid-template-columns: 80px 1fr auto auto; gap: 20px; }
  .cart-line__qty, .cart-line__total { grid-column: auto; }
  .cart-line__qty { flex-direction: column; gap: 4px; }
}
.free-progress { background: var(--paper); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 14px; box-shadow: var(--shadow); }
.free-progress p { margin: 0 0 8px; font-size: .92rem; }
.free-progress__track { height: 8px; background: var(--kraft-soft); border-radius: 9px; overflow: hidden; }
.free-progress__track span { display: block; height: 100%; background: linear-gradient(90deg, var(--leaf), var(--green)); border-radius: 9px; transition: width .4s; }
.totals { margin: 0 0 16px; display: grid; gap: 8px; font-size: .95rem; }
.totals > div { display: flex; justify-content: space-between; gap: 16px; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.totals__discount dd { color: var(--green); font-weight: 600; }
.totals__total { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; font-size: 1.2rem; font-weight: 700; }
.totals__total dt { color: var(--ink); }
.totals__vat { font-size: .78rem; margin-top: -6px; }
.coupon { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; }
.coupon input { min-height: 40px; padding: 8px 12px; }
.coupon__applied { font-weight: 700; background: #e3f1e5; color: var(--green); padding: 4px 12px; border-radius: 99px; }
.summary__secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .8rem; color: var(--muted); margin: 12px 0 6px; }
.pay-row { text-align: center; font-size: .75rem; color: var(--muted); }
.summary__items { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; clear: both; }
.summary__items li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; font-size: .92rem; }
.summary__thumb { position: relative; }
.summary__thumb img { width: 44px; height: 58px; object-fit: cover; border-radius: 8px; }
.summary__thumb b { position: absolute; top: -6px; right: -6px; background: var(--ink); color: #fff; font-size: .7rem; min-width: 20px; height: 20px; border-radius: 99px; display: grid; place-items: center; }
.empty { text-align: center; padding: 48px 20px; }
.upsell { margin-top: 24px; }
.upsell__title { font-size: 1.4rem; }
.upsell__grid { display: grid; gap: 10px; }
.upsell__item { display: flex; align-items: center; gap: 12px; background: var(--paper); padding: 10px 14px; border-radius: 14px; border: 1px dashed var(--kraft); }
.upsell__item img { width: 42px; height: 56px; object-fit: cover; border-radius: 6px; }
.upsell__item div { display: flex; flex-direction: column; font-size: .9rem; }
.upsell__item a { color: var(--ink); font-weight: 600; text-decoration: none; }
.upsell__item form { margin-left: auto; }
.pay-options { display: grid; gap: 10px; clear: both; }
.pay-option { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.pay-option:has(input:checked) { border-color: var(--green); background: #f3f8f2; }
.pay-option input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: none; }
.pay-option__body { display: flex; flex-direction: column; gap: 2px; }
.pay-option__body small { color: var(--muted); }
.pay-option__logos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pay-option__logos span { font-size: .7rem; font-weight: 700; border: 1px solid var(--line); border-radius: 6px; padding: 3px 7px; background: #fff; }

.thanks { text-align: center; }
.thanks__icon { width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.thanks__card { text-align: left; margin: 28px 0; }
.review-order__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.review-order__head img { width: 48px; height: 64px; object-fit: cover; border-radius: 8px; }

/* ---------- Cart notice ---------- */
.cart-notice { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px; animation: slideUp .3s ease; }
.cart-notice__inner { display: flex; align-items: center; gap: 14px; background: var(--paper); border-radius: 16px; padding: 12px 12px 12px 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.cart-notice__inner img { width: 44px; height: 60px; object-fit: cover; border-radius: 8px; }
.cart-notice__inner div { display: flex; flex-direction: column; font-size: .88rem; line-height: 1.3; min-width: 0; flex: 1; }
.cart-notice__inner small strong { white-space: nowrap; }
.cart-notice__inner small { color: var(--muted); }
.cart-notice .btn { margin-left: auto; flex: none; }
@media (min-width: 700px) { .cart-notice { left: auto; right: 24px; top: calc(var(--header-h) + 50px); bottom: auto; width: 460px; } }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: #1a2a20; color: #cfc8b6; padding: 48px 0 calc(28px + env(safe-area-inset-bottom)); font-size: .92rem; }
.site-footer a, .site-footer .link-btn { color: #efe6d1; text-decoration: none; }
.site-footer a:hover, .site-footer .link-btn:hover { color: #fff; text-decoration: underline; }
.site-footer__usps { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; font-family: var(--label); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; padding-bottom: 32px; margin-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #e5c98f; }
.site-footer__grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer__grid img { width: 120px; height: auto; margin-bottom: 14px; }
.site-footer__title { font-family: var(--label); text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .link-btn { text-decoration: none; font-size: inherit; }
.pay-icons { display: flex !important; flex-wrap: wrap; gap: 6px !important; }
.pay-icons li { font-size: .72rem; font-weight: 600; border: 1px solid rgba(255, 255, 255, .2); border-radius: 6px; padding: 4px 8px; color: #efe6d1; }
.site-footer__small { margin-top: 14px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; color: #9b9585; }
.product-page ~ .site-footer, body:has(.sticky-atc) .site-footer { padding-bottom: 96px; }

/* ---------- Consent ---------- */
.consent { position: fixed; z-index: 70; left: 12px; right: 12px; bottom: 12px; }
.consent__box { max-width: 560px; background: var(--paper); border-radius: 18px; padding: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); font-size: .9rem; }
.consent__title { font-size: 1.4rem; }
.consent__prefs { margin: 12px 0; display: grid; gap: 6px; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 12px; }
@media (min-width: 700px) { .consent { left: 24px; right: auto; bottom: 24px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Dog videos (home + product page) ---------- */
.dog-videos .section__head { position: relative; }
.dog-videos__nav { display: none; }
.dog-videos__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(62%, 240px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scroll-padding-inline: var(--gutter); scrollbar-width: thin;
}
.dog-video { position: relative; margin: 0; scroll-snap-align: start; }
.dog-video video {
  display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: 18px; background: var(--kraft); box-shadow: var(--shadow-lg);
}
.dog-video__tag {
  position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px;
  max-width: calc(100% - 20px); background: var(--accent, var(--green)); color: #fff; font-size: .78rem; line-height: 1.3; font-weight: 600; letter-spacing: .02em;
}
@media (min-width: 1000px) {
  .dog-videos__track { grid-auto-columns: 200px; }
  .dog-videos__track[data-fit] { grid-auto-flow: row; grid-template-columns: repeat(var(--n), minmax(0, 190px)); justify-content: center; overflow: visible; margin: 0; padding: 4px 0 0; }
  .dog-videos__nav { display: flex; gap: 8px; justify-content: flex-end; margin: -8px 0 14px; }
  .dog-videos__nav button {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line, rgba(0,0,0,.15)); background: #fff;
    font-size: 1.2rem; line-height: 1; cursor: pointer; color: var(--ink, #23241f);
  }
  .dog-videos__nav button:hover { background: var(--kraft-soft); }
  .dog-videos__nav button:disabled { opacity: .35; cursor: default; }
}
