/* =========================================================================
   El Verderón · tema v2
   Verde aceituna y blanco, filetes dorados y el arco de la etiqueta.
   ====================================================================== */

@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/Cormorant.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/Cormorant-Italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/Jost.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
	--vd-olive-900: #172010;
	--vd-olive-800: #1e2a13;
	--vd-olive-700: #2b3a1b;
	--vd-olive-600: #3e5223;
	--vd-olive-500: #55703a;
	--vd-sage: #a9b38a;
	--vd-sage-200: #dfe3cf;
	--vd-white: #ffffff;
	--vd-paper: #f3f1e9;
	--vd-gold: #b8954f;
	--vd-gold-200: #d9c39a;
	--vd-garnet: #7e2a1f;
	--vd-ink: #1b2112;
	--vd-muted: #5d6450;
	--vd-line: #e3e2d6;
	--vd-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
	--vd-sans: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;
	--vd-wrap: 1240px;
	--vd-text: 720px;
	--vd-gutter: clamp(20px, 4vw, 40px);
	--vd-header-h: 84px;
	--vd-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---- Base ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--vd-header-h) + 24px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--vd-white); color: var(--vd-ink);
	font: 400 1.0625rem/1.72 var(--vd-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--vd-olive-600); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--vd-olive-800); }
:focus-visible { outline: 2px solid var(--vd-gold); outline-offset: 3px; }
::selection { background: var(--vd-sage-200); color: var(--vd-olive-900); }

h1, h2, h3, h4 { font-family: var(--vd-serif); font-weight: 600; line-height: 1.06; color: var(--vd-olive-800); margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 5.4vw, 5rem); }
h2 { font-size: clamp(2.1rem, 3.7vw, 3.3rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.6rem); line-height: 1.15; }
p { margin: 0 0 1.1em; }
strong { font-weight: 600; }

.vd-wrap { max-width: var(--vd-wrap); margin-inline: auto; padding-inline: var(--vd-gutter); }
.vd-skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--vd-olive-800); color: #fff; padding: .7rem 1rem; }
.vd-skip:focus { left: 1rem; top: 1rem; }

/* Antetítulo: cursiva dorada, sin mayúsculas forzadas */
.vd-kicker { font: italic 500 1.2rem/1.3 var(--vd-serif); color: var(--vd-gold); margin: 0 0 .7rem; letter-spacing: .01em; }
.vd-kicker a { color: inherit; text-decoration: none; }
.vd-lead { font: 400 clamp(1.25rem, 2vw, 1.5rem)/1.5 var(--vd-serif); color: var(--vd-ink); }
.vd-quote { font: italic 500 clamp(1.7rem, 3.2vw, 2.5rem)/1.3 var(--vd-serif); color: var(--vd-olive-700); max-width: 820px !important; margin: 0 auto 2rem; }
.vd-note { font-size: .92rem; color: var(--vd-muted); border-left: 2px solid var(--vd-gold); padding: .2rem 0 .2rem 1rem; }

/* ---- Aviso superior y cabecera --------------------------------------- */
.vd-announce { background: var(--vd-olive-900); color: var(--vd-gold-200); text-align: center; padding: .55rem var(--vd-gutter); }
.vd-announce p { margin: 0; font: italic 500 1.02rem/1.3 var(--vd-serif); letter-spacing: .02em; }

.vd-header {
	position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94);
	backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px);
	border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.admin-bar .vd-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .vd-header { top: 46px; } }
/* En móvil (≤600 px) la barra de administración de WordPress no es fija: la cabecera se pega arriba del todo */
@media (max-width: 600px) { .admin-bar .vd-header { top: 0; } }
.vd-header.is-scrolled { border-bottom-color: var(--vd-line); box-shadow: 0 10px 30px -24px rgba(23, 32, 16, .55); }
.vd-header__inner { max-width: 1400px; margin: 0 auto; min-height: var(--vd-header-h); padding: 10px var(--vd-gutter); display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); transition: min-height .3s var(--vd-ease); }
.vd-header.is-scrolled .vd-header__inner { min-height: 68px; }

.vd-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.vd-header img.vd-brand__mark { width: auto; height: 54px; max-width: none; transition: height .3s var(--vd-ease); }
.vd-header.is-scrolled img.vd-brand__mark { height: 44px; }
.vd-brand__text { display: flex; flex-direction: column; gap: 4px; }
.vd-header img.vd-brand__word { width: auto; height: 40px; max-width: none; }
.vd-brand__tag { font: italic 500 .95rem/1 var(--vd-serif); color: var(--vd-muted); }

.vd-nav { flex: 1; display: flex; justify-content: center; }
.vd-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(12px, 1.5vw, 28px); flex-wrap: nowrap; white-space: nowrap; justify-content: center; }
.vd-nav__list a {
	position: relative; display: block; padding: .5rem 0; color: var(--vd-ink); text-decoration: none;
	font: 500 .95rem/1 var(--vd-sans); letter-spacing: .01em;
}
.vd-nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--vd-gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--vd-ease); }
.vd-nav__list a:hover::after, .vd-nav__list .current-menu-item > a::after, .vd-nav__list .current_page_item > a::after { transform: scaleX(1); }
.vd-nav__list .current-menu-item > a, .vd-nav__list .current_page_item > a { color: var(--vd-olive-600); }
.vd-nav__mobile { display: none; }

.vd-header__actions { display: flex; align-items: center; gap: 16px; flex: none; }
.vd-lang ul { list-style: none; display: flex; margin: 0; padding: 0; font: 500 .82rem/1 var(--vd-sans); letter-spacing: .06em; }
.vd-lang li + li { margin-left: .6rem; padding-left: .6rem; border-left: 1px solid var(--vd-line); }
.vd-lang a { color: var(--vd-muted); text-decoration: none; }
.vd-lang a:hover { color: var(--vd-olive-800); }
.vd-lang span[aria-current] { color: var(--vd-olive-800); font-weight: 600; }

.vd-cart { position: relative; display: inline-flex; color: var(--vd-ink); padding: 6px; }
.vd-cart svg { width: 26px; height: 26px; }
.vd-cart__count { position: absolute; top: -2px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--vd-garnet); color: #fff; font: 600 .68rem/19px var(--vd-sans); text-align: center; }

.vd-burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.vd-burger__bars, .vd-burger__bars::before, .vd-burger__bars::after { display: block; width: 24px; height: 1.5px; background: var(--vd-ink); position: relative; transition: transform .3s var(--vd-ease), background .3s; }
.vd-burger__bars::before, .vd-burger__bars::after { content: ""; position: absolute; left: 0; }
.vd-burger__bars::before { top: -7px; }
.vd-burger__bars::after { top: 7px; }
.vd-burger[aria-expanded="true"] .vd-burger__bars { background: transparent; }
.vd-burger[aria-expanded="true"] .vd-burger__bars::before { transform: translateY(7px) rotate(45deg); }
.vd-burger[aria-expanded="true"] .vd-burger__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1360px) { .vd-brand__tag { display: none; } }
/* 8 elementos en el menú (con «Tienda»): más juntos entre 1200 y 1320 px */
@media (min-width: 1200px) and (max-width: 1320px) { .vd-header__inner { gap: 14px; } .vd-nav__list { gap: 13px; } .vd-header__actions { gap: 10px; } .vd-lang li + li { padding-left: 6px; margin-left: 6px; } }
@media (max-width: 1199px) {
	.vd-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
	.vd-burger { display: inline-block; }
	.vd-nav {
		position: fixed; inset: var(--vd-nav-top, 84px) 0 0 0; z-index: 99; display: flex; flex-direction: column; justify-content: flex-start;
		background: var(--vd-olive-800); padding: 28px var(--vd-gutter) 40px; overflow: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--vd-ease), visibility .3s;
	}
	.vd-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.vd-nav__list { flex-direction: column; gap: 0; align-items: stretch; }
	.vd-nav__list a { color: #fff; font: 600 1.9rem/1.1 var(--vd-serif); padding: .9rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
	.vd-nav__list a::after { display: none; }
	.vd-nav__list .current-menu-item > a { color: var(--vd-gold-200); }
	.vd-nav__mobile { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
	.vd-lang--mobile a, .vd-lang--mobile li + li { color: var(--vd-sage); border-color: rgba(255, 255, 255, .2); }
	.vd-lang--mobile span[aria-current] { color: #fff; }
	.vd-header__actions { margin-left: auto; }
	.vd-header__actions > .vd-lang { display: none; }
	body.vd-menu-open { overflow: hidden; }
}
@media (max-width: 560px) {
	.vd-header__buy { display: none; }
	.vd-header img.vd-brand__mark { height: 44px; }
	.vd-header img.vd-brand__word { height: 33px; }
	.vd-header__actions { gap: 4px; }
}

/* ---- Botones ------------------------------------------------------------ */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 2rem 0 0; }
.wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	padding: 1em 1.8em; border: 1px solid var(--vd-olive-700); border-radius: 2px;
	background: var(--vd-olive-700); color: #fff !important; font: 500 .92rem/1 var(--vd-sans); letter-spacing: .02em;
	text-decoration: none !important; cursor: pointer; transition: background .25s, color .25s, border-color .25s;
}
.wp-block-button__link:hover { background: var(--vd-olive-900); border-color: var(--vd-olive-900); color: #fff !important; }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--vd-olive-700) !important; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--vd-olive-700); color: #fff !important; }

/* ---- Contenido -------------------------------------------------------- */
.vd-content { padding: clamp(48px, 7vw, 96px) var(--vd-gutter) clamp(64px, 9vw, 120px); }
.vd-content > * { max-width: var(--vd-text); margin-inline: auto; }
.vd-content > .wp-block-columns, .vd-content > .vd-map, .vd-content > .vd-section, .vd-content > .vd-family { max-width: var(--vd-wrap); }
.vd-content--landing { padding: 0; }
.vd-content--landing > * { max-width: none; }
.vd-content.vd-content--landing > .vd-section, .vd-content.vd-content--landing > .vd-hero, .vd-content.vd-content--landing > .vd-marquee { max-width: none; margin-block: 0; }
.vd-content--woo > * { max-width: 1140px; }
.vd-content h2 { margin-top: 2.2em; }
.vd-content h2:first-child { margin-top: 0; }
.vd-content h3 { margin-top: 1.6em; }
.vd-content ul, .vd-content ol { padding-left: 1.25em; }
.vd-content li { margin: .5em 0; }
.vd-content li::marker { color: var(--vd-gold); }
.vd-content .wp-block-image { margin: 0; }
.vd-content .wp-block-image img { display: block; }

/* ---- Cabecera de página (verde con olivar) ---------------------------- */
.vd-page-hero { position: relative; overflow: hidden; text-align: center; background: var(--vd-olive-800); color: #fff; padding: clamp(64px, 9vw, 120px) var(--vd-gutter) clamp(52px, 7vw, 88px); isolation: isolate; }
.vd-page-hero::before { content: ""; position: absolute; inset: -10%; z-index: -1; background: url("../img/olivar.webp") center 60% / cover no-repeat; opacity: .22; transform: scale(1.05); animation: vd-drift 30s ease-in-out infinite alternate; }
.vd-page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(30, 42, 19, .55), rgba(30, 42, 19, .92)); }
.vd-page-hero__inner { max-width: 860px; margin: 0 auto; }
.vd-page-hero__title { color: #fff; margin-bottom: .25em; }
.vd-page-hero__sub { font: italic 400 clamp(1.2rem, 2vw, 1.5rem)/1.45 var(--vd-serif); color: var(--vd-sage-200); max-width: 640px; margin: 0 auto; }
.vd-page-hero .vd-kicker { color: var(--vd-gold-200); }
.vd-crumbs--hero { display: flex; justify-content: center; margin: 0 auto 1.6rem; color: var(--vd-sage-200); }
.vd-crumbs--hero ol { justify-content: center; }
.vd-crumbs--shop { margin: 0 0 1.4rem; color: var(--vd-muted); }
.vd-ornament { display: block; width: 120px; height: 24px; margin: 1.6rem auto 0; color: var(--vd-gold); }

/* ---- Secciones -------------------------------------------------------- */
.vd-section { position: relative; padding: clamp(72px, 10vw, 136px) var(--vd-gutter); }
.vd-section > * { max-width: var(--vd-text); margin-inline: auto; }
.vd-section > .wp-block-columns, .vd-section > .vd-cards, .vd-section > .vd-posts, .vd-section > .vd-map { max-width: var(--vd-wrap); }
.vd-section > .vd-slider-wrap { max-width: var(--vd-wrap); }
.vd-section > .vd-trace { max-width: 1080px; }
.vd-section > h2 { margin-top: 0; }
.vd-section--tight { padding-block: clamp(40px, 6vw, 72px); }
.vd-section--paper { background: var(--vd-paper); }
.vd-section--olive, .vd-section--grove { background: var(--vd-olive-800); color: var(--vd-sage-200); }
.vd-section--olive h2, .vd-section--olive h3, .vd-section--grove h2, .vd-section--grove h3 { color: #fff; }
.vd-section--olive .vd-lead, .vd-section--grove .vd-lead { color: var(--vd-sage-200); }
.vd-section--olive .wp-block-button__link, .vd-section--grove .wp-block-button__link { background: var(--vd-gold); border-color: var(--vd-gold); color: var(--vd-olive-900) !important; }
.vd-section--olive .wp-block-button__link:hover, .vd-section--grove .wp-block-button__link:hover { background: var(--vd-gold-200); border-color: var(--vd-gold-200); }
.vd-section--olive .is-style-outline > .wp-block-button__link, .vd-section--grove .is-style-outline > .wp-block-button__link { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .5); }
.vd-section--olive a:not([class]), .vd-section--grove a:not([class]) { color: var(--vd-gold-200); }
.vd-center { text-align: center; }
.vd-center .wp-block-buttons { justify-content: center; }
.vd-content > .vd-section { margin-block: 3rem; }
.vd-content > .vd-section--tight { padding-inline: 0; }

/* Olivar real desenfocado de fondo */
.vd-section--grove { overflow: hidden; isolation: isolate; }
.vd-section--grove::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../img/olivar.webp") center / cover no-repeat; }
.vd-section--grove::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23, 32, 16, .86), rgba(30, 42, 19, .8) 50%, rgba(23, 32, 16, .92)); }
@media (min-width: 1024px) and (hover: hover) { .vd-section--grove::before { background-attachment: fixed; } }

/* Grabados de la etiqueta como detalle */
.vd-section--branch { overflow: hidden; }
.vd-section--branch::after { content: ""; position: absolute; top: 10px; right: max(-10px, calc((100% - 1240px) / 2 - 150px)); width: clamp(100px, 11vw, 190px); aspect-ratio: 352 / 300; background: url("../img/deco-branch.svg") center / contain no-repeat; opacity: .85; transform-origin: 85% 10%; animation: vd-sway 7s ease-in-out infinite alternate; pointer-events: none; }
.vd-section--windmill { overflow: hidden; }
.vd-section--windmill::before { content: ""; position: absolute; left: max(12px, calc((100% - 1240px) / 2 - 190px)); bottom: 0; width: 180px; aspect-ratio: 233 / 316; background: url("../img/deco-windmill.webp") left bottom / contain no-repeat; opacity: .6; pointer-events: none; display: none; }


/* ---- Arco con doble filete dorado (motivo de la etiqueta) ------------- */
.vd-arch { position: relative; }
.vd-arch__frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.vd-arch__frame path { fill: none; stroke: var(--vd-gold); }
.vd-arch__frame .l2 { opacity: .55; }

/* ---- Portada ---------------------------------------------------------- */
.vd-hero { position: relative; background: var(--vd-olive-800); color: var(--vd-sage-200); overflow: hidden; isolation: isolate; }
.vd-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(1200px 600px at 15% 20%, rgba(85, 112, 58, .35), transparent 60%); }
.vd-hero__cols { max-width: 1400px; margin: 0 auto !important; padding: clamp(48px, 7vw, 96px) var(--vd-gutter) clamp(56px, 8vw, 110px); gap: clamp(32px, 6vw, 96px) !important; align-items: center !important; }
.vd-hero__text { flex: 1 1 52% !important; }
.vd-hero__media { flex: 1 1 48% !important; display: flex; justify-content: center; }
.vd-hero h1 { color: #fff; font-size: clamp(2rem, 3.5vw, 3.4rem); line-height: 1.1; max-width: 20ch; }
.vd-hero .vd-kicker { color: var(--vd-gold-200); }
.vd-hero .vd-lead { color: var(--vd-sage-200); max-width: 34rem; }
.vd-hero .wp-block-button__link { background: var(--vd-gold); border-color: var(--vd-gold); color: var(--vd-olive-900) !important; }
.vd-hero .wp-block-button__link:hover { background: var(--vd-gold-200); border-color: var(--vd-gold-200); }
.vd-hero .is-style-outline > .wp-block-button__link { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .45); }
.vd-hero .is-style-outline > .wp-block-button__link:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.vd-badges { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 2.2rem 0 0; font: 400 .92rem/1.4 var(--vd-sans); color: var(--vd-sage); }
.vd-badges span { position: relative; padding-left: 16px; }
.vd-badges span::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border: 1px solid var(--vd-gold); transform: rotate(45deg); }
.vd-hero__img { width: min(100%, 520px); }
.vd-hero__img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 42%; border-radius: 50% 50% 0 0 / 37.5% 37.5% 0 0; }

/* Secuencia de entrada de la portada */
.js .vd-hero__text > * { opacity: 0; transform: translateY(14px); }
.js .vd-hero__img img { clip-path: inset(100% 0 0 0); }
.js .vd-hero__img .vd-arch__frame path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.vd-loaded .vd-hero__text > * { animation: vd-rise .9s var(--vd-ease) forwards; }
.vd-loaded .vd-hero__text > *:nth-child(2) { animation-delay: .12s; }
.vd-loaded .vd-hero__text > *:nth-child(3) { animation-delay: .24s; }
.vd-loaded .vd-hero__text > *:nth-child(4) { animation-delay: .36s; }
.vd-loaded .vd-hero__text > *:nth-child(5) { animation-delay: .48s; }
.vd-loaded .vd-hero__img img { animation: vd-unveil 1.4s .25s var(--vd-ease) forwards; }
.vd-loaded .vd-hero__img .vd-arch__frame path { animation: vd-draw 2s .9s var(--vd-ease) forwards; }
.vd-loaded .vd-hero__img .vd-arch__frame .l2 { animation-delay: 1.15s; }

/* Banda con texto en movimiento */
.vd-marquee { overflow: hidden; background: var(--vd-white); border-block: 1px solid var(--vd-line); padding: 1.1rem 0; }
.vd-marquee__track { display: flex; width: max-content; animation: vd-marquee 48s linear infinite; }
.vd-marquee__text { margin: 0; padding-right: 2.5rem; white-space: nowrap; font: italic 500 clamp(1.4rem, 2.4vw, 2rem)/1.2 var(--vd-serif); color: var(--vd-olive-700); }
.vd-marquee:hover .vd-marquee__track { animation-play-state: paused; }

/* Principios del aceite de autor */
.vd-principles { gap: clamp(24px, 3vw, 48px) !important; margin-top: 3.2rem; text-align: left; }
.vd-principles .wp-block-column { border-top: 1px solid var(--vd-gold); padding-top: 1.3rem; }
.vd-principles h3 { margin: 0 0 .5rem; }
.vd-principles p { color: var(--vd-muted); margin: 0; font-size: 1rem; }

/* Ficha destacada del producto */
.vd-feature { gap: clamp(32px, 6vw, 96px) !important; align-items: center !important; }
.vd-feature__media { position: relative; display: flex; justify-content: center; }
/* Arcos dorados: se dibujan en la propia foto, así siempre encajan con ella (4.4).
   Botella recortada de la portada: el arco va detrás, centrado en la botella
   (la botella ocupa el 42 % izquierdo del ancho por la etiqueta colgante). */
.vd-float::before, .vd-float::after { content: ""; position: absolute; z-index: -1; border: 1px solid var(--vd-gold); pointer-events: none; }
.vd-float::before { left: -2%; width: 88%; top: 3%; bottom: 3.5%; border-radius: 50% 50% 0 0 / 26% 26% 0 0; opacity: .7; }
.vd-float::after { left: calc(-2% - 12px); width: calc(88% + 24px); top: calc(3% - 12px); bottom: 3.5%; border-radius: 50% 50% 0 0 / 27% 27% 0 0; opacity: .35; }
/* Foto de la botella en la bodega (El aceite): la foto toma forma de arco y los dos arcos la rodean. */
.vd-feature__media .vd-rounded { position: relative; width: min(100% - 48px, 420px); margin: 24px auto 0; }
.vd-feature .vd-feature__media .vd-rounded img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 55%; border-radius: 50% 50% 0 0 / 37.5% 37.5% 0 0; }
.vd-feature__media .vd-rounded::before, .vd-feature__media .vd-rounded::after { content: ""; position: absolute; bottom: 0; border: 1px solid var(--vd-gold); border-bottom: 0; pointer-events: none; }
.vd-feature__media .vd-rounded::before { inset: -12px -12px 0 -12px; border-radius: 50% 50% 0 0 / 38.9% 38.9% 0 0; opacity: .7; }
.vd-feature__media .vd-rounded::after { inset: -24px -24px 0 -24px; border-radius: 50% 50% 0 0 / 40.2% 40.2% 0 0; opacity: .35; }
.vd-float { position: relative; z-index: 1; width: min(100%, 440px); }
.vd-float img { width: 100%; }
.vd-float img { animation: vd-float 7s ease-in-out infinite; }
.vd-feature .vd-rounded img { border-radius: 4px; }

/* Franja de generaciones (portada) */
.vd-strip { position: relative; margin: 3rem auto 0 !important; gap: 0 !important; }
.vd-strip::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 1.45rem; height: 1px; background: linear-gradient(90deg, transparent, var(--vd-gold) 8%, var(--vd-gold) 92%, transparent); }
.vd-strip .wp-block-column { position: relative; padding: 0 1rem; }
.vd-strip__num { position: relative; display: inline-grid; place-items: center; width: 2.9rem; height: 2.9rem; margin: 0 0 1.1rem; border: 1px solid var(--vd-gold); border-radius: 50%; background: var(--vd-olive-800); font: 600 1.2rem/1 var(--vd-serif); color: var(--vd-gold-200); }
.vd-strip h3 { color: #fff; margin: 0 0 .3rem; font-size: 1.55rem; }
.vd-strip__role { margin: 0; font: italic 400 1.1rem var(--vd-serif); color: var(--vd-sage); }
@media (max-width: 781px) {
	.vd-strip::before { left: 1.45rem; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: var(--vd-gold); }
	.vd-strip .wp-block-column { text-align: left; padding: 0 0 1.6rem 4rem; }
	.vd-strip__num { position: absolute; left: 0; top: 0; }
}

/* Cifras */
.vd-stats { text-align: center; gap: 0 !important; }
.vd-stats .wp-block-column { padding: 1rem; }
@media (min-width: 782px) { .vd-stats .wp-block-column + .wp-block-column { border-left: 1px solid var(--vd-line); } }
.vd-stat__num { font: 600 clamp(2.8rem, 5vw, 4rem)/1 var(--vd-serif); color: var(--vd-olive-600); margin: 0 0 .4rem; font-variant-numeric: lining-nums; }
.vd-stat__num--pct::after { content: " %"; font-size: .6em; }
.vd-stat__label { margin: 0; font: 400 1rem/1.4 var(--vd-sans); color: var(--vd-muted); }

/* Bloques imagen + texto */
.vd-split { align-items: center !important; gap: clamp(32px, 6vw, 96px) !important; }
.vd-split__media { text-align: center; }
.vd-bird img { width: 100%; max-width: 420px; margin-inline: auto; }

/* Llamada final */
.vd-cta .vd-form--inline { margin-top: 1.6rem; }
.vd-cta__alt { margin-top: 3rem; color: var(--vd-sage); }

/* ---- Historia interactiva -------------------------------------------- */
.vd-family { position: relative; margin-top: 2.5rem; }
.vd-gen-nav { position: sticky; top: calc(var(--vd-header-sticky, 68px)); z-index: 20; max-width: var(--vd-wrap) !important; margin: 0 auto 3rem !important; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--vd-line); }
.vd-gen-nav ol { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; }
.vd-gen-nav a { display: flex; gap: .7rem; align-items: baseline; padding: 1rem .8rem .9rem; text-decoration: none; color: var(--vd-muted); font: 500 .95rem/1.25 var(--vd-sans); transition: color .3s; }
.vd-gen-nav a span { font: 600 1.15rem/1 var(--vd-serif); color: var(--vd-gold); }
.vd-gen-nav a[aria-current="true"] { color: var(--vd-olive-800); }
.vd-gen-nav__bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--vd-olive-600); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform .15s linear; }
@media (max-width: 720px) { .vd-gen-nav a { flex-direction: column; gap: .25rem; padding: .7rem .4rem; font-size: .78rem; } }

.vd-gen { padding-block: clamp(40px, 6vw, 80px); }
.vd-gen + .vd-gen { border-top: 1px solid var(--vd-line); }
.vd-gen__cols { gap: clamp(32px, 6vw, 96px) !important; align-items: center !important; }
.vd-gen:nth-of-type(even) .vd-gen__cols { flex-direction: row-reverse; }
.vd-gen__media { flex: 0 1 40% !important; display: flex; justify-content: center; }
.vd-gen__text { flex: 1 1 60% !important; position: relative; }
.vd-gen__photo { width: min(100%, 380px); }
.vd-gen__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 50% 50% 0 0 / 37.5% 37.5% 0 0; filter: sepia(.15); transition: filter .6s; }
.vd-gen__photo:hover img { filter: none; }
.vd-gen__num { position: absolute; top: -.35em; right: 0; margin: 0; font: 600 clamp(6rem, 12vw, 10rem)/1 var(--vd-serif); color: transparent; -webkit-text-stroke: 1px var(--vd-gold); opacity: .5; pointer-events: none; }
.vd-gen__names { font-size: clamp(2.2rem, 4vw, 3.4rem); margin: 0 0 1rem !important; }
.vd-gen__legacy { display: inline-block; margin-top: .6rem; padding-top: .9rem; border-top: 1px solid var(--vd-gold); font: italic 400 1.35rem/1.3 var(--vd-serif); color: var(--vd-olive-600); }
.vd-gen__legacy strong { font-weight: 600; }
.js .vd-gen__photo img { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--vd-ease), filter .6s; }
.js .vd-gen.is-in .vd-gen__photo img { clip-path: inset(0 0 0 0); }
.js .vd-gen .vd-arch__frame path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s .5s var(--vd-ease); }
.js .vd-gen.is-in .vd-arch__frame path { stroke-dashoffset: 0; }

/* Pasos del proceso (secuencia real: numerados) */
.vd-steps { counter-reset: step; gap: clamp(20px, 3vw, 40px) !important; margin-top: 1rem; }
.vd-step { text-align: center; counter-increment: step; }
.vd-step::before { content: ""; display: block; width: 88px; height: 88px; margin: 0 auto 1rem; border-radius: 50% 50% 0 0 / 50% 50% 0 0; background: var(--vd-paper) center 58% / 46% no-repeat; border: 1px solid var(--vd-gold); }
.vd-step--olivo::before { background-image: url("../img/icon-olivo.svg"); }
.vd-step--molino::before { background-image: url("../img/icon-molino.svg"); }
.vd-step--analisis::before { background-image: url("../img/icon-analisis.svg"); }
.vd-step--botella::before { background-image: url("../img/icon-botella.svg"); }
.vd-step h3 { margin: 0 0 .3rem; }
.vd-step h3::before { content: counter(step) ". "; color: var(--vd-gold); }
.vd-step p { color: var(--vd-muted); font-size: .97rem; margin: 0; }

/* Columnas de características */
.vd-features { gap: clamp(24px, 3vw, 44px) !important; margin-top: 2rem; }
.vd-features .wp-block-column { border-top: 1px solid var(--vd-gold); padding-top: 1.1rem; }
.vd-features h3 { margin: 0 0 .4rem !important; }
.vd-features p { color: var(--vd-muted); font-size: 1rem; margin: 0; }

/* Preguntas frecuentes */
.wp-block-details { border-bottom: 1px solid var(--vd-line); padding: 1.15rem 0; }
.wp-block-details summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; font: 600 1.35rem/1.3 var(--vd-serif); color: var(--vd-olive-800); }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 1px solid var(--vd-gold); border-bottom: 1px solid var(--vd-gold); transform: rotate(45deg) translate(-3px, -3px); transition: transform .35s var(--vd-ease); }
.wp-block-details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.wp-block-details > p { margin: .8rem 0 0; color: var(--vd-muted); }
.wp-block-details[open] > p { animation: vd-rise .45s var(--vd-ease); }

/* Contacto */
.vd-contact { gap: clamp(32px, 6vw, 80px) !important; align-items: flex-start !important; }
.vd-contact > .wp-block-column:last-child { background: var(--vd-paper); padding: clamp(24px, 3vw, 40px); }
.vd-contact h2 { margin-top: 0 !important; font-size: clamp(1.8rem, 3vw, 2.4rem); }

/* Artículo */
.vd-article__cover { max-width: 1100px; margin: clamp(-48px, -4vw, -24px) auto 0; padding-inline: var(--vd-gutter); position: relative; z-index: 2; }
.vd-article__cover img { width: 100%; display: block; }
.vd-article__back { margin-top: 3rem; }
.vd-listing { padding-block: clamp(48px, 6vw, 80px); }
.vd-listing .nav-links { display: flex; gap: .6rem; justify-content: center; margin-top: 2rem; }
.vd-listing .page-numbers { padding: .4rem .8rem; border: 1px solid var(--vd-line); text-decoration: none; }
.vd-listing .page-numbers.current { background: var(--vd-olive-700); color: #fff; }
.vd-search { display: flex; gap: .6rem; max-width: 520px; margin: 1rem auto; }
.vd-search input { flex: 1; padding: .8rem 1rem; border: 1px solid var(--vd-line); font: inherit; }

/* 404 */
.vd-404 { text-align: center; padding: clamp(80px, 12vw, 160px) var(--vd-gutter); max-width: 640px; margin: 0 auto; }
.vd-404 img { width: 220px; margin-bottom: 1.5rem; }
.vd-404 p { color: var(--vd-muted); }

/* ---- Pie -------------------------------------------------------------- */
.vd-footer { background: var(--vd-olive-900); color: var(--vd-sage); padding: clamp(64px, 8vw, 104px) var(--vd-gutter) 28px; border-top: 1px solid var(--vd-gold); }
.vd-footer__inner { max-width: var(--vd-wrap); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(32px, 4vw, 64px); }
@media (max-width: 960px) { .vd-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .vd-footer__inner { grid-template-columns: 1fr; } }
.vd-footer__logo { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 14px; text-decoration: none; margin-bottom: 1.2rem; }
.vd-footer img.vd-footer__mark { width: 120px; height: auto; }
.vd-footer img.vd-footer__word { width: 230px; height: auto; }
.vd-footer__brand p { font-size: .97rem; max-width: 34ch; }
.vd-footer__title { font: italic 500 1.25rem/1 var(--vd-serif); color: var(--vd-gold-200); margin: .4rem 0 1.2rem; letter-spacing: 0; }
.vd-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; font-size: .97rem; }
.vd-footer a { color: var(--vd-sage-200); text-decoration: none; }
.vd-footer a:hover { color: #fff; text-decoration: underline; }
.vd-footer__address { font-style: normal; line-height: 1.6; margin-bottom: .4rem; }
.vd-footer__note { font: italic 400 1.05rem var(--vd-serif); color: var(--vd-gold-200); margin-bottom: 1rem; }
.vd-footer .vd-social a { color: var(--vd-sage-200); border-color: rgba(217, 195, 154, .45); }
.vd-footer .vd-social a:hover { background: var(--vd-gold); border-color: var(--vd-gold); color: var(--vd-olive-900); text-decoration: none; }
.vd-footer__bottom { max-width: var(--vd-wrap); margin: clamp(48px, 6vw, 80px) auto 0; padding-top: 22px; border-top: 1px solid rgba(169, 179, 138, .2); display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; font-size: .85rem; }
.vd-footer__bottom p { margin: 0; }
.vd-footer__legal { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; }

/* ---- WooCommerce ------------------------------------------------------ */
.vd-shop { padding-block: clamp(40px, 5vw, 72px) clamp(64px, 8vw, 110px); }
.vd-notices { margin-top: 1.5rem; }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: clamp(20px, 3vw, 40px); margin: 0 !important; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; padding: 0 0 1.6rem !important; text-align: center; border: 1px solid var(--vd-line); transition: border-color .3s; }
.woocommerce ul.products li.product:hover { border-color: var(--vd-gold); }
.woocommerce ul.products li.product a img { margin: 0 0 1.1rem !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font: 600 1.45rem/1.2 var(--vd-serif) !important; color: var(--vd-olive-800); padding: 0 1rem !important; }
.woocommerce ul.products li.product .price { font: 600 1.3rem var(--vd-serif) !important; color: var(--vd-olive-600) !important; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce #payment #place_order, .woocommerce #respond input#submit {
	background: var(--vd-olive-700) !important; color: #fff !important; border: 1px solid var(--vd-olive-700) !important; border-radius: 2px !important;
	padding: 1em 1.7em !important; font: 500 .92rem/1 var(--vd-sans) !important; letter-spacing: .02em !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover { background: var(--vd-olive-900) !important; border-color: var(--vd-olive-900) !important; }
.woocommerce #payment #place_order { width: 100%; padding: 1.2em !important; font-size: 1rem !important; }
.woocommerce div.product { margin-top: 1rem; }
.woocommerce div.product .product_title { font-size: clamp(2.2rem, 3.6vw, 3rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { font: 600 2rem var(--vd-serif) !important; color: var(--vd-olive-600) !important; }
.woocommerce div.product .woocommerce-product-details__short-description { font: 400 1.25rem/1.55 var(--vd-serif); color: var(--vd-ink); }
.woocommerce div.product div.images img { background: var(--vd-paper); }
.woocommerce div.product form.cart { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; margin: 1.4rem 0 !important; }
.woocommerce .quantity .qty { width: 4.5rem; padding: .8rem .4rem; border: 1px solid var(--vd-line); font: inherit; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0 !important; margin-bottom: 1.5rem !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: var(--vd-line) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: transparent !important; border: 0 !important; border-radius: 0 !important; margin: 0 1.4rem 0 0 !important; padding: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font: 500 .95rem var(--vd-sans) !important; color: var(--vd-muted) !important; padding: .8rem 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--vd-olive-800) !important; border-bottom: 1px solid var(--vd-gold); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: var(--vd-text); }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce div.product .woocommerce-tabs .panel h2 { margin-top: 1.8em; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child + h2 { margin-top: 0; }
.woocommerce .related.products > h2 { text-align: center; margin: 3.5rem 0 1.5rem; }
/* Etiqueta de oferta: rectangular, verde oliva con filete dorado, como el resto de etiquetas (4.8.1) */
.woocommerce span.onsale, .woocommerce ul.products li.product .onsale { top: 14px !important; left: 14px !important; right: auto !important; margin: 0 !important; min-width: 0 !important; min-height: 0 !important; padding: .55em .85em !important; border: 1px solid var(--vd-gold) !important; border-radius: 2px !important; background: var(--vd-olive-800) !important; color: #f1e3b8 !important; font: 600 .7rem/1 var(--vd-sans) !important; letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .45); z-index: 3; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { background: var(--vd-paper) !important; border-top-color: var(--vd-olive-600) !important; color: var(--vd-ink) !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--vd-olive-600) !important; }
.woocommerce-error { border-top-color: var(--vd-garnet) !important; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce .select2-container .select2-selection--single { padding: .75rem .9rem; border: 1px solid var(--vd-line); border-radius: 2px; background: #fff; font: inherit; min-height: 48px; }
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered { line-height: 26px; padding: 0; }
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow { top: 10px; right: 8px; }
.woocommerce table.shop_table { border-radius: 0 !important; border-color: var(--vd-line) !important; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--vd-line) !important; }
.woocommerce #payment { background: var(--vd-paper) !important; border-radius: 0 !important; }
.woocommerce #payment div.payment_box { background: #fff !important; }
.woocommerce #payment div.payment_box::before { border-bottom-color: #fff !important; }
.woocommerce-breadcrumb { display: none; }

/* ---- Aparición al hacer scroll (sutil, una vez) ------------------------ */
.js [data-reveal], .js .vd-section > h2, .js .vd-section > .vd-lead, .js .vd-principles .wp-block-column, .js .vd-steps .wp-block-column, .js .vd-strip .wp-block-column { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--vd-ease), transform .9s var(--vd-ease); }
.js .is-in[data-reveal], .js .vd-section > h2.is-in, .js .vd-section > .vd-lead.is-in, .js .vd-principles .wp-block-column.is-in, .js .vd-steps .wp-block-column.is-in, .js .vd-strip .wp-block-column.is-in { opacity: 1; transform: none; }

/* ---- Animaciones ------------------------------------------------------ */
@keyframes vd-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes vd-unveil { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes vd-draw { to { stroke-dashoffset: 0; } }
@keyframes vd-marquee { to { transform: translateX(-50%); } }
@keyframes vd-sway { from { transform: rotate(-2.5deg); } to { transform: rotate(2deg); } }
@keyframes vd-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes vd-drift { from { transform: scale(1.05) translateX(-1.5%); } to { transform: scale(1.1) translateX(1.5%); } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .vd-hero__text > *, .js [data-reveal], .js .vd-section > h2, .js .vd-section > .vd-lead, .js .vd-principles .wp-block-column, .js .vd-steps .wp-block-column, .js .vd-strip .wp-block-column { opacity: 1 !important; transform: none !important; }
	.js .vd-hero__img img, .js .vd-gen__photo img { clip-path: none !important; }
	.js .vd-arch__frame path { stroke-dashoffset: 0 !important; }
	.vd-marquee__track { transform: none !important; }
}

/* ---- Móvil ------------------------------------------------------------ */
@media (max-width: 781px) {
	.vd-hero__cols { flex-direction: column-reverse; padding-top: 32px; }
	.vd-hero__img { width: min(78%, 360px); }
	.vd-gen:nth-of-type(even) .vd-gen__cols { flex-direction: column; }
	.vd-gen__num { font-size: 5.5rem; top: -1rem; }
	.vd-feature__media { margin-bottom: 1rem; }
}

/* Antetítulo pegado a su título, en cualquier contenedor */
.vd-kicker + h1, .vd-kicker + h2, .vd-kicker + h3 { margin-top: 0 !important; }
.vd-nav__mobile .vd-btn { background: var(--vd-gold); border-color: var(--vd-gold); color: var(--vd-olive-900) !important; }

/* ---- Cosecha temprana, olivos centenarios (v3.3) ------------------------ */
.vd-stat__num--plus::before { content: "+"; font-size: .7em; vertical-align: .12em; margin-right: .04em; }
.vd-aromas { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 0 !important; padding: 0 !important; list-style: none; }
.vd-aromas li { margin: 0 !important; padding: .45em 1em; border: 1px solid var(--vd-sage); border-radius: 999px; background: rgba(255, 255, 255, .55); font: italic 500 1.05rem/1.2 var(--vd-serif); color: var(--vd-olive-700); }
.vd-green__media img { border-radius: 4px; }
.vd-centenary .vd-split__media { position: relative; }
.vd-centenary .vd-split__media img { border-radius: 4px; }
.vd-age { position: absolute; right: clamp(-12px, -1vw, 0px); bottom: -18px; display: grid; place-content: center; width: 138px; height: 138px; margin: 0 !important; border: 1px solid var(--vd-gold); border-radius: 50%; background: #fbf7ea; box-shadow: 0 0 0 6px #fbf7ea, 0 0 0 7px var(--vd-gold-200), 0 18px 30px -16px rgba(30, 42, 19, .45); text-align: center; color: #33461d; }
.vd-age__n { display: block; font: 600 2.6rem/1 var(--vd-serif); font-variant-numeric: lining-nums; }
.vd-age__l { display: block; margin-top: .2rem; font: 500 .72rem/1.25 var(--vd-sans); letter-spacing: .16em; text-transform: uppercase; color: #8c6d32; }
@media (max-width: 781px) { .vd-age { right: 8px; bottom: -14px; width: 112px; height: 112px; } .vd-age__n { font-size: 2.1rem; } }
.vd-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin: 1.6rem 0 0 !important; padding: 0 !important; list-style: none; }
.vd-facts:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 30rem; }
.vd-facts li { margin: 0 !important; padding: .9rem 0 0; border-top: 1px solid var(--vd-gold); font-size: .98rem; color: var(--vd-muted); }
.vd-facts strong { display: block; font: 600 1.45rem/1.15 var(--vd-serif); color: var(--vd-olive-700); }
.vd-skin-dark .vd-section--olive .vd-aromas li { background: transparent; border-color: rgba(217, 195, 154, .55); color: #f3efe2; }

/* =========================================================================
   v3.6 · Animación extra (ligera: solo opacity/transform, sin librerías)
   ====================================================================== */
/* Imágenes, tarjetas y listas que aparecen al entrar en pantalla */
.js .vd-split__media, .js .vd-feature__media, .js .vd-green__media, .js .vd-facts li, .js .vd-aromas li, .js .vd-cards > *, .js .vd-posts > * { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--vd-ease), transform 1.1s var(--vd-ease); }
.js .vd-split__media.is-in, .js .vd-feature__media.is-in, .js .vd-green__media.is-in, .js .vd-facts li.is-in, .js .vd-aromas li.is-in, .js .vd-cards > .is-in, .js .vd-posts > .is-in { opacity: 1; transform: none; }
.js .vd-aromas li { transform: translateY(10px) scale(.96); }
/* El sello «+500 años» entra con un pequeño rebote */
.js .vd-split__media .vd-age { transform: scale(.6) rotate(-14deg); opacity: 0; transition: transform .9s .45s cubic-bezier(.34, 1.56, .64, 1), opacity .5s .45s; }
.js .vd-split__media.is-in .vd-age { transform: none; opacity: 1; }
/* Filete dorado que se dibuja bajo los antetítulos centrados */
.vd-center > .vd-kicker::after { content: ""; display: block; width: 44px; height: 1px; margin: .7rem auto 0; background: var(--vd-gold); transform: scaleX(0); transition: transform 1s .2s var(--vd-ease); }
.vd-section.vd-center:has(> h2.is-in) > .vd-kicker::after, .no-js .vd-center > .vd-kicker::after { transform: scaleX(1); }
/* Botones: destello suave al pasar el ratón */
.vd-btn, .wp-block-button__link { position: relative; overflow: hidden; }
.vd-btn::before, .wp-block-button__link::before { content: ""; position: absolute; inset: 0 auto 0 -60%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-18deg); transition: none; pointer-events: none; }
@media (hover: hover) { .vd-btn:hover::before, .wp-block-button__link:hover::before { left: 120%; transition: left .8s var(--vd-ease); } .vd-brand:hover .vd-brand__mark { transform: rotate(-4deg) scale(1.04); } }
.vd-header img.vd-brand__mark { transition: height .3s var(--vd-ease), transform .5s var(--vd-ease); transform-origin: 50% 80%; }
/* Con el scroll (solo navegadores que lo soportan, sin JavaScript): barra de progreso y paralaje leve de la botella */
@supports (animation-timeline: scroll()) {
	@media (prefers-reduced-motion: no-preference) {
		.vd-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--vd-gold); transform-origin: 0 50%; transform: scaleX(0); animation: vd-progress linear both; animation-timeline: scroll(root); }
		.vd-hero__img { animation: vd-parallax linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
		.vd-float { animation: vd-parallax-s linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
	}
}
@keyframes vd-progress { to { transform: scaleX(1); } }
@keyframes vd-parallax { to { transform: translateY(46px); } }
@keyframes vd-parallax-s { from { transform: translateY(26px); } to { transform: translateY(-26px); } }
@media (prefers-reduced-motion: reduce) { .js .vd-split__media, .js .vd-feature__media, .js .vd-green__media, .js .vd-facts li, .js .vd-aromas li, .js .vd-cards > *, .js .vd-posts > *, .js .vd-split__media .vd-age { opacity: 1 !important; transform: none !important; } .vd-center > .vd-kicker::after { transform: scaleX(1) !important; } }
@media (max-width: 600px) { .vd-hero h1 { font-size: 1.95rem; } }

/* v4.0 · «de La Mancha», más discreto que «El Verderón» */
.vd-dlm { font-size: .8em; letter-spacing: .06em; opacity: .72; font-weight: 400; }

/* Cupón del carrito: campo del mismo alto que el botón y a todo lo ancho en el móvil (4.4) */
.woocommerce table.cart td.actions .coupon { display: flex; flex-wrap: wrap; align-items: stretch; gap: .6rem; float: none !important; }
.woocommerce table.cart td.actions .coupon label { display: none; }
.woocommerce table.cart td.actions .coupon .input-text,
.woocommerce form.checkout_coupon .input-text { float: none !important; flex: 1 1 220px; width: auto !important; max-width: 340px; min-height: 48px; margin: 0 !important; padding: .7rem .9rem !important; border: 1px solid var(--vd-line) !important; border-radius: 2px; background: #fff; font: 400 1rem/1.3 var(--vd-sans) !important; box-sizing: border-box; }
.woocommerce table.cart td.actions .coupon .button { float: none !important; margin: 0 !important; min-height: 48px; }
.woocommerce table.cart td.actions > .button { min-height: 48px; }
@media (max-width: 768px) {
	.woocommerce table.cart td.actions .coupon { flex-direction: column; padding-bottom: .4rem; }
	.woocommerce table.cart td.actions .coupon .input-text,
	.woocommerce table.cart td.actions .coupon .button,
	.woocommerce table.cart td.actions > .button { width: 100% !important; max-width: none; flex: 0 0 auto; }
}

/* Móvil: el título y la entradilla de la portada ocupan todo el ancho y los
   párrafos van justificados (con guiones), también en las secciones centradas (4.4) */
@media (max-width: 900px) {
	.vd-hero h1, .vd-hero .vd-lead { max-width: none; }
}
@media (max-width: 600px) {
	main p:not([class]), main p.vd-lead, main .vd-hero .vd-lead,
	main .woocommerce-product-details__short-description p, main .vd-post-card__excerpt {
		text-align: justify; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 7 3 3;
	}
	main .vd-center p:not([class]), main .vd-center p.vd-lead, main .has-text-align-center { text-align-last: center; }
	main p.has-text-align-center { text-align: center; }
}

/* Pie en el móvil: logotipo, texto y redes centrados (4.6) */
@media (max-width: 560px) {
	.vd-footer__brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
	.vd-footer__logo { align-items: center; }
	.vd-footer__brand p { margin-inline: auto; }
	.vd-footer__brand .vd-social { justify-content: center; }
}

/* Botón «eliminar producto» del carrito: círculo perfecto con una × dibujada (4.7) */
.woocommerce a.remove { position: relative; display: inline-block !important; box-sizing: border-box; width: 2rem !important; height: 2rem !important; padding: 0 !important; border: 1px solid var(--vd-line) !important; border-radius: 50% !important; background: transparent !important; color: transparent !important; font-size: 0 !important; line-height: 0 !important; text-decoration: none !important; vertical-align: middle; transition: background-color .2s, border-color .2s; }
.woocommerce a.remove::before, .woocommerce a.remove::after { content: ""; position: absolute; left: 50%; top: 50%; width: .8rem; height: 1.5px; border-radius: 1px; background: var(--vd-muted); transform: translate(-50%, -50%) rotate(45deg); transition: background-color .2s; }
.woocommerce a.remove::after { transform: translate(-50%, -50%) rotate(-45deg); }
.woocommerce a.remove:hover, .woocommerce a.remove:focus-visible { background: #a3271f !important; border-color: #a3271f !important; }
.woocommerce a.remove:hover::before, .woocommerce a.remove:hover::after, .woocommerce a.remove:focus-visible::before, .woocommerce a.remove:focus-visible::after { background: #fff; }

/* Avisos de WooCommerce: icono alineado con la primera línea y sin marco al recibir el foco (4.7.1) */
.woocommerce-message, .woocommerce-info, .woocommerce-error { padding: 1.1em 1.5em 1.1em 3.5em !important; line-height: 1.6 !important; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { top: 1.1em !important; left: 1.4em !important; line-height: 1.6 !important; }
.woocommerce-error li, .woocommerce-message li, .woocommerce-info li { margin: 0 !important; padding: 0 !important; line-height: inherit; }
.woocommerce-error li + li { margin-top: .35em !important; }
.woocommerce-error a { color: var(--vd-garnet); text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-error:focus, .woocommerce-NoticeGroup [tabindex="-1"]:focus { outline: none; }
/* Campo con error en la página de pago: mensaje debajo y aviso visual */
.woocommerce form .form-row { scroll-margin: 120px 0; }
.woocommerce form .form-row .checkout-inline-error-message { color: var(--vd-garnet); font-size: .85rem; margin: .4rem 0 0; }
.woocommerce-invalid #terms { outline: 2px solid var(--vd-garnet) !important; outline-offset: 2px; }
.woocommerce-terms-and-conditions-wrapper .form-row.woocommerce-invalid { color: var(--vd-garnet); }
.vd-attn { animation: vd-attn 1.2s ease-out; border-radius: 4px; }
@keyframes vd-attn {
	0% { background: rgba(126, 42, 31, .16); box-shadow: 0 0 0 6px rgba(126, 42, 31, .16); }
	10%, 30% { transform: translateX(-5px); }
	20%, 40% { transform: translateX(5px); }
	50% { transform: none; }
	100% { background: transparent; box-shadow: 0 0 0 6px transparent; }
}
@media (prefers-reduced-motion: reduce) { .vd-attn { animation: none; } }

/* Carrito y pago: cabecera compacta (4.7.2) */
.vd-page-hero--compact { padding: clamp(22px, 3.5vw, 38px) var(--vd-gutter) clamp(20px, 3vw, 32px); }
.vd-page-hero--compact .vd-crumbs--hero { margin-bottom: .5rem; }
.vd-page-hero--compact .vd-page-hero__title { font-size: clamp(1.9rem, 4.5vw, 2.6rem); margin-bottom: 0; }
.vd-page-hero--compact .vd-ornament { display: none; }
.vd-page-hero--compact + .vd-content--woo, .vd-page-hero--compact ~ .vd-content--woo { padding-top: clamp(20px, 3vw, 36px); }

/* Carrito: resumen con el total y el botón de pagar arriba, y barra fija abajo en el móvil */
.vd-cartbar { display: flex; align-items: center; justify-content: space-between; gap: .8rem 1.4rem; flex-wrap: wrap; }
.vd-cartbar__total { margin: 0; font-size: 1rem; color: var(--vd-muted); }
.vd-cartbar__amount { font: 600 1.45rem var(--vd-serif); color: var(--vd-olive-800); margin-left: .3rem; }
.vd-cartbar__amount .woocommerce-Price-currencySymbol { font: inherit; }
.woocommerce .vd-cartbar .vd-cartbar__go { margin: 0 !important; min-height: 48px; display: inline-flex !important; align-items: center; justify-content: center; }
.vd-cartbar--top { margin: 0 0 1.4rem; padding: .9rem 1.1rem; background: var(--vd-paper); border: 1px solid var(--vd-line); border-top: 2px solid var(--vd-gold); }
.vd-cartbar--dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 998; padding: .7rem var(--vd-gutter) max(.7rem, env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--vd-line); box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .35); flex-wrap: nowrap; transform: translateY(110%); visibility: hidden; transition: transform .3s var(--vd-ease, ease), visibility 0s .3s; }
.vd-cartbar--dock.is-on { transform: none; visibility: visible; transition: transform .3s var(--vd-ease, ease), visibility 0s; }
.vd-cartbar--dock .vd-cartbar__go { flex: 0 1 auto; white-space: nowrap; display: inline-flex; align-items: center; min-height: 48px; background: var(--vd-olive-700); color: #fff; border: 1px solid var(--vd-olive-700); border-radius: 2px; padding: 0 1.4em; font: 500 .92rem/1 var(--vd-sans); letter-spacing: .02em; text-decoration: none; }
.vd-cartbar--dock .vd-cartbar__go:hover { background: var(--vd-olive-900); border-color: var(--vd-olive-900); color: #fff; }
@media (max-width: 900px) { .vd-cartbar-on .vd-wa-float { bottom: calc(max(18px, env(safe-area-inset-bottom)) + 76px); transition: bottom .3s; } }
@media (min-width: 901px) { .vd-cartbar--dock { display: none !important; } }
@media (max-width: 600px) {
	.vd-cartbar--top { flex-direction: column; align-items: stretch; text-align: center; }
	.vd-cartbar--top .vd-cartbar__go { width: 100%; }
	.vd-cartbar--dock .vd-cartbar__amount { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { .vd-cartbar--dock { transition: none; } }

/* Cupón plegado y carrito que se actualiza solo */
.vd-coupon-toggle { background: none; border: 0; padding: .4rem 0; font: inherit; font-size: .95rem; color: var(--vd-olive-600); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.vd-coupon-toggle:hover { color: var(--vd-olive-800); }
.woocommerce table.cart td.actions .coupon.is-folded > :not(.vd-coupon-toggle) { display: none !important; }
.woocommerce table.cart td.actions .coupon:not(.is-folded) > .vd-coupon-toggle { display: none; }
.woocommerce .vd-autoupdate td.actions > button[name="update_cart"] { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* Finalizar compra: crear una cuenta, en un recuadro con su explicación (4.7.3) */
.woocommerce-checkout .woocommerce-account-fields { margin: 1.4rem 0 .6rem; padding: 1rem 1.2rem; background: var(--vd-paper); border: 1px solid var(--vd-line); border-left: 3px solid var(--vd-gold); }
.woocommerce-checkout .woocommerce-account-fields p.create-account { margin: 0 !important; padding: 0 !important; }
.woocommerce-checkout .woocommerce-account-fields p.create-account label { display: flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--vd-olive-800); cursor: pointer; }
.woocommerce-checkout .woocommerce-account-fields #createaccount { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--vd-olive-700); flex: none; }
.vd-acct-note { margin: .45rem 0 0 1.75rem; font-size: .9rem; line-height: 1.5; color: var(--vd-muted); }

/* Precios rebajados: cifras alineadas, precio anterior tachado discreto y el nuevo sin subrayar (4.8.1) */
.price, .amount, .woocommerce-Price-amount, .vd-card__price { font-variant-numeric: lining-nums; }
.woocommerce .price del, .vd-card__price del { color: var(--vd-muted) !important; opacity: 1 !important; font-size: .72em !important; font-weight: 500 !important; text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: currentColor; margin-right: .35em; vertical-align: .08em; }
.woocommerce .price del .amount, .vd-card__price del .amount { color: inherit !important; }
.woocommerce .price ins, .vd-card__price ins { text-decoration: none !important; background: none; font-weight: inherit; }

