/** Shopify CDN: Minification failed

Line 525:12 Expected identifier but found whitespace
Line 525:13 Unexpected ".75rem"

**/
/* Es Fangar — design system & layout. Mobile-first.
   Ported from the approved prototype (esfangar-sito/src/assets/css/site.css); Shopify additions at the end. */

/* Brand fonts (Brandbook 2026): Playfair Display Bold for titles, Poppins for text. Self-hosted, latin subset (Google Fonts, OFL).
   Solano Gothic MVB (short brand labels) needs a webfont licence: add its @font-face and put it first in --label when available. */
@font-face { font-family: 'Playfair Display'; src: url('playfair-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('playfair-700-italic.woff2') format('woff2'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('poppins-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('poppins-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('poppins-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  /* Brand palette (Brandbook 2026, revised edition) */
  --purpura: #592C82;            /* Púrpura Fangar */
  --negro: #1C1C1C;
  --arena: #ECE3D6;
  --arena-dorada: #E8DCB8;
  --blanco: #FFFFFF;

  /* roles */
  --ivory: var(--blanco);        /* page background */
  --stone: var(--arena);         /* alternate sections */
  --paper: var(--blanco);        /* behind product photos, inputs */
  --ink: var(--negro);
  --muted: #595957;              /* Negro tint for secondary text (7:1 on Blanco, 5.6:1 on Arena) */
  --line: rgba(28, 28, 28, .16);
  --violet: var(--purpura);
  --violet-deep: #44206A;        /* Púrpura Fangar shade for hover */
  --night: var(--negro);
  --night-2: #2A2A2A;
  --on-dark: var(--blanco);
  --on-dark-muted: var(--arena);
  --accent-on-dark: var(--arena-dorada); /* eyebrows and details on dark backgrounds */
  --error: #A3261B;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --fs-display: clamp(2.4rem, 1.5rem + 4vw, 5.25rem);
  --fs-h1: clamp(2.2rem, 1.6rem + 2.6vw, 4rem);
  --fs-h2: clamp(1.8rem, 1.35rem + 1.8vw, 2.85rem);
  --fs-h3: clamp(1.3rem, 1.15rem + .55vw, 1.65rem);
  --fs-lead: clamp(1.05rem, .98rem + .35vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: .9rem;
  --fs-eyebrow: .75rem;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --section: clamp(4.5rem, 3rem + 6vw, 9.5rem);
  --radius: 2px;
  --header-h: 72px;
  --bar-h: 0px;                  /* announcement bar above the header, when shown */
  --ease: cubic-bezier(.22, .61, .36, 1);
}
@media (min-width: 1180px) { :root { --header-h: 88px; } }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--bar-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: var(--fs-body); line-height: 1.7; font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p, ul, ol, dl, address, figure { margin: 0 0 1.1em; }
p { text-wrap: pretty; max-width: 68ch; }
address { font-style: normal; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--violet); }
em { font-style: italic; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
main:focus { outline: none; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 1px; }
.feature :focus-visible, .section--night :focus-visible, .page-hero :focus-visible, .home-hero :focus-visible, .cta-band :focus-visible,
.site-footer :focus-visible, .not-found :focus-visible, html.js .has-overlay:not(.menu-open) .site-header :focus-visible { outline-color: var(--on-dark); }
html.is-scrolled .site-header :focus-visible, html.menu-open .site-header :focus-visible { outline-color: var(--violet); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 100; background: var(--violet); color: var(--ivory); padding: .75rem 1.1rem; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- layout primitives ---------- */
.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(820px + 2 * var(--gutter)); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem); }
.section--stone { background: var(--stone); }
.section--night { background: var(--night); color: var(--on-dark); }
.section--night p { color: var(--on-dark-muted); }
.section--night .eyebrow { color: var(--accent-on-dark); }
.center { text-align: center; margin-top: clamp(2rem, 4vw, 3.5rem); }
p.center { max-width: none; } /* a centred button row spans the whole width (paragraphs are otherwise capped at 68ch) */
.section-title { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 { margin-bottom: .3em; }
.section-head p { margin: 0; color: var(--muted); }
.section--night .section-head p { color: var(--on-dark-muted); }
.small-title { font-size: var(--fs-h3); }

.eyebrow { font-family: var(--sans); font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); margin-bottom: 1.2rem; }
.display { font-size: var(--fs-display); line-height: 1.05; font-weight: 700; letter-spacing: -.015em; }
.display em, h1 em { font-style: italic; font-weight: 700; }
.note { font-size: var(--fs-small); color: var(--muted); border-left: 2px solid var(--violet); padding-left: .9rem; }

.arch { overflow: hidden; border-radius: 999px 999px var(--radius) var(--radius); }
.arch picture { width: 100%; height: 100%; }
.arch img, .arch video { width: 100%; height: 100%; object-fit: cover; }
.split__media .arch img, .mosaic .arch img { aspect-ratio: auto; }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px; padding: .8rem 1.6rem; border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--sans); font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; line-height: 1.2; text-align: center;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--violet); color: var(--ivory); }
.btn--primary:hover { background: var(--violet-deep); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); }
.btn--light { border-color: rgba(255, 255, 255, .75); color: var(--on-dark); background: transparent; }
.btn--light:hover { background: var(--on-dark); color: var(--night); }
.btn--light-solid { background: var(--on-dark); color: var(--night); }
.btn--light-solid:hover { background: #fff; }
.btn--small { min-height: 44px; padding: .55rem 1rem; font-size: .75rem; letter-spacing: .12em; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding-block: .6rem; }
.link-arrow svg { width: 1.25em; height: 1.25em; transition: transform .25s var(--ease); }
.link-arrow:hover svg, a:hover .link-arrow svg { transform: translateX(4px); }
.link-button { background: none; border: 0; padding: .25rem 0; font-size: .8125rem; color: var(--muted); text-decoration: underline; text-underline-offset: .2em; min-height: 32px; }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; padding: 0; }
.icon-button svg { width: 24px; height: 24px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line); color: var(--ink);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
@supports (backdrop-filter: blur(8px)) { .site-header { backdrop-filter: blur(10px); background: rgba(255, 255, 255, .86); } }
/* the blur makes the header the containing block of the fixed menu panel, which then shrank to a strip: off while the menu is open */
html.js.menu-open .site-header { backdrop-filter: none; background: rgba(255, 255, 255, .96); }
.site-header__inner { display: flex; align-items: center; gap: 1rem; height: var(--header-h); max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
html.js .has-overlay .site-header { position: fixed; inset: 0 0 auto; background: transparent; backdrop-filter: none; border-color: transparent; color: var(--on-dark); }
html.js .has-overlay .site-header::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(rgba(28, 28, 28, .45), transparent); pointer-events: none; transition: opacity .35s; z-index: -1; }
html.js.is-scrolled .has-overlay .site-header, html.js.menu-open .has-overlay .site-header { background: rgba(255, 255, 255, .96); color: var(--ink); border-color: var(--line); }
html.js.is-scrolled .has-overlay .site-header::before, html.js.menu-open .has-overlay .site-header::before { opacity: 0; }

/* Logo: full lockup (emblem above ES FANGAR), also once the page scrolls */
.logo { position: relative; display: grid; place-items: center start; text-decoration: none; color: var(--violet); flex: none; transition: color .35s; }
.logo > svg { grid-area: 1 / 1; height: auto; transition: opacity .45s var(--ease), transform .55s var(--ease); }
.logo__full { width: 62px; transform-origin: left center; }
html.js .has-overlay .site-header .logo { color: currentColor; }
html.js.is-scrolled .has-overlay .site-header .logo, html.js.menu-open .has-overlay .site-header .logo { color: var(--violet); }
@media (min-width: 1180px) { .logo__full { width: 84px; } }

.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav a { text-decoration: none; }
.header-tools { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.lang-switch { display: flex; }
.lang-switch :is(a, button) { display: grid; place-items: center; min-width: 36px; min-height: 44px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-decoration: none; opacity: .7; }
.lang-switch :is(a, button)[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: .45em; }
.lang-switch :is(a, button):hover { opacity: 1; }
.header-enquire { display: none; }
.lang-switch--menu { gap: 1.25rem; }
.lang-switch--menu :is(a, button) { min-width: 0; font-size: .875rem; letter-spacing: .08em; }
@media (max-width: 599px) {
  html.js .header-tools .lang-switch { display: none; }
  .logo__full { width: 56px; }
}
@media (min-width: 600px) { .lang-switch--menu { display: none; } }
.cart-button { position: relative; display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; padding: 0; color: inherit; }
.cart-button svg { width: 24px; height: 24px; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--violet); color: var(--ivory); font-size: .6875rem; line-height: 18px; font-weight: 600; }
.cart-count.is-empty { display: none; }
.cart-button.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.18); } }
.menu-button { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: 0 .25rem 0 .5rem; background: none; border: 0; color: inherit; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.menu-button__bars { position: relative; width: 22px; height: 10px; }
.menu-button__bars::before, .menu-button__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-button__bars::before { top: 0; } .menu-button__bars::after { top: 8px; }
.menu-button[aria-expanded="true"] .menu-button__bars::before { top: 4px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-button__bars::after { top: 4px; transform: rotate(-45deg); }

/* mobile / tablet navigation panel */
@media (max-width: 1179px) {
  html:not(.js) .site-header__inner { flex-wrap: wrap; height: auto; padding-block: .75rem; }
  html:not(.js) .primary-nav { order: 3; width: 100%; overflow-x: auto; }
  html:not(.js) .primary-nav ul { display: flex; gap: 1.25rem; white-space: nowrap; font-size: .875rem; }
  html:not(.js) .primary-nav__extra, html:not(.js) .menu-button { display: none; }
  html.js .primary-nav { position: fixed; inset: calc(var(--header-h) + var(--bar-h)) 0 0; z-index: -1; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
    padding: clamp(1.5rem, 5vh, 3rem) var(--gutter) 2rem; background: var(--ivory); color: var(--ink); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
  html.js.menu-open .primary-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  html.js.menu-open body { overflow: hidden; }
  .primary-nav ul a { display: block; padding: .35rem 0; font-family: var(--serif); font-size: clamp(2rem, 1.5rem + 3vw, 3rem); line-height: 1.15; }
  .primary-nav ul a[aria-current] { color: var(--violet); font-style: italic; }
  .primary-nav__extra { display: grid; gap: 1.25rem; justify-items: start; }
  .primary-nav__contact { font-size: var(--fs-small); color: var(--muted); margin: 0; }
}
@media (min-width: 700px) { .header-enquire { display: inline-flex; align-items: center; min-height: 44px; margin-inline: .5rem .25rem; padding: 0 1rem; border: 1px solid currentColor; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
  .header-enquire:hover { background: var(--violet); border-color: var(--violet); color: var(--ivory); } }
@media (min-width: 1180px) {
  .menu-button, .primary-nav__extra { display: none; }
  .primary-nav { margin-inline: auto; }
  .primary-nav ul { display: flex; gap: clamp(1rem, 1.6vw, 2rem); }
  .primary-nav ul a { position: relative; display: block; padding-block: .75rem; font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
  .primary-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .45rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .primary-nav ul a:hover::after, .primary-nav ul a[aria-current]::after { transform: scaleX(1); }
  .header-tools { margin-left: 0; }
}

/* ---------- home hero ---------- */
.home-hero { position: relative; display: grid; align-items: end; min-height: max(600px, 100svh); color: var(--on-dark); background: var(--night); isolation: isolate; overflow: hidden; overflow: clip; }
.home-hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.home-hero__media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28, 28, 28, .85) 0%, rgba(28, 28, 28, .45) 40%, rgba(28, 28, 28, .12) 68%, rgba(28, 28, 28, .4) 100%); }
@media (min-width: 900px) {
  .home-hero__media::after { background:
    linear-gradient(90deg, rgba(28, 28, 28, .72) 0%, rgba(28, 28, 28, .45) 38%, rgba(28, 28, 28, 0) 65%),
    linear-gradient(to top, rgba(28, 28, 28, .6) 0%, rgba(28, 28, 28, 0) 45%, rgba(28, 28, 28, 0) 80%, rgba(28, 28, 28, .4) 100%); }
}
.home-hero__content > * { text-shadow: 0 1px 18px rgba(28, 28, 28, .35); }
.home-hero__poster, .home-hero__poster img, .home-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero__video { opacity: 0; transition: opacity 1.2s var(--ease); }
.home-hero__video.is-playing { opacity: 1; }
.home-hero__content { padding-top: calc(var(--header-h) + var(--bar-h) + 3rem); padding-bottom: clamp(3.5rem, 9vh, 7rem); }
.home-hero .eyebrow { color: var(--accent-on-dark); }
.home-hero h1 { max-width: 13ch; margin-bottom: .35em; }
.home-hero__lead { font-size: var(--fs-lead); font-weight: 400; max-width: 46ch; color: var(--on-dark); }
.video-toggle { position: absolute; right: var(--gutter); bottom: clamp(1.25rem, 4vh, 2.5rem); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .6); background: rgba(28, 28, 28, .35); color: var(--on-dark); padding: 0; }
.video-toggle svg { width: 18px; height: 18px; grid-area: 1 / 1; }
.video-toggle svg:nth-of-type(2), .video-toggle.is-paused svg:nth-of-type(1) { display: none; }
.video-toggle.is-paused svg:nth-of-type(2) { display: block; }
.video-toggle:hover { background: rgba(28, 28, 28, .6); }
@media (max-width: 699px) { .home-hero .button-row .btn { flex: 1 1 100%; } .video-toggle { bottom: auto; top: calc(var(--header-h) + var(--bar-h) + 1rem); } }

.stats-band { background: var(--ivory); border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.stats li { display: flex; flex-direction: column; padding: 1.6rem 1rem 1.6rem 0; border-top: 1px solid var(--line); }
.stats__n { font-family: var(--serif); font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.4rem); line-height: 1; color: var(--violet); }
.stats__l { font-size: var(--fs-small); color: var(--muted); margin-top: .4rem; hyphens: auto; overflow-wrap: break-word; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: manual; }
:lang(de) h1, :lang(de) h2, :lang(de) h3, :lang(de) .stats__l, :lang(de) .tags li { hyphens: auto; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .stats-band .stats li { border-top: 0; padding-block: 2.5rem; } .stats-band .stats li + li { border-left: 1px solid var(--line); padding-left: 2rem; } }
.stats--inline { grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); column-gap: 1rem; margin-top: 1rem; }
.split > *, .info-cols > *, .visit__grid > *, .contact-grid > *, .intro__grid > * { min-width: 0; }
.stats--inline .stats__n { font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.4rem); }
.stats--boxed { margin-top: clamp(3rem, 6vw, 5rem); }

/* ---------- page heroes ---------- */
.page-hero { position: relative; display: grid; align-items: end; min-height: max(520px, 78svh); color: var(--on-dark); background: var(--night); isolation: isolate; overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28, 28, 28, .8), rgba(28, 28, 28, .2) 55%, rgba(28, 28, 28, .4)); }
.page-hero--violet .page-hero__media::after { background: linear-gradient(to top, rgba(36, 14, 56, .88), rgba(89, 44, 130, .25) 60%, rgba(36, 14, 56, .45)); }
.page-hero__media picture, .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__content { padding-top: calc(var(--header-h) + var(--bar-h) + 4rem); padding-bottom: clamp(3rem, 8vh, 6rem); }
.page-hero .eyebrow { color: var(--accent-on-dark); }
.page-hero h1 { max-width: 16ch; }
.page-hero__lead { font-size: var(--fs-lead); font-weight: 400; max-width: 52ch; }
@media (prefers-reduced-motion: no-preference) {
  .page-hero__media img, .home-hero__poster img { animation: settle 2.8s var(--ease) both; }
  @keyframes settle { from { transform: scale(1.08); } to { transform: none; } }
}
.shop-hero { padding-top: clamp(3rem, 6vw, 6rem); padding-bottom: clamp(1rem, 2vw, 2rem); }
.contact-page { padding-top: clamp(3rem, 6vw, 6rem); }
.contact-hero { padding-bottom: clamp(2rem, 3vw, 3rem); }
@media (min-width: 1000px) { .contact-info { padding-top: 1.4rem; } } /* "Address" level with the page title (the eyebrow above it is .75rem + 1.2rem margin) */
.contact-hero .page-hero__lead, .shop-hero .page-hero__lead { color: var(--muted); }
.shop-hero__grid { display: grid; gap: 2rem; align-items: center; }
.shop-hero__logo { display: none; color: var(--violet); }
@media (min-width: 900px) { .shop-hero__grid { grid-template-columns: 1fr auto; } .shop-hero__logo { display: block; width: 190px; opacity: .9; } }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 1.5rem 0 0; margin: 0; font-size: var(--fs-small); color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.breadcrumbs a { text-decoration: none; } .breadcrumbs a:hover { text-decoration: underline; }

/* ---------- intro / split / pillars ---------- */
.intro__grid { display: grid; gap: 1.5rem 4rem; }
.intro__text { font-family: var(--sans); font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); line-height: 1.6; max-width: 44ch; }
@media (min-width: 900px) { .intro__grid { grid-template-columns: 5fr 7fr; align-items: start; } }

.split { display: grid; gap: clamp(2.5rem, 5vw, 6rem); align-items: center; }
.split__text p { color: var(--muted); }
.section--night .split__text p, .feature .split__text p { color: var(--on-dark-muted); }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__media .arch { aspect-ratio: 4 / 5; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--reverse .split__media { order: -1; } }
.mosaic { display: grid; grid-template-columns: 3fr 2fr; gap: 1rem; align-items: end; }
.mosaic > div:last-child img { aspect-ratio: 3 / 4; }

.pillars__grid { display: grid; gap: clamp(2rem, 3vw, 2.5rem); margin: 0; }
@media (min-width: 600px) { .pillars__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .pillars__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .pillars__grid:has(> :nth-child(5)) { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; } .pillars__grid:has(> :nth-child(6)) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3vw, 2.5rem); } }
.pillar { display: flex; flex-direction: column; }
/* link at the foot of every card, so the links line up whatever the length of the text (and the language) */
.pillar a { display: flex; flex-direction: column; flex: 1; text-decoration: none; }
.pillar .link-arrow { margin-top: auto; align-self: flex-start; }
.pillar__media { aspect-ratio: 3 / 4; margin-bottom: 1.4rem; }
.pillar__media img { transition: transform 1.2s var(--ease); }
.pillar a:hover .pillar__media img { transform: scale(1.05); }
.pillar h3 { margin-bottom: .35em; }
.pillar p { color: var(--muted); font-size: var(--fs-small); }
.pillar .link-arrow { color: var(--violet); }

.house-list { list-style: none; padding: 0; margin: 2rem 0; border-top: 1px solid var(--line); }
.house-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.house-list li span:first-child { font-family: var(--serif); font-size: 1.3rem; }
.house-list li span:last-child { color: var(--muted); font-size: var(--fs-small); text-align: right; }

.land-grid { display: grid; gap: 0; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.land-grid li { padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.land-grid h3 { margin-bottom: .3em; }
.land-grid p { color: var(--muted); margin: 0; font-size: var(--fs-small); }
.land-grid__n { display: block; font-size: .75rem; letter-spacing: .1em; color: var(--violet); margin-bottom: .75rem; font-weight: 600; }
@media (min-width: 700px) { .land-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; } }
@media (min-width: 1100px) { .land-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .land-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- dark feature & CTA band (with parallax) ---------- */
.feature, .cta-band { position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark); background: var(--night); }
.feature { display: grid; align-items: center; min-height: max(560px, 90svh); padding-block: var(--section); }
.feature__media, .cta-band__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.feature__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28, 28, 28, .85) 0%, rgba(28, 28, 28, .55) 50%, rgba(28, 28, 28, .25) 100%); }
.cta-band__media::after { content: ""; position: absolute; inset: 0; background: rgba(28, 28, 28, .6); }
.feature__media picture, .feature__media img, .cta-band__media picture, .cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__content { max-width: calc(640px + 2 * var(--gutter)); margin-left: 0; }
@media (min-width: 1320px) { .feature__content { margin-left: calc((100vw - var(--max)) / 2 - var(--gutter)); } }
.feature .eyebrow { color: var(--accent-on-dark); }
.feature p { color: var(--on-dark); max-width: 54ch; }
.cta-band { padding-block: clamp(6rem, 12vw, 11rem); text-align: center; }
.cta-band__content { display: grid; justify-items: center; }
.cta-band h2 { max-width: 20ch; }
.cta-band p { color: var(--on-dark-muted); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .parallax img { scale: 1.18; animation: drift linear both; animation-timeline: view(); }
    @keyframes drift { from { translate: 0 -7%; } to { translate: 0 7%; } }
  }
}

/* ---------- wine cards & shop ---------- */
.wine-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2.25rem) clamp(.75rem, 2vw, 1.75rem); }
@media (min-width: 700px) { .wine-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .wine-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.wine-card { display: flex; flex-direction: column; }
.wine-card__media { display: block; background: var(--paper); overflow: hidden; }
.section--stone .wine-card__media { background: var(--ivory); }
.wine-card__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; mix-blend-mode: multiply; transition: transform .9s var(--ease); }
.wine-card:hover .wine-card__media img { transform: scale(1.04); }
.wine-card__body { display: flex; flex-direction: column; flex: 1; padding-top: 1rem; }
.wine-card__meta { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); font-weight: 600; margin-bottom: .35rem; }
.wine-card__name { font-size: clamp(1.35rem, 1.15rem + .7vw, 1.75rem); margin-bottom: .3em; }
.wine-card__name a { text-decoration: none; }
.wine-card__name a:hover { text-decoration: underline; }
.wine-card__short { font-size: var(--fs-small); color: var(--muted); line-height: 1.55; }
.wine-card__buy { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.price { font-family: var(--serif); font-size: 1.4rem; margin: 0; }
.price--lg { font-size: 2rem; margin: .5rem 0 1.25rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem .9rem; }
.price__was { color: var(--muted); font-size: 1.25rem; }
.badge { font-family: var(--sans); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; background: var(--violet); color: var(--ivory); padding: .3rem .6rem; }
@media (max-width: 520px) { .wine-card__buy { flex-direction: column; align-items: stretch; } .wine-card__buy .btn { width: 100%; } }

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.chip { min-height: 44px; padding: .5rem 1.15rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: .8125rem; letter-spacing: .08em; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
/* shop: titled groups under "All" and the small jump links next to it */
.chip--jump { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; color: inherit; }
.chip--jump svg { width: .9em; height: .9em; transform: rotate(90deg); }
.shop-jump { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.shop-jump[hidden], .shop-jump [hidden] { display: none; }
.shop-groups { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.shop-group { scroll-margin-top: calc(var(--header-h) + var(--bar-h) + 1.5rem); }
.shop-group__title { margin: 0 0 clamp(1.25rem, 2.5vw, 2rem); padding-bottom: .75rem; border-bottom: 1px solid var(--line); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); }
.chip--offers { border-color: rgba(89, 44, 130, .45); color: var(--violet); }
.chip--offers[aria-pressed="true"] { background: var(--violet); border-color: var(--violet); color: var(--ivory); }
.filters__count { margin: 0 0 0 auto; font-size: var(--fs-small); color: var(--muted); }

.offer { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.offer__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.offer__media { display: grid; }
.offer__img { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.offer__img.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.product__variants { display: grid; }
html:not(.js) .offer__img:first-child { opacity: 1; visibility: visible; }
@media (min-width: 900px) { .offer { grid-template-columns: 1fr 1fr; } }
.buy-form { display: grid; gap: 1rem; max-width: 420px; }
.field--inline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.field--inline > span { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field--inline select, .field--inline input { min-height: 44px; min-width: 9rem; padding: .4rem .75rem; border: 1px solid var(--line); background: var(--ivory); border-radius: var(--radius); }
/* variant buttons (product page and 12-bottle offer) */
.field--inline:has(.variant-pills) { flex-direction: column; align-items: flex-start; gap: .75rem; }
.variant-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.variant-pill { position: relative; display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; }
.variant-pill:has(input:checked) { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.variant-pill:has(input:focus-visible) { outline: 2px solid var(--violet); outline-offset: 2px; }
.variant-pill:has(input[data-sold-out]) > span:first-of-type { text-decoration: line-through; text-decoration-thickness: 1px; }
.variant-pill__note { font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }

.info-cols { display: grid; gap: 3rem clamp(3rem, 6vw, 7rem); }
@media (min-width: 900px) { .info-cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .info-cols:has(> :nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem clamp(2rem, 4vw, 4rem); } }
.info-cols p { color: var(--muted); }
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding: .6rem 0 .6rem 1.75rem; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: .9rem; height: 1px; background: var(--violet); }

/* product page */
.product { display: grid; gap: clamp(2rem, 5vw, 6rem); padding-block: clamp(1.5rem, 3vw, 3rem) var(--section); align-items: start; }
.product__media { background: var(--paper); }
.product__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; mix-blend-mode: multiply; }
@media (min-width: 900px) { .product { grid-template-columns: 1fr 1fr; } .product__media { position: sticky; top: calc(var(--header-h) + var(--bar-h) + 1.5rem); } }
.product h1 { margin-bottom: .15em; }
.product__type { font-size: var(--fs-lead); color: var(--muted); font-weight: 400; }
.product__tax { font-size: .8125rem; color: var(--muted); margin-top: .75rem; }
.product__organic, .site-footer__organic { display: flex; align-items: center; gap: .6rem; font-size: var(--fs-small); color: var(--violet); }
.product__organic svg, .site-footer__organic svg { width: 20px; height: 20px; flex: none; }
.product__desc { font-size: 1.1rem; line-height: 1.65; margin-top: 2rem; }
.notes div, .specs div { display: grid; gap: .25rem 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 600px) { .notes div, .specs div { grid-template-columns: 11rem 1fr; } }
.notes dt, .specs dt { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); font-weight: 600; padding-top: .2rem; }
.notes dd, .specs dd { margin: 0; }

/* ---------- estate ---------- */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.timeline li { position: relative; display: grid; gap: .25rem 2rem; padding: 0 0 2.25rem 2rem; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: .55rem; width: 9px; height: 9px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--violet); }
.timeline__y { font-family: var(--serif); font-size: 1.6rem; color: var(--violet); line-height: 1.2; }
.timeline p { margin: 0; color: var(--muted); }
@media (min-width: 700px) { .timeline li { grid-template-columns: 9rem 1fr; } }
.gallery-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: var(--fx, 50%) 50%; }
@media (min-width: 900px) { .gallery-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- winery ---------- */
.steps { display: grid; gap: clamp(2.5rem, 4vw, 3rem); margin: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step__media { margin-bottom: 1.5rem; overflow: hidden; }
.step__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.step__n { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--accent-on-dark); margin-bottom: .5rem; }
.step p { font-size: var(--fs-small); }
.stats--boxed li { border-top: 1px solid var(--line); }

/* ---------- experiences & events ---------- */
.exp-grid { display: grid; gap: clamp(3rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 3rem); margin: 0; }
@media (min-width: 600px) { .exp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .exp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.exp__media { aspect-ratio: 4 / 5; margin-bottom: 1.5rem; }
.exp h2 { font-size: var(--fs-h3); font-weight: 700; }
.exp p { color: var(--muted); font-size: var(--fs-small); }
.booking { text-align: center; }
.booking p { margin-inline: auto; }
.booking__widget { margin-top: 2rem; display: grid; justify-items: center; gap: 1rem; text-align: left; }
.booking__widget .bokunWidget { width: 100%; min-height: 420px; }
.booking__consent { margin-top: 1.5rem; font-size: .875rem; color: var(--muted); max-width: 56ch; text-align: center; }
.booking__loading { color: var(--muted); }

/* ---------- stays ---------- */
.houses { display: grid; gap: clamp(4rem, 8vw, 8rem); }
.house { display: grid; gap: clamp(1.75rem, 4vw, 4rem); align-items: center; }
/* every house the same way: photos on the left, text and booking buttons on the right (never alternating) */
@media (min-width: 1000px) {
  .house { grid-template-columns: 7fr 5fr; }
  .houses .house .house__gallery { order: 0; grid-column: 1; }
  .houses .house .house__info { order: 1; grid-column: 2; }
}
/* a house on a full-width Arena band, to break the run of white */
.house--stone { background: var(--stone); box-shadow: 0 0 0 100vmax var(--stone); clip-path: inset(calc(-1 * clamp(2.5rem, 5vw, 4.5rem)) -100vmax); }
.house--stone .house__arrow { background: rgba(255, 255, 255, .95); }
.house__gallery { min-width: 0; }
/* one photo at a time, changed only with the arrows (no scrolling: the page always scrolls freely) */
.house__track { position: relative; margin: 0; padding: 0; list-style: none; overflow: hidden; }
.house__track li + li { margin-top: .75rem; }
/* the frame keeps its 3:2 shape whether or not the photo has loaded: never collapses, the placeholder always shows */
html.js .house__track { aspect-ratio: 3 / 2; }
html.js .house__track li { position: absolute; inset: 0; margin: 0; }
html.js .house__track picture, html.js .house__track img { width: 100%; height: 100%; }
html.js .house__track:not(.is-ready) li:not(:first-child),
html.js .house__track.is-ready li:not(.is-active) { display: none; }
@media (prefers-reduced-motion: no-preference) {
  html.js .house__track.has-moved li.is-active { animation: slide-in .45s var(--ease); }
  @keyframes slide-in { from { opacity: .3; } }
}
.house__stage { position: relative; }
/* every photo of the house, visible at a glance; click to show it large */
.house__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: .4rem; margin-top: .6rem; }
.house__thumbs[hidden] { display: none; }
.house__thumb { display: block; padding: 0; border: 0; background: none; aspect-ratio: 3 / 2; overflow: hidden; opacity: .55; outline-offset: 2px; transition: opacity .25s var(--ease); }
.house__thumb img, .house__thumb picture { width: 100%; height: 100%; object-fit: cover; }
.house__thumb:hover, .house__thumb[aria-current="true"] { opacity: 1; }
.house__thumb[aria-current="true"] { box-shadow: inset 0 -3px 0 var(--purpura); }
.house__nav { position: absolute; inset: 0; pointer-events: none; }
.house__nav[hidden] { display: none; }
.house__arrow { position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 4px 16px rgba(28, 28, 28, .18); pointer-events: auto;
  transition: background-color .25s var(--ease), color .25s var(--ease), opacity .25s; }
.house__arrow[data-gallery-prev] { left: .9rem; }
.house__arrow[data-gallery-next] { right: .9rem; }
.house__arrow svg { width: 18px; height: 18px; }
.house__arrow[data-gallery-prev] svg { transform: scaleX(-1); }
.house__arrow:hover:not(:disabled) { background: var(--violet); color: var(--ivory); }
.house__arrow:disabled { opacity: 0; pointer-events: none; }
.house__status { position: absolute; right: .9rem; bottom: .9rem; display: flex; align-items: center; gap: .4rem; pointer-events: auto; }
.house__count { margin: 0; padding: .25rem .65rem; border-radius: 999px; background: rgba(28, 28, 28, .55); color: var(--on-dark);
  font-size: .75rem; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.house__pause { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 0; padding: 0; background: rgba(28, 28, 28, .55); color: var(--on-dark); }
.house__pause svg { width: 12px; height: 12px; grid-area: 1 / 1; }
.house__pause svg:nth-of-type(2), .house__pause.is-paused svg:nth-of-type(1) { display: none; }
.house__pause.is-paused svg:nth-of-type(2) { display: block; }
.house__pause:hover { background: var(--purpura); }
  font-size: .75rem; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.house__track img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
/* while the large photo loads, its thumbnail (already downloaded) fills the frame: never a blank box */
.house__track li { background: var(--stone) var(--ph) center / cover no-repeat; }
.house__facts { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); font-weight: 600; }
.house__info p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.25rem 0 0; }
.tags li { font-size: .8125rem; padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px; }
.tags--light li { border-color: rgba(255, 255, 255, .4); }
.feature .tags { margin-bottom: 2rem; }

/* ---------- equestrian ---------- */
.facility-grid { display: grid; gap: 0 3rem; margin: 0; border-top: 1px solid var(--line); }
.facility-grid li { padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.facility-grid p { margin: 0; color: var(--muted); font-size: var(--fs-small); }
@media (min-width: 700px) { .facility-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .facility-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- visit & map ---------- */
.visit__grid { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
@media (min-width: 900px) { .visit__grid { grid-template-columns: 5fr 7fr; } }
.visit address { color: var(--muted); margin-top: 1rem; }
.visit__addresses address + address { margin-top: .25rem; }
.map { margin: 0; }
.map__frame { position: relative; overflow: hidden; background: var(--stone); }
.map__frame img { width: 100%; height: auto; }
.map__pin { position: absolute; display: flex; align-items: center; gap: .4rem; transform: translate(-12px, -100%); color: var(--violet); }
.map__pin svg { width: 26px; height: 26px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); }
.map__label { font-family: var(--serif); font-size: 1rem; font-weight: 700; background: var(--ivory); color: var(--ink); padding: .1rem .5rem; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
.map figcaption { font-size: .75rem; color: var(--muted); margin-top: .5rem; }

/* ---------- contact form ---------- */
.contact-grid { display: grid; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 7fr 5fr; } }
.enquiry fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1.25rem; min-width: 0; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-size: .875rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1px solid rgba(28, 28, 28, .45); border-radius: var(--radius); background: var(--blanco); }
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--violet); outline-offset: 1px; border-color: var(--violet); }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field__hint { font-size: .8125rem; color: var(--muted); margin: 0; }
.field__error { font-size: .875rem; color: var(--error); margin: 0; font-weight: 600; }
.field__error::before { content: "! "; font-weight: 600; }
.opt { font-weight: 400; color: var(--muted); }
.req { color: var(--error); }
.field--check { grid-template-columns: auto 1fr; align-items: start; column-gap: .75rem; }
.field--check input { width: 22px; height: 22px; min-height: 0; margin-top: .2rem; accent-color: var(--violet); }
.field--check label { font-weight: 400; font-size: var(--fs-small); }
.field--check .field__error { grid-column: 2; }
.form-legend { font-size: .8125rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { border-left: 3px solid var(--error); background: #F9E9E4; padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.form-error p { margin: 0 0 .4rem; font-weight: 600; }
.form-error ul { margin: 0; padding-left: 1.2rem; }
.form-error a { color: var(--error); }
.form-success { padding: 2rem; background: var(--stone); }
.form-success:focus { outline: 2px solid var(--violet); outline-offset: 2px; }
.contact-info dl div { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-info dt { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); font-weight: 600; }
.contact-info dd { margin: .2rem 0 0; font-size: 1.1rem; }
.contact-info dl { margin-bottom: 2rem; }
.contact-info > p { color: var(--muted); }
.link-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.link-list .link-arrow { color: var(--violet); }

/* ---------- prose (legal) ---------- */
.prose h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); margin-top: 2.25rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose p, .prose li { color: #333331; }

/* ---------- 404 ---------- */
.not-found { position: relative; display: grid; align-items: center; min-height: 100svh; color: var(--on-dark); isolation: isolate; }
.not-found__media { position: absolute; inset: 0; z-index: -1; }
.not-found__media::after { content: ""; position: absolute; inset: 0; background: rgba(28, 28, 28, .6); }
.not-found__media picture, .not-found__media img { width: 100%; height: 100%; object-fit: cover; }
.not-found__content { padding-top: calc(var(--header-h) + var(--bar-h)); }
.not-found .eyebrow { color: var(--accent-on-dark); }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--on-dark-muted); padding-top: clamp(4rem, 7vw, 6.5rem); font-size: var(--fs-small); }
.site-footer a { text-decoration: none; color: var(--on-dark); }
.site-footer a:hover { text-decoration: underline; }
.site-footer__grid { display: grid; gap: 2.5rem; padding-bottom: 3.5rem; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 2fr 1.2fr 1fr 1fr; } }
.site-footer__title { font-family: var(--sans); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-on-dark); font-weight: 600; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { padding: .2rem 0; }
.site-footer li a { display: inline-block; padding-block: .3rem; }
.logo--stack { flex-direction: column; align-items: flex-start; gap: 1rem; color: var(--on-dark); margin-bottom: 1.5rem; }
.logo--stack { color: var(--on-dark); }
.logo--stack .logo__full { width: 190px; }
.site-footer__brand p { max-width: 38ch; }
.site-footer__organic { color: var(--on-dark-muted); }
.site-footer__langs { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-top: 1.5rem; }
.site-footer__langs :is(a, button) { display: inline-block; padding-block: .5rem; }
.site-footer__langs :is(a, button)[aria-current] { text-decoration: underline; text-underline-offset: .3em; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 1.5rem 2rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .8125rem; }
.site-footer__base p { margin: 0; }
.site-footer__base ul { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin: 0; }

/* ---------- basket drawer ---------- */
.cart { position: fixed; inset: 0; z-index: 60; }
.cart__backdrop { position: absolute; inset: 0; background: rgba(28, 28, 28, .45); opacity: 0; transition: opacity .25s var(--ease); }
.cart__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--ivory); box-shadow: -10px 0 40px rgba(0, 0, 0, .15);
  transform: translateX(100%); transition: transform .25s var(--ease); }
.cart.is-open .cart__backdrop { opacity: 1; }
.cart.is-open .cart__panel { transform: none; }
html.cart-open body { overflow: hidden; }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1rem 1rem 1.5rem; border-bottom: 1px solid var(--line); }
.cart__head h2 { font-size: 1.75rem; margin: 0; }
.cart__body { flex: 1; overflow-y: auto; padding: 0 1.5rem; }
.cart__empty { color: var(--muted); padding-top: 2rem; }
.cart__list { margin: 0; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 72px; height: 90px; object-fit: cover; background: var(--paper); mix-blend-mode: multiply; }
.cart-line__info { display: grid; align-content: start; gap: .25rem; }
.cart-line__info a { font-family: var(--serif); font-size: 1.2rem; line-height: 1.2; text-decoration: none; }
.cart-line__variant { font-size: .8125rem; color: var(--muted); }
.cart-line__end { display: grid; justify-items: end; align-content: space-between; font-family: var(--serif); font-size: 1.15rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); width: max-content; margin-top: .4rem; }
.qty button { width: 40px; height: 40px; border: 0; background: none; font-size: 1.1rem; }
.qty button:hover { background: var(--stone); }
.qty output { min-width: 2rem; text-align: center; }
.cart__foot { padding: 1.25rem 1.5rem 1.5rem; border-top: 1px solid var(--line); background: var(--stone); }
.cart__free { font-size: .875rem; color: var(--violet); margin-bottom: .75rem; }
.cart__sums { margin: 0 0 1.25rem; }
.cart__sums div { display: flex; justify-content: space-between; padding: .2rem 0; }
.cart__sums dd { margin: 0; }
.cart__total { font-family: var(--serif); font-size: 1.4rem; border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .6rem !important; }
.cart__tax { font-size: .75rem; color: var(--muted); margin: .75rem 0 0; }

.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 70; transform: translate(-50%, 1rem); background: var(--ink); color: var(--ivory); padding: .8rem 1.25rem; font-size: .875rem; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); max-width: calc(100% - 2rem); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
  html.js .reveal.is-in { opacity: 1; transform: none; }
  .pillars__grid .reveal:nth-child(2), .wine-grid .reveal:nth-child(4n+2), .exp-grid .reveal:nth-child(2), .land-grid .reveal:nth-child(2) { transition-delay: .08s; }
  .pillars__grid .reveal:nth-child(3), .wine-grid .reveal:nth-child(4n+3), .exp-grid .reveal:nth-child(3), .land-grid .reveal:nth-child(3) { transition-delay: .16s; }
  .pillars__grid .reveal:nth-child(4), .wine-grid .reveal:nth-child(4n+4), .land-grid .reveal:nth-child(4) { transition-delay: .24s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   MOTION LAYER — everything below only applies with html.motion
   (set by boot.js when the visitor has not asked for reduced motion)
   ===================================================================== */

/* ---------- cross-page transition (View Transitions API, progressive) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out .55s cubic-bezier(.7, 0, .3, 1) both; }
  ::view-transition-new(root) { animation: vt-in .75s cubic-bezier(.7, 0, .3, 1) both; }
  @keyframes vt-out { to { opacity: 0; transform: translateY(-40px) scale(.98); } }
  @keyframes vt-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
}

/* ---------- preloader ---------- */
.preloader { display: none; }
html.is-loading .preloader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--night); color: var(--on-dark);
  transition: clip-path 1s cubic-bezier(.76, 0, .24, 1); clip-path: inset(0 0 0 0); }
html.is-loading body { overflow: hidden; }
html.is-loaded .preloader { clip-path: inset(0 0 100% 0); }
.preloader__mark { display: grid; justify-items: center; gap: 1.4rem; }
.preloader__emblem { width: 76px; color: var(--accent-on-dark); clip-path: inset(100% 0 0 0); animation: pl-draw 1.1s .1s cubic-bezier(.65, 0, .35, 1) forwards; }
.preloader__word { width: 200px; opacity: 0; transform: translateY(14px); animation: pl-up .9s .45s var(--ease) forwards; }
.preloader__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent-on-dark); transform-origin: left; transform: scaleX(0); animation: pl-bar 1.2s .1s cubic-bezier(.65, 0, .35, 1) forwards; }
html.is-loaded .preloader__mark { opacity: 0; transform: translateY(-30px); transition: opacity .4s, transform .6s var(--ease); }
@keyframes pl-draw { to { clip-path: inset(0 0 0 0); } }
@keyframes pl-up { to { opacity: 1; transform: none; } }
@keyframes pl-bar { to { transform: scaleX(1); } }

/* ---------- masked word reveal ---------- */
.motion .wsplit .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.motion .wsplit .w__i { display: inline-block; transform: translateY(105%); transition: transform 1.05s cubic-bezier(.19, 1, .22, 1); transition-delay: calc(var(--i, 0) * 45ms + 60ms); }
.motion .wsplit.is-in .w__i { transform: none; }
.motion .page-hero__lead.wsplit .w__i, .motion .home-hero__lead.wsplit .w__i { transition-delay: calc(var(--i, 0) * 12ms + 380ms); }
.motion .eyebrow.wsplit .w__i { transition-delay: calc(var(--i, 0) * 40ms); }

/* ---------- paragraph fill on scroll ---------- */
.motion .fill .f { opacity: .22; transition: opacity .35s linear; }
.motion .fill .f.on { opacity: 1; }

/* ---------- image curtain ---------- */
.motion .img-reveal { overflow: hidden; clip-path: inset(100% 0 0 0); transition: clip-path 1.3s cubic-bezier(.77, 0, .18, 1); }
.motion .img-reveal img { transform: scale(1.22); transition: transform 2s cubic-bezier(.19, 1, .22, 1) .1s; }
.motion .img-reveal.is-in { clip-path: inset(0 0 0 0); }
.motion .img-reveal.is-in img { transform: none; }
.motion .pillar__media.is-in img { transition: transform 1.2s var(--ease); }
.motion .pillar a:hover .pillar__media.is-in img { transform: scale(1.06); }

/* ---------- hero drift on scroll (--p set by motion.js) ---------- */
.motion .home-hero__content, .motion .page-hero__content { transform: translate3d(0, calc(var(--p, 0) * 140px), 0); opacity: calc(1 - var(--p, 0) * 1.5); will-change: transform; }
.motion .home-hero__media, .motion .page-hero__media { transform: scale(calc(1 + var(--p, 0) * .12)); transform-origin: 50% 30%; }

/* ---------- header hides on scroll down, returns on scroll up ---------- */
.motion .site-header { transition: transform .5s cubic-bezier(.65, 0, .35, 1), background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.motion.header-hidden .site-header { transform: translateY(-101%); }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding-block: clamp(.6rem, 1.3vw, 1rem); border-bottom: 1px solid var(--line); background: var(--ivory); user-select: none; }
.marquee--dark { background: var(--night); color: var(--on-dark); border: 0; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__run { display: flex; align-items: center; flex: none; }
.marquee__run span { font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1.9vw, 2.8rem); line-height: 1.1; font-weight: 700; padding-inline: clamp(1.25rem, 2.5vw, 2.5rem); white-space: nowrap; }
.marquee__run span:nth-of-type(even) { font-style: italic; color: var(--violet); }
.marquee--dark .marquee__run span:nth-of-type(even) { color: var(--accent-on-dark); }
.marquee__dot { width: clamp(16px, 1.5vw, 24px); height: auto; color: var(--violet); flex: none; }
html:not(.motion) .marquee__track { flex-wrap: wrap; width: auto; }
html:not(.motion) .marquee__run + .marquee__run { display: none; }

/* ---------- wine card hover (as on es-fangar.com): lifestyle shot + round quick actions ---------- */
.wine-card__frame { position: relative; }
.wine-card__media { position: relative; }
.wine-card__scene { position: absolute; inset: 0; opacity: 0; transition: opacity .45s cubic-bezier(.26, .54, .32, 1); pointer-events: none; }
.wine-card__scene img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; transform: scale(1.06); transition: transform 1.2s cubic-bezier(.19, 1, .22, 1); }
.wine-card__quick { position: absolute; top: .75rem; right: .75rem; display: grid; gap: .4rem; z-index: 1; }
.quick-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; padding: 0; background: var(--ivory); color: var(--ink); box-shadow: 0 2px 10px rgba(28, 28, 28, .12);
  opacity: 0; transform: translateX(10px); transition: opacity .3s var(--ease), transform .4s var(--ease), background-color .2s, color .2s; text-decoration: none; }
.quick-btn svg { width: 18px; height: 18px; }
.quick-btn:hover { background: var(--violet); color: var(--ivory); }
.wine-card__quick .quick-btn:nth-child(2) { transition-delay: .05s; }
@media (hover: hover) {
  .wine-card:hover .wine-card__scene { opacity: 1; }
  .wine-card:hover .wine-card__scene img { transform: none; }
  .wine-card:hover .quick-btn { opacity: 1; transform: none; }
  .wine-card:hover .wine-card__media > picture img { transform: none; }
}
@media (hover: none) { .wine-card__quick { display: none; } }
.wine-card__name a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); text-decoration: none; }
.wine-card:hover .wine-card__name a, .wine-card__name a:focus-visible { background-size: 100% 1px; }

/* ---------- house list: image follows the pointer ---------- */
.house-list a { flex: 1; display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; text-decoration: none; transition: padding .45s var(--ease), color .3s; }
.house-list li { padding: 0; }
.house-list a:hover { padding-left: .75rem; color: var(--violet); }
.hover-reveal { position: fixed; left: 0; top: 0; z-index: 30; width: clamp(220px, 20vw, 320px); aspect-ratio: 3 / 2; pointer-events: none; overflow: hidden;
  opacity: 0; scale: .7; transition: opacity .35s var(--ease), scale .5s var(--ease); box-shadow: 0 20px 50px rgba(28, 28, 28, .25); }
.hover-reveal.is-on { opacity: 1; scale: 1; }
.hover-reveal img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- cursor effect (mouse / trackpad only) ----------
   The system arrow (and the hand on links) always stays visible: a soft halo trails it,
   grows over links, and a small label ("View") appears beside it over photos. */
.cursor { position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.is-visible { opacity: 1; }
.cursor__ring { position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(89, 44, 130, .45); background: rgba(89, 44, 130, .06);
  transform: translate3d(calc(var(--rx) - 17px), calc(var(--ry) - 17px), 0) scale(var(--s, 1));
  transition: border-color .3s, background-color .3s, opacity .3s; }
.cursor.is-link .cursor__ring { --s: 1.45; border-color: rgba(89, 44, 130, .7); background: rgba(89, 44, 130, .1); }
.cursor.is-down .cursor__ring { --s: .75; }
.cursor.is-text .cursor__ring, .cursor.is-label .cursor__ring { opacity: 0; }
.cursor.is-dark .cursor__ring { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .08); }
.cursor.is-dark.is-link .cursor__ring { border-color: rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .14); }
.cursor__label { position: absolute; left: 0; top: 0; padding: .4rem .75rem; border-radius: 999px; background: var(--violet); color: var(--ivory);
  font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(28, 28, 28, .2);
  transform: translate3d(calc(var(--rx) + 20px), calc(var(--ry) + 22px), 0); transform-origin: 0 0; scale: .6; opacity: 0;
  transition: opacity .2s, scale .25s var(--ease); }
.cursor.is-label .cursor__label { opacity: 1; scale: 1; }

/* magnetic buttons */
.motion .magnetic { transition: translate .45s cubic-bezier(.19, 1, .22, 1), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), opacity .3s var(--ease), transform .4s var(--ease); }

/* product page scene */
/* product page: the lifestyle photo fades in over the bottle on hover, as on the wine cards */
.product__media { position: relative; overflow: hidden; }
.product__scene { position: absolute; inset: 0; opacity: 0; transition: opacity .45s cubic-bezier(.26, .54, .32, 1); pointer-events: none; }
.product__scene picture { width: 100%; height: 100%; }
.product__scene img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; mix-blend-mode: normal; transform: scale(1.06); transition: transform 1.2s cubic-bezier(.19, 1, .22, 1); }
@media (hover: hover) {
  .product__media:hover .product__scene { opacity: 1; }
  .product__media:hover .product__scene img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cursor, .hover-reveal, .preloader { display: none !important; }
}

@media print {
  .site-header, .site-footer, .cart, .toast, .video-toggle, .home-hero__media, .page-hero__media { display: none !important; }
  .home-hero, .page-hero { min-height: 0; color: var(--ink); background: none; }
}

/* =====================================================================
   SHOPIFY — additions for the theme (section groups, forms, system pages)
   ===================================================================== */

/* the header lives in a section group wrapper: make the wrapper sticky */
.shopify-section-group-header-group { position: sticky; top: 0; z-index: 40; }
.template-password .site-header { display: none; }

/* language switcher: one link per language (the button rules stay for the old localization form) */
.lang-switch form { display: contents; }
.lang-switch button { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.lang-switch--menu :is(a, button) { font-size: .875rem; letter-spacing: .08em; }
.site-footer__langs :is(a, button) { display: inline-block; min-width: 0; min-height: 44px; padding-block: .5rem; color: var(--on-dark); font-size: inherit; letter-spacing: normal; opacity: 1; }
.site-footer__langs :is(a, button):hover { text-decoration: underline; }
.site-footer__langs :is(a, button)[aria-current] { text-decoration: underline; text-underline-offset: .3em; }
.site-footer__langs { margin-top: 1.5rem; }

/* buttons waiting for the cart API */
[aria-busy="true"] { opacity: .6; pointer-events: none; }
.wine-card__form { margin: 0; }
.cart-button { text-decoration: none; }

/* rich text from the editor inside elements styled as single paragraphs */
.page-hero__lead p, .shop-hero .page-hero__lead p { margin: 0 0 .6em; }
.product__more { margin-top: 1.5rem; color: var(--muted); }

/* basket page */
.cart-page .cart__list { margin-bottom: 1.5rem; }
.cart-page__qty { border: 0; padding: 0; margin-top: .5rem; }
.cart-page__qty input { min-width: 5rem; }
.cart-page__foot { max-width: 420px; margin-left: auto; }
.cart-page__discounts { list-style: none; padding: 0; color: var(--violet); }

/* search */
.search-form { display: flex; flex-wrap: wrap; gap: .75rem; max-width: 640px; margin-top: 1.5rem; }
.search-form input { flex: 1 1 260px; min-height: 48px; padding: .7rem .9rem; border: 1px solid rgba(28, 28, 28, .45); border-radius: var(--radius); background: var(--blanco); }
.search-form .btn svg { width: 1.2em; height: 1.2em; }
.search-count { color: var(--muted); margin-top: 1rem; }
.search-pages { list-style: none; padding: 0; margin-top: 3rem; border-top: 1px solid var(--line); }
.search-pages li { border-bottom: 1px solid var(--line); }

/* pagination */
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); font-size: var(--fs-small); color: var(--muted); }
.pagination a { color: var(--ink); }

/* blog cards */
.exp h2 a { text-decoration: none; }
.exp h2 a:hover { text-decoration: underline; }

/* customer accounts */
.account h1 { margin-top: 1rem; }
.account-form { display: grid; gap: 1.25rem; max-width: 560px; margin-bottom: 2.5rem; }
.account__recover { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.account-table { width: 100%; border-collapse: collapse; margin: 1rem 0 2rem; font-size: var(--fs-small); }
.account-table th, .account-table td { text-align: left; padding: .75rem .5rem .75rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.account-table thead th { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); font-weight: 600; }
.account-table tfoot th { font-weight: 400; color: var(--muted); }
.account-addresses { list-style: none; padding: 0; display: grid; gap: 2rem; }
.account-addresses > li { padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.account details summary { cursor: pointer; margin: .75rem 0; }
.account__new summary { list-style: none; display: inline-flex; margin-top: 2rem; }
.account__new summary::-webkit-details-marker { display: none; }
@media (max-width: 639px) { .account-table { display: block; overflow-x: auto; } }

/* password page */
.password { max-width: 560px; }
.password__logo { color: var(--on-dark); margin-bottom: 2rem; }
.password__logo .logo__full { width: 150px; }
.password__form { display: grid; gap: 1rem; margin-top: 2rem; }
.password__form label { color: var(--on-dark); }
.password__admin { font-size: var(--fs-small); color: var(--on-dark-muted); margin-top: 2rem; }

/* gift card */
.gift-card { text-align: left; }
.gift-card__logo { color: var(--violet); margin-bottom: 2rem; }
.gift-card__logo .logo__full { width: 130px; }
.gift-card__code { font-family: var(--sans); letter-spacing: .12em; }
.gift-card__qr { margin: 1.5rem 0; }
@media print { .gift-card .button-row { display: none; } }

/* theme editor: never hide content behind scroll effects while editing */
.shopify-design-mode .reveal { opacity: 1 !important; transform: none !important; }

/* product page: Shopify description and other details in collapsible tabs */
.accordion { margin-top: 2.25rem; border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__title { position: relative; display: flex; align-items: center; min-height: 56px; padding: .9rem 2.5rem .9rem 0; cursor: pointer; list-style: none;
  font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.accordion__title::-webkit-details-marker { display: none; }
.accordion__title::before, .accordion__title::after { content: ""; position: absolute; right: .5rem; top: 50%; width: 14px; height: 1px; background: currentColor; transition: transform .3s var(--ease); }
.accordion__title::after { transform: rotate(90deg); }
.accordion__item[open] .accordion__title::after { transform: rotate(0deg); }
.accordion__title:hover { color: var(--violet); }
.accordion__body { padding: 0 0 1.5rem; color: var(--muted); }
.accordion__body p { margin-bottom: .8em; }
.accordion__body strong { color: var(--ink); font-weight: 600; }
.accordion__body :is(h2, h3, h4) { font-size: 1.35rem; margin-top: 1rem; }
.accordion__body span[style*="underline"] { text-decoration: none !important; }
.accordion__body .ticks { margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .accordion__item[open] .accordion__body { animation: acc-open .45s var(--ease); }
  @keyframes acc-open { from { opacity: 0; transform: translateY(-6px); } }
}

/* statement band (bodega page: Métode Gravetat) */
.statement { position: relative; overflow: hidden; padding-block: clamp(5rem, 4rem + 6vw, 10rem); color: var(--on-dark); }
.statement--purple { background: var(--purpura); }
.statement--night { background: var(--negro); }
.statement .eyebrow { color: var(--accent-on-dark); }
.statement__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .statement__grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(3rem, 6vw, 7rem); } }
.statement__title { font-size: var(--fs-display); line-height: 1.05; max-width: 14ch; margin-bottom: .45em; }
.statement__lead { font-size: var(--fs-lead); max-width: 52ch; color: var(--on-dark); }
.statement__stats { margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid rgba(255, 255, 255, .25); }
.statement__stats li { border-top: 0; }
.statement .stats__n { color: var(--arena-dorada); font-size: clamp(2.6rem, 1.8rem + 3vw, 4.5rem); }
.statement .stats__l { color: var(--on-dark-muted); }
@media (min-width: 900px) { .statement__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .statement__stats li + li { border-left: 1px solid rgba(255, 255, 255, .25); padding-left: 2rem; } }
/* gravity: line drawing of the Métode Gravetat, animated with the page scroll by motion.js */
.gravity-art { margin: 0; width: min(100%, 400px); justify-self: center; }
.gravity-art svg { width: 100%; height: auto; overflow: visible; }
.ga-line, .ga-valve { fill: none; stroke: var(--arena-dorada); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ga-soft { opacity: .45; }
.ga-dash line { stroke-dasharray: 2 6; opacity: .35; }
.ga-vat, .ga-tank { fill: rgba(232, 220, 184, .05); }
.ga-liquid { fill: rgba(232, 220, 184, .22); }
.ga-surface { stroke: var(--arena-dorada); stroke-width: 1.6; }
.ga-ripple { fill: none; stroke: var(--arena-dorada); stroke-width: 1.2; }
.ga-drop, .ga-drip { fill: var(--arena-dorada); }
.ga-drip { opacity: 0; }
.ga-carrier, .ga-valve, .ga-drop, .ga-ripple { transform-box: view-box; }
.ga-valve { transform-origin: 180px 192px; transform: rotate(90deg); }
/* once full, a slow drip keeps going */
@media (prefers-reduced-motion: no-preference) {
  .gravity-art.is-full .ga-drip { animation: ga-drip 3.2s cubic-bezier(.55, 0, .9, .4) infinite; }
  .gravity-art.is-full .ga-ripple { animation: ga-ripple 3.2s ease-out infinite; }
  @keyframes ga-drip { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 55% { transform: translateY(100px); opacity: 1; } 56%, 100% { transform: translateY(100px); opacity: 0; } }
  @keyframes ga-ripple { 0%, 55% { opacity: 0; transform: scale(.3); } 58% { opacity: .9; } 85%, 100% { opacity: 0; transform: scale(1.6); } }
  .ga-ripple { transform-origin: 180px 300px; }
}

/* page hero used lower down the page (e.g. Experiences, below the booking calendar) */
.page-hero__title { font-size: var(--fs-h1); max-width: 16ch; }
.page-hero--inline { min-height: max(440px, 62svh); }
.page-hero--inline .page-hero__content { padding-top: clamp(4rem, 8vw, 7rem); }
.booking > h1 { font-size: var(--fs-h1); }

/* ---------- "Next" link above the footer (sections/next-page.liquid) ---------- */
.next-page { border-top: 1px solid var(--line); background: var(--ivory); }
.next-page__link { display: flex; flex-direction: column; align-items: flex-start; padding-block: clamp(2.75rem, 2rem + 3vw, 4.5rem); color: var(--ink); text-decoration: none; }
.next-page__title { display: inline-flex; align-items: center; gap: .4em; font-family: var(--serif); font-weight: 700; font-size: var(--fs-h2); line-height: 1.1; transition: color .25s var(--ease); }
.next-page__title svg { width: .8em; height: .8em; flex: none; transition: transform .3s var(--ease); }
.next-page__link:hover .next-page__title, .next-page__link:focus-visible .next-page__title { color: var(--violet); }
.next-page__link:hover .next-page__title svg { transform: translateX(.3em); }
@media (min-width: 700px) { .next-page__link { align-items: flex-end; } } /* the title alone, on the right */


/* ---------- Bottles cut out of their background (snippets/product-photo.liquid) ----------
   No white box behind the bottle; on hover the bottle gives way to the lifestyle photo (which already
   shows the bottle) in an arched window. */
.wine-card__media, .section--stone .wine-card__media, .product__media { background: transparent; }
.wine-card__media .is-cutout, .product__media .is-cutout { position: relative; z-index: 1; display: block; transition: opacity .35s cubic-bezier(.26, .54, .32, 1); }
.wine-card__media .is-cutout img, .product__media .is-cutout img { mix-blend-mode: normal; }
.wine-card__media:has(> .is-cutout) .wine-card__scene,
.product__media:has(> .is-cutout) .product__scene {
  inset: 8% 20% 4%; z-index: 0; overflow: hidden;
  border-radius: 999px 999px var(--radius) var(--radius);
  transform: scale(.94); transform-origin: 50% 100%;
  transition: opacity .45s cubic-bezier(.26, .54, .32, 1), transform .7s cubic-bezier(.19, 1, .22, 1);
}
.wine-card__media:has(> .is-cutout) .wine-card__scene:not(.wine-card__scene--backdrop) picture { width: 100%; height: 100%; }
@media (hover: hover) {
  .wine-card:hover .wine-card__media:has(> .is-cutout) .wine-card__scene,
  .product__media:hover:has(> .is-cutout) .product__scene { transform: none; }
  /* the cut-out gives way only to a lifestyle photo; without one it stays */
  .wine-card:hover .wine-card__media:has(> .wine-card__scene) .is-cutout, .product__media:hover:has(> .product__scene) .is-cutout { opacity: 0; }
}
/* Wines with a backdrop (the lifestyle photo scaled like the cut-out): the bottle stays perfectly still,
   only the background inside the arched window changes. The window is an arched box (inset 8% 20% 4%, so
   60% x 88% of the photo) and the backdrop inside it is placed over the whole photo area again
   (left -20/60, top -8/88, width 100/60, height 100/88), so its bottle sits exactly behind the cut-out.
   (A clip-path inset() with round corners is drawn flat on top by Chrome.) */
.wine-card__media:has(> .is-cutout) .wine-card__scene--backdrop,
.product__media:has(> .is-cutout) .product__scene--backdrop {
  inset: 8% 20% 4%; overflow: hidden; transform: none;
  border-radius: 999px 999px var(--radius) var(--radius);
  transition: opacity .45s cubic-bezier(.26, .54, .32, 1);
}
.wine-card__media .wine-card__scene--backdrop picture, .product__media .product__scene--backdrop picture { position: absolute; left: -33.3333%; top: -9.0909%; width: 166.6667%; max-width: none; height: 113.6364%; }
.wine-card__scene--backdrop img, .product__scene--backdrop img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; transform: none !important; transition: none; }
.wine-card__media .is-cutout img, .wine-card:hover .wine-card__media .is-cutout img { transform: none; transition: none; }
@media (hover: hover) {
  .wine-card:hover .wine-card__media:has(> .wine-card__scene--backdrop) .is-cutout,
  .product__media:hover:has(> .product__scene--backdrop) .is-cutout { opacity: 1; }
}

/* ---------- Experiences: booking calendar at the top of the page (sections/bokun-booking.liquid) ----------
   Compact head (so the calendar shows without scrolling) between two arched photos, calendar in a framed panel. */
.booking-section { position: relative; overflow: hidden; padding-top: clamp(2rem, 1rem + 3vw, 3.5rem); }
.booking-section::before { content: ""; position: absolute; left: -10%; right: -10%; top: 0; height: 60%; background: radial-gradient(ellipse at 50% 0%, rgba(232, 220, 184, .95), rgba(232, 220, 184, 0) 70%); pointer-events: none; }
.booking { position: relative; }
.booking__head { display: grid; justify-items: center; }
.booking__intro { max-width: 52rem; }
.booking__intro .eyebrow { margin-bottom: .8rem; }
.booking__intro h1, .booking__intro h2 { font-size: clamp(2.1rem, 1.5rem + 2vw, 3.25rem); margin-bottom: .3em; }
.booking__text { font-size: var(--fs-lead); color: var(--muted); margin-bottom: 1.25rem; }
.booking__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.booking__facts li { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .75rem; white-space: nowrap; border: 1px solid rgba(89, 44, 130, .25); border-radius: 999px; background: rgba(255, 255, 255, .7); font-size: .75rem; color: var(--ink); }
.booking__facts svg { width: 1rem; height: 1rem; color: var(--violet); flex: none; }
.booking__photo { display: none; }
@media (min-width: 900px) {
  .booking__head--photos { grid-template-columns: minmax(0, 1fr) minmax(0, 4fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 3vw, 3.5rem); }
  .booking__photo { display: block; position: relative; width: min(100%, 190px); }
  .booking__photo .arch { aspect-ratio: 3 / 4; position: relative; z-index: 1; }
  /* thin purple arch outline, offset behind each photo */
  .booking__photo::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--violet); border-radius: 999px 999px var(--radius) var(--radius); opacity: .45; }
  .booking__photo--left { justify-self: end; transform: translateY(1.5rem) rotate(-3deg); }
  .booking__photo--left::before { transform: translate(-12px, 12px); }
  .booking__photo--right { justify-self: start; transform: translateY(-1rem) rotate(3deg); }
  .booking__photo--right::before { transform: translate(12px, -12px); }
}
.booking__panel { position: relative; margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); padding: clamp(1rem, .5rem + 2vw, 2.25rem); background: var(--ivory); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 30px 60px -40px rgba(28, 28, 28, .35); }
.booking__panel::before { content: ""; position: absolute; left: 50%; top: 0; width: 64px; height: 3px; background: var(--violet); transform: translate(-50%, -50%); border-radius: 3px; }
.booking__panel .booking__widget { margin-top: 0; }
/* packs of several bottles (Offers filter): the whole photo, so the round "offer" badge is not cut off */
.wine-card[data-cat="offers"] .wine-card__media > .is-cutout img { object-fit: contain; }
/* packs: wider arched window behind the pack; a second photo (e.g. the White version) takes over on hover */
.wine-card[data-cat="offers"] .wine-card__media:has(> .is-cutout) .wine-card__scene--backdrop { inset: 3% .5% 1%; }
.wine-card[data-cat="offers"] .wine-card__media .wine-card__scene--backdrop picture { inset: 0; width: 100%; height: 100%; }
.wine-card__media .is-alt { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .45s cubic-bezier(.26, .54, .32, 1); }
.wine-card__media .is-alt img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; }
@media (hover: hover) {
  .wine-card:hover .wine-card__media:has(> .is-alt) > .is-cutout:not(.is-alt) { opacity: 0; }
  .wine-card:hover .wine-card__media .is-alt { opacity: 1; }
}

/* the two addresses of the property (snippets/addresses.liquid) */
.site-footer__addresses address + address, .contact-info__addresses address + address { margin-top: 1rem; }
.site-footer__addresses strong { color: var(--on-dark); font-weight: 600; }
.contact-info__addresses strong { font-weight: 600; }
.product__app { margin-top: 1.25rem; }

/* ---------- announcement bar, at the top of the header (sections/header.liquid) ---------- */
:root:has(.announcement) { --bar-h: 34px; }
.announcement { display: flex; align-items: center; justify-content: center; min-height: var(--bar-h); padding: .35rem var(--gutter); background: var(--violet); color: var(--blanco); text-align: center; font-size: .75rem; font-weight: 600; letter-spacing: .04em; line-height: 1.3; }
.announcement a { color: inherit; text-decoration: none; }
.announcement a:hover, .announcement a:focus-visible { text-decoration: underline; text-underline-offset: .2em; }
.announcement :focus-visible { outline-color: var(--blanco); }

/* ---------- promotion card, bottom right (sections/promo-popup.liquid) ---------- */
.promo { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60; display: flex; align-items: center; gap: .5rem; width: min(340px, calc(100% - 2rem)); padding: .75rem .5rem .75rem .75rem; background: var(--blanco); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 18px 40px -18px rgba(28, 28, 28, .35); opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.promo.is-visible { opacity: 1; transform: none; }
.promo[hidden] { display: none; }
.promo__link { display: flex; align-items: center; gap: .85rem; flex: 1; min-width: 0; color: var(--ink); text-decoration: none; }
.promo__media { flex: none; width: 64px; height: 64px; border-radius: 4px; background: var(--arena); overflow: hidden; }
.promo__media picture, .promo__media img { width: 100%; height: 100%; object-fit: contain; }
.promo__text { display: grid; gap: .15rem; }
.promo__text strong { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.promo__text span { font-size: .875rem; color: var(--muted); }
.promo__link:hover strong { color: var(--violet); }
.promo__close { align-self: flex-start; flex: none; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 50%; }
.promo__close:hover { background: var(--arena); }
.promo__close svg { width: 16px; height: 16px; }
@media (max-width: 599px) { .promo { right: 1rem; bottom: 1rem; } }

/* ---------- social profiles in the footer, by brand (snippets/social-brand.liquid) ---------- */
.social { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.social__brand p { margin: 0 0 .4rem; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark); }
.social__links { list-style: none; display: flex; gap: .35rem; margin: 0; padding: 0; }
.site-footer .social__links a { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; line-height: 0; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; color: var(--on-dark-muted); transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease); }
.site-footer .social__links a:hover, .site-footer .social__links a:focus-visible { color: var(--night); background: var(--arena-dorada); border-color: var(--arena-dorada); }
.social__links svg { width: 18px; height: 18px; }

/* ---------- link with an arrow below a text block (snippets/more-link.liquid) ---------- */
.more-link { margin: .5rem 0 1.5rem; }
/* outlined like a button, so the link stands out from the text */
.more-link .link-arrow { gap: .6em; min-height: 48px; padding: .75rem 1.4rem; border: 1.5px solid currentColor; border-radius: var(--radius); font-size: .875rem; color: var(--violet); transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.more-link .link-arrow svg { width: 1.3em; height: 1.3em; }
.more-link .link-arrow:hover, .more-link .link-arrow:focus-visible { background: var(--violet); border-color: var(--violet); color: var(--blanco); }
.more-link--light .link-arrow { color: var(--accent-on-dark); }
.more-link--light .link-arrow:hover, .more-link--light .link-arrow:focus-visible { background: var(--accent-on-dark); border-color: var(--accent-on-dark); color: var(--negro); }
.more-link--center .more-link { margin: 1.5rem auto 0; max-width: none; } /* centred under the cards (paragraphs are otherwise capped at 68ch) */
.product .more-link { margin-top: 1.5rem; }

/* ---------- search field among the wine filters (sections/main-collection.liquid) ---------- */
.wine-search { display: none; }
html.js .wine-search { position: relative; display: flex; align-items: center; flex: 1 1 220px; max-width: 320px; margin-left: auto; }
.wine-search svg { position: absolute; left: 1rem; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.wine-search input { width: 100%; min-height: 44px; padding: .5rem 1rem .5rem 2.6rem; border: 1px solid var(--line); border-radius: 999px; background: var(--blanco); font: inherit; font-size: .9rem; color: var(--ink); }
.wine-search input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(89, 44, 130, .15); }
.wine-search input::placeholder { color: var(--muted); }
html.js .wine-search + .filters__count { margin-left: 1rem; }
.wine-search__empty { padding: 2rem 0; color: var(--muted); }
@media (max-width: 699px) { html.js .wine-search { flex-basis: 100%; max-width: none; margin-left: 0; order: 5; } html.js .wine-search + .filters__count { margin-left: auto; } }
/* arched cards followed by more content: less empty space below their button */
.section:has(> .container > .exp-grid) { padding-bottom: clamp(2.5rem, 1.5rem + 2.5vw, 4rem); }
.exp-grid ~ p.center { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
