/* ==========================================================================
   Componentes compartidos: confianza, categorías, botella y tarjeta de producto, etiquetas,
   valoraciones, Club, descubrir, magazine, newsletter, aviso de edad y avisos flotantes
   ========================================================================== */

/* Migas de pan -------------------------------------------------------------- */
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--faint); padding: 26px 0 8px; }
.breadcrumb a { transition: color var(--t); }
.breadcrumb a:hover { color: var(--royal); }
.breadcrumb .sep { display: inline-flex; font-size: 11px; transform: rotate(-90deg); opacity: .7; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }


/* Banda de confianza ------------------------------------------------------- */
.trust { background: var(--bg); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-block: 30px; }
.trust-item { display: flex; align-items: center; gap: 16px; padding: 8px 14px; }
.trust .ti-ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; background: var(--paper); border-radius: 14px; box-shadow: var(--shadow-xs); color: var(--navy); font-size: 22px; }
.trust b { font-size: 14.5px; font-weight: 600; display: block; line-height: 1.3; }
.trust small { font-size: 13px; color: var(--muted); }

/* Botella ilustrada -------------------------------------------------------- */
.bottle-art { height: 84%; width: auto; transition: transform .55s var(--ease); }
.b-glass { fill: var(--g, #162642); }
.b-cap { fill: var(--cap, #DABF89); }
.b-lbl { fill: var(--lbl, #F6F0E3); }
.b-ink { color: var(--lbl-ink, #162642); }
.b-bar { fill: var(--lbl-ink, #162642); opacity: .42; }
.b-gold { fill: var(--gold); }
.b-shine { fill: #fff; opacity: .17; }
.b-shade { fill: #000; opacity: .22; }
.b-floor { fill: #0A0A0C; opacity: .13; }
.t-tinto { --g: #162642; --cap: #DABF89; --lbl: #F6F0E3; --lbl-ink: #162642; }
.t-blanco { --g: #C9AE72; --cap: #162642; --lbl: #FFFFFF; --lbl-ink: #162642; }
.t-rosado { --g: #E3CFA6; --cap: #8A6A2E; --lbl: #FFFFFF; --lbl-ink: #162642; }
.t-espumoso { --g: #0A0A0C; --cap: #DABF89; --lbl: #F6F0E3; --lbl-ink: #0A0A0C; }
.t-dulce { --g: #8A6A2E; --cap: #0A0A0C; --lbl: #F6F0E3; --lbl-ink: #162642; }
.t-generoso { --g: #5E4A22; --cap: #416DB4; --lbl: #F6F0E3; --lbl-ink: #162642; }
.t-sin-alcohol { --g: #345A98; --cap: #FFFFFF; --lbl: #FFFFFF; --lbl-ink: #162642; }
.t-destilados-licores { --g: #4A3817; --cap: #0A0A0C; --lbl: #DABF89; --lbl-ink: #0A0A0C; }

/* Categorías --------------------------------------------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 26px 14px 24px;
	text-align: center;
	background: var(--bg);
	border: 1px solid transparent;
	border-radius: 20px;
	transition: background var(--t), box-shadow var(--t), transform var(--t), border-color var(--t);
}
.cat:hover { background: var(--paper); border-color: var(--line); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.cat .cicon { height: 92px; display: grid; place-items: center; margin-bottom: 8px; }
.cat .cicon .bottle-art { height: 100%; }
.cat:hover .bottle-art { transform: translateY(-4px) rotate(-3deg); }
.cat .cname { font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.cat .cct { font-size: 13px; color: var(--faint); }

/* Rejilla de productos y tarjeta -------------------------------------------- */
.prod-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prod-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
/* WooCommerce añade pseudo-elementos de clearfix a ul.products: en rejilla ocuparían una celda */
.prod-grid::before, .prod-grid::after { content: none !important; display: none !important; }

.prod-grid .card, .woocommerce ul.products.prod-grid li.card {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	float: none;
	width: auto;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 20px;
	overflow: hidden;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.prod-grid .card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-media {
	position: relative;
	aspect-ratio: 1 / 1.02;
	background: radial-gradient(120% 90% at 50% 8%, #FFFFFF 0%, var(--surface) 78%);
	display: grid;
	place-items: center;
	overflow: hidden;
}
.card-img { position: absolute; inset: 0; display: grid; place-items: center; padding: 22px 0 18px; }
.card-img img { width: auto; height: 100%; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .55s var(--ease); }
.card:hover .card-img img, .card:hover .card-img .bottle-art { transform: translateY(-4px) scale(1.035); }

.fav2 {
	position: absolute;
	top: 14px; right: 14px;
	width: 38px; height: 38px;
	background: rgba(255, 255, 255, .92);
	border-radius: 50%;
	box-shadow: var(--shadow-xs);
	display: grid;
	place-items: center;
	color: var(--muted);
	font-size: 18px;
	z-index: 2;
	transition: color var(--t), transform var(--t), background var(--t);
}
.fav2:hover { color: var(--royal); transform: scale(1.08); background: #fff; }
.fav2[aria-pressed="true"] { color: var(--royal); }
.fav2[aria-pressed="true"] .i { fill: currentColor; }

.card-flags { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 2; }
.flag { font-size: 11.5px; font-weight: 600; letter-spacing: .02em; padding: 5px 11px; border-radius: var(--r-pill); line-height: 1.2; }
.flag.new { background: var(--gold-soft); color: var(--gold-ink); }
.flag.off { background: var(--sale); color: #fff; }
.flag.top { background: #fff; color: var(--gold-ink); box-shadow: inset 0 0 0 1px var(--gold); }
.flag.bio { background: #fff; color: var(--royal); box-shadow: inset 0 0 0 1px rgba(65, 109, 180, .55); }
.flag.socio { background: var(--gold); color: var(--ink); }

.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-info { display: flex; flex-direction: column; }
.card-more, .cqty { display: none; } /* solo en la vista de lista (archive.css) */
.card .cbod { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.card h3 { font-size: 19px; font-weight: 500; margin: 7px 0 4px; line-height: 1.25; letter-spacing: -.015em; }
.card h3 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.card h3 a:hover { background-size: 100% 1px; }
.card .cdo { display: flex; align-items: flex-start; gap: 7px; font-size: 13.5px; color: var(--muted); }
.card .cdo .flagc { margin-top: 2px; }
.card .creason { display: flex; align-items: flex-start; gap: 7px; margin: 12px 0 0; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--gold-ink); }
.card .creason .i { flex: none; margin-top: 1px; font-size: 15px; stroke-width: 2; }

/* Bandera de país en redondo (tarjeta y ficha) */
.flagc { display: inline-block; flex: none; width: 16px; height: 16px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(10, 10, 12, .12); }
.flagc svg { display: block; width: 100%; height: 100%; }
.card .crate { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13px; }
.stars { display: inline-flex; gap: 1px; color: var(--gold); }
.stars .i { width: 14px; height: 14px; }
.stars .is-empty { color: #E3E5EA; }
.card .crate .num { font-weight: 600; }
.card .crate .n { color: var(--faint); }
.ccrit { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.badge-c { font-size: 12px; font-weight: 500; color: var(--muted); background: var(--bg); border-radius: var(--r-pill); padding: 4px 11px; }
.badge-c b { color: var(--ink); font-weight: 700; margin-left: 2px; }

.card .cfoot { margin-top: auto; padding-top: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.cprice { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.card .cwas { font-size: 13px; color: var(--faint); text-decoration: line-through; line-height: 1; }
.card .cnow { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; color: var(--ink); }
.card .cpts { display: inline-flex; align-items: center; gap: 5px; margin-top: 5px; font-size: 11.5px; font-weight: 600; color: var(--gold-ink); background: var(--gold-soft); border-radius: var(--r-pill); padding: 3px 10px 3px 8px; }
.card .cpts .i { width: 8px; height: 8px; fill: var(--gold); stroke: none; }
.cadd {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	padding: 0 18px;
	background: var(--navy);
	color: #fff;
	font-weight: 600;
	font-size: 13.5px;
	border-radius: 12px;
	line-height: 1;
	white-space: nowrap;
	transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.cadd .i { font-size: 18px; }
.cact { display: flex; align-items: center; gap: 10px; }
.cact .cadd { flex: 1 1 auto; }
.cadd:hover { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.cadd.loading { opacity: .65; pointer-events: none; }
.cadd.added { background: var(--ok); }
.cadd.is-disabled { background: var(--surface); color: var(--faint); cursor: not-allowed; box-shadow: none; transform: none; }
.cadd.is-alert { background: var(--paper); color: var(--navy); box-shadow: inset 0 0 0 1px var(--line-strong); }
.cadd.is-alert:hover { background: var(--gold-soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--gold); }
.clow { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12.5px; font-weight: 600; color: var(--gold-ink); }
.clow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #C77D1A; box-shadow: 0 0 0 0 rgba(199, 125, 26, .5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(199, 125, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(199, 125, 26, 0); } }
.card.is-soldout .card-img { opacity: .5; filter: grayscale(.4); }

/* Club ---------------------------------------------------------------------- */
.club-sec { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy-2) 0%, var(--navy) 55%, #0F1A2E 100%); color: #EAEDF3; }
.club-sec::before, .club-sec::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.club-sec::before { width: 560px; height: 560px; right: -160px; top: -220px; background: radial-gradient(closest-side, rgba(218, 191, 137, .28), transparent); }
.club-sec::after { width: 420px; height: 420px; left: -140px; bottom: -200px; border: 1px solid rgba(218, 191, 137, .18); box-shadow: 0 0 0 60px rgba(218, 191, 137, .03), 0 0 0 120px rgba(218, 191, 137, .02); }
.club-sec .wrap { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 96px; }
.club-sec .ch { margin-bottom: 48px; max-width: 760px; }
.club-sec .ey { color: var(--gold); }
.club-sec h2 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 300; margin: 0; line-height: 1.04; letter-spacing: -.035em; }
.club-sec h2 b { color: var(--gold); font-weight: 400; }
.club-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 44px; }
.club-step { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; padding: 32px 30px; backdrop-filter: blur(8px); transition: background var(--t), transform var(--t); }
.club-step:hover { background: rgba(255, 255, 255, .08); transform: translateY(-3px); }
.club-step .num { font-size: 15px; font-weight: 600; color: var(--gold); border: 1px solid rgba(218, 191, 137, .6); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px; }
.club-step h4 { font-size: 22px; font-weight: 400; margin: 0 0 10px; color: #fff; letter-spacing: -.015em; }
.club-step p { margin: 0; font-size: 15px; color: #AEB6C5; line-height: 1.65; }
.club-sec .cbtns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Descubrir ------------------------------------------------------------------- */
.disco-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.disco { background: var(--bg); border-radius: 22px; padding: 34px 32px 36px; }
.disco h4 { font-size: 22px; font-weight: 400; margin: 0 0 20px; letter-spacing: -.015em; }
.disco .tags { display: flex; flex-wrap: wrap; gap: 10px; }
.disco .tag { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 9px 17px; font-size: 14px; font-weight: 500; color: var(--muted); transition: background var(--t), color var(--t), border-color var(--t), transform var(--t); }
.disco .tag:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-1px); }

/* Magazine ---------------------------------------------------------------------- */
.mag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mag { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.mag:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.mag .mimg { position: relative; display: block; height: 220px; overflow: hidden; background: linear-gradient(140deg, var(--navy-2), var(--navy) 60%, var(--ink)); }
.mag .mimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mag:hover .mimg img { transform: scale(1.05); }
.mag .mimg.ph::after { content: none; }
.mag .mimg .gv-mark { position: absolute; right: -18px; bottom: -22px; width: 190px; height: auto; color: var(--gold); opacity: .22; }
.mag .mbody { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.mag .mcat { align-self: flex-start; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); background: var(--gold-soft); font-weight: 600; padding: 5px 12px; border-radius: var(--r-pill); }
.mag h4 { font-size: 23px; font-weight: 400; margin: 16px 0 10px; line-height: 1.25; letter-spacing: -.02em; }
.mag h4 a:hover { color: var(--royal); }
.mag p { font-size: 15px; color: var(--muted); margin: 0 0 18px; }
.mag .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--royal); }
.mag .more .i { transition: transform var(--t); }
.mag .more:hover .i { transform: translateX(3px); }

/* Newsletter ---------------------------------------------------------------------- */
.news { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.news .ntxt { padding: 56px 52px; }
.news h3 { font-size: clamp(28px, 3vw, 38px); font-weight: 300; margin: 0 0 14px; letter-spacing: -.03em; line-height: 1.1; }
.news p { color: var(--muted); font-size: 16px; }
.news .nform { padding: 56px 52px; display: flex; flex-direction: column; justify-content: center; gap: 16px; position: relative; background: var(--paper); }
.news .nrow { display: flex; gap: 8px; padding: 6px; border: 1px solid var(--line-strong); border-radius: 16px; transition: border-color var(--t), box-shadow var(--t); }
.news .nrow:focus-within { border-color: var(--royal); box-shadow: var(--ring); }
.news input[type="email"] { flex: 1; width: 100%; min-width: 0; border: none; padding: 0 12px; height: 48px; font-size: 15px; outline: none; background: transparent; box-shadow: none; }
.news .nrow button { background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; padding: 0 24px; border-radius: 11px; transition: background var(--t); }
.news .nrow button:hover { background: var(--ink); }
.news .leg { font-size: 13px; color: var(--muted); display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.news .leg input { flex: none; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--navy); }
.news .leg a { color: var(--royal); text-decoration: underline; text-underline-offset: 2px; }
/* Variante Club (portada, sin sesión): Google + email + casilla del boletín */
.news--club h3 b { font-weight: 600; }
.news--club .news-more { display: inline-block; margin-top: 8px; color: var(--royal-deep); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.news--club .nform { gap: 14px; }
.news--club .gbtn { width: 100%; height: 52px; }
.news .or-sep { font-size: 13px; }
.news .news-legal { margin: 0; font-size: 12.5px; color: var(--muted); }
.news .news-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* «Continuar con Google»: tema claro de las normas de marca de Google (blanco, borde #747775, texto #1F1F1F) */
.gbtn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 48px; padding: 0 22px 0 18px; border: 1px solid #747775; border-radius: 12px; background: #FFFFFF; color: #1F1F1F; font-size: 15px; font-weight: 600; line-height: 1; letter-spacing: 0; white-space: nowrap; text-decoration: none; cursor: pointer; transition: background var(--t), box-shadow var(--t); }
.gbtn:hover { background: #F8FAFF; box-shadow: 0 1px 3px rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15); }
.gbtn:focus-visible { outline: none; box-shadow: var(--ring); }
.gbtn-g { width: 20px; height: 20px; flex: none; }
.gbtn.block { display: flex; width: 100%; }

/* Separador «o con tu email» */
.or-sep { display: flex; align-items: center; gap: 14px; margin: 0; color: var(--muted); font-size: 13px; }
.or-sep::before, .or-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Casilla del boletín en las altas (siempre desmarcada) */
.optin { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.optin input { flex: none; width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--navy); }
.optin a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.form-msg { margin: 0; font-size: 14px; padding: 12px 16px; border-radius: 12px; }
.form-msg.ok { color: var(--ok); background: var(--ok-soft); }
.form-msg.err { color: var(--err); background: var(--err-soft); }

/* Chips (filtros activos, etiquetas) ---------------------------------------------- */
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 6px 8px 6px 14px; font-size: 13.5px; font-weight: 500; transition: border-color var(--t), background var(--t); }
.chip:hover { border-color: var(--ink); }
.chip .x { width: 20px; height: 20px; display: grid; place-items: center; background: var(--surface); border-radius: 50%; color: var(--muted); font-size: 12px; transition: background var(--t), color var(--t); }
.chip:hover .x { background: var(--navy); color: #fff; }

/* Botón de una experiencia del Club (lista, Mi cuenta y ficha) */
.xp-free { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: var(--r-pill); background: var(--gold); color: var(--ink); font-size: 12.5px; font-weight: 700; }
.xp-alt { font-size: 13.5px; font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.xp-alt:hover { color: var(--ink); }
.xp-note { font-size: 13px; color: var(--faint); }
.xp-done { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ok); }
.xp-done .i { width: 16px; height: 16px; }
.xp-lock { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.xp-lock .i { width: 14px; height: 14px; }

/* Barra de progreso hacia el envío gratis (carrito flotante y recuadro del Club en la cesta) */
.cb-bar { height: 6px; border-radius: 6px; background: rgba(22, 38, 66, .1); overflow: hidden; }
.cb-bar span { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--gold), var(--gold-ink)); transition: width .4s var(--ease); }

/* Aviso flotante al añadir a la cesta ---------------------------------------------- */
.gusto-toast {
	position: fixed;
	left: 50%; bottom: 28px;
	z-index: 120;
	display: flex;
	align-items: center;
	gap: 16px;
	background: var(--ink);
	color: #fff;
	padding: 14px 16px 14px 20px;
	border-radius: 16px;
	box-shadow: var(--shadow-lg);
	font-size: 14.5px;
	transform: translate(-50%, 24px);
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s, transform .3s var(--ease);
}
.gusto-toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.gusto-toast.is-welcome { z-index: 410; max-width: min(560px, calc(100% - 32px)); line-height: 1.45; } /* por encima del carrito flotante (400) */
.gusto-toast.is-welcome a { flex: none; }
/* Corazón sin sesión: invitación a entrar con Google o con email */
.gusto-toast.is-join { flex-wrap: wrap; max-width: min(620px, calc(100% - 32px)); line-height: 1.45; }
.gusto-toast.is-join span { flex: 1 1 260px; }
.gusto-toast .toast-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gusto-toast .gbtn { height: 34px; padding: 0 12px; gap: 8px; border-color: transparent; font-size: 13px; }
.gusto-toast .gbtn:hover { background: #F8FAFF; }
.gusto-toast .gbtn-g { width: 16px; height: 16px; }
.gusto-toast .i { color: var(--gold); font-size: 20px; }
.gusto-toast a { background: #fff; color: var(--ink); font-weight: 600; font-size: 13px; padding: 8px 14px; border-radius: 10px; }
.gusto-toast a:hover { background: var(--gold); }

/* Confirmación de mayoría de edad (la lógica vive en el plugin gusto-core) ------------ */
.agegate { position: fixed; inset: 0; z-index: 1000; background: rgba(10, 10, 12, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: grid; place-items: center; padding: 20px; }
.agegate[hidden] { display: none; }
.agegate__box { background: var(--paper); max-width: 500px; width: 100%; padding: 48px 44px 34px; text-align: center; border-radius: 28px; box-shadow: var(--shadow-lg); border-top: 4px solid var(--gold); }
.agegate__ey { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; margin: 0 0 16px; }
.agegate__box h2 { font-size: 34px; font-weight: 300; line-height: 1.12; letter-spacing: -.03em; margin: 0 0 14px; }
.agegate__txt, .agegate__deny { color: var(--muted); margin: 0 0 28px; }
.agegate__deny { color: var(--err); }
.agegate__btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.agegate__btns[hidden] { display: none; }
.agegate__legal { font-size: 12.5px; color: var(--faint); margin: 0; }
html.agegate-open { overflow: hidden; }
/* Aviso de envíos solo a Canarias (gusto-core/includes/canarias-notice.php): mismo diálogo, botones uno sobre otro. */
.destnote { overflow-y: auto; }
.destnote .agegate__box { max-width: 520px; }
.destnote .agegate__box h2 { font-size: clamp(25px, 6.4vw, 34px); }
@media (max-width: 560px) {
	.destnote .agegate__box { padding: 30px 22px 22px; border-radius: 22px; }
	.destnote .agegate__txt { margin-bottom: 20px; font-size: 15px; }
}
.destnote .agegate__btns { flex-direction: column; align-items: stretch; }
.destnote .agegate__btns .btn { justify-content: center; white-space: normal; text-wrap: balance; }
.destnote .agegate__legal a { color: var(--royal-deep); text-decoration: underline; text-underline-offset: 3px; }

/* Responsive ------------------------------------------------------------------------- */
@media (max-width: 1180px) {
	.prod-grid { grid-template-columns: repeat(3, 1fr); }
	.cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
	.trust .wrap { grid-template-columns: 1fr 1fr; }
	.club-steps, .disco-grid, .mag-grid { grid-template-columns: minmax(0, 1fr); }
	.news { grid-template-columns: minmax(0, 1fr); }
	.news .ntxt, .news .nform { padding: 38px 28px; }
	.prod-grid, .prod-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
	.club-sec .wrap { padding-top: 68px; padding-bottom: 68px; }
}
@media (max-width: 560px) {
	.btn { padding: 0 18px; }
	.cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.prod-grid, .prod-grid.cols-3 { gap: 12px; }
	.trust .wrap { grid-template-columns: 1fr; }
	.card-body { padding: 14px 14px 16px; }
	.card h3 { font-size: 16px; }
	.card .cnow { font-size: 20px; }
	.card .cfoot { flex-direction: column; align-items: stretch; gap: 12px; }
	.cadd { justify-content: center; height: 42px; }
	.fav2 { top: 10px; right: 10px; width: 34px; height: 34px; }
	.card-flags { top: 10px; left: 10px; }
	.gusto-toast { width: calc(100% - 32px); justify-content: space-between; }
}

/* Imagen de bodega o D.O. (foto o composición de sus botellas): cabecera del archivo y ficha del vino */
.tv { position: relative; overflow: hidden; aspect-ratio: 16 / 10.5; border-radius: 28px; background: var(--bg); }
.tv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tv--bottles { background: radial-gradient(70% 80% at 50% 100%, rgba(218, 191, 137, .26), transparent 70%), linear-gradient(160deg, #F4F1EA, #EAE6DC); }
.tv--bottles .gv-mark { position: absolute; right: -36px; top: -30px; width: 260px; height: auto; color: var(--gold); opacity: .16; }
.tv-row { position: absolute; inset: 8% 6% 0; display: flex; align-items: flex-end; justify-content: center; }
.tv-bottle { width: 30%; max-width: 190px; height: auto; margin: 0 -3%; mix-blend-mode: multiply; }
.tv-bottle:nth-child(2), .tv-bottle:nth-child(3) { width: 34%; z-index: 1; }
.th-logo { position: absolute; left: 18px; bottom: 18px; display: grid; place-items: center; width: 92px; height: 92px; padding: 12px; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow-sm); }
.th-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@media (max-width: 560px) {
	.th-logo { width: 70px; height: 70px; left: 12px; bottom: 12px; border-radius: 16px; }
}
