/* =====================================================================
   newLife — classic theme (base for every theme)
   Colours and fonts come from the estate's settings as CSS variables
   (printed in <head>). Another theme overrides them in its theme.css.
   ===================================================================== */

:root {
  /* From settings.xml (defaults if the estate has none) */
  --color-header-bg: #111;
  --color-header-text: #fff;
  --color-accent: #efeeca;
  --color-page-bg: #e9d2b2;
  --color-text: #232929;
  --color-footer-bg: #333;
  --color-footer-text: #e3e3e3;
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;
  --logo-height: 170px;

  /* Theme decisions (not settings) */
  --surface: #fff;
  --brand-row-bg: #000;
  --submenu-bg: #5c5c5c;
  --submenu-hover-bg: #000;
  --sticky-bg: #777;
  --newsletter-bg: #a3a3a3;
  --subfooter-bg: #000;
  --muted: #6b6b6b;
  --line: rgba(0, 0, 0, .12);
  --radius: 0;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --topbar-h: 40px;
  --logo-small: 70px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body {
  margin: 0;
  background: #000;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; line-height: 1.25; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { --container: 860px; }
.center { text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #fff; color: #000; padding: 8px 14px; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 11px 26px; border: 1px solid currentColor; background: transparent;
  color: inherit; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; font-size: 13px;
  border-radius: var(--radius); transition: background .2s, color .2s;
}
.btn--primary { background: var(--color-header-bg); color: var(--color-header-text); border-color: var(--color-header-bg); }
.btn--primary:hover { background: #000; }
.btn--light { color: #fff; border-color: #fff; }
.btn--light:hover { background: #fff; color: #000; }
.btn--outline:hover { background: var(--color-text); color: #fff; }
.btn--ghost { border-color: transparent; text-decoration: underline; }
.link-button { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 50; background: var(--brand-row-bg); color: var(--color-header-text); }
.topbar { background: var(--color-header-bg); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.topbar__inner {
  width: min(100% - 2 * var(--gutter), 1400px); margin-inline: auto; min-height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.topbar a { text-decoration: none; opacity: .9; }
.topbar a:hover { opacity: 1; color: var(--color-accent); }
.topbar__links, .topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar__cart { display: inline-flex; align-items: center; gap: 6px; }
.badge { background: var(--color-accent); color: #000; border-radius: 10px; padding: 0 7px; font-size: 11px; }

.langs { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; }
.langs a { text-decoration: none; text-transform: none; }
.langs a[aria-current] { color: var(--color-accent); }

.brand { position: relative; display: flex; justify-content: center; padding: 28px var(--gutter) 18px; }
.brand__link { display: block; }
.brand__logo { height: var(--logo-height); width: auto; }
.brand__logo--small { display: none; }
.brand__name { font-family: var(--font-heading); font-size: 32px; text-transform: uppercase; letter-spacing: .1em; }

.nav-toggle { display: none; }

.mainnav { border-top: 1px solid rgba(255, 255, 255, .08); }
.mainnav__mobile-extra { display: none; }
.menu { list-style: none; margin: 0; padding: 0; }
.menu--l1 { display: flex; justify-content: center; flex-wrap: wrap; }
.menu--l1 > .menu__item { position: relative; }
.menu--l1 > .menu__item > a {
  display: block; padding: 14px 20px; text-decoration: none; text-transform: uppercase;
  font-size: 15px; letter-spacing: .04em; color: var(--color-header-text);
}
.menu--l1 > .menu__item > a:hover, .menu--l1 > .menu__item.is-active > a { color: var(--color-accent); }
.menu__open { display: none; }

.menu--l2 {
  position: absolute; left: 50%; top: 100%; min-width: 250px; transform: translate(-50%, 6px);
  background: var(--submenu-bg); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.menu__item:hover > .menu--l2, .menu__item:focus-within > .menu--l2 { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.menu--l2 a {
  display: block; padding: 11px 18px; font-size: 14px; text-decoration: none; text-transform: uppercase;
  color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.menu--l2 a:hover, .menu--l2 .is-active > a { background: var(--submenu-hover-bg); color: var(--color-accent); }

/* Sticky header: after scrolling, a slim bar with the small logo */
.has-sticky .site-header.is-stuck { position: sticky; top: 0; }
.site-header.is-stuck .brand { padding: 8px var(--gutter); background: var(--sticky-bg); }
.site-header.is-stuck .brand__logo { display: none; }
.site-header.is-stuck .brand__logo--small { display: block; height: var(--logo-small); width: auto; }
.site-header.is-stuck .brand:not(:has(.brand__logo--small)) .brand__logo { display: block; height: var(--logo-small); }
.site-header.is-stuck .mainnav { background: var(--sticky-bg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: #000; color: #fff; overflow: hidden; }
.hero__media img, .carousel__slide img { width: 100%; max-height: 82vh; object-fit: cover; }
.hero__caption {
  position: absolute; inset: auto 0 12% 0; text-align: center; padding: 0 var(--gutter);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .6); pointer-events: none;
}
.hero__title { display: block; font-size: clamp(28px, 4.5vw, 56px); margin: 0 0 .2em; }
.hero__line { display: block; font-size: clamp(16px, 2vw, 24px); margin: 0; }
.hero__play { pointer-events: auto; background: none; border: 0; color: #fff; margin-top: 16px; }
.hero__play:hover { color: var(--color-accent); }

.carousel__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; display: block; }
.carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0;
  background: rgba(0, 0, 0, .35); color: #fff; font-size: 34px; line-height: 1;
}
.carousel__arrow:hover { background: rgba(0, 0, 0, .7); }
.carousel__arrow--prev { left: 12px; }
.carousel__arrow--next { right: 12px; }
.carousel__dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.carousel__dots button { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #fff; background: transparent; padding: 0; }
.carousel__dots button[aria-current="true"] { background: #fff; }

/* Fading slideshow (theme.php 'carouselEffect' => 'fade'): the photos sit on top of each other and
   the one marked "is-current" fades in over 1.2 s. Hidden photos can't be clicked (visibility). */
.carousel--fade .carousel__track { display: grid; overflow: hidden; }
.carousel--fade .carousel__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 0s linear 1.2s; }
.carousel--fade .carousel__slide.is-current { opacity: 1; visibility: visible; z-index: 1; transition: opacity 1.2s ease; }
.carousel--fade .carousel__arrow, .carousel--fade .carousel__dots { z-index: 2; }

.hero--video { aspect-ratio: 16 / 9; max-height: 85vh; width: 100%; }
.hero__poster, .hero__iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.hero__iframe { pointer-events: none; }

/* ---------- Content blocks ---------- */
.presentation, .page-section, .news-strip, .wines-strip, .ranges-strip { background: var(--surface); padding: 56px 0; }
.presentation { text-align: center; }
.presentation__title, .page-title { font-size: 28px; margin: 0 0 24px; text-transform: none; }
.presentation__image { margin: 0 auto 24px; max-width: 500px; }
.prose { font-size: 15px; }
.prose p { margin: 0 0 1em; }
.prose a { text-decoration: underline; }
.section-title { text-align: center; text-transform: uppercase; letter-spacing: .08em; font-size: 24px; margin: 0 0 32px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.card__media img, .card__placeholder { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #eee; display: block; }
.card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__date { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.card__title { margin: 0; font-size: 18px; }
.card__title a { text-decoration: none; }
.card__text { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
.card__more { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }

.slider { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.slider > * { scroll-snap-align: start; }

.wine-card { text-align: center; }
.wine-card__media img { height: 320px; width: auto; margin: 0 auto 14px; object-fit: contain; }
.wine-card__name { margin: 0; font-size: 18px; text-transform: uppercase; letter-spacing: .04em; }
.wine-card__name a { text-decoration: none; }
.wine-card__year, .wine-card__appellation { margin: 2px 0; color: var(--muted); }
.wine-card__price { margin: 8px 0 0; font-weight: 600; }
.wine-card__price del { color: var(--muted); font-weight: 400; }
.wine-card__price small { font-weight: 400; color: var(--muted); }
.wine-card__stock { margin: 6px 0 0; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #a33; }

.ranges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.ranges a { display: block; padding: 16px 26px; border: 1px solid var(--color-text); text-decoration: none; text-transform: uppercase; letter-spacing: .06em; }
.ranges a:hover { background: var(--color-text); color: #fff; }

.price-band { background: #111; color: #fff; padding: 48px 0; }
.price-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.price-band__title { margin: 0 0 6px; font-size: 26px; }
.price-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Inner pages ---------- */
.page-head { background: #111; color: #fff; padding: 46px 0 40px; text-align: center; }
.page-head__kicker { margin: 0 0 6px; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--color-accent); }
.page-head__title { margin: 0; font-size: clamp(24px, 3.4vw, 36px); text-transform: uppercase; letter-spacing: .06em; }
/* Photo band: the page's background image(s) from the CMS */
.page-head.page-head--photo {
  position: relative; overflow: hidden; background: #000; color: #fff; text-align: center;
  min-height: clamp(220px, 32vw, 460px); display: flex; align-items: flex-end; padding: 0 0 38px;
}
.page-head__bg, .page-head__layer { position: absolute; inset: 0; }
.page-head__layer { background: var(--bg) center 35% / cover no-repeat; }
.page-head--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 60%); }
.page-head--photo .page-head__inner { position: relative; z-index: 1; }
.page-head--photo .page-head__title { color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .5); }
.page-head--photo .page-head__kicker { color: #fff; }
/* Several photos: each fades in turn, 6 s per photo */
.page-head--slides .page-head__layer { opacity: 0; animation: nl-crossfade calc(var(--n) * 6s) infinite; animation-delay: calc(var(--i) * 6s); }
.page-head--slides .page-head__layer:first-child { opacity: 1; }
@keyframes nl-crossfade { 0% { opacity: 0; } 4% { opacity: 1; } 22% { opacity: 1; } 30% { opacity: 0; } 100% { opacity: 0; } }

.breadcrumb { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 26px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Content pages (pages.php): the four layouts, see themes/classic/pages/pages.php ---------- */
/* Text only: one centred column. */
.page-text { max-width: 860px; margin-inline: auto; }
/* Each text of the page (mr_message, mr_message2…) is its own paragraph block. */
.page-text__part + .page-text__part { margin-top: 1.4em; }

/* Layouts 1 and 2 — rows: image | text, one row per pair. The image column is about a third of the width. */
.page-rows { display: grid; gap: 32px; }
.page-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; align-items: start; }
.page-row--text-only, .page-row--image-only { grid-template-columns: 1fr; }
.page-row__image img { width: 100%; height: auto; display: block; }
/* Layout 2 — chessboard: half and half, and every second row puts its image on the right. */
.page-rows--chessboard { gap: 0; }
.page-rows--chessboard .page-row { grid-template-columns: 1fr 1fr; gap: 0; align-items: center; }
.page-rows--chessboard .page-row--text-only, .page-rows--chessboard .page-row--image-only { grid-template-columns: 1fr; }
.page-rows--chessboard .page-row:nth-child(even) .page-row__image { order: 2; }
.page-rows--chessboard .page-row__text { padding: 30px clamp(20px, 4vw, 56px); }
.page-rows--chessboard .page-row__image img { aspect-ratio: 4 / 3; object-fit: cover; }

/* Layouts 3 and 4 — a narrow column of images (about 35 %) beside the text. */
.page-columns { display: grid; grid-template-columns: minmax(0, 35fr) minmax(0, 65fr); gap: 40px; align-items: start; }
.page-columns--columnRight { grid-template-columns: minmax(0, 65fr) minmax(0, 35fr); }
.page-columns--columnRight .page-columns__images { order: 2; }
.page-columns__images { display: grid; gap: 14px; }
.page-columns__images img { width: 100%; height: auto; display: block; }
.subpages { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.subpages a { display: block; padding: 12px 22px; border: 1px solid var(--color-text); text-decoration: none; text-transform: uppercase; font-size: 13px; letter-spacing: .05em; }
.subpages a:hover { background: var(--color-text); color: #fff; }

.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 40px; }
.video { margin: 0; }
.video__poster { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #000; }
.video__poster img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video__poster svg { position: absolute; inset: 0; margin: auto; }
.video figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }

.wines-page { background: var(--color-page-bg); }
.wines-page__title { text-align: center; text-transform: uppercase; letter-spacing: .06em; font-size: clamp(26px, 3.4vw, 38px); margin: 10px 0 34px; }
/* Background photo behind the bottles (bk_image of the wine or of the "Vins" menu entry) */
.wines-page.has-bg { background: var(--color-page-bg) var(--bg) center top / cover no-repeat; padding-top: clamp(60px, 9vw, 140px); }
.wine-detail.has-bg { background: var(--color-page-bg) var(--bg) center top / cover no-repeat; padding-top: clamp(60px, 9vw, 140px); }
/* Text on a background photo: white, with a soft shadow so it stays readable on light areas */
.has-bg { --color-text: #fff; --muted: rgba(255, 255, 255, .88); --line: rgba(255, 255, 255, .3); color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .65), 0 0 12px rgba(0, 0, 0, .35); }
.has-bg a { color: #fff; }
.has-bg .wine-card__price, .has-bg .wine-card__stock, .has-bg .wine-detail__appellation, .has-bg .breadcrumb { color: #fff; }
.has-bg .btn--outline { color: #fff; border-color: #fff; }
.has-bg .btn--outline:hover { background: #fff; color: #000; text-shadow: none; }
.has-bg .buy-box { background: rgba(0, 0, 0, .45); }
.has-bg select, .has-bg input, .has-bg .btn--primary, .has-bg .dialog__notice { text-shadow: none; }

/* ---------- « Découvrir les thèmes »: the admin bar (partials/admin-bar.php), for the client only ----------
   A slim dark bar floating at the bottom of the screen, the same in every theme (its own fonts and colours). */
.admin-bar { position: fixed; z-index: 95; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  width: max-content; max-width: calc(100% - 20px); padding: 8px 10px 8px 16px; background: rgba(20, 20, 22, .94); color: #EDEDED; border-radius: 10px;
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .55); font: 400 13px/1.2 system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; letter-spacing: 0; text-transform: none;
  backdrop-filter: blur(6px); }
.admin-bar * { font: inherit; letter-spacing: inherit; text-transform: none; }
.admin-bar__label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.admin-bar__label small { font-weight: 400; color: #A8A8AE; }
.admin-bar__dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 3px rgba(61, 220, 132, .2); }
.admin-bar__theme { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: #A8A8AE; }
.admin-bar__theme select { height: 32px; padding: 0 28px 0 10px; border: 1px solid #45454C; border-radius: 6px; background: #2A2A2F; color: #fff; cursor: pointer; }
.admin-bar form { display: inline-flex; gap: 6px; margin: 0; }
.admin-bar__button { height: 32px; padding: 0 12px; border: 1px solid #45454C; border-radius: 6px; background: #2A2A2F; color: #fff; cursor: pointer; white-space: nowrap; }
.admin-bar__button:hover, .admin-bar__theme select:hover { border-color: #8A8A92; }
.admin-bar__button--main { background: #fff; color: #141416; border-color: #fff; font-weight: 600; }
.admin-bar__button--main:hover { background: #E6E6E8; }
.admin-bar__button--quiet { background: none; color: #C9C9CE; }
.admin-bar :focus-visible { outline: 2px solid #3DDC84; outline-offset: 2px; }
body:has(.admin-bar) .privacy-banner { bottom: 76px; }
@media (max-width: 760px) {
  .admin-bar { left: 8px; right: 8px; bottom: 8px; transform: none; width: auto; max-width: none; justify-content: space-between; padding: 8px; }
  .admin-bar__label small { display: none; }
  .admin-bar__theme span { display: none; }
  .admin-bar__theme select { max-width: 42vw; }
  body:has(.admin-bar) .privacy-banner { bottom: 110px; }
}
@media print { .admin-bar { display: none; } }

/* ---------- Cookies and personal data (partials/privacy-notice.php) ----------
   The banner slides up from the bottom on the first visit; the full statement opens in a window.
   Themes with a band on the left (Designer) set --privacy-left so the banner stays beside it. */
.privacy-banner { position: fixed; z-index: 90; left: calc(var(--privacy-left, 0px) + 16px); right: 16px; bottom: 16px; display: flex; justify-content: center; pointer-events: none; }
.privacy-banner__card { pointer-events: auto; width: min(860px, 100%); display: flex; align-items: center; gap: 18px 28px; padding: 20px 24px;
  background: var(--surface, #fff); color: var(--color-text, #222); border: 1px solid var(--line, #ddd);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .35); transform: translateY(calc(100% + 40px)); opacity: 0;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1), opacity .5s ease; }
.privacy-banner.is-shown .privacy-banner__card { transform: none; opacity: 1; }
.privacy-banner__text { margin: 0; flex: 1; font-size: 14px; line-height: 1.6; }
.privacy-banner__buttons { display: flex; gap: 10px; flex: none; }
.privacy-banner__buttons .btn { white-space: nowrap; }
.privacy-dialog { width: min(760px, 100% - 32px); }
.privacy-dialog__body { position: relative; padding: 32px 34px 28px; font-size: 15px; line-height: 1.65; }
.privacy-dialog__body h2 { margin: 0 36px 8px 0; font-size: 26px; }
.privacy-dialog__body h3 { margin: 24px 0 6px; font-size: 18px; }
.privacy-dialog__body p, .privacy-dialog__body ul { margin: 0 0 10px; }
.privacy-dialog__body ul { padding-left: 20px; }
.privacy-dialog__body li { margin-bottom: 6px; }
.privacy-dialog__buttons { margin-top: 24px !important; text-align: right; }
.subfooter__privacy { font: inherit; color: inherit; text-decoration: none; cursor: pointer; }
.subfooter__privacy:hover { text-decoration: underline; }
@media (max-width: 700px) {
  .privacy-banner { left: 10px; right: 10px; bottom: 10px; }
  .privacy-banner__card { flex-direction: column; align-items: stretch; padding: 18px; }
  .privacy-banner__buttons .btn { flex: 1; }
  .privacy-dialog__body { padding: 26px 20px 22px; }
}
@media (prefers-reduced-motion: reduce) { .privacy-banner__card { transition: none; } }
@media print { .privacy-banner { display: none; } }
.has-bg select, .has-bg input, .has-bg .dialog__notice { color: #222; }
.range-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-bottom: 40px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.range-tabs a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.range-tabs a[aria-current], .range-tabs a:hover { border-color: currentColor; }
.range { margin-bottom: 64px; }
.range__title { text-align: center; text-transform: uppercase; letter-spacing: .06em; font-size: 28px; margin: 0 0 30px; }
.range__title a { text-decoration: none; }
.range__intro { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.wine-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 44px 28px; }

.wine-detail { background: var(--color-page-bg); }
.wine-detail__grid { display: grid; grid-template-columns: minmax(220px, 1fr) 1.6fr; gap: 50px; align-items: start; }
.wine-detail__image img { max-height: 620px; width: auto; margin: 0 auto; }
.wine-detail__appellation { margin: 0; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; color: var(--muted); }
.wine-detail__name { margin: 4px 0 10px; font-size: clamp(28px, 3.6vw, 40px); text-transform: uppercase; letter-spacing: .03em; }
.wine-detail__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 18px; font-size: 15px; }
.wine-detail__meta span + span::before { content: "·"; margin-right: 18px; color: var(--muted); }
.wine-detail__punchline { border-left: 3px solid var(--color-text); padding: 4px 0 4px 16px; margin: 18px 0; font-weight: 600; }
.wine-detail__vintages a { margin-left: 8px; }
.wine-detail__vintages a[aria-current] { font-weight: 600; text-decoration: none; }
.buy-box { background: rgba(255, 255, 255, .55); padding: 20px 22px; margin: 22px 0; }
.buy-box__price { font-size: 26px; margin: 0; }
.buy-box__price del { font-size: 18px; color: var(--muted); }
.buy-box__price small { font-size: 13px; color: var(--muted); }
.buy-box__unit { margin: 4px 0 12px; font-size: 14px; color: var(--muted); }
.buy-box__form { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.buy-box__form label { display: grid; gap: 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.buy-box__form select { font: inherit; padding: 9px 10px; min-width: 90px; }
.buy-box__form .dialog__notice { flex-basis: 100%; }
.wine-detail__texts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px 44px; margin-top: 50px; padding-top: 40px; border-top: 1px solid var(--line); }
.wine-text h2 { font-size: 16px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 10px; }
.related { margin-top: 64px; }

.article__date { text-transform: uppercase; letter-spacing: .06em; font-size: 13px; color: var(--muted); margin: 0 0 6px; }
.article__image { margin: 0 0 26px; width: 100%; }
.article .video { margin-bottom: 26px; }
.news-strip--alt { background: #f4f2ee; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px; margin-bottom: 36px; }
.photo img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: opacity .2s; }
.photo:hover img { opacity: .8; }
.gallery-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.gallery-tile { position: relative; display: block; text-decoration: none; color: #fff; overflow: hidden; background: #000; }
.gallery-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; opacity: .85; transition: transform .4s, opacity .3s; }
.gallery-tile:hover img { transform: scale(1.04); opacity: .7; }
.gallery-tile__title { position: absolute; left: 16px; right: 16px; bottom: 34px; font-size: 19px; text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }
.gallery-tile__count { position: absolute; left: 16px; bottom: 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(0, 0, 0, .92); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 50px 70px 30px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 230px); width: auto; transform-origin: center; }
.lightbox figcaption { color: #ddd; text-align: center; margin-top: 10px; }
/* Opening and closing: the dark background fades in and out (the photo itself is moved by app.js). */
@keyframes lightbox-dark-in { from { opacity: 0; } }
@keyframes lightbox-dark-out { to { opacity: 0; } }
.lightbox[open]::backdrop { animation: lightbox-dark-in .45s ease-out; }
.lightbox.is-closing::backdrop { animation: lightbox-dark-out .38s ease-in forwards; }
.lightbox.is-closing .lightbox__close, .lightbox.is-closing .lightbox__nav { opacity: 0; transition: opacity .2s; }
/* Under the large photo: the gallery's name, the photo's caption, then the share buttons (in light lines). */
.lightbox__caption { display: grid; justify-items: center; gap: 4px; margin-top: 16px; max-width: 760px; }
.lightbox__gallery { font-family: var(--font-heading); font-size: 21px; line-height: 1.2; color: #fff; }
.lightbox__text { font-size: 14px; color: #c9c9c9; }
.lightbox__text:empty { display: none; }
.lightbox__share .share { margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; }
.lightbox__share .share__title { margin: 0; color: #bdbdbd; font-size: 12px; }
.lightbox__share .share__list { justify-content: center; gap: 8px; }
.lightbox__share .share__link { width: 34px; height: 34px; color: #fff; border-color: rgba(255, 255, 255, .4); }
.lightbox__share .share__link:hover, .lightbox__share .share__link:focus-visible { background: #fff; color: #111; border-color: #fff; }
.lightbox__share .share__done { margin: 0; width: 100%; color: #fff; font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .lightbox[open]::backdrop, .lightbox.is-closing::backdrop { animation: none; } }
.lightbox__close, .lightbox__nav { position: fixed; z-index: 2; background: none; border: 0; color: #fff; font-size: 44px; line-height: 1; }
.lightbox__close { top: 10px; right: 18px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); padding: 10px 16px; }
.lightbox__nav--prev { left: 6px; } .lightbox__nav--next { right: 6px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.contact-card { font-style: normal; line-height: 1.8; margin-bottom: 20px; }
.contact-form { display: grid; gap: 12px; margin-top: 30px; max-width: 520px; }
.contact-form label { display: grid; gap: 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #555; }
.contact-form input, .contact-form textarea { font: inherit; font-size: 15px; padding: 10px; border: 1px solid #bbb; }
.contact-map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; }
.contact-map__leaflet { width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--line); z-index: 0; }   /* the free Leaflet map */
/* Social media page (reseaux-sociaux.php): Instagram posts, and the Facebook box beside them. */
.social-page__grid { display: grid; gap: 50px; align-items: start; }
.social-page--two .social-page__grid { grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); }
.social-account { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.social-account__picture { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.social-account__names { display: grid; flex: 1; min-width: 160px; }
.social-account__names span { color: var(--muted); }
.social-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 34px 26px; }
.social-post__media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: rgba(0, 0, 0, .06); }
.social-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.social-post__media:hover img { transform: scale(1.03); }
.social-post__no-picture { display: block; width: 100%; height: 100%; }
.social-post__badge { position: absolute; top: 10px; right: 10px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 12px; padding: 3px 8px; }
.social-post__body { padding-top: 12px; font-size: 14px; line-height: 1.6; }
.social-post__date { margin: 0 0 6px; font-size: 13px; color: var(--muted); }
.social-post__caption { margin: 0 0 8px; overflow-wrap: anywhere; }
details.social-post__caption summary { cursor: pointer; list-style: none; }
details.social-post__caption summary::-webkit-details-marker { display: none; }
details.social-post__caption[open] summary { display: none; }
details.social-post__caption p { margin: 0; }
.social-post__more, .social-post__link { color: inherit; text-decoration: underline; text-underline-offset: 2px; opacity: .8; }   /* the text colour: readable in every theme */
.social-post__more:hover, .social-post__link:hover { opacity: 1; }
.social-post__link { font-size: 13px; }
.social-facebook { position: sticky; top: 20px; }
.social-facebook__title { font-size: 22px; margin: 0 0 16px; }   /* "Retrouvez-nous sur Facebook" */
.social-facebook__card { border: 1px solid var(--line); padding: 34px 26px; text-align: center; display: grid; justify-items: center; gap: 10px; }
.social-facebook__icon { opacity: .85; }
.social-facebook__name { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.social-facebook__card .social-facebook__title { margin: 0 0 8px; }
.social-empty { color: var(--muted); }
@media (max-width: 900px) {
  .social-page--two .social-page__grid { grid-template-columns: 1fr; }
  .social-facebook { position: static; }
  .social-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
}
@media (max-width: 520px) { .social-posts { grid-template-columns: 1fr; } }

/* Opening hours (partials/opening-hours.php): under the address on the contact page. */
.opening-hours { margin: 26px 0 6px; padding-top: 20px; border-top: 1px solid var(--line); max-width: 520px; }
.opening-hours__title { font-size: 22px; margin: 0 0 10px; }
.opening-hours__intro, .opening-hours__note { margin: 0 0 10px; }
.opening-hours__line { margin: 0 0 6px; }
.opening-hours__note { margin-top: 12px; color: var(--muted); }
.opening-hours__table { border-collapse: collapse; margin: 4px 0 8px; }
.opening-hours__table th { text-align: left; font-weight: 600; padding: 4px 24px 4px 0; white-space: nowrap; }
.opening-hours__table td { padding: 4px 0; }
.opening-hours__table .is-closed td { color: var(--muted); }

/* ---------- Shop: cart, checkout, account ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.flash { padding: 14px 0; font-size: 15px; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.flash--ok { background: #e7f3e4; color: #24451c; }
.flash--info { background: #eef2f6; color: #23364a; }
.flash--error { background: #fbe9e7; color: #7a1d12; }
.shop { background: var(--surface); }
.shop h2 { font-size: 20px; margin: 0 0 16px; }
.shop-empty, .shop-done { text-align: center; padding: 30px 0; }
.btn--block { display: block; width: 100%; text-align: center; }
.btn.is-disabled, .btn:disabled { opacity: .45; pointer-events: none; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-bottom: 1px solid var(--line); padding: 8px; }
.cart-table td { padding: 14px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table .num { text-align: right; white-space: nowrap; }
.cart-table del { color: var(--muted); font-size: 13px; }
.cart-wine { display: flex; align-items: center; gap: 14px; }
.cart-wine img { height: 72px; width: auto; }
.cart-wine a { text-decoration: none; font-weight: 600; }
.cart-wine small { display: block; color: var(--muted); }
.cart-table select { font: inherit; padding: 6px 8px; }
.cart-remove { font-size: 22px; text-decoration: none; color: var(--muted); }
.cart-delivery { border: 0; padding: 0; margin: 20px 0 0; }
.cart-delivery legend { font-weight: 600; margin-bottom: 6px; }
.cart-delivery label { display: block; margin: 4px 0; }
.cart-bottom { display: grid; grid-template-columns: 1fr minmax(280px, 380px); gap: 40px; margin-top: 28px; align-items: start; }
.cart-note { color: var(--muted); font-size: 14px; }
.cart-problem { color: #8a2b1d; font-size: 14px; }
.promo-form { margin-top: 18px; }
.promo-form label { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 4px; }
.promo-form__row { display: flex; gap: 8px; }
.promo-form input { font: inherit; padding: 9px 10px; border: 1px solid #bbb; flex: 1; min-width: 0; }
.cart-summary { background: #f6f5f2; padding: 22px; }
.totals { margin: 0 0 18px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.totals dt, .totals dd { margin: 0; }
.totals dd { white-space: nowrap; }
.totals__discount { color: #2d5a22; }
.totals__total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px !important; font-size: 19px; font-weight: 600; }
.checkout { display: grid; grid-template-columns: 1.2fr minmax(300px, 420px); gap: 48px; align-items: start; }
.checkout-lines { list-style: none; padding: 0; margin: 0 0 12px; font-size: 14px; }
.checkout-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.pay-form { display: grid; gap: 12px; }
.pay-note { font-size: 13px; color: var(--muted); text-align: center; margin: 0; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; text-transform: none; letter-spacing: 0; color: inherit; }
label.check input { margin-top: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.form-grid__wide { grid-column: 1 / -1; margin: 0; }
.form-grid label, .account-box label { display: grid; gap: 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #555; }
.form-grid input, .account-box input:not([type=checkbox]) { font: inherit; font-size: 15px; padding: 10px; border: 1px solid #bbb; text-transform: none; letter-spacing: 0; color: #222; }
.form-grid input[readonly] { background: #f2f2f2; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.account-box { display: grid; gap: 12px; background: #f6f5f2; padding: 26px; }
.account-box[hidden] { display: none; }
.account-box label.check, .form-grid label.check, .pay-form label.check { display: flex; gap: 10px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-size: 14px; color: inherit; }
.account-box--single { max-width: 460px; margin: 0 auto; }
.account-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.order { border-bottom: 1px solid var(--line); padding: 10px 0; }
.order summary { cursor: pointer; }
.order ul { margin: 10px 0; padding-left: 18px; font-size: 14px; }
.cgv h3 { font-size: 17px; margin: 26px 0 8px; }

/* ---------- Footer ---------- */
.site-footer { color: var(--color-footer-text); }
.newsletter-band { background: var(--newsletter-bg); color: #fff; padding: 34px 0; }
.newsletter-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 32px; text-align: center; }
.newsletter-band__title { margin: 0; font-size: 18px; text-transform: uppercase; letter-spacing: .06em; }
.newsletter-band__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.footer-top { background: var(--color-footer-bg); padding: 50px 0 40px; font-size: 14px; }
.footer-top__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-logo { max-height: 110px; width: auto; margin-bottom: 14px; }
.footer-title { font-size: 22px; margin: 0 0 14px; color: var(--color-footer-text); }
.footer-title--small { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; margin-top: 26px; }
.footer-col p { margin: 0 0 10px; }
.footer-col address { font-style: normal; line-height: 1.9; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }

.socials { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; }
.socials a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid currentColor; border-radius: 50%; }
.socials a:hover { background: var(--color-footer-text); color: var(--color-footer-bg); }

.sponsors { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 40px; margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .1); }
.sponsor img { max-height: var(--partner-logo-height, 60px); max-width: calc(var(--partner-logo-height, 60px) * 3); width: auto; filter: grayscale(1) brightness(1.6); opacity: .8; transition: filter .4s, opacity .4s; }
.sponsor:hover img, .sponsor:focus-visible img { filter: none; opacity: 1; }

.subfooter { background: var(--subfooter-bg); padding: 22px 0; text-align: center; font-size: 13px; }
.subfooter p { margin: 6px 0; }
.subfooter a { text-decoration: none; }
.subfooter a:hover { text-decoration: underline; }
.subfooter .langs { justify-content: center; margin: 6px 0; }
.subfooter__evin { font-size: 12px; letter-spacing: .03em; }

/* ---------- Footer layouts (chosen in the admin: settings/footerStyles.php → xml/site-footer.xml) ----------
   Each layout uses the theme's footer colours (--color-footer-bg / --color-footer-text), so it suits every theme. */
.footer-address { font-style: normal; line-height: 1.9; }
.footer-address a, .footer-categories a { text-decoration: none; }
.footer-address a:hover, .footer-categories a:hover { text-decoration: underline; }
.footer-hours__line { margin: 0 0 6px; }
.footer-hours__table { border-collapse: collapse; font-size: 14px; }
.footer-hours__table th { text-align: left; font-weight: 600; padding: 3px 18px 3px 0; white-space: nowrap; }
.footer-hours__table td { padding: 3px 0; }
.footer-hours__table .is-closed td { opacity: .7; }
.footer-categories ul { list-style: none; margin: 0; padding: 0; }
.footer-categories li { margin: 0 0 6px; }
.footer-categories--inline ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 30px; }
.footer-categories--inline li { margin: 0; }

/* "Centré": everything on the centre line, around the logo. */
.footer-centered__inner { text-align: center; display: grid; justify-items: center; gap: 30px; }
.footer-centered__brand { display: inline-block; text-decoration: none; color: inherit; }
.footer-centered .footer-logo { max-height: 140px; margin: 0 auto; }
.footer-centered__name { font-size: 30px; margin: 0; }
.footer-centered .footer-categories { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .14); border-bottom: 1px solid rgba(255, 255, 255, .14); width: min(100%, 760px); font-size: 15px; }
.footer-centered__blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 0; width: min(100%, 820px); }
.footer-centered__blocks > * { padding: 0 34px; }
.footer-centered__blocks > * + * { border-left: 1px solid rgba(255, 255, 255, .14); }
.footer-centered__blocks--single { grid-template-columns: 1fr; width: auto; }
.footer-centered .socials { justify-content: center; }

/* "Colonnes": up to four columns; empty ones are left out. */
.footer-columns__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 40px; }
.footer-columns .footer-logo { max-height: 90px; }
.footer-columns .footer-categories .footer-title { margin-bottom: 14px; }

/* "Épuré": one quiet line. */
/* Footer layout "Encadré" (footer-framed.php): all centred — the opening hours in full, the logo framed
   by the label / partner logos, the contact details. Label logos keep their own colours. */
.footer-framed__inner { display: grid; justify-items: center; gap: 34px; text-align: center; }
.footer-framed__hours { max-width: 620px; }
.footer-framed__hours .footer-title { margin-bottom: 12px; }
.footer-framed__hours-line { margin: 0 0 4px; }
.footer-framed__hours-text { margin: 10px 0 0; opacity: .8; font-style: italic; }
.footer-framed__logos { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 48px; width: min(100%, 900px); padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .14); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer-framed__logos--alone { grid-template-columns: auto; justify-content: center; }
.footer-framed__side { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.footer-framed__side--left { justify-content: flex-end; }
.footer-framed__side--right { justify-content: flex-start; }
.footer-framed__label img { display: block; max-height: var(--partner-logo-height, 90px); max-width: calc(var(--partner-logo-height, 90px) * 1.6); width: auto; height: auto; transition: filter .4s, opacity .4s; }

/* The client's choice of colours for the partner logos (admin "Logos partenaires", xml/sponsorsDisplay.xml),
   for every footer layout. Black and white: the logo takes its colours when the mouse is over it (or keyboard focus). */
.logos--colour .sponsor img, .logos--colour .footer-framed__label img { filter: none; opacity: 1; }
.logos--greyscale .sponsor img, .logos--greyscale .footer-framed__label img { filter: grayscale(1); opacity: .8; }
.logos--greyscale .sponsor:hover img, .logos--greyscale .sponsor:focus-visible img,
.logos--greyscale .footer-framed__label:hover img, .logos--greyscale .footer-framed__label:focus-visible img { filter: none; opacity: 1; }
.footer-framed__brand { display: inline-block; text-decoration: none; color: inherit; }
.footer-framed .footer-logo { max-height: 150px; margin: 0 auto; }
.footer-framed__name { font-size: 30px; margin: 0; }
.footer-framed .footer-categories { font-size: 15px; }
.footer-framed .socials { justify-content: center; }

.footer-minimal { padding: 30px 0 24px; }
.footer-minimal__line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; }
.footer-minimal__brand { text-decoration: none; color: inherit; }
.footer-minimal .footer-logo { max-height: 56px; margin: 0; }
.footer-minimal .footer-title { margin: 0; font-size: 20px; }
.footer-address--one-line { line-height: 1.6; flex: 1; text-align: center; }
.footer-address--one-line > span { display: block; }
.footer-address__reach { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 2px 22px; }
.footer-minimal__hours { text-align: center; margin: 18px auto 0; font-size: 13px; opacity: .85; }
.footer-minimal .footer-categories { margin-top: 14px; font-size: 14px; }
.footer-minimal .sponsors { margin-top: 24px; padding-top: 20px; }

/* ---------- Dialogs & age gate ---------- */
.dialog { border: 0; padding: 0; width: min(560px, 100% - 32px); max-height: 90vh; overflow: auto; background: #fff; color: #222; }
.dialog::backdrop { background: rgba(0, 0, 0, .7); }
.dialog__form { padding: 28px 28px 24px; display: grid; gap: 12px; position: relative; }
.dialog__form h2 { margin: 0 32px 4px 0; font-size: 20px; }
.dialog__form label { display: grid; gap: 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #555; }
.dialog__form label.check { display: flex; gap: 8px; align-items: center; text-transform: none; letter-spacing: 0; }
.dialog__form input, .dialog__form select { font: inherit; font-size: 15px; padding: 9px 10px; border: 1px solid #bbb; border-radius: 0; text-transform: none; letter-spacing: 0; color: #222; }
.dialog__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dialog__close { position: absolute; top: 8px; right: 10px; background: none; border: 0; font-size: 30px; line-height: 1; color: #555; z-index: 1; }
.dialog__notice { margin: 0; padding: 10px 12px; background: #fff7d6; border-left: 3px solid #d6a700; font-size: 14px; }
.dialog--video { width: min(960px, 100% - 32px); background: #000; overflow: visible; }
.dialog--video .dialog__close { color: #fff; top: -40px; right: 0; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-16x9 iframe { width: 100%; height: 100%; border: 0; }

.age-gate { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .92); }
.age-gate__box { background: #fff; color: #222; max-width: 520px; width: 100%; padding: 36px 28px; text-align: center; }
.age-gate__logo { max-height: 110px; width: auto; margin: 0 auto 18px; }
.age-gate__title { margin: 0 0 12px; font-size: 24px; }
.age-gate__text { font-size: 13px; letter-spacing: .03em; margin: 0 0 22px; }
.age-gate__actions { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.age-gate__refused { color: #a33; margin: 16px 0 0; }
.age-gate__evin { font-size: 11px; color: #777; margin: 22px 0 0; }
body:has(.age-gate) { overflow: hidden; }

/* Page fade (fadepages = oui) */
.has-fade .site-main { animation: nl-fade .3s ease-out both; }
@keyframes nl-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  :root { --logo-height: min(var(--logo-height), 110px); }
  .topbar__links a:not([href^="tel"]) { display: none; }
  .topbar__right .langs, .topbar__account { display: none; }
  .brand { justify-content: space-between; align-items: center; padding: 12px var(--gutter); }
  .brand__logo { height: 80px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; background: none; border: 1px solid rgba(255, 255, 255, .4);
    color: var(--color-header-text); padding: 9px 12px; text-transform: uppercase; font-size: 12px; letter-spacing: .08em;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }

  .mainnav { display: none; background: #111; max-height: calc(100vh - 140px); overflow-y: auto; }
  .mainnav.is-open { display: block; }
  .mainnav__mobile-extra { display: block; padding: 16px var(--gutter) 22px; }
  .menu--l1 { display: block; }
  .menu--l1 > .menu__item { display: flex; flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .menu--l1 > .menu__item > a { flex: 1; padding: 14px var(--gutter); }
  .menu__open { display: block; width: 52px; background: none; border: 0; color: #fff; }
  .menu__open::before { content: "+"; font-size: 22px; }
  .menu__open[aria-expanded="true"]::before { content: "–"; }
  .menu--l2 { position: static; transform: none; opacity: 1; visibility: visible; display: none; width: 100%; box-shadow: none; background: #222; }
  .menu__item.is-open > .menu--l2 { display: block; }
  .menu--l2 a { padding-left: calc(var(--gutter) + 14px); }

  .footer-top__grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .footer-columns__grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .footer-columns .socials, .footer-minimal .socials { justify-content: center; }
  .footer-hours__table { margin: 0 auto; }
  .footer-centered__blocks { grid-template-columns: 1fr; gap: 26px; }
  .footer-centered__blocks > * { padding: 0; }
  .footer-centered__blocks > * + * { border-left: 0; }
  .footer-minimal__line { flex-direction: column; text-align: center; }
  /* The estate's logo on top, the label logos side by side under it */
  .footer-framed__logos { grid-template-columns: 1fr 1fr; grid-template-areas: "brand brand" "left right"; gap: 22px 18px; }
  .footer-framed__brand { grid-area: brand; }
  .footer-framed__side--left { grid-area: left; }
  .footer-framed__side--right { grid-area: right; }
  .sponsor img { max-height: min(var(--partner-logo-height, 60px), 80px); max-width: 100%; }
  .footer-framed__label img { max-height: min(var(--partner-logo-height, 70px), 80px); max-width: 120px; }   /* never too big on a phone */
  .socials { justify-content: center; }
  .footer-logo { margin-inline: auto; }
  .dialog__row { grid-template-columns: 1fr; }
  .page-row, .page-rows--chessboard .page-row, .page-columns, .page-columns--columnRight, .wine-detail__grid, .contact-grid,
  .cart-bottom, .checkout, .account-grid, .form-grid { grid-template-columns: 1fr; }
  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: 1fr auto auto; gap: 6px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .cart-table td { border: 0; padding: 0; }
  .cart-table td.cart-wine { grid-column: 1 / -1; }
  .cart-table td:nth-child(3) { display: none; }
  /* Phones: always image first, then text. */
  .page-rows--chessboard .page-row:nth-child(even) .page-row__image, .page-columns--columnRight .page-columns__images { order: 0; }
  .page-rows--chessboard .page-row__text { padding: 20px 0 30px; }
  .wine-detail__image img { max-height: 420px; }
  .wine-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 32px 16px; }
  .wine-card__media img { height: 240px; }
  .lightbox figure { padding: 56px 10px 20px; }
  .lightbox img { max-height: calc(100vh - 260px); }
  .lightbox__share .share__title { display: none; }
  .lightbox__share .share__list { gap: 6px; }
  .lightbox__share .share__link { width: 32px; height: 32px; }
}

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

/* ---------- Share buttons (wine pages and news items) ---------- */
.share { margin: 26px 0 0; }
.share__title { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.share__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.share__link { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid currentColor; border-radius: 50%; color: inherit; background: transparent; padding: 0; cursor: pointer; }
.share__link:hover, .share__link:focus-visible { background: var(--color-text); color: var(--color-page-bg); }
.share__done { margin: 8px 0 0; font-size: 14px; }
.has-bg .share__link:hover, .has-bg .share__link:focus-visible { background: #fff; color: #000; }

/* ---------- Wine pages: page colour blended into the background photo ----------
   Only for the estates listed in the private config ('blendWineBackground'); app.js measures the colour
   of the photo's bottom edge and sets --blend-colour and --bg-photo-height, then adds "is-blended".
   - the photo keeps its proportions (as wide as the page, never stretched in height);
   - its bottom quarter fades into the measured colour, and that colour continues down the page. */
.page-section.has-bg.is-blended {
  background-color: var(--blend-colour);
  background-image: linear-gradient(to bottom, transparent 75%, var(--blend-colour)), var(--bg);
  background-size: 100% var(--bg-photo-height), 100% auto;
  background-position: center top, center top;
  background-repeat: no-repeat, no-repeat;
}
/* When the measured colour is light, the wine list's texts (outside the panels) become dark. */
.wines-page.has-bg.blend-is-light { --color-text: #000; --muted: #444; --line: rgba(0, 0, 0, .2); color: #000; text-shadow: none; }
.wines-page.has-bg.blend-is-light a,
.wines-page.has-bg.blend-is-light .wine-card__price,
.wines-page.has-bg.blend-is-light .wine-card__stock { color: #000; }

/* ---------- Page and wine media (partials/media-item.php) and page PDFs ---------- */
.media-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 40px; }
.media-item { border: 1px solid var(--line); padding: 18px 20px; }
.media-item__title { margin: 0 0 8px; font-size: 18px; }
.media-item__text { font-size: 14px; color: var(--muted); }
.media-item__audio, .media-item__video { display: block; width: 100%; margin-top: 12px; }
.media-item .video { margin-top: 12px; }
.page-pdfs { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 24px; }
.page-pdfs a { display: grid; gap: 8px; width: 180px; text-align: center; font-size: 14px; }
.page-pdfs img { width: 180px; height: auto; border: 1px solid var(--line); }
.page-pdfs a:hover img { border-color: var(--color-text); }

/* ---------- "Trouver nos vins" (trouver-nos-vins.php): search, then map beside the list ---------- */
.stockists__search { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px 18px; align-items: end; margin-bottom: 18px; }
.stockists__search label { display: grid; gap: 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.stockists__search select, .stockists__search input { font: inherit; text-transform: none; letter-spacing: 0; padding: 9px 10px; border: 1px solid var(--line); width: 100%; }
.stockists__name { display: flex; gap: 8px; }
.stockists__count { color: var(--muted); margin: 0 0 14px; }
.stockists__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; align-items: start; }
.stockists__map { height: 560px; border: 1px solid var(--line); z-index: 0; }
.stockists__list { list-style: none; margin: 0; padding: 0; max-height: 560px; overflow-y: auto; border-top: 1px solid var(--line); }
.stockists__list li { border-bottom: 1px solid var(--line); }
.stockists__place { display: grid; gap: 2px; width: 100%; text-align: left; padding: 12px 6px; background: none; border: 0; font: inherit; color: inherit; cursor: pointer; }
.stockists__place:hover, .stockists__place:focus-visible { background: rgba(0, 0, 0, .04); }
.stockists__place small { text-transform: uppercase; letter-spacing: .05em; font-size: 12px; color: var(--muted); }
.stockists__place span { font-size: 14px; color: var(--muted); }
.stockists__none { padding: 14px 6px; color: var(--muted); }
.stockist-popup { display: grid; gap: 2px; min-width: 160px; }
.stockist-popup img { max-width: 200px; height: auto; margin-bottom: 6px; }
@media (max-width: 900px) {
  .stockists__grid { grid-template-columns: 1fr; }
  .stockists__map { height: 380px; }
  .stockists__list { max-height: none; }
}

/* =====================================================================
   Wineries (wineries.php): the list of wine estates and each estate's own page.
   Every theme uses these rules. The coloured words (appellation, links, titles) use --estate-accent:
   a theme whose accent is too pale for text on white sets a darker one in its theme.css.
   ===================================================================== */
/* The list: boxes two per row (one on tablets and phones), each with a square photo on the left. */
.estate-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.estate-card {
  display: grid; grid-template-columns: 38% minmax(0, 1fr); gap: 28px; align-items: start;
  background: #fff; color: #222; padding: 24px; border-radius: 10px; box-shadow: 0 2px 14px rgba(0, 0, 0, .09);
}
.estate-card--no-photo { grid-template-columns: minmax(0, 1fr); }
.estate-card__photo { position: relative; display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #eee; }
.estate-card__photo > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.estate-card:hover .estate-card__photo > img { transform: scale(1.04); }
/* The estate's logo, small, on a white disc in the bottom corner of the photo. */
.estate-card__logo { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 64px; height: 64px; padding: 8px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.estate-card__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.estate-card__appellation { margin: 2px 0 4px; color: var(--estate-accent, var(--color-accent)); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.estate-card__name { margin: 0 0 10px; font-size: clamp(22px, 1.8vw, 28px); line-height: 1.15; }
.estate-card__name a { text-decoration: none; color: inherit; }
.estate-card__name a:hover { color: var(--estate-accent, var(--color-accent)); }
.estate-card__text { margin: 12px 0 14px; color: #5b5b5b; font-size: 15px; line-height: 1.65; }
.estate-card__more { display: inline-block; color: var(--estate-accent, var(--color-accent)); font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 1px solid currentColor; }
.estates__empty { text-align: center; color: var(--muted); }

/* The farming method (organic, biodynamic…): a small label with a leaf. */
.estate-badge {
  display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 3px 11px 3px 9px;
  border-radius: 999px; background: #E7EEDD; color: #34502A; font-size: 12.5px; font-weight: 600;
}
.estate-badge::before {
  content: ""; width: 12px; height: 12px; background: currentColor; flex: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 3C10 3 4 8 4 16c0 1.4.3 2.7.8 3.8L3 21.6 4.4 23l1.9-1.9c1.1.6 2.4.9 3.7.9 8 0 11-7 11-19Zm-9 13-1.4-1.4C13 12.2 15.4 10 18 8.6c-2.2 1.9-4.2 4.4-6 7.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 3C10 3 4 8 4 16c0 1.4.3 2.7.8 3.8L3 21.6 4.4 23l1.9-1.9c1.1.6 2.4.9 3.7.9 8 0 11-7 11-19Zm-9 13-1.4-1.4C13 12.2 15.4 10 18 8.6c-2.2 1.9-4.2 4.4-6 7.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* One estate's page. */
.estate-detail { background: var(--surface); padding: 30px 0 70px; }
.estate-detail__back { margin: 0 0 22px; font-size: 14px; }
.estate-detail__back a { color: var(--muted); text-decoration: none; }
.estate-detail__back a:hover { color: var(--estate-accent, var(--color-accent)); }
/* Main photo on the left, presentation on the right. */
.estate-detail__intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.estate-detail__intro--no-photo { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.estate-detail__photo { display: block; border-radius: 10px; overflow: hidden; position: sticky; top: 20px; }
.estate-detail__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.estate-detail__logo { max-height: 90px; max-width: 220px; width: auto; margin: 0 0 18px; }
.estate-detail__appellation { margin: 0 0 6px; color: var(--estate-accent, var(--color-accent)); font-weight: 600; letter-spacing: .02em; }
.estate-detail__name { margin: 0 0 14px; font-size: clamp(32px, 3.4vw, 52px); line-height: 1.08; }
.estate-detail__about { margin-top: 22px; font-size: 17px; line-height: 1.75; }
.estate-detail__about p { margin: 0; }
.estate-detail__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
/* The other photos: squares in a row. */
.estate-detail__photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: clamp(40px, 5vw, 70px) 0 0; }
.estate-detail__photos--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.estate-detail__photos--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.estate-detail__photos--1 { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
.estate-detail__square { display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; }
.estate-detail__square img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.estate-detail__square:hover img, .estate-detail__square:focus-visible img { transform: scale(1.05); }
/* The map beside the texts. */
.estate-detail__more { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: clamp(40px, 5vw, 70px); padding-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--line); }
.estate-detail__more--single { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.estate-detail__map { margin: 0; }
.estate-detail__map a { display: block; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 2px 14px rgba(0, 0, 0, .09); }
.estate-detail__map img { width: 100%; }
.estate-detail__map figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; }
.estate-detail__texts { display: grid; gap: 30px; }
.estate-detail__text h2 { margin: 0 0 8px; font-size: 24px; color: var(--estate-accent, var(--color-accent)); }
.estate-detail__text p { margin: 0; line-height: 1.75; }
/* Previous / next estate. */
.estate-detail__neighbours { display: flex; justify-content: space-between; gap: 20px; margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line); }
.estate-detail__neighbour { display: grid; gap: 2px; text-decoration: none; color: inherit; max-width: 46%; }
.estate-detail__neighbour span { color: var(--muted); font-size: 13px; }
.estate-detail__neighbour strong { font-family: var(--font-heading); font-weight: 400; font-size: 21px; }
.estate-detail__neighbour:hover strong { color: var(--estate-accent, var(--color-accent)); }
.estate-detail__neighbour--next { text-align: right; margin-left: auto; }

@media (max-width: 1100px) {
  .estate-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .estate-detail__intro, .estate-detail__more { grid-template-columns: minmax(0, 1fr); }
  .estate-detail__photo { position: static; }
  .estate-detail__photos, .estate-detail__photos--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .estate-card { grid-template-columns: minmax(0, 1fr); padding: 18px; gap: 18px; }
  .estate-detail__neighbour strong { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .estate-card__photo > img, .estate-detail__square img { transition: none; }
}

/* =====================================================================
   Books (parutions.php, livre.php) and the site search (recherche.php).
   A plain look for every theme; the Plume theme gives them the regine-detambel.com look.
   ===================================================================== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* The covers: 5 per row on a computer, 2 on a tablet, 1 on a phone. */
.book-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 35px 30px; }
.book-tile { display: block; text-decoration: none; color: inherit; text-align: center; }
.book-tile__cover { display: block; aspect-ratio: 1 / 1.6; background: #eee; overflow: hidden; }
.book-tile__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.book-tile:hover .book-tile__cover img { transform: scale(1.03); }
.book-tile__title { display: block; margin-top: 10px; font-size: 14px; line-height: 1.35; }
.books__empty { text-align: center; color: var(--muted); }

/* One book. */
.book__head { background: var(--color-accent); color: #fff; padding-top: 50px; }
.book__head-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; align-items: end; }
.book__cover { position: relative; align-self: start; }
.book__cover img { width: 100%; max-width: 300px; box-shadow: 0 6px 24px rgba(0, 0, 0, .25); margin-bottom: -120px; position: relative; z-index: 1; }
.book__title { margin: 0 0 40px; color: inherit; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; }
.book__title small { display: block; margin-top: .4em; font-size: .5em; line-height: 1.3; font-weight: 400; }
.book__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; padding-top: 50px; padding-bottom: 70px; }
.book__description { grid-column: 2; grid-row: 1; }
.book__meta { grid-column: 1; grid-row: 1; padding-top: 110px; font-size: 15px; }
.book__facts { font-weight: 700; line-height: 1.6; }
.book__availability { font-style: italic; color: var(--muted); }
.book__press { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.book__note { margin-top: 30px; }
.book__back a { color: var(--muted); font-size: 14px; text-decoration: none; }

/* Search results. */
.search-results__form { display: flex; gap: 10px; max-width: 560px; margin: 0 0 30px; }
.search-results__form input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); }
.search-results__title { margin: 34px 0 12px; font-size: 24px; }
.search-results__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.search-result p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.search-result__link { font-weight: 700; color: var(--color-accent); }
.search-result--book { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 16px; align-items: start; }

@media (max-width: 1024px) { .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .book-grid { grid-template-columns: minmax(0, 1fr); max-width: 360px; margin-inline: auto; }
  .book__head-inner, .book__body { grid-template-columns: minmax(0, 1fr); }
  .book__cover img { margin: 0 auto -60px; max-width: 220px; }
  .book__titles { order: -1; }
  .book__description, .book__meta { grid-column: 1; grid-row: auto; }
  .book__meta { padding-top: 0; }
  .book__body { padding-top: 90px; }
}

/* ---------- Formations and stages (pages/formation.php, pages/formations.php) ----------
   Every theme can show them; each theme only changes the colours below (--fo-*).
   Main column + a key-facts box on the right (sticky on a computer), one column on a phone. */
.fo, .fo-list-page, .fo-cards--subpages {
  --fo-accent: var(--color-text);     /* titles of sections, ticks, numbers */
  --fo-soft: #f4f2ef;                 /* panels: notes, method, key-facts box */
  --fo-frame: #d9d0ca;                /* thin frames */
}
.fo__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 56px; align-items: start; padding-top: 40px; padding-bottom: 80px; }
.fo__lead { margin-bottom: 30px; }
.fo__subtitle { margin: 0 0 6px; font-size: 18px; color: var(--muted); }
.fo__tagline { margin: 0 0 16px; font-family: var(--font-heading); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.25; }
.fo__facts-line { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; font-weight: 700; }
.fo__facts-line li + li::before { content: "•"; margin: 0 .6em; font-weight: 400; color: var(--muted); }
.fo__intro p { margin: 0 0 1em; font-size: 17px; line-height: 1.6; }
.fo__toc { margin: 0 0 40px; padding: 16px 20px; border-top: 1px solid var(--fo-frame); border-bottom: 1px solid var(--fo-frame); }
.fo__toc-title { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.fo__toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.fo__toc a { text-decoration: none; }
.fo__toc a:hover, .fo__toc a:focus-visible { text-decoration: underline; }
.fo-section { margin: 0 0 44px; scroll-margin-top: 110px; }   /* scroll-margin: not hidden under the sticky menu */
.fo-section__title { margin: 0 0 14px; font-size: 26px; line-height: 1.2; color: var(--fo-accent); }
.fo-section__duration { display: inline-block; margin-left: 10px; padding: 2px 10px; border: 1px solid currentColor; border-radius: 20px; font-size: 13px; vertical-align: middle; }
.fo-section__intro { margin: 0 0 12px; }
.fo-section__text p, .fo-interview p { margin: 0 0 1em; line-height: 1.65; }
.fo-section__source { margin: -6px 0 14px; font-style: italic; color: var(--muted); }
.fo-section__note { margin: 16px 0 0; padding-left: 14px; border-left: 3px solid var(--fo-frame); font-size: 14px; color: var(--muted); }
/* Panels: notes (Supervision, Nota bene) and the method. */
.fo-section--note { padding: 22px 24px; background: var(--fo-soft); }
.fo-section--note .fo-section__title { font-size: 20px; }
.fo-section--methode { padding: 22px 24px; border: 1px solid var(--fo-frame); }
.fo-section--module { padding: 22px 24px; border: 1px solid var(--fo-frame); border-left: 4px solid var(--fo-accent); }
.fo-section--module .fo-section__title { font-size: 22px; }
.fo-section > :last-child, .fo-section__text > :last-child { margin-bottom: 0; }
/* Lists: plain, with ticks (objectives, "pour qui"), numbered (learning goals). */
.fo-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.fo-list li { position: relative; padding-left: 26px; line-height: 1.55; }
.fo-list--liste li::before, .fo-list--presse li::before { content: ""; position: absolute; left: 6px; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--fo-accent); }
.fo-list--objectifs li::before, .fo-list--pourqui li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--fo-accent); font-weight: 700; }
.fo-list--numbered { counter-reset: goal; gap: 14px; }
.fo-list--numbered li { counter-increment: goal; padding-left: 46px; min-height: 32px; }
.fo-list--numbered li::before { content: counter(goal); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--fo-accent); color: #fff; font-weight: 700; font-size: 15px; }
/* Programme: labels. */
.fo-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fo-tags li { padding: 6px 14px; border: 1px solid var(--fo-frame); border-radius: 20px; font-size: 14px; line-height: 1.3; }
/* Quotation. */
.fo-quote { margin: 0; }
.fo-quote__context { margin: 0 0 12px; color: var(--muted); }
.fo-quote blockquote { position: relative; margin: 0; padding: 8px 0 8px 40px; font-family: var(--font-heading); font-size: 19px; font-style: italic; line-height: 1.55; }
.fo-quote blockquote::before { content: "«"; position: absolute; left: 0; top: -8px; font-size: 48px; line-height: 1; color: var(--fo-accent); font-style: normal; }
.fo-quote blockquote p { margin: 0 0 .8em; }
.fo-quote__source { margin: 8px 0 0 40px; font-size: 14px; color: var(--muted); }
/* Interview "Lire la suite", questions and answers. */
.fo-more summary { cursor: pointer; display: inline-block; margin: 4px 0 12px; font-weight: 700; color: var(--fo-accent); }
.fo-more[open] summary { margin-bottom: 16px; }
.fo-qa { margin: 0; }
.fo-qa dt { margin: 18px 0 6px; font-weight: 700; }
.fo-qa dt:first-child { margin-top: 0; }
.fo-qa__mark { color: var(--fo-accent); }
.fo-qa dd { margin: 0; padding-left: 22px; line-height: 1.6; }
/* Trainer. */
.fo-trainer__card { display: flex; gap: 22px; align-items: flex-start; padding: 22px 24px; background: var(--fo-soft); }
.fo-trainer__photo { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; flex: none; }
.fo-trainer__text p { margin: 0 0 .9em; line-height: 1.6; }
.fo-trainer__text > :last-child { margin-bottom: 0; }
.fo-trainer__note { font-style: italic; }
/* Media, books, related formations. */
.fo-media { display: grid; gap: 24px; }
.fo-books__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 150px)); gap: 20px; }
.fo-books__list a { display: grid; gap: 8px; text-decoration: none; color: inherit; font-size: 14px; line-height: 1.3; }
.fo-books__list img { width: 100%; height: auto; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }
.fo-related__list, .fo-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.fo-card { display: grid; gap: 6px; align-content: start; height: 100%; padding: 20px 22px; border: 1px solid var(--fo-frame); text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
.fo-card:hover, .fo-card:focus-visible { border-color: var(--fo-accent); box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
.fo-card__kind { font-size: 13px; color: var(--muted); }
.fo-card__name { font-family: var(--font-heading); font-size: 21px; line-height: 1.2; color: var(--fo-accent); }
.fo-card__subtitle { font-size: 15px; color: var(--muted); }
.fo-card__facts { font-size: 14px; font-weight: 700; }
.fo-card__summary { font-size: 15px; line-height: 1.5; }
.fo-card__more { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--fo-accent); }
.fo__back a { color: var(--muted); font-size: 14px; text-decoration: none; }
.fo-list-page__kind { margin: 10px 0 18px; font-size: 28px; }
.fo-list-page__kind ~ .fo-list-page__kind { margin-top: 50px; }
.fo-list-page .fo-cards, .fo-cards.fo-cards--subpages { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 26px; }
/* The key-facts box. */
.fo__aside { position: sticky; top: 110px; }
.fo-box { padding: 24px; background: var(--fo-soft); border-top: 4px solid var(--fo-accent); }
.fo-box__kind { margin: 0 0 14px; font-size: 13px; font-weight: 700; color: var(--fo-accent); }
.fo-box__facts { margin: 0 0 16px; display: grid; gap: 14px; }
.fo-box__facts dt { margin: 0 0 3px; font-size: 13px; color: var(--muted); }
.fo-box__facts dd { margin: 0; line-height: 1.45; }
.fo-box__places { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fo-box__place { display: grid; gap: 1px; }
.fo-box__place-kind { font-size: 12px; font-weight: 700; color: var(--fo-accent); }
.fo-box__place-condition, .fo-box__register { font-size: 13px; color: var(--muted); }
a.fo-box__register { color: inherit; text-decoration: underline; }
.fo-box__certificate { margin: 0 0 16px; font-size: 14px; }
.fo-box__actions { display: grid; gap: 10px; margin: 0 0 14px; }
.fo-box__button { display: block; width: 100%; text-align: center; white-space: normal; }
.fo-box__button--light { background: transparent; }
.fo-box__email, .fo-box__phone { margin: 0 0 8px; font-size: 14px; line-height: 1.45; }
.fo-box__phone { color: var(--muted); }
.fo-box .share { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--fo-frame); }
@media (max-width: 900px) {
  .fo__grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 24px; }
  .fo__main { display: contents; }               /* lets the box sit right after the introduction */
  .fo__lead { order: 0; }
  .fo__aside { order: 1; position: static; margin: 0 0 36px; }
  .fo__toc, .fo-section, .fo__back { order: 2; }
  .fo-trainer__card { flex-direction: column; }
}
/* Video / sound block of the Media link program (partials/media-block.php), plain version; themes may restyle it. */
.pl-media-block { display: flow-root; border: 1px solid var(--line); padding: 18px 20px; }
.pl-media-block__title { margin: 0 0 12px; font-size: 19px; }
.pl-media-block__video { float: left; width: 50%; margin: 4px 24px 12px 0; }
.pl-media-block__video video { display: block; width: 100%; }
.pl-media-block__text p { margin: 0 0 .8em; }
.pl-media-block__audio { clear: both; display: block; width: 100%; margin-top: 14px; }
@media (max-width: 767px) { .pl-media-block__video { float: none; width: 100%; margin: 0 0 12px; } }
/* The request form of a formation page (Informations et inscription). */
.fo-request { padding: 26px 28px; border: 1px solid var(--fo-frame); }
.fo-request__intro { margin: 0 0 18px; }
.fo-request__status { margin: 0 0 18px; padding: 12px 16px; border-left: 4px solid; }
.fo-request__status--ok { border-color: #2e7d32; background: #edf6ee; }
.fo-request__status--error { border-color: #b3261e; background: #fbeceb; }
.fo-form { display: grid; gap: 16px; }
.fo-form__kinds { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.fo-form__kinds legend { padding: 0; margin-bottom: 8px; font-size: 14px; color: var(--muted); }
.fo-form__choice { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.fo-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fo-form__field { display: grid; gap: 5px; font-size: 14px; }
.fo-form__field > span { color: var(--muted); }
.fo-form__field small { font-size: 12px; }
.fo-form__field input, .fo-form__field select, .fo-form__field textarea { width: 100%; padding: 10px 12px; border: 1px solid #c9c2bc; border-radius: 3px; background: #fff; font: inherit; font-size: 15px; color: inherit; }
.fo-form__field input:focus, .fo-form__field select:focus, .fo-form__field textarea:focus { outline: 2px solid var(--fo-accent); outline-offset: 1px; border-color: transparent; }
.fo-form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.fo-form__consent input { margin-top: 3px; flex: none; }
.fo-form__send { justify-self: start; }
.fo-request__direct { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width: 600px) { .fo-form__row { grid-template-columns: 1fr; } .fo-request { padding: 20px 18px; } .fo-form__send { justify-self: stretch; } }
.fo-form input[type=radio], .fo-form input[type=checkbox] { accent-color: var(--fo-accent); width: 16px; height: 16px; }
/* Stars (partials/stars.php): five grey stars with the lit ones on top, as wide as the average. */
.fo-stars { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; }
.fo-stars__drawing { position: relative; display: inline-block; color: #d6cfc9; font-size: 18px; letter-spacing: 2px; line-height: 1; white-space: nowrap; }
.fo-stars__lit { position: absolute; left: 0; top: 0; overflow: hidden; color: var(--fo-accent, #b20f1b); white-space: nowrap; }
.fo-stars__count { color: var(--muted); }
.fo-box__rating { margin: -6px 0 14px; }
.fo-box__rating a { color: inherit; text-decoration: none; }
.fo-reviews__summary { margin: -4px 0 18px; }
.fo-reviews__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.fo-review { padding: 18px 20px; border: 1px solid var(--fo-frame); }
.fo-review .fo-stars__count { display: none; }
.fo-review__text { margin: 10px 0; font-family: var(--font-heading); font-size: 17px; line-height: 1.55; }
.fo-review__who { margin: 0; font-size: 14px; }
.fo-review__date { margin-left: 8px; color: var(--muted); }
.fo-reviews .fo-more { margin-top: 16px; }
.fo-reviews .fo-more .fo-reviews__list { margin-top: 4px; }
/* The review form (avis.php): five big stars to click. They are written 5 → 1 and shown 1 → 5, so a star lights the ones before it. */
.fo-review-page { max-width: 760px; padding-top: 40px; padding-bottom: 80px; }
.fo-review-page__lead { font-size: 18px; margin: 0 0 24px; }
.fo-stars-input { margin: 0; padding: 0; border: 0; }
.fo-stars-input legend { margin-bottom: 6px; font-size: 14px; color: var(--muted); }
.fo-stars-input__row { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.fo-stars-input { position: relative; }
.fo-stars-input input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; clip-path: inset(50%); }   /* invisible, never in the way of a click; still usable with the keyboard */
.fo-stars-input label { cursor: pointer; font-size: 36px; line-height: 1; color: #d6cfc9; transition: color .15s; }
.fo-stars-input label:hover, .fo-stars-input label:hover ~ label,
.fo-stars-input input:checked ~ label { color: var(--fo-accent, #b20f1b); }
.fo-stars-input input:focus-visible + label { outline: 2px solid var(--fo-accent, #b20f1b); outline-offset: 2px; }
.fo-review-page { --fo-accent: var(--color-text); --fo-frame: #d9d0ca; }
/* The first title on a formation page (written exactly as typed in the admin, capitals included). */
.fo__heading { margin: 0 0 14px; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.2; text-transform: none; letter-spacing: .02em; color: var(--fo-accent); }
/* The breadcrumb at the top of a formation page: Accueil › Formations › … */
.fo-breadcrumb { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.fo-breadcrumb a { color: inherit; text-decoration: none; }
.fo-breadcrumb a:hover, .fo-breadcrumb a:focus-visible { text-decoration: underline; }
.fo-breadcrumb [aria-current] { color: var(--color-text); }
@media (max-width: 900px) { .fo-breadcrumb { order: -1; } }

/* Formation page, the narrow column: the images (with their caption) ABOVE the key facts box, the PDFs UNDER it
   (their first page if any, and a red button with the link text). The column scrolls with the page when it holds files. */
.fo__aside--with-files { position: static; }
.fo-column { display: grid; gap: 18px; margin-top: 24px; }
.fo-column--images { margin: 0 0 24px; }
.fo-column__image { margin: 0; }
.fo-column__image img { display: block; width: 100%; height: auto; }
.fo-column__image figcaption { margin-top: 6px; font-size: 13px; color: var(--muted, #777); }
.fo-column__pdf { display: grid; gap: 8px; text-decoration: none; }
.fo-column__pdf img { display: block; width: 100%; height: auto; border: 1px solid #ccc; }
.fo-column__pdf-button { display: block; text-align: center; }

/* A press article given as a PDF: the "PDF" tile on its card, and the PDF shown on the article page. */
.card__placeholder--pdf { display: grid; place-items: center; background: #f1ede8; }
.card__placeholder--pdf span { padding: 10px 16px; border: 2px solid currentColor; border-radius: 4px; font-weight: 700; letter-spacing: .12em; color: #8a2d2d; }
.article__pdf-link { margin: 18px 0; }
.article__pdf { display: block; width: 100%; height: 80vh; min-height: 520px; margin: 0 0 28px; border: 1px solid #ddd; background: #f6f6f6; }
@media (max-width: 700px) { .article__pdf { display: none; } }   /* phones: the button opens it full screen */

/* "Add the site to your home screen" window (phones). */
.home-screen__box { text-align: center; justify-items: center; }
.home-screen__icon { width: 72px; height: 72px; border-radius: 16px; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
.home-screen__box h2 { margin: 4px 0 0; }
.home-screen__box p { margin: 0; }
.home-screen__android, .home-screen__box > .btn { width: 100%; }
.home-screen__ios { margin: 4px 0; padding: 0 0 0 1.4em; text-align: left; display: grid; gap: 8px; }
.home-screen [hidden] { display: none; }   /* only the part for this device (Android button, menu, iPhone steps, computer keys) */
.home-screen__hint { margin: 4px 0; }
.newsletter-band__actions .btn[hidden] { display: none; }   /* the "Bookmark" button until app.js shows it */
.home-screen__share { vertical-align: -5px; margin-left: 4px; }

/* ---------- Special offers (sections/offers.php, partials/offer.php): home page and wine list ----------
   Like the estates' printed offers: a white card, the title on a wine-coloured band, the wines side by side
   (bottle, number of bottles in a circle, name, a few lines) with « + » between them, then the price with the
   normal price crossed out and « Ajouter l'offre au panier ». Dark text on white in every theme.
   A theme may change the colour: --offer-colour. */
.offers { padding: 40px 0; background: transparent; }
.offers .container { display: grid; gap: 36px; }
.offer {
  --offer-colour: #8B1A2B;
  background: #fff; color: #2A2A2A; text-shadow: none; border: 1px dashed rgba(0, 0, 0, .28);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .10); overflow: hidden;
  font-family: var(--font-body);
}
.offer a { color: inherit; }
.offer__title {
  margin: 0; padding: 12px 20px 10px; background: var(--offer-colour); color: #fff; text-align: center;
  font-family: var(--font-body); font-weight: 600; font-size: clamp(24px, 3.2vw, 36px); letter-spacing: .01em; text-transform: none;
}
.offer__intro { margin: 18px auto 0; padding: 0 24px; max-width: 760px; text-align: center; color: #555; font-size: 15px; }
.offer__wines {
  display: grid; grid-template-columns: repeat(calc(var(--offer-wines) * 2 - 1), auto);
  grid-template-columns: minmax(0, 1fr) repeat(calc(var(--offer-wines) - 1), auto minmax(0, 1fr));
  gap: 10px; align-items: start; padding: 26px clamp(16px, 2.6vw, 34px) 10px;
}
.offer__plus { align-self: start; margin-top: 8px; font-size: 30px; font-weight: 700; line-height: 1; color: var(--offer-colour); }
.offer__wine { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; min-width: 0; }
.offer__bottle { display: block; }
.offer__bottle img { height: clamp(180px, 20vw, 250px); width: auto; max-width: 90px; object-fit: contain; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .15)); }
.offer__head { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.offer__count {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--offer-colour); color: #fff; font-weight: 700; font-size: 21px; line-height: 1;
}
.offer__name { display: block; font-weight: 700; font-size: 17px; line-height: 1.2; color: var(--offer-colour); text-decoration: none; }
.offer__name:hover { text-decoration: underline; }
.offer__kind { display: block; color: #A8862B; font-weight: 600; }
.offer__text { margin: 0; font-size: 14px; line-height: 1.5; color: #2F2F2F; }
.offer__deal { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 26px; padding: 14px 20px 6px; }
.offer__prices { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 16px; }
.offer__bottles { font-size: 20px; font-weight: 600; color: var(--offer-colour); }
.offer__price { font-size: clamp(30px, 3.6vw, 40px); font-weight: 800; color: var(--offer-colour); line-height: 1; }
.offer__normal { font-size: 22px; color: #555; text-decoration-color: var(--offer-colour); text-decoration-thickness: 2px; }
.offer__badge { align-self: center; padding: 3px 10px; border-radius: 20px; background: var(--offer-colour); color: #fff; font-size: 14px; font-weight: 700; }
.offer__buy { margin: 0; }
.offer__button { background: var(--offer-colour); border-color: var(--offer-colour); color: #fff; }
.offer__button:hover { filter: brightness(1.12); background: var(--offer-colour); }
.offer__terms { margin: 4px 0 0; padding: 6px 20px 18px; text-align: center; font-size: 13px; color: #666; }
.offer__conditions { display: block; margin-top: 2px; font-style: italic; }
@media (max-width: 900px) {
  .offer__wines { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .offer__plus { justify-self: center; margin: 0; }
  .offer__bottle img { height: 170px; }
}
/* On the wine list: inside the page's own width, a little air before the wines. */
.offers--wines { padding: 6px 0 40px; display: grid; gap: 30px; }
/* Special offers in the cart (partials/cart-offer-rows.php) and the checkout summary (partials/checkout-offer-lines.php). */
.cart-offer__label { display: inline-block; padding: 1px 8px; border-radius: 10px; background: #8B1A2B; color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }
.cart-offer small { display: block; }
.checkout-lines__detail { display: block; font-size: 12px; opacity: .75; }
/* The offer's button keeps the offer's colour in every theme. */
.offer .btn.offer__button, .offer .btn.offer__button:hover { background: var(--offer-colour); border-color: var(--offer-colour); color: #fff; }
.offer .btn.offer__button:hover { filter: brightness(1.12); }
/* The « PROMO » entry of the main menu (partials/menu-promo.php): a small wine-red label with a gently pulsing dot,
   in every theme, whatever the menu's own colours. */
.menu-promo { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 20px;
  background: #8B1A2B; color: #fff; font-weight: 700; letter-spacing: .08em; line-height: 1.4; white-space: nowrap; }
.menu-promo__dot { width: 7px; height: 7px; border-radius: 50%; background: #FFD27A; box-shadow: 0 0 0 0 rgba(255, 210, 122, .8);
  animation: menu-promo-pulse 1.8s ease-out infinite; }
@keyframes menu-promo-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 210, 122, .8); } 70%, 100% { box-shadow: 0 0 0 7px rgba(255, 210, 122, 0); } }
.menu__item--promo > a.menu-promo__link, a.menu-promo__link { text-decoration: none; }
.menu__item--promo > a.menu-promo__link:hover .menu-promo, a.menu-promo__link:hover .menu-promo { background: #A52235; }
/* The offers on the wine list can be reached from the menu (vins.php#offres), below the fixed headers. */
#offres { scroll-margin-top: 140px; }

/* ---------- Special offer that is only an announcement (partials/offer-announcement.php): « −20 % sur tous les vins » ---------- */
.offer--announcement { text-align: center; padding-bottom: 22px; }
.offer--announcement .offer__headline {
  margin: 22px auto 0; padding: 0 24px; max-width: 760px; color: var(--offer-colour);
  font-family: var(--font-heading, var(--font-body)); font-weight: 700; font-size: clamp(26px, 4vw, 44px); line-height: 1.15;
}
.offer--announcement .offer__intro { margin-top: 12px; }
.offer--announcement .offer__deal--announcement { display: block; margin: 20px 0 0; padding: 0; border: 0; background: none; text-align: center; }
.offer--announcement .offer__terms { margin-top: 14px; }
