/* =====================================================================
   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; }
.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: grid; place-items: center; padding: 50px 70px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; }
.lightbox figcaption { color: #ddd; text-align: center; margin-top: 10px; }
.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: 60px; width: auto; filter: grayscale(1) brightness(1.6); opacity: .8; }
.sponsor:hover 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-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; }
  .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: 50px 10px; }
}

@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; }
}
