/* ══════════════════════════════════════════════════════════════════════════
   bestoliveoils.eu — page and component styles.

   tokens.css is the design system (unmodified, from Claude Design). This file
   holds everything specific to these five pages. Every value here is lifted
   from the mockup's inline styles, so the desktop rendering is 1:1 with the
   artboards at 1280px; the media queries below are the only additions.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── shell ────────────────────────────────────────────────────────────────── */

body { background: #fff; }

/* The `hidden` attribute must win over any display rule. Without this a
   component that sets display (flex, grid) stays on screen when JS hides it —
   which is exactly what happened to the library's empty state. */
[hidden] { display: none !important; }

/* Text for screen readers only — the ★ rows are decorative, so each one is
   paired with a spoken "Rated 4.8 out of 5". */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 10px 18px;
  background: var(--color-accent);
  color: var(--color-bg);
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  transition: top 0.15s;
}
.skip-link:focus { top: 12px; color: var(--color-bg); }

.page {
  max-width: 1280px;
  margin: 0 auto;
  background: #fff;
  color: var(--color-text);
  font-family: var(--font-body);
}

.nav { padding: 22px 48px; }
.nav .btn { font-size: 13px; padding: 7px 16px; }
.nav-brand--link { text-decoration: none; color: inherit; }

/* ── heading levels vs. heading looks ─────────────────────────────────────
   The document outline runs h1 → h2 → h3 with nothing skipped, because that
   is what a crawler and a screen reader read. These rules give those headings
   the *size* the design asked for, so semantics and appearance can disagree
   without either one losing. */
.detail-col > h2,
.pairings > h2,
.review-form__head h2 { font-size: 25px; }

.filter-group__title,
.article-toc__title,
.awards h3 {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-neutral-700);
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  line-height: 1.12;
}

.page-body {
  display: flex;
  flex-direction: column;
  padding: 0 48px 64px;
}
.page-body--home     { padding-top: 24px; gap: 72px; }
.page-body--library  { padding-top: 28px; gap: 28px; padding-bottom: 56px; }
.page-body--detail   { padding-top: 16px; gap: 40px; }
.page-body--producer { padding-top: 16px; gap: 44px; }
.page-body--article  { padding-top: 16px; gap: 40px; }

.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--color-neutral-700);
}
.breadcrumb a { color: inherit; }

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--color-divider);
  font-size: 14px;
  color: var(--color-neutral-700);
}
.site-footer__brand { display: flex; flex-direction: column; gap: 6px; }
.site-footer__brand .nav-brand { margin: 0; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 28px; }
.site-footer__links a { color: inherit; text-decoration: none; }
.site-footer__links a:hover { color: var(--color-accent); }

/* ── media slots ──────────────────────────────────────────────────────────── */

.media {
  position: relative;
  overflow: hidden;
  background: var(--color-neutral-200);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Product shots are square and cut out on white — letterbox them so the
   bottle stays whole instead of being cropped to the frame. */
.media--contain { background: #fff; }
.media--contain img { object-fit: contain; }
/* Stand-in for a slot with no photo yet — same footprint, labelled. */
.media__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 14px;
  text-align: center;
  background: var(--color-neutral-200);
  color: var(--color-neutral-600);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.media--circle { border-radius: 50%; }

/* ── section headers ──────────────────────────────────────────────────────── */

.section { display: flex; flex-direction: column; gap: 22px; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}
.section-head__text { display: flex; flex-direction: column; gap: 4px; }
.section-head h2 { margin: 0; font-size: 36px; }
.section-head__sub { font-size: 15px; color: var(--color-neutral-700); }

/* ── search bar ───────────────────────────────────────────────────────────── */

.searchbar {
  display: flex;
  gap: 12px;
  align-items: center;
}
.searchbar__field { position: relative; flex: 1; }
.searchbar__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-neutral-600);
  pointer-events: none;
}
.searchbar .input { padding-left: 44px; font-size: 15px; }
.searchbar--lg { max-width: 560px; }
.searchbar--lg .input,
.searchbar--lg .btn { height: 52px; }
.searchbar--md { max-width: 720px; }
.searchbar--md .input,
.searchbar--md .btn { height: 48px; }
.searchbar .btn { padding: 0 26px; font-size: 15px; }

/* ── oil card ─────────────────────────────────────────────────────────────── */

.oil-card {
  padding: 0;
  overflow: hidden;
  gap: 0;
  text-decoration: none;
  color: inherit;
}
.oil-card__media { height: 200px; }
.oil-card__media--sm { height: 180px; }
.oil-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-accent-2);
  color: #fff;
  font-weight: 600;
}
.oil-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.oil-card__title { font-size: 19px; }
.oil-card__title--sm { font-size: 18px; }
.oil-card__sub { font-size: 13px; color: var(--color-neutral-700); }
.oil-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}
.oil-card__rating { display: flex; align-items: center; gap: 8px; min-width: 0; }
.oil-card__rating--tight { margin-top: 4px; }

.stars {
  color: var(--color-accent);
  font-size: 15px;
  letter-spacing: 1px;
  white-space: nowrap;
}
.stars--lg { font-size: 20px; letter-spacing: 2px; }
.stars--md { font-size: 18px; letter-spacing: 2px; }
.stars--sm { font-size: 16px; letter-spacing: 2px; }
.stars__off { color: var(--color-neutral-400); }
.score { font-size: 13px; font-weight: 600; }
.review-count { font-size: 12px; color: var(--color-neutral-600); white-space: nowrap; }

/* ══ 00 · homepage ═════════════════════════════════════════════════════════ */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 56px;
  align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 24px; }
.hero__copy .tag { align-self: flex-start; }
.hero h1 {
  font-size: 68px;
  margin: 0;
  line-height: 1.02;
  text-wrap: pretty;
}
.hero__lede {
  font-size: 19px;
  line-height: 1.55;
  margin: 0;
  color: var(--color-neutral-800);
  max-width: 540px;
  text-wrap: pretty;
}
.hero__popular {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: var(--color-neutral-700);
}
.hero__media {
  height: 520px;
  border-radius: 48px;
}

.oil-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.home-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.region {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.region__media { width: 150px; height: 150px; max-width: 100%; }
.region__name { font-family: var(--font-heading); font-size: 17px; }
.region__count {
  font-size: 13px;
  color: var(--color-neutral-700);
  margin-top: -8px;
}
.region:hover .region__name { color: var(--color-accent); }

.article-list { display: flex; flex-direction: column; gap: 12px; }
.article-row {
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 14px 18px 14px 14px;
  text-decoration: none;
  color: inherit;
}
.article-row__media {
  width: 88px;
  height: 88px;
  flex: none;
  border-radius: 24px;
}
.article-row__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.article-row__title { font-size: 19px; }
.article-row__meta { font-size: 13px; color: var(--color-neutral-700); }
.article-row__arrow { color: var(--color-accent); flex: none; }
.article-row:hover .article-row__title { color: var(--color-accent); }
/* A guide that isn't written yet: same card, no affordance to click. */
.article-row--pending { opacity: 0.72; }
.article-row--pending .article-row__title { color: var(--color-neutral-800); }

.shop-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 48px;
  align-items: center;
  background: var(--color-accent-2-100);
  border-radius: calc(var(--radius-lg) * 1.5);
  padding: 48px 56px;
}
.shop-band__copy { display: flex; flex-direction: column; gap: 16px; }
.shop-band__kicker { color: var(--color-accent-2-800); }
.shop-band h2 { margin: 0; font-size: 38px; text-wrap: pretty; }
.shop-band p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-accent-2-900);
  max-width: 560px;
  text-wrap: pretty;
}
.shop-band .btn {
  height: 50px;
  padding: 0 26px;
  font-size: 15px;
  align-self: flex-start;
  gap: 10px;
}
.shop-band__media { height: 260px; border-radius: 36px; }

/* ══ 01 · library ══════════════════════════════════════════════════════════ */

.library-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
}
.library-head h1 { font-size: 52px; margin: 0; }
.library-head p {
  font-size: 17px;
  margin: 0;
  color: var(--color-neutral-700);
  text-wrap: pretty;
}
.library-head .hub-body { font-size: 15px; line-height: 1.65; }

.library-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.filters {
  display: flex;
  flex-direction: column;
  gap: 26px;
  font-size: 14px;
}
.filter-group { display: flex; flex-direction: column; gap: 10px; }

.filter-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-tags .tag { cursor: pointer; }
.filter-tags .tag-neutral:hover { background: var(--color-neutral-200); }
.filters .seg { width: 100%; }
.filters .seg-opt { flex: 1; justify-content: center; }
.filter-rating {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--color-accent);
  font-size: 20px;
  letter-spacing: 2px;
}
.filter-rating .stars__off { letter-spacing: 2px; }
.filter-rating__label {
  font-size: 13px;
  color: var(--color-neutral-700);
  letter-spacing: 0;
  margin-left: 6px;
}
.filters .btn-ghost { align-self: flex-start; }
.filters__more { font-size: 13px; }

.results { display: flex; flex-direction: column; gap: 18px; }
.results__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  color: var(--color-neutral-700);
}
.results__sort { display: flex; align-items: center; gap: 8px; }
.results__sort .tag { font-size: 13px; padding: 5px 12px; cursor: pointer; }
.oil-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.results__more {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}
.results__more .btn { padding: 10px 28px; }


/* ── library filters (interactive) ────────────────────────────────────────
   The controls keep the design's look; these rules only add the states the
   mockup could not show — pressed, active, and the per-option counts. */

.filter-count {
  margin-left: auto;
  padding-left: 8px;
  font-size: 12px;
  color: var(--color-neutral-600);
  font-variant-numeric: tabular-nums;
}
.filters .radio { width: 100%; }

.filter-tag {
  appearance: none;
  border: 0;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
  gap: 6px;
}
.filter-tag .filter-count { margin-left: 0; padding-left: 0; }
.filter-tag:hover { background: var(--color-neutral-200); }
.filter-tag[aria-pressed="true"] .filter-count { color: var(--color-accent-700); }
.filter-tag[aria-pressed="true"]:hover { background: var(--color-accent-200); }

.filter-star {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--color-neutral-400);
}
.filter-star.is-on { color: var(--color-accent); }
.filter-rating:hover .filter-star { color: var(--color-neutral-400); }
.filter-rating:hover .filter-star:hover,
.filter-rating:hover .filter-star:hover ~ .filter-star { color: var(--color-neutral-400); }
.filter-rating:hover .filter-star:has(~ .filter-star:hover),
.filter-rating:hover .filter-star:hover { color: var(--color-accent-400); }

.results__sort label { color: inherit; }
.results__sort-select {
  appearance: none;
  font: inherit;
  font-size: 13px;
  padding: 5px 12px;
  cursor: pointer;
  background: transparent;
  color: var(--color-accent);
}
.results__sort-select:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.results__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 56px 20px;
  margin: 0;
  text-align: center;
  color: var(--color-neutral-700);
}

/* ══ 02 · oil detail ═══════════════════════════════════════════════════════ */

.detail-hero {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.detail-hero__frame {
  height: 520px;
  border-radius: 28px;
  background: var(--color-surface);
}
.detail-hero__frame.media--contain { background: #fff; }
.detail-hero__info { display: flex; flex-direction: column; gap: 22px; }
.detail-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-shop {
  background: var(--color-accent-2);
  color: #fff;
  font-weight: 600;
}
.detail-hero__title { display: flex; flex-direction: column; gap: 6px; }
.detail-hero__title h1 { font-size: 48px; margin: 0; text-wrap: pretty; }
.detail-hero__byline { font-size: 17px; margin: 0; color: var(--color-neutral-700); }
.detail-hero__desc { font-size: 16px; line-height: 1.6; margin: 0; text-wrap: pretty; }

.ratings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.rating-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 22px;
}
.rating-box--expert { gap: 6px; }
.rating-box--reader {
  border: 1px solid var(--color-divider);
  border-radius: calc(var(--radius-lg) * 1.15);
}
.rating-box--reader .card-kicker { color: var(--color-neutral-700); }
.rating-box__row { display: flex; align-items: baseline; gap: 10px; }
.rating-box__value {
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1;
}
.rating-box__note { font-size: 13px; color: var(--color-neutral-700); }

.detail-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.detail-actions .btn-primary {
  height: 52px;
  padding: 0 28px;
  font-size: 16px;
  gap: 10px;
}
.detail-actions .btn-secondary {
  height: 52px;
  padding: 0 22px;
  font-size: 15px;
  gap: 8px;
}
.detail-actions__price { font-size: 13px; color: var(--color-neutral-700); }

.detail-facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}
.detail-facts h3 { margin: 0; }
.detail-col { display: flex; flex-direction: column; gap: 18px; }
.detail-col--map { gap: 14px; }

.profile-bar { display: flex; flex-direction: column; gap: 6px; }
.profile-bar__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}
.profile-bar__label { font-weight: 600; }
.profile-bar__desc { color: var(--color-neutral-700); }
.profile-bar__track {
  height: 10px;
  background: var(--color-neutral-300);
  border-radius: 999px;
  overflow: hidden;
}
.profile-bar__fill {
  height: 100%;
  background: var(--color-accent-2);
  border-radius: 999px;
}
.profile-note {
  font-size: 15px;
  line-height: 1.6;
  margin: 6px 0 0;
  color: var(--color-neutral-800);
  text-wrap: pretty;
}

.facts-table { font-size: 14px; }
/* The label column is a <th scope="row">, so it needs the plain look of a cell
   rather than the uppercase treatment .table th gives column headers. */
.facts-table tbody th {
  width: 45%;
  padding: var(--space-2);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--color-neutral-700);
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}
.facts-table td { font-weight: 600; }

.awards { display: flex; flex-direction: column; gap: 10px; }
.awards { gap: 10px; }
.awards__list { display: flex; flex-wrap: wrap; gap: 6px; }

.detail-map { width: 300px; height: 300px; max-width: 100%; }
.detail-map__link { font-size: 14px; }
.detail-map__note {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  color: var(--color-neutral-800);
}

.pairings { display: flex; flex-direction: column; gap: 14px; }
.pairings h3 { margin: 0; }
.pairings__list { display: flex; gap: 10px; flex-wrap: wrap; }
.pairings__list .tag { font-size: 14px; padding: 8px 16px; }

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 56px;
  align-items: start;
}
/* Oils without a write-up yet have no reviews list — the form keeps its own
   column width rather than stretching across the page. */
.reviews-layout--form-only { grid-template-columns: minmax(0, 420px); }
.reviews { display: flex; flex-direction: column; gap: 22px; }
.reviews__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.reviews__head h2 { margin: 0; }
.reviews__count { font-size: 14px; color: var(--color-neutral-700); }

.review-expert { padding: 26px 28px; gap: 12px; }
.review__head { display: flex; align-items: center; gap: 14px; }
.review__avatar {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--color-accent-2-300);
  color: var(--color-accent-2-900);
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 16px;
}
.review__avatar--expert {
  width: 44px;
  height: 44px;
  background: var(--color-accent);
  color: var(--color-bg);
  font-size: 18px;
}
.review__who { display: flex; flex-direction: column; }
.review__name { font-weight: 600; }
.review__meta { font-size: 13px; color: var(--color-neutral-700); }
.review__pick { margin-left: auto; }
.review__stars { margin-left: auto; }
.review-expert .review__pick { margin-left: auto; }
.review-expert .review__stars { margin-left: 0; }
.review__text { font-size: 15px; line-height: 1.65; margin: 0; text-wrap: pretty; }
.review-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid var(--color-divider);
}
.review-item .review__text { line-height: 1.6; }
.review__actions {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--color-neutral-700);
}
.review__actions a { color: inherit; }
.reviews .btn-secondary { align-self: flex-start; padding: 10px 24px; }

.review-form {
  padding: 28px 30px;
  gap: 18px;
  position: sticky;
  top: 24px;
}
.review-form__head { display: flex; flex-direction: column; gap: 4px; }
.review-form__head h3 { margin: 0; }
.review-form__head span { font-size: 14px; color: var(--color-neutral-700); }
.review-form__rating { display: flex; flex-direction: column; gap: 8px; }
.review-form__rating > span { font-size: 12px; color: var(--color-neutral-700); }
.star-picker {
  display: flex;
  gap: 6px;
  font-size: 34px;
  line-height: 1;
  color: var(--color-accent);
}
.star-picker button {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  line-height: 1;
}
.star-picker button[aria-checked="false"] { color: var(--color-neutral-400); }
.star-picker__label {
  align-self: center;
  font-size: 14px;
  color: var(--color-neutral-700);
  margin-left: 6px;
}
.review-form textarea.input {
  border-radius: var(--radius-md);
  min-height: 120px;
}
.review-form__use { display: flex; flex-wrap: wrap; gap: 6px; }
.review-form__use .tag { cursor: pointer; }
.review-form .btn-primary { height: 46px; font-size: 15px; margin: 0; }
.review-form__fine {
  font-size: 12px;
  color: var(--color-neutral-700);
  text-align: center;
}

/* ══ 03 · producer ═════════════════════════════════════════════════════════ */

.producer-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  gap: 56px;
  align-items: center;
}
.producer-hero__copy { display: flex; flex-direction: column; gap: 20px; }
.producer-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.producer-hero h1 { font-size: 56px; margin: 0; line-height: 1.05; }
.producer-hero__lede {
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  color: var(--color-neutral-800);
  text-wrap: pretty;
}
.producer-stats { display: flex; flex-wrap: wrap; gap: 36px; }
.producer-stat { display: flex; flex-direction: column; }
.producer-stat__value { font-family: var(--font-heading); font-size: 30px; }
.producer-stat__label { font-size: 13px; color: var(--color-neutral-700); }
.producer-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.producer-hero__actions .btn { height: 48px; font-size: 15px; }
.producer-hero__actions .btn-primary { padding: 0 24px; }
.producer-hero__actions .btn-secondary { padding: 0 20px; }
.producer-hero__media { height: 400px; border-radius: 40px; }

.producer-oils { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.producer-oils h2 { margin: 0; }
/* min-width:0 stops the flex item from being sized by the table it contains,
   so the wrapper can actually scroll on narrow screens instead of pushing
   the page wide. position:relative gives the .visually-hidden label inside the
   header a containing block — without one it escapes to the document and
   widens the page by its own offset. */
.producer-oils__table { overflow-x: auto; min-width: 0; position: relative; }
.producer-oils table { min-width: 640px; }
.producer-oils td:first-child { font-weight: 600; font-size: 15px; }
.producer-oils td:first-child a { color: inherit; text-decoration: none; }
.producer-oils td:first-child a:hover { color: var(--color-accent); }
.producer-oils td:last-child { text-align: right; white-space: nowrap; }
.producer-oils .btn-primary { font-size: 13px; padding: 7px 16px; }
.producer-oils .btn-ghost { font-size: 13px; }
.producer-oils__nostock { color: var(--color-neutral-600); font-size: 13px; }

.producer-estate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  align-items: start;
}
.producer-estate__text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 680px;
}
.producer-estate__text h2 { margin: 0; }
.producer-estate__text p {
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  text-wrap: pretty;
}
.producer-estate__map { display: flex; flex-direction: column; gap: 12px; }
.producer-estate__coords { font-size: 14px; color: var(--color-neutral-800); }

/* ══ 04 · article ══════════════════════════════════════════════════════════ */

.article-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 760px;
}
.article-head h1 {
  font-size: 56px;
  margin: 0;
  line-height: 1.05;
  text-wrap: pretty;
}
.article-head .tag { align-self: flex-start; }
.article-head__lede {
  font-size: 19px;
  line-height: 1.55;
  margin: 0;
  color: var(--color-neutral-800);
  text-wrap: pretty;
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--color-neutral-700);
}
.article-byline__avatar {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-bg);
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
}
.article-hero { height: 440px; border-radius: 40px; }

.article-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 680px);
  gap: 80px;
  align-items: start;
}
.article-toc {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.article-toc a { color: inherit; text-decoration: none; }
.article-toc a:hover { color: var(--color-accent); }
.article-toc a[aria-current="true"] {
  color: var(--color-accent-700);
  font-weight: 600;
}
.article-toc__promo { margin-top: 20px; gap: 10px; padding: 20px; }
.article-toc__promo span:last-of-type {
  font-size: 13px;
  color: var(--color-neutral-700);
}
.article-toc__promo .btn {
  font-size: 13px;
  padding: 8px 16px;
  align-self: flex-start;
}

.article-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 17px;
  line-height: 1.7;
}
.article-body h2 { margin: 0; scroll-margin-top: 24px; }
.article-body p { margin: 0; text-wrap: pretty; }
.article-callout {
  padding: 22px 26px;
  gap: 8px;
  background: var(--color-accent-2-100);
}
.article-callout .card-kicker { color: var(--color-accent-2-800); }
.article-callout p { margin: 0; font-size: 16px; line-height: 1.6; }

/* ══ responsive ════════════════════════════════════════════════════════════
   The artboards are desktop-only. Below 1280 the fixed columns give way, in
   the order they stop earning their width. */

@media (max-width: 1280px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 40px; }
  .hero h1 { font-size: clamp(40px, 5.2vw, 68px); }
  .producer-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); }
  .article-layout { gap: 48px; }
  .detail-hero { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 40px; }
  .reviews-layout { gap: 40px; }
}

@media (max-width: 1080px) {
  .nav, .page-body { padding-left: 32px; padding-right: 32px; }
  .oil-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .detail-col--map { grid-column: 1 / -1; }
  .home-columns { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .reviews-layout { grid-template-columns: minmax(0, 1fr); }
  .review-form { position: static; }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .article-toc { position: static; }
  .article-toc__promo { max-width: 360px; }
}

@media (max-width: 860px) {
  .nav { flex-wrap: wrap; gap: var(--space-3); }
  .nav-brand { margin-right: auto; }
  .hero,
  .producer-hero,
  .shop-band,
  .library-layout,
  .detail-hero,
  .producer-estate {
    grid-template-columns: minmax(0, 1fr);
  }
  .shop-band { padding: 36px 32px; }
  .shop-band h2 { font-size: 30px; }
  .hero__media { height: 340px; border-radius: 36px; }
  .producer-hero__media { height: 300px; }
  .article-hero { height: 280px; border-radius: 28px; }
  .detail-hero__frame { height: 400px; }
  .oil-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .library-head h1 { font-size: 40px; }
  .detail-hero__title h1 { font-size: 36px; }
  .producer-hero h1, .article-head h1 { font-size: 40px; }
  .section-head h2 { font-size: 28px; }
  .site-footer { flex-direction: column; gap: 20px; }
}

@media (max-width: 620px) {
  .nav, .page-body { padding-left: 20px; padding-right: 20px; }
  .oil-grid-3, .oil-grid-4 { grid-template-columns: minmax(0, 1fr); }
  .region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-facts { grid-template-columns: minmax(0, 1fr); }
  .ratings { grid-template-columns: minmax(0, 1fr); }
  .searchbar { flex-wrap: wrap; }
  .searchbar__field { flex-basis: 100%; }
  .searchbar .btn { width: 100%; }
  .article-row { flex-wrap: wrap; }
}
