/* ==========================================================================
   La Haya — base, utilidades y componentes del sistema de diseño
   ========================================================================== */

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg-page);
	color: var(--text-primary);
	font-family: var(--font-sans);
	font-size: var(--text-body);
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration-color: rgba(122,52,24,.4); text-underline-offset: 3px; transition: color var(--dur-fast) var(--ease-out); }
a:hover { color: var(--link-hover); }
::selection { background: var(--caldera-100); color: var(--basalto-900); }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; color: var(--basalto-900); }
button { font: inherit; }
[id] { scroll-margin-top: 84px; }

.lh-skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--basalto-900); color: var(--arena-50); padding: 10px 16px; }
.lh-skip:focus { left: 8px; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }

@keyframes lhKen { from { transform: scale(1.02); } to { transform: scale(1.09); } }
@keyframes lhDrop { 0% { transform: translateY(-100%); } 62% { transform: translateY(100%); } 100% { transform: translateY(100%); } }
@keyframes lhBubble { 0% { transform: translateY(6vh); opacity: 0; } 14% { opacity: .65; } 86% { opacity: .5; } 100% { transform: translateY(-104vh); opacity: 0; } }
@keyframes lhFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes lhToastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
}

/* Layout ----------------------------------------------------------------- */
.lh-container { max-width: var(--container-max); margin: 0 auto; }
.lh-section { padding: var(--section-gap) var(--container-pad); }
.lh-section--flush-top { padding-top: 0; }
.lh-section--sand { background: var(--arena-100); }
.lh-section--marino { background: var(--surface-marino); }
.lh-relative { position: relative; }
.lh-flex { display: flex; }
.lh-flex > * { flex: 1; }
.lh-center { display: flex; justify-content: center; }
.lh-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.lh-grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; align-items: stretch; }
.lh-grid-auto--300 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }

/* Fila de tarjetas de vino (portada, Bodega Submarina, «más vinos» de las fichas): filas equilibradas
   y centradas (3 por fila, o 4 si son 4 u 8: lahaya_card_row_class), 2 por fila hasta los móviles y,
   en ellos, carrusel que se desliza de lado: cada tarjeta al 80 % y la siguiente asomando. */
.lh-card-row { --gap: 24px; --cols: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.lh-card-row--4 { --cols: 4; }
.lh-card-row > * { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); max-width: 380px; }
@media (max-width: 1079px) { .lh-card-row { --cols: 2; } }
@media (max-width: 559px) {
	.lh-card-row {
		flex-wrap: nowrap; justify-content: flex-start; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
		margin: 0 calc(-1 * var(--container-pad)); padding: 8px var(--container-pad) 24px; scroll-padding-inline: var(--container-pad);
	}
	.lh-card-row::-webkit-scrollbar { display: none; }
	.lh-card-row > * { flex-basis: 80%; scroll-snap-align: start; }
}

.lh-media-frame { overflow: hidden; border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.lh-media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lh-scrim { position: absolute; inset: 0; background: var(--scrim-bottom); }
.lh-scrim--marino { background: var(--scrim-marino); }

/* Tipografía ------------------------------------------------------------- */
.lh-eyebrow { font-family: var(--font-sans); font-size: var(--text-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; font-weight: 600; }
.lh-eyebrow--accent { color: var(--caldera-600); }
.lh-body { margin: 0; font-size: var(--text-body); line-height: var(--lh-body); color: var(--text-secondary); }
.lh-lead { margin: 0; font-size: var(--text-lead); line-height: var(--lh-lead); color: var(--text-secondary); }
.lh-caption { margin: 12px 0 0; font-size: var(--text-caption); line-height: var(--lh-caption); color: var(--text-muted); }
.lh-price { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--basalto-900); line-height: 1.1; }
/* «+ IGIC» tras el precio (lahaya_price_html): pequeño, en la letra de texto y del color del precio. */
.lh-price__tax { font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: .02em; opacity: .72; white-space: nowrap; }
.lh-script { font-family: var(--font-script); font-size: var(--text-script); color: var(--tierra-600); }

/* Button ----------------------------------------------------------------- */
.lh-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--font-sans); font-weight: 600; font-size: 14px; letter-spacing: .02em; line-height: 1;
	white-space: nowrap; padding: 11px 22px; border-radius: var(--radius-xs); border: 1px solid transparent;
	text-decoration: none; cursor: pointer; transition: background var(--dur-fast) var(--ease-out), opacity var(--dur-fast);
}
.lh-btn:active:not(:disabled) { transform: translateY(1px); }
.lh-btn:disabled, .lh-btn.is-disabled { cursor: not-allowed; opacity: .45; }
.lh-btn--sm { padding: 8px 16px; font-size: 13px; }
.lh-btn--lg { padding: 14px 30px; font-size: 15px; }
.lh-btn--full { width: 100%; }
.lh-btn--primary { background: var(--basalto-900); color: var(--arena-50); }
.lh-btn--primary:hover:not(:disabled) { background: var(--basalto-950); color: var(--arena-50); }
.lh-btn--accent { background: var(--caldera-600); color: var(--arena-50); }
.lh-btn--accent:hover:not(:disabled) { background: var(--caldera-700); color: var(--arena-50); }
.lh-btn--ghost { background: transparent; color: var(--basalto-900); border-color: var(--border-strong); }
.lh-btn--ghost:hover:not(:disabled) { background: rgba(36,28,21,.06); color: var(--basalto-900); }
.lh-btn--marino { background: var(--atlantico-700); color: #fff; }
.lh-btn--marino:hover:not(:disabled) { background: var(--atlantico-900); color: #fff; }
.lh-btn--inverse { background: var(--arena-50); color: var(--basalto-900); }
.lh-btn--inverse:hover:not(:disabled) { background: var(--arena-200); color: var(--basalto-900); }
.lh-btn.is-loading { opacity: .7; pointer-events: none; }

/* Badge ------------------------------------------------------------------ */
.lh-badge {
	display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-sans); font-size: 11px; font-weight: 600;
	letter-spacing: .16em; text-transform: uppercase; line-height: 1; white-space: nowrap; padding: 6px 12px; border-radius: var(--radius-pill);
	background: var(--arena-200); color: var(--basalto-700);
}
.lh-badge--marino { background: var(--atlantico-900); color: var(--atlantico-100); }
.lh-badge--mosto { background: var(--mosto-100); color: var(--mosto-600); }
.lh-badge--vina { background: var(--vina-100); color: var(--vina-700); }
.lh-badge--caldera { background: var(--caldera-100); color: var(--caldera-700); }
.lh-badge--inverse { background: rgba(23,17,11,.38); color: var(--arena-100); }

/* Tag -------------------------------------------------------------------- */
.lh-tag {
	display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-sans); font-size: 13px; font-weight: 500; white-space: nowrap;
	padding: 7px 16px; border-radius: var(--radius-pill); cursor: pointer; line-height: 1; text-decoration: none;
	border: 1px solid var(--border-strong); background: transparent; color: var(--basalto-700); transition: background var(--dur-fast) var(--ease-out);
}
.lh-tag:hover { background: rgba(36,28,21,.06); color: var(--basalto-700); }
.lh-tag.is-selected { border-color: var(--basalto-900); background: var(--basalto-900); color: var(--arena-50); }

/* SectionHeading --------------------------------------------------------- */
.lh-heading { max-width: 560px; }
.lh-heading--center { text-align: center; max-width: 640px; margin: 0 auto; }
.lh-heading__eyebrow { font-size: var(--text-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; font-weight: 600; color: var(--caldera-600); margin-bottom: 14px; }
.lh-heading__title { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: var(--text-display); line-height: var(--lh-display); color: var(--basalto-900); }
.lh-heading__script { font-family: var(--font-script); font-size: var(--text-script); margin-top: 10px; color: var(--tierra-600); }
.lh-heading__rule { border: none; border-top: 1px solid var(--border-subtle); width: 48px; margin: 22px 0 0; }
.lh-heading--center .lh-heading__rule { width: 64px; margin: 22px auto 0; }
.lh-heading--marino .lh-heading__eyebrow { color: var(--atlantico-500); }
.lh-heading--inverse .lh-heading__eyebrow { color: var(--arena-300); }
.lh-heading--marino .lh-heading__title, .lh-heading--inverse .lh-heading__title { color: var(--arena-50); }
.lh-heading--marino .lh-heading__script, .lh-heading--inverse .lh-heading__script { color: var(--arena-300); }
.lh-heading--marino .lh-heading__rule, .lh-heading--inverse .lh-heading__rule { border-top-color: var(--border-inverse); }
@media (max-width: 640px) { .lh-heading__title { font-size: 38px; } }

/* Stamp ------------------------------------------------------------------ */
.lh-stamp { position: relative; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--basalto-900); }
.lh-stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lh-stamp text { font-family: var(--font-sans); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; fill: var(--basalto-900); }
.lh-stamp--cream { border-color: var(--arena-100); }
.lh-stamp--cream text { fill: var(--arena-100); }

/* Filas editoriales (dl) ------------------------------------------------- */
.lh-rows { margin: 0; display: flex; flex-direction: column; }
.lh-rows__row { border-top: 1px solid var(--border-subtle); padding: 14px 0; display: grid; grid-template-columns: 110px 1fr; gap: 18px; }
.lh-rows__row:last-child { border-bottom: 1px solid var(--border-subtle); }
.lh-rows dt { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--text-muted); padding-top: 2px; }
.lh-rows dd { margin: 0; font-size: var(--text-small); line-height: var(--lh-small); color: var(--basalto-700); }
.lh-rows dd a { color: inherit; text-decoration: none; }
.lh-rows dd a:hover { color: var(--caldera-700); }
.lh-rows--wide .lh-rows__row { grid-template-columns: 130px 1fr; padding: 16px 0; }
@media (max-width: 520px) { .lh-rows__row, .lh-rows--wide .lh-rows__row { grid-template-columns: 1fr; gap: 6px; } }

/* Navbar ----------------------------------------------------------------- */
.lh-nav {
	position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 32px;
	padding: 0 var(--container-pad); height: 72px;
	background: rgba(250,245,234,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border-subtle);
}
.admin-bar .lh-nav { top: 32px; }
.lh-nav__logo { display: flex; flex: none; }
.lh-nav__logo img { height: 38px; width: auto; display: block; }
.lh-nav__links { flex: 1; display: flex; gap: 26px; justify-content: center; }
.lh-nav__link {
	font-size: 13.5px; font-weight: 500; letter-spacing: .04em; text-decoration: none; white-space: nowrap;
	color: var(--basalto-500); border-bottom: 2px solid transparent; padding-bottom: 4px;
}
.lh-nav__link:hover { color: var(--basalto-900); }
.lh-nav__link.is-active { font-weight: 600; color: var(--basalto-900); border-bottom-color: var(--caldera-600); }
.lh-nav__link--mobile-only { display: none; }
.lh-nav__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.lh-nav__account { display: inline-flex; color: var(--basalto-500); padding: 6px; border-radius: 50%; }
.lh-nav__account:hover { color: var(--basalto-900); }
.lh-nav__toggle { display: none; background: none; border: none; padding: 6px; color: var(--basalto-900); cursor: pointer; }
.lh-nav__toggle-close { display: none; }

@media (max-width: 960px) {
	.lh-nav { gap: 16px; justify-content: space-between; }
	.lh-nav__toggle { display: inline-flex; }
	.lh-nav__links {
		position: fixed; inset: 72px 0 auto 0; height: calc(100dvh - 72px); flex-direction: column; justify-content: flex-start; gap: 0;
		padding: 16px var(--container-pad) 40px; background: var(--arena-50); overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out), visibility var(--dur-med);
	}
	.admin-bar .lh-nav__links { top: 118px; height: calc(100dvh - 118px); }
	.lh-nav.is-open .lh-nav__links { opacity: 1; visibility: visible; transform: none; }
	.lh-nav.is-open .lh-nav__toggle-open { display: none; }
	.lh-nav.is-open .lh-nav__toggle-close { display: inline; }
	.lh-nav__link { font-family: var(--font-display); font-size: 28px; letter-spacing: 0; padding: 14px 0; border-bottom: 1px solid var(--border-subtle); color: var(--basalto-700); }
	.lh-nav__link.is-active { border-bottom-color: var(--border-subtle); color: var(--caldera-700); font-weight: 500; }
	.lh-nav__link--mobile-only { display: block; }
	.lh-nav__account { display: none; }
	body.lh-menu-open { overflow: hidden; }
}
@media (max-width: 782px) { .admin-bar .lh-nav { top: 0; } .admin-bar .lh-nav__links { top: 72px; } }

/* Menú sobre las cabeceras de foto (body.lh-hero-page, con JS): transparente arriba, el de siempre al bajar */
.lh-nav__logo .lh-nav__logo-img--light { display: none; }
.lh-js .lh-hero-page .lh-nav { position: fixed; left: 0; right: 0; transition: background-color .35s var(--ease-out), border-color .35s var(--ease-out), -webkit-backdrop-filter .35s, backdrop-filter .35s; }
.lh-nav::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 150px; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease-out); background: linear-gradient(180deg, rgba(23,17,11,.46) 0%, rgba(23,17,11,.18) 55%, rgba(23,17,11,0) 100%); }
.lh-js .lh-hero-page .lh-nav:not(.is-scrolled):not(.is-open) { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.lh-js .lh-hero-page .lh-nav:not(.is-scrolled):not(.is-open)::before { opacity: 1; }
.lh-js .lh-hero-page .lh-nav:not(.is-scrolled):not(.is-open) .lh-nav__logo-img { display: none; }
.lh-js .lh-hero-page .lh-nav:not(.is-scrolled):not(.is-open) .lh-nav__logo-img--light { display: block; }
.lh-js .lh-hero-page .lh-nav:not(.is-scrolled):not(.is-open) .lh-nav__link { color: rgba(250,245,234,.84); text-shadow: 0 1px 10px rgba(23,17,11,.35); }
.lh-js .lh-hero-page .lh-nav:not(.is-scrolled):not(.is-open) .lh-nav__link:hover,
.lh-js .lh-hero-page .lh-nav:not(.is-scrolled):not(.is-open) .lh-nav__link.is-active { color: var(--arena-50); }
.lh-js .lh-hero-page .lh-nav:not(.is-scrolled):not(.is-open) .lh-nav__link.is-active { border-bottom-color: var(--arena-50); }
.lh-js .lh-hero-page .lh-nav:not(.is-scrolled):not(.is-open) .lh-nav__account,
.lh-js .lh-hero-page .lh-nav:not(.is-scrolled):not(.is-open) .lh-nav__toggle { color: var(--arena-50); }
.lh-js .lh-hero-page .lh-nav:not(.is-scrolled):not(.is-open) .lh-nav__cart { color: var(--arena-50); }
.lh-js .lh-hero-page .lh-nav:not(.is-scrolled):not(.is-open) .lh-nav__cart-count { box-shadow: none; }
.lh-js .lh-hero-page .lh-nav:not(.is-scrolled):not(.is-open) .lh-nav__cart:hover { background: rgba(250,245,234,.14); }
/* Las fichas de producto tienen el texto arriba: dejan sitio al menú */
.lh-js .lh-hero-page .lh-land-head, .lh-js .lh-hero-page .lh-sea-head { padding-top: calc(72px + clamp(40px, 6vw, 72px)); }

/* Footer ----------------------------------------------------------------- */
.lh-footer { background: var(--basalto-950); color: var(--arena-100); padding: 64px var(--container-pad) 40px; }
.lh-footer__grid { max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
.lh-footer__brand { display: flex; flex-direction: column; gap: 18px; }
.lh-footer__brand img { height: 54px; width: auto; align-self: flex-start; }
.lh-footer__brand p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-inverse-muted); max-width: 300px; }
.lh-footer__col { display: flex; flex-direction: column; gap: 10px; }
.lh-footer__head { font-size: 12px; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; font-weight: 600; color: var(--arena-300); margin-bottom: 4px; }
.lh-footer__col a { color: var(--text-inverse-muted); text-decoration: none; font-size: 14px; }
.lh-footer__col a:hover { color: var(--arena-50); }
.lh-footer__line { display: flex; flex-direction: column; gap: 3px; margin-top: 4px; }
.lh-footer__label { font-size: 11px; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--arena-300); }
.lh-footer__line a { overflow-wrap: anywhere; }
.lh-footer__col .lh-footer__line a[href^="tel:"] { color: var(--arena-100); }
.lh-footer__col a.lh-footer__head { font-size: 12px; color: var(--arena-300); }
.lh-footer__col a.lh-footer__head:hover { color: var(--arena-50); }
.lh-footer__text { font-size: 14px; color: var(--text-inverse-muted); line-height: 1.6; }
.lh-footer__bottom { max-width: var(--container-max); margin: 40px auto 0; padding-top: 22px; border-top: 1px solid var(--border-inverse); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.lh-footer__bottom > span { font-size: 12.5px; color: var(--text-inverse-muted); flex: 1; min-width: 240px; }
.lh-footer__legal { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.lh-footer__legal a, .lh-footer__legal button { padding: 0; background: none; border: 0; font-size: 12.5px; color: var(--text-inverse-muted); text-decoration: none; cursor: pointer; }
.lh-footer__legal a:hover, .lh-footer__legal button:hover { color: var(--arena-50); }
@media (max-width: 900px) { .lh-footer__grid { grid-template-columns: 1fr 1fr; } .lh-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .lh-footer__grid { grid-template-columns: 1fr; } }

/* WineCard --------------------------------------------------------------- */
.lh-wine-card {
	position: relative; background: var(--arena-0); border-radius: var(--radius-sm); border: 1px solid var(--border-subtle);
	box-shadow: var(--shadow-card); padding: 26px 22px 22px; display: flex; flex-direction: column; align-items: center; text-align: center;
	transition: box-shadow var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out); width: 100%;
}
.lh-wine-card:hover { box-shadow: var(--shadow-raised); transform: translateY(-3px); }
.lh-wine-card__badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.lh-wine-card__badge--right { left: auto; right: 14px; }
.lh-wine-card__bottle { height: 210px; width: auto; filter: var(--shadow-bottle); }
.lh-wine-card.is-sold-out .lh-wine-card__bottle { opacity: .55; }
.lh-wine-card__name { font-family: var(--font-script); font-size: 28px; color: var(--basalto-900); margin-top: 16px; line-height: 1; text-decoration: none; }
.lh-wine-card__name::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.lh-wine-card__name:hover { color: var(--basalto-900); }
.lh-wine-card__meta { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--text-muted); margin-top: 7px; }
.lh-wine-card__notes { margin: 10px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--basalto-500); }
.lh-wine-card__foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px; margin-top: auto; padding-top: 16px; }
.lh-wine-card__price { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--basalto-900); }
.lh-wine-card__add { position: relative; z-index: 2; }

/* ExperienceCard --------------------------------------------------------- */
.lh-exp-card { position: relative; border-radius: var(--radius-md); overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; box-shadow: var(--shadow-card); transition: box-shadow var(--dur-med) var(--ease-out); width: 100%; }
.lh-exp-card--tall { min-height: 420px; }
.lh-exp-card:hover { box-shadow: var(--shadow-raised); }
.lh-exp-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.lh-exp-card:hover .lh-exp-card__img { transform: scale(1.04); }
.lh-exp-card__scrim { position: absolute; inset: 0; background: var(--scrim-bottom); }
.lh-exp-card--marino .lh-exp-card__scrim { background: var(--scrim-marino); }
.lh-exp-card__badge { position: absolute; top: 16px; left: 16px; z-index: 2; }
.lh-exp-card__body { position: relative; padding: 22px; width: 100%; color: var(--arena-50); }
.lh-exp-card__title { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 26px; line-height: 1.15; color: var(--arena-50); }
.lh-exp-card__title a { color: inherit; text-decoration: none; }
.lh-exp-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.lh-exp-card__desc { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--arena-100); opacity: .92; max-width: 420px; text-shadow: 0 1px 8px rgba(23,17,11,.45); }
.lh-exp-card__foot { display: flex; align-items: center; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.lh-exp-card__fact { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.lh-exp-card__price { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.lh-exp-card__spacer { flex: 1; }
.lh-exp-card__foot .lh-btn { position: relative; z-index: 2; }

/* Cesta: icono con contador y vista previa al pasar por encima (lahaya_cart_widget) */
.lh-cart { position: relative; }
.lh-nav__cart { position: relative; display: inline-flex; padding: 6px; border-radius: 50%; color: var(--basalto-900); text-decoration: none; transition: background var(--dur-fast) var(--ease-out); }
.lh-nav__cart:hover { background: rgba(36,28,21,.06); color: var(--basalto-900); }
.lh-nav__cart-count { position: absolute; top: -2px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--caldera-600); color: var(--arena-50); font-size: 11px; font-weight: 700; line-height: 19px; text-align: center; box-shadow: 0 0 0 2px var(--arena-50); }
.lh-nav__cart-count[hidden] { display: none; }
.lh-cart.is-bump .lh-nav__cart-count { animation: lhCartBump .5s var(--ease-out); }
@keyframes lhCartBump { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }

.lh-cart__panel { position: absolute; top: 100%; right: -8px; z-index: 70; width: 360px; padding-top: 14px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility 0s linear .2s; }
@media (hover: hover) {
	.lh-cart:hover .lh-cart__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
.lh-cart:focus-within .lh-cart__panel, .lh-cart.is-open .lh-cart__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.lh-minicart { position: relative; background: var(--arena-0); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); box-shadow: 0 18px 50px -12px rgba(36,28,21,.3); padding: 18px; color: var(--basalto-900); text-align: left; }
.lh-minicart::before { content: ""; position: absolute; top: -7px; right: 20px; width: 12px; height: 12px; background: var(--arena-0); border-left: 1px solid var(--border-subtle); border-top: 1px solid var(--border-subtle); transform: rotate(45deg); }
.lh-minicart__notice { display: flex; align-items: center; gap: 8px; margin: -18px -18px 14px; padding: 12px 18px; background: var(--vina-100); color: var(--vina-700); font-size: 13.5px; font-weight: 600; border-radius: var(--radius-md) var(--radius-md) 0 0; }
.lh-minicart__notice[hidden] { display: none; }
.lh-minicart__empty { margin: 4px 0 14px; font-family: var(--font-display); font-size: 22px; text-align: center; }
.lh-minicart__items { list-style: none; margin: 0; padding: 0; max-height: 280px; overflow-y: auto; }
.lh-minicart__item { display: grid; grid-template-columns: 40px 1fr auto 20px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border-subtle); }
.lh-minicart__img { width: 40px; height: 56px; object-fit: contain; }
.lh-minicart__name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lh-minicart__name a { font-family: var(--font-script); font-size: 21px; line-height: 1.05; color: var(--basalto-900); text-decoration: none; }
.lh-minicart__qty { font-size: 12.5px; color: var(--text-muted); }
.lh-minicart__line { font-size: 14px; font-weight: 600; white-space: nowrap; }
.lh-minicart__remove { display: inline-flex; width: 20px; height: 20px; align-items: center; justify-content: center; border-radius: 50%; color: var(--basalto-400); font-size: 16px; text-decoration: none; }
.lh-minicart__remove:hover { background: var(--caldera-100); color: var(--caldera-700); }
.lh-minicart__totals { margin: 12px 0 0; display: grid; gap: 6px; }
.lh-minicart__totals > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--basalto-700); }
.lh-minicart__totals dt, .lh-minicart__totals dd { margin: 0; }
.lh-minicart__discount { color: var(--vina-700) !important; }
.lh-minicart__total { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--border-subtle); font-family: var(--font-display); font-size: 22px !important; color: var(--basalto-900) !important; }
.lh-minicart__note { margin: 6px 0 14px; font-size: 12px; color: var(--text-muted); }
.lh-minicart__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 520px) {
	.lh-cart__panel { position: fixed; top: 72px; left: 12px; right: 12px; width: auto; padding-top: 8px; }
	.lh-minicart::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { .lh-cart.is-bump .lh-nav__cart-count { animation: none; } }

/* Toast ------------------------------------------------------------------ */
.lh-toasts { position: fixed; bottom: 24px; right: 24px; z-index: 90; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.lh-toast {
	display: flex; gap: 14px; align-items: flex-start; background: var(--arena-0); color: var(--basalto-900); border-radius: var(--radius-sm);
	box-shadow: var(--shadow-raised); padding: 14px 16px; width: min(360px, calc(100vw - 48px)); border-top: 2px solid var(--basalto-900);
	animation: lhToastIn 260ms var(--ease-out);
}
.lh-toast--danger { background: var(--danger-bg); color: var(--danger); border-top-color: var(--danger); }
.lh-toast__body { flex: 1; }
.lh-toast__title { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.lh-toast__msg { font-size: 13.5px; line-height: 1.5; opacity: .85; }
.lh-toast__link { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 600; }
.lh-toast__close { background: none; border: none; cursor: pointer; color: inherit; font-size: 18px; line-height: 1; padding: 0; opacity: .7; }
.lh-toast.is-leaving { opacity: 0; transform: translateY(6px); transition: opacity 200ms, transform 200ms; }
@media (max-width: 520px) { .lh-toasts { left: 16px; right: 16px; bottom: 16px; } .lh-toast { width: 100%; } }

/* Reveal (scroll) -------------------------------------------------------- */
.lh-js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 760ms var(--ease-out), transform 760ms var(--ease-out); }
.lh-js [data-reveal].is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .lh-js [data-reveal] { opacity: 1; transform: none; } }

/* Parallax: la imagen se escala para cubrir su desplazamiento */
.lh-js [data-parallax] { will-change: transform; }

/* Cabecera de página interior ------------------------------------------- */
.lh-page-head { padding: clamp(56px, 8vw, 96px) var(--container-pad) 0; }
.lh-page-head__inner { max-width: var(--container-max); margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.lh-page-body { padding: 40px var(--container-pad) var(--section-gap); }
.lh-breadcrumb { margin: 0 0 28px; font-size: var(--text-caption); color: var(--text-muted); }
.lh-breadcrumb a { text-decoration: none; }

/* Contenido genérico (páginas legales, 404…) */
.lh-prose { max-width: 720px; }
.lh-prose p, .lh-prose li { color: var(--basalto-700); }
.lh-prose h2 { font-size: var(--text-h2); line-height: var(--lh-h2); margin: 1.6em 0 .5em; }
.lh-prose h3 { font-size: var(--text-h3); line-height: var(--lh-h3); margin: 1.4em 0 .4em; }

/* 404 -------------------------------------------------------------------- */
.lh-404 { padding: var(--section-gap) var(--container-pad); }
.lh-404__inner { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }

/* Utilidades de margen (al final para que prevalezcan sobre los componentes) */
.lh-mt-20 { margin-top: 20px; } .lh-mt-24 { margin-top: 24px; } .lh-mt-28 { margin-top: 28px; } .lh-mt-32 { margin-top: 32px; }
.lh-mt-44 { margin-top: 44px; } .lh-mt-56 { margin-top: 56px; }
