/* Rafiki brand tokens, measured from rafikifoods.com/products/extra-virgin-avocado-oil (Nov 2026) */
:root {
  --green: #17392B;      /* all text, headings, card borders */
  --cream: #F9F1E4;      /* text on dark, light bands */
  --offwhite: #FDF9F0;   /* page background */
  --rust: #AE2E14;       /* CTA, eyebrows, stars */
  --rust-dark: #8F2410;
  --rust-tint: rgba(174, 46, 20, .1);
  --peach: #F7E6DA;
  --gold: #FFD9A6;       /* accent on dark */
  --lime: #B4DC8D;       /* selected states, badges, tabs */
  --lime-pale: #E8FCD4;  /* badge text on green */
  --mint: #F6FFED;       /* soft card fill */
  --guac: #5E8C31;       /* guacamole green: a deeper shade of the brand lime, dark enough to read on cream */
  --line: rgba(23, 57, 43, .14);
  --heading: "Fraunces", Georgia, serif;
  --body: "Montserrat", system-ui, sans-serif;
  --btn-radius: 100px;   /* pill buttons */
  --card-radius: 20px;   /* product-page cards */
  --card-border: 2px solid var(--green);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--green); background: var(--offwhite); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }

/* Type: Fraunces 700 for headings (tight tracking), Montserrat for everything else */
h1, h2, h3 { font-family: var(--heading); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
h1 { font-size: clamp(2.25rem, 5.5vw, 3.5rem); margin-bottom: 12px; }
h1 em { font-style: italic; display: block; color: var(--guac); }
h2 { font-size: clamp(1.75rem, 4.2vw, 3rem); margin-bottom: 16px; }
h3 { font-size: 1.125rem; letter-spacing: 0; line-height: 1.4; margin-bottom: 6px; }
p { font-weight: 400; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Eyebrow: Montserrat 700, 12px, uppercase, 1.5px tracking, rust (as "HOW IT'S MADE") */
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--rust); margin-bottom: 10px; }
.eyebrow--light { color: var(--gold); }
.sub { font-weight: 500; max-width: 620px; margin: 0 auto; }
/* Pill badge: Montserrat 700, 10px, uppercase (as "BEST VALUE") */
.pill { display: inline-block; font-size: .625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; background: var(--lime); color: var(--green); padding: 3px 9px; border-radius: 100px; }

/* Icons: one family */
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ic--lg { width: 44px; height: 44px; color: var(--rust); margin: 0 auto 12px; }
.ic--yes { color: var(--green); }
.ic--no { color: #8a6f66; }

/* Buttons (as "ADD TO CART": Fraunces 700, 16px, uppercase, pill, rust on cream text) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; background: var(--rust); color: var(--cream); font-family: var(--heading); font-weight: 700; font-size: 1rem; text-transform: uppercase; text-decoration: none; padding: 14px 30px; border-radius: var(--btn-radius); border: 0; transition: background .15s, transform .15s; }
.btn:hover { background: var(--rust-dark); transform: translateY(-1px); }
.btn:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn--block { width: 100%; }
.btn--light { background: var(--cream); color: var(--green); }
.btn--light:hover { background: var(--gold); }
.btn--outline { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn--outline:hover { background: var(--lime); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .875rem; }
.btn .ic { width: 18px; height: 18px; }

/* Promo bar */
.promo { background: var(--green); color: var(--cream); text-align: center; font-size: .8125rem; font-weight: 600; padding: 9px 16px; }
@media (max-width: 559px) { .promo__extra { display: none; } }

/* Hero + buy box */
.hero { background: var(--cream); padding: 12px 0 40px; }
.hero__grid { display: grid; gap: 24px; }
.hero__media { order: 1; }
.hero__media img { border-radius: var(--card-radius); }
.hero__buy { order: 2; }
.rating { font-size: .875rem; font-weight: 600; margin-bottom: 12px; }
.rating b { font-weight: 800; }
.stars { color: var(--rust); letter-spacing: 2px; }
.lede { font-size: 1rem; font-weight: 500; margin-bottom: 14px; }

/* Hero review: the trust signal above the fold */
.quote { background: #fff; border: var(--card-border); border-radius: var(--card-radius); padding: 14px 16px; margin-bottom: 14px; }
.quote__top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.quote .stars { font-size: .875rem; }
.quote blockquote { font-family: var(--heading); font-weight: 600; font-size: 1.0625rem; line-height: 1.35; letter-spacing: -.01em; }
.quote figcaption { font-size: .75rem; font-weight: 600; margin-top: 6px; }

/* Receipt: price in Montserrat 800 (as product-page prices) */
.receipt { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: var(--card-border); border-radius: var(--card-radius); margin-bottom: 14px; font-size: .9375rem; overflow: hidden; }
.receipt td { padding: 9px 16px; border-bottom: 1px solid var(--line); }
.receipt td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.receipt s { opacity: .6; font-weight: 400; margin-right: 4px; }
.receipt__sub td { font-weight: 700; }
.receipt__sub s { opacity: 1; font-weight: 700; color: var(--rust); text-decoration-thickness: 2px; margin: 0; }
.receipt__discount td:last-child { color: var(--rust); }
.receipt__total td { font-weight: 800; font-size: 1.125rem; border-bottom: 0; background: var(--lime); }
.receipt__total td:last-child { font-weight: 800; font-size: 1.25rem; }
.assure { margin-top: 14px; display: grid; gap: 6px; font-size: .8125rem; font-weight: 600; }
.assure li { display: flex; gap: 8px; align-items: flex-start; }
.assure b { font-weight: 800; }
.assure .ic { color: var(--green); width: 18px; height: 18px; }
.assure a { text-underline-offset: 2px; }
@media (min-width: 860px) {
  .hero { padding: 48px 0 64px; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
  .hero__media { order: 1; position: sticky; top: 24px; }
  .hero__buy { order: 2; }
}
@media (max-width: 559px) { .lede { display: none; } }

/* Features: 2x2 grid, big icons, centred title + one line (house style for feature blocks) */
.facts { background: var(--green); color: var(--cream); padding: 44px 0; }
.facts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 16px; max-width: 760px; text-align: center; }
.facts__grid li { display: flex; flex-direction: column; align-items: center; }
.facts .ic { width: 44px; height: 44px; stroke-width: 1.5; color: var(--lime); margin-bottom: 14px; }
.facts h3 { font-size: 1.1875rem; line-height: 1.2; letter-spacing: -.01em; color: var(--cream); margin-bottom: 8px; }
.facts p { font-size: .8125rem; line-height: 1.5; opacity: .85; max-width: 220px; }
@media (min-width: 860px) { .facts { padding: 64px 0; } .facts__grid { gap: 48px 40px; } .facts .ic { width: 52px; height: 52px; } .facts h3 { font-size: 1.5rem; } .facts p { font-size: .9375rem; max-width: 260px; } }

/* Sections */
.section { padding: 64px 0; }
.section--cream { background: var(--cream); }
.reasons { display: grid; gap: 24px; margin-top: 32px; }
.reason { background: #fff; border: var(--card-border); border-radius: var(--card-radius); overflow: hidden; }
.reason img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-bottom: var(--card-border); }
.reason h3, .reason p { padding: 0 20px; }
.reason h3 { padding-top: 18px; }
.reason p { padding-bottom: 20px; font-size: .9375rem; }
@media (min-width: 760px) { .reasons { grid-template-columns: repeat(3, 1fr); } }

/* Lab report */
.lab { display: grid; gap: 24px; background: var(--mint); border: var(--card-border); border-radius: var(--card-radius); padding: 28px 20px; }
.lab h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
.lab__verdict { font-family: var(--heading); font-weight: 600; font-size: 1.125rem; line-height: 1.4; border-left: 4px solid var(--lime); padding-left: 14px; margin: 16px 0; }
.lab__by { font-size: .8125rem; font-weight: 600; }
.lab__stats { display: grid; gap: 10px; align-content: start; }
.lab__stat { background: #fff; border: 1.5px solid var(--green); border-radius: 12px; padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline; }
.lab__stat b { font-size: .8125rem; font-weight: 700; text-transform: uppercase; }
.lab__stat strong { font-weight: 800; font-size: 1.125rem; text-align: right; }
.lab__stat span { grid-column: 1 / -1; font-size: .75rem; font-weight: 500; }
.lab__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.lab__actions .btn { flex: 1 1 auto; padding: 10px 14px; }
@media (min-width: 860px) { .lab { grid-template-columns: 1.2fr 1fr; gap: 48px; padding: 44px; align-items: center; } }

/* Steps */
.steps { display: grid; gap: 16px; margin-top: 32px; }
.steps li { background: #fff; border-radius: var(--card-radius); padding: 24px; border: var(--card-border); }
/* Step number in Fraunces 700, as the product page "01" */
.steps__n { display: block; font-family: var(--heading); font-weight: 700; font-size: 1.75rem; line-height: 1; margin-bottom: 12px; color: var(--rust); }
.steps p { font-size: .9375rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Comparison */
.compare { max-width: 860px; }
.compare__table { margin-top: 28px; border: var(--card-border); border-radius: var(--card-radius); overflow: hidden; background: #fff; }
.compare__row { display: grid; grid-template-columns: 1fr 1fr 1fr; font-size: .8125rem; font-weight: 500; }
.compare__row > span { padding: 14px 12px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; }
.compare__row > span:nth-child(2) { background: var(--mint); font-weight: 700; }
.compare__row:last-child > span { border-bottom: 0; }
.compare__head > span { font-family: var(--heading); font-weight: 700; font-size: 1.125rem; }
.compare__head > span:nth-child(2) { background: var(--lime); }
.compare .ic { width: 18px; height: 18px; }
.compare a { text-underline-offset: 2px; }
.footnote { font-size: .75rem; opacity: .75; margin-top: 12px; }
@media (max-width: 559px) { .compare__row { grid-template-columns: 1fr 1fr; } .compare__row > span:first-child { grid-column: 1 / -1; padding-bottom: 0; border-bottom: 0; font-weight: 700; } .compare__head > span:first-child { display: none; } }

/* Reviews (as product-page cards: Fraunces title, Montserrat body, bold name, small "Verified Buyer") */
.rating--center { margin-bottom: 28px; }
/* Review slider: one card + a peek on phones, 2 on tablets, 3 on desktop */
.rcar__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 6px; }
.rcar__track::-webkit-scrollbar { display: none; }
.rcar__track:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: var(--card-radius); }
.rcar__track > .review { flex: 0 0 86%; scroll-snap-align: start; }
@media (min-width: 760px) { .rcar__track > .review { flex-basis: calc((100% - 16px) / 2); } }
@media (min-width: 1024px) { .rcar__track > .review { flex-basis: calc((100% - 32px) / 3); } }
.rcar__controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; }
.rcar__btn { width: 44px; height: 44px; border-radius: 50%; border: var(--card-border); background: #fff; color: var(--green); font-size: 1.75rem; line-height: 1; padding-bottom: 4px; cursor: pointer; display: grid; place-items: center; }
.rcar__btn:hover { background: var(--lime); }
.rcar__btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.rcar__count { font-size: .875rem; font-weight: 700; font-variant-numeric: tabular-nums; min-width: 56px; text-align: center; }
.review__by { font-size: .8125rem; font-weight: 700; margin-top: auto; padding-top: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.review { background: #fff; border: var(--card-border); border-radius: var(--card-radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.review__title { font-family: var(--heading); font-weight: 700; font-size: 1.125rem; line-height: 1.3; }
.review blockquote { font-size: .9375rem; }
.review figcaption { font-size: .8125rem; font-weight: 700; margin-top: auto; padding-top: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* Mission */
.mission { background: var(--green); color: var(--cream); padding: 64px 0; }
.mission h2 { color: var(--cream); }
.mission p { font-weight: 500; }
.mission__grid { display: grid; gap: 28px; align-items: center; }
.mission img { border-radius: var(--card-radius); max-width: 320px; width: 100%; margin: 0 auto; }
@media (min-width: 760px) { .mission__grid { grid-template-columns: 320px 1fr; gap: 56px; } }

/* Guarantee */
.guarantee { max-width: 680px; text-align: center; }
.guarantee p { margin-bottom: 24px; font-weight: 500; }

/* FAQ (as product page: Fraunces 600 title, Montserrat 700 uppercase 14px questions) */
.faq { max-width: 760px; }
.faq h2 { font-weight: 600; }
.faq details { background: #fff; border-radius: var(--card-radius); border: var(--card-border); margin-top: 12px; }
.faq summary { font-size: .875rem; font-weight: 700; text-transform: uppercase; cursor: pointer; padding: 16px 20px; min-height: 44px; }
.faq details p { padding: 0 20px 18px; font-size: .9375rem; }
.faq details a { text-underline-offset: 2px; font-weight: 600; }

/* Final CTA (image-backed) */
.final { position: relative; color: var(--cream); text-align: center; overflow: hidden; }
.final img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final::after { content: ""; position: absolute; inset: 0; background: rgba(23, 57, 43, .82); }
.final__inner { position: relative; z-index: 1; padding: 80px 16px; max-width: 640px; margin: 0 auto; }
.final h2 { color: var(--cream); }
.final__price { font-size: 1.125rem; font-weight: 600; margin-bottom: 22px; }
.final__price b { font-weight: 800; }
.final__price s { opacity: .7; }
.rating--light { margin-top: 16px; font-size: .8125rem; }
.rating--light .stars { color: var(--gold); }

.footer { text-align: center; font-size: .75rem; padding: 28px 16px 96px; }
.footer p + p { margin-top: 4px; }
@media (min-width: 860px) { .footer { padding-bottom: 28px; } }

/* Sticky mobile CTA */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--offwhite); border-top: var(--card-border); padding: 10px 16px; z-index: 10; font-size: .875rem; font-weight: 600; box-shadow: 0 -4px 16px rgba(0, 0, 0, .06); }
.sticky b { font-weight: 800; }
.sticky[hidden] { display: none; }
.sticky s { opacity: .6; }
@media (min-width: 860px) { .sticky { display: none !important; } }

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

/* Hero slideshow */
.slides { position: relative; }
.slides__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--card-radius); border: var(--card-border); background: #fff; }
.slides__track::-webkit-scrollbar { display: none; }
.slides__track:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.slides__item { flex: 0 0 100%; scroll-snap-align: start; }
.slides__item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
/* Thumbnail strip: tap a thumbnail to show it above; arrows at the ends */
.slides__thumbs { display: grid; grid-template-columns: 28px 1fr 28px; align-items: center; gap: 6px; margin-top: 10px; }
.slides__nav { width: 28px; height: 44px; border: 0; background: transparent; color: var(--green); font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 4px; border-radius: 8px; }
.slides__nav:hover { background: var(--lime); }
.slides__nav:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.slides__dots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.slides__dot { padding: 0; border: 2px solid transparent; border-radius: 8px; background: #fff; cursor: pointer; overflow: hidden; opacity: .65; transition: opacity .15s, border-color .15s; }
.hero__media .slides__dot img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; }
.slides__dot:hover { opacity: 1; }
.slides__dot[aria-current] { border-color: var(--green); opacity: 1; }
.slides__dot:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .slides__track { scroll-behavior: auto; } }

/* Logo (from the live site header: 87x44 on mobile, 99x50 on desktop). Not a link, so visitors stay on the offer. */
.brandbar { background: var(--cream); display: flex; justify-content: center; padding: 8px 16px; }
.brandbar img { height: 44px; width: auto; }
@media (min-width: 860px) { .brandbar img { height: 50px; } }
.footer__logo { height: 40px; width: auto; margin: 0 auto 12px; }

/* Countdown in the banner: fixed-width digits so it doesn't jiggle */
.promo { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 0; font-size: .875rem; padding: 8px 16px; }
.promo__timer { display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; }
.cd { display: inline-flex; align-items: center; gap: 5px; }
.cd__box { display: inline-block; min-width: 34px; padding: 4px 6px; border-radius: 6px; background: var(--lime); color: var(--green); font-weight: 800; font-size: 1rem; line-height: 1.2; text-align: center; font-variant-numeric: tabular-nums; }
.cd i { font-style: normal; font-weight: 800; color: var(--lime); }
