/* ==========================================================================
   Archivo de tienda: migas, cabecera, banner del Club, filtros, rejilla, lista y paginación
   ========================================================================== */

.archive-main { padding-bottom: 96px; }

/* Cabecera */
.cat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 14px 0 34px; }
.cat-head .lead { max-width: 700px; }
.cat-head h1 { font-size: clamp(36px, 4.8vw, 62px); font-weight: 300; letter-spacing: -.04em; line-height: 1.02; margin-bottom: 14px; }
.cat-head p { color: var(--muted); font-size: 16.5px; }
.cat-head .count { font-weight: 600; color: var(--ink); }

.toolbar { display: flex; align-items: center; gap: 10px; }
.sel-wrap { position: relative; }
.sel {
	list-style: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 46px;
	padding: 0 16px 0 18px;
	background: var(--paper);
	border: 1px solid var(--line-strong);
	border-radius: 12px;
	font-size: 14px;
	transition: border-color var(--t);
}
.sel::-webkit-details-marker { display: none; }
.sel b { font-weight: 600; }
.sel:hover { border-color: var(--ink); }
.sel .chev { width: 13px; height: 13px; color: var(--faint); transition: transform .2s; }
.sel-wrap[open] .sel .chev { transform: rotate(180deg); }
.sel-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 240px; list-style: none; margin: 0; padding: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); }
.sel-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 10px; font-size: 14.5px; color: var(--muted); transition: background var(--t), color var(--t); }
.sel-menu a:hover { background: var(--bg); color: var(--ink); }
.sel-menu a.is-on { color: var(--ink); font-weight: 600; }
.sel-menu a .i { color: var(--royal); }

.viewtog { display: flex; padding: 4px; gap: 2px; background: var(--paper); border: 1px solid var(--line-strong); border-radius: 12px; }
.viewtog button { width: 38px; height: 36px; display: grid; place-items: center; border-radius: 8px; color: var(--faint); font-size: 18px; transition: background var(--t), color var(--t); }
.viewtog button:hover { color: var(--ink); }
.viewtog button.active { background: var(--navy); color: #fff; }

/* Filtro destacado de rebajas (arriba de los filtros) */
.fsale { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; margin: 4px 0 14px; padding: 12px 14px; border-radius: 14px; background: var(--sale-soft); border: 1px solid var(--sale-line); transition: background var(--t), border-color var(--t); }
.fsale:hover { border-color: var(--sale); }
.fsale-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--sale); color: #fff; font-size: 15px; font-weight: 700; }
.fsale-txt { display: grid; line-height: 1.3; }
.fsale-txt b { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.fsale-txt span { font-size: 12.5px; color: var(--sale-ink); }
.fsale-sw { position: relative; width: 38px; height: 22px; border-radius: var(--r-pill); background: var(--line-strong); transition: background var(--t); }
.fsale-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform var(--t); }
.fsale.is-on { background: var(--sale); border-color: var(--sale); }
.fsale.is-on .fsale-txt b, .fsale.is-on .fsale-txt span { color: #fff; }
.fsale.is-on .fsale-ico { background: #fff; color: var(--sale); }
.fsale.is-on .fsale-sw { background: rgba(255, 255, 255, .45); }
.fsale.is-on .fsale-sw::after { transform: translateX(16px); }

/* Banner de la tarjeta regalo (Packs y regalos) */
.gift-banner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px clamp(28px, 5vw, 72px); margin: 0 0 36px; padding: clamp(26px, 3.5vw, 44px) clamp(26px, 4vw, 52px); overflow: hidden; border-radius: 24px; background: radial-gradient(60% 120% at 100% 0%, rgba(218, 191, 137, .32), transparent 60%), linear-gradient(120deg, var(--navy-2), var(--navy) 60%, #0F1A2E); color: #EDEFF3; }
.gb-ey { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.gift-banner h2 { max-width: 560px; margin: 0 0 10px; font-size: clamp(26px, 3vw, 38px); font-weight: 200; letter-spacing: -.035em; line-height: 1.1; color: #fff; text-wrap: balance; }
.gift-banner h2 b { font-weight: 600; color: #F1DDB4; }
.gift-banner p { max-width: 520px; margin: 0; font-size: 15.5px; line-height: 1.55; color: #C7CCD6; }
.gb-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 22px; }
.gb-lnk { font-size: 14.5px; font-weight: 600; color: #fff; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.gb-card { position: relative; display: grid; grid-template-rows: auto 1fr auto; width: clamp(220px, 24vw, 300px); aspect-ratio: 1.586; padding: 20px 22px; overflow: hidden; border-radius: 18px; background: linear-gradient(135deg, #2A4170 0%, #16243F 55%, #0A0A0C 100%); border: 1px solid rgba(218, 191, 137, .5); box-shadow: 0 34px 60px -30px rgba(0, 0, 0, .8); transform: rotate(-6deg); }
.gb-card::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(218, 191, 137, .08) 0 1px, transparent 1px 10px); }
.gb-card > * { position: relative; }
.gb-logo { width: 96px; color: #F4EBDD; }
.gb-logo svg { display: block; width: 100%; height: auto; }
.gb-amt { align-self: center; font-size: clamp(36px, 4vw, 48px); font-weight: 200; letter-spacing: -.05em; color: #fff; }
.gb-cap { font-size: 10.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }

/* Banner del Club */
.club-banner {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
	margin: 0 0 36px;
	padding: 26px 32px;
	border-radius: 22px;
	background: linear-gradient(120deg, var(--navy-2), var(--navy) 60%, #0F1A2E);
	color: #EDEFF3;
}
.club-banner::after { content: ""; position: absolute; right: -80px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(218, 191, 137, .3), transparent); pointer-events: none; }
.club-banner > * { position: relative; z-index: 1; }
.club-banner .cb-ico { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border: 1px solid rgba(218, 191, 137, .5); border-radius: 16px; color: var(--gold); font-size: 20px; background: rgba(255, 255, 255, .04); }
.club-banner .cb-ico .i { fill: currentColor; stroke: none; }
.club-banner .cb-txt { flex: 1; min-width: 260px; }
.club-banner h3 { font-size: 21px; font-weight: 400; letter-spacing: -.015em; margin-bottom: 5px; }
.club-banner p { font-size: 14.5px; color: #C7CCD6; }
.club-banner .cb-pts { font-weight: 600; color: var(--gold); }

/* Maquetación */
.shop-layout { display: grid; grid-template-columns: 288px minmax(0, 1fr); gap: 44px; align-items: start; }

/* Filtros */
.filters {
	position: sticky;
	top: 80px;
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - 100px);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 20px;
	overflow: hidden;
}
.fhead { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.fhead b { font-size: 16px; font-weight: 600; margin-right: auto; }
.clearall { font-size: 13.5px; font-weight: 600; color: var(--royal); text-decoration: underline; text-underline-offset: 3px; }
.fclose { display: none; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--bg); font-size: 18px; }
.fscroll { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.fapply { display: none; padding: 14px 18px; border-top: 1px solid var(--line); background: var(--paper); }
.filters-overlay { display: none; }

.fgroup { border-bottom: 1px solid var(--line); }
.fgroup:last-child { border-bottom: none; }
.fgroup > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 17px 22px; font-weight: 600; font-size: 14.5px; }
.fgroup > summary::-webkit-details-marker { display: none; }
.fgroup > summary:hover { color: var(--royal); }
.fgroup > summary .pm { display: inline-grid; place-items: center; color: var(--faint); font-size: 16px; transition: transform .25s var(--ease); }
.fgroup[open] > summary .pm { transform: rotate(45deg); }
.fbody { padding: 0 22px 20px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 14.5px; color: var(--muted); cursor: pointer; transition: color var(--t); }
.opt:hover { color: var(--ink); }
.opt .lbl { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; }
.opt .ct { margin-left: auto; font-size: 12.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.opt.is-on { color: var(--ink); font-weight: 500; }
.opt .stars .i { width: 13px; height: 13px; }
.opt .rl { font-size: 13.5px; }
.seemore { margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--royal); }
.seemore:hover { text-decoration: underline; }
.fmore[hidden] { display: none; }
.fsub { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin: 16px 0 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.fempty { font-size: 13.5px; color: var(--faint); }

/* Control de precio (doble rango) */
.price-row { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--muted); margin: 4px 0 18px; }
.price-row b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.range { position: relative; height: 24px; margin: 0 4px 6px; }
.range-track { position: absolute; left: 0; right: 0; top: 50%; height: 4px; transform: translateY(-50%); background: var(--surface); border-radius: 4px; }
.range-fill { position: absolute; height: 100%; background: var(--navy); border-radius: 4px; }
.range input[type="range"] { position: absolute; left: 0; top: 0; width: 100%; height: 24px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 2px solid var(--navy); box-shadow: var(--shadow-sm); cursor: grab; transition: transform var(--t); }
.range input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 2px solid var(--navy); box-shadow: var(--shadow-sm); cursor: grab; }
.range input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
.range input[type="range"]:focus-visible { box-shadow: none; }
.range input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: var(--ring); }
.range input[type="range"]::-webkit-slider-runnable-track { background: transparent; }
.range input[type="range"]::-moz-range-track { background: transparent; }

/* Resultados */
.activef { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.activef .lab { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-right: 4px; }
.grid-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.grid-meta .res { font-size: 14px; color: var(--muted); }

#shop-app.is-loading .results { opacity: .5; pointer-events: none; transition: opacity .15s; }

/* Lista: foto · datos del vino · columna de compra */
.prod-grid.is-list, .prod-grid.cols-3.is-list { grid-template-columns: minmax(0, 1fr); gap: 16px; } /* gana a las columnas de .cols-3 en pantallas medianas */
.prod-grid.is-list .card, .woocommerce ul.products.prod-grid.is-list li.card { flex-direction: row; container: lcard / inline-size; } /* el segundo selector gana a la regla base de components.css */
.prod-grid.is-list .card-media { width: 210px; flex: none; aspect-ratio: auto; min-height: 250px; }
.prod-grid.is-list .card-body { display: grid; grid-template-columns: minmax(0, 1fr) 272px; align-content: center; column-gap: 30px; min-width: 0; padding: 26px 28px; }
.prod-grid.is-list .card-info { grid-row: 1 / span 2; }
.prod-grid.is-list .card h3 { font-size: 22px; }
.prod-grid.is-list .cfoot { grid-column: 2; grid-row: 1; flex-direction: column; align-items: stretch; justify-content: center; gap: 16px; margin: 0; padding: 4px 0 4px 30px; border-left: 1px solid var(--line); }
.prod-grid.is-list .clow { grid-column: 2; margin: 12px 0 0 30px; }
.prod-grid.is-list .cact .cadd { justify-content: center; }
.prod-grid.is-list .edito { flex-direction: row; }

.prod-grid.is-list .card-more { display: block; margin-top: 18px; }
.cspecs { display: flex; flex-wrap: wrap; gap: 12px 30px; margin: 0; }
.cspecs > div { min-width: 0; }
.cspecs dt { font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); }
.cspecs dd { margin: 3px 0 0; font-size: 14px; font-weight: 500; color: var(--ink); }
.cnote { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; max-width: 64ch; margin: 16px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.cnote b { font-weight: 600; color: var(--ink); }

/* Selector de unidades de la lista */
.prod-grid.is-list .cqty { display: inline-flex; }
.cqty { flex: none; align-items: center; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--paper); }
.cqty button { display: grid; place-items: center; width: 34px; height: 100%; padding: 0; border: 0; background: none; font-size: 18px; line-height: 1; color: var(--ink); cursor: pointer; }
.cqty button:disabled { color: var(--line-strong); cursor: default; }
.cqty input { width: 30px; padding: 0; border: 0; background: transparent; text-align: center; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.cqty input::-webkit-outer-spin-button, .cqty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cqty input:focus-visible { box-shadow: none; outline: none; }
.cqty:focus-within { border-color: var(--navy); }

/* Tarjeta de lista estrecha (tablet, escritorio pequeño con filtros): la compra baja bajo los datos */
@container lcard (max-width: 839px) {
	.prod-grid.is-list .card-media { width: 170px; min-height: 0; }
	.prod-grid.is-list .card-body { display: flex; flex-direction: column; padding: 22px 24px; }
	.prod-grid.is-list .cfoot { flex-direction: row; align-items: flex-end; justify-content: space-between; margin-top: 20px; padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--line); }
	.prod-grid.is-list .clow { margin-left: 0; }
}
/* Móvil (por si quedó guardada la vista de lista): foto estrecha y compra apilada */
@container lcard (max-width: 480px) {
	.prod-grid.is-list .card-media { width: 112px; }
	.prod-grid.is-list .card-body { padding: 16px; }
	.prod-grid.is-list .card h3 { font-size: 17px; }
	.prod-grid.is-list .cnote { display: none; }
	.prod-grid.is-list .cfoot { flex-direction: column; align-items: stretch; gap: 12px; }
	.prod-grid.is-list .cact { flex-direction: column; align-items: stretch; gap: 8px; }
	.prod-grid.is-list .cqty { justify-content: space-between; }
}

/* Bloque editorial dentro de la rejilla */
.prod-grid .edito {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	gap: 32px;
	padding: 32px 36px;
	border-radius: 22px;
	background: linear-gradient(120deg, var(--gold-soft), #FBF8F1 55%, var(--paper));
	border: 1px solid #EFE6D0;
}
.edito .eph { position: relative; width: 190px; height: 128px; flex: none; border-radius: 16px; overflow: hidden; background: linear-gradient(140deg, var(--navy-2), var(--navy)); }
.edito .eph .gv-mark { position: absolute; right: -12px; bottom: -14px; width: 150px; height: auto; color: var(--gold); opacity: .3; }
.edito .etag { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; }
.edito h3 { font-size: 28px; font-weight: 300; letter-spacing: -.025em; margin: 10px 0 8px; }
.edito p { color: var(--muted); font-size: 15px; max-width: 62ch; }
.edito .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--royal); }
.edito .more .i { transition: transform var(--t); }
.edito .more:hover .i { transform: translateX(3px); }

/* Paginación */
.pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 44px; }
.pager .page-numbers { min-width: 46px; height: 46px; border-radius: 12px; }
.pager .page-numbers .i { width: 16px; height: 16px; }
.pager .prev .i { transform: rotate(90deg); }
.pager .next .i { transform: rotate(-90deg); }
.loadmore { text-align: center; margin: 20px 0 0; font-size: 13px; color: var(--faint); }
.loadmore.is-loading::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -2px; border: 2px solid var(--line-strong); border-top-color: var(--navy); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.noresults { text-align: center; padding: 80px 20px; background: var(--bg); border-radius: 22px; }
.noresults h2 { font-size: 30px; font-weight: 300; letter-spacing: -.025em; margin-bottom: 10px; }
.noresults p { color: var(--muted); margin-bottom: 26px; }
/* Favoritos sin sesión: invitación a entrar o hacerse socio */
.favs-join p { max-width: 520px; margin-left: auto; margin-right: auto; }
.favs-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 16px; background: var(--gold-soft); color: var(--gold-ink); font-size: 22px; }
.favs-join-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Barra móvil de filtros */
.mobile-filterbar { display: none; gap: 10px; margin-bottom: 20px; }
.mf-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--paper); font-weight: 600; font-size: 14px; }
.mf-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--navy); color: #fff; font-size: 11.5px; }

@media (max-width: 1100px) {
	.shop-layout { grid-template-columns: 252px minmax(0, 1fr); gap: 28px; }
	.prod-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
	.shop-layout { grid-template-columns: minmax(0, 1fr); }
	.mobile-filterbar { display: flex; }
	.toolbar { width: 100%; }
	.toolbar .sel-wrap { flex: 1; }
	.toolbar .sel { width: 100%; justify-content: space-between; }

	/* Los filtros pasan a un cajón lateral */
	.filters {
		position: fixed;
		z-index: 210;
		top: 0; bottom: 0; left: 0;
		width: min(92vw, 400px);
		max-height: none;
		border-radius: 0 24px 24px 0;
		border: none;
		transform: translateX(-102%);
		transition: transform .35s var(--ease);
		box-shadow: var(--shadow-lg);
	}
	.fclose { display: grid; }
	.fapply { display: block; }
	.filters-overlay { display: block; position: fixed; inset: 0; z-index: 200; background: rgba(10, 10, 12, .5); opacity: 0; pointer-events: none; transition: opacity .3s; }
	body.filters-open { overflow: hidden; }
	body.filters-open .filters { transform: none; }
	body.filters-open .filters-overlay { opacity: 1; pointer-events: auto; }
	.prod-grid .edito { flex-direction: column; align-items: flex-start; padding: 24px; }
	.edito .eph { width: 100%; }
}

@media (max-width: 560px) {
	.cat-head { padding-bottom: 22px; }
	.club-banner { padding: 20px; gap: 16px; }
	.gift-banner { grid-template-columns: minmax(0, 1fr); }
	.gb-card { display: none; }
	.club-banner h3 { font-size: 18px; }
	.club-banner .cb-ico { width: 44px; height: 44px; }
	.club-banner .btn { width: 100%; }
	.viewtog { display: none; }
}

/* Bodega y D.O.: cabecera tipo landing (template-parts/archive/term-hero.php) y su historia bajo los vinos */
.th { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 56px); align-items: center; margin: 14px 0 40px; }
.th-visual { position: relative; }
.th-kind { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.th h1 { font-size: clamp(38px, 4.6vw, 64px); font-weight: 300; letter-spacing: -.04em; line-height: 1.02; margin: 10px 0 10px; text-wrap: balance; }
.th-place { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 15px; color: var(--muted); }
.th-place .flagc { width: 18px; height: 18px; }
.th-intro { max-width: 58ch; margin: 0 0 22px; font-size: 17px; line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.th-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.th-facts div { padding: 9px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.th-facts dt { font-size: 11.5px; letter-spacing: .04em; color: var(--faint); }
.th-facts dd { margin: 1px 0 0; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.th-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; font-size: 14.5px; font-weight: 600; }
.th-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--royal); }
.th-links .i { width: 13px; height: 13px; }
.th-more .i { transition: transform var(--t); }
.th-more:hover .i { transform: translateY(2px); }
.cat-head--sub { padding-top: 22px; border-top: 1px solid var(--line); }
.cat-head--sub h2 { display: flex; align-items: baseline; gap: 12px; margin: 0; font-size: 28px; font-weight: 400; letter-spacing: -.02em; }
.cat-head--sub h2 .count { font-size: 15px; font-weight: 600; color: var(--faint); }

.ts { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); margin-top: 88px; padding-top: 56px; border-top: 1px solid var(--line); scroll-margin-top: 120px; }
.ts h2 { font-size: clamp(30px, 3.2vw, 44px); font-weight: 300; letter-spacing: -.035em; line-height: 1.08; margin: 10px 0 22px; }
.ts h2 b { font-weight: 600; color: var(--navy); }
.ts-text, .ts-text p { max-width: 64ch; font-size: 17px; line-height: 1.75; color: var(--muted); }
.ts-text p { margin: 0 0 16px; }
.ts-side { display: grid; align-content: start; gap: 14px; padding: 28px; border-radius: 24px; background: var(--bg); }
.ts-side h3 { margin: 10px 0 0; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.ts-facts { display: grid; gap: 0; margin: 0; }
.ts-facts div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ts-facts dt { font-size: 13.5px; color: var(--faint); }
.ts-facts dd { margin: 0; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.ts-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ts-links a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--paper); font-size: 14px; color: var(--ink); transition: border-color var(--t); }
.ts-links a:hover { border-color: var(--ink); }
.ts-links span { font-size: 12.5px; color: var(--faint); }

@media (max-width: 900px) {
	.th { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-bottom: 26px; }
	.tv { aspect-ratio: 16 / 9; border-radius: 22px; }
	.th-intro { font-size: 16px; }
	.ts { grid-template-columns: minmax(0, 1fr); margin-top: 64px; padding-top: 40px; }
}
@media (max-width: 560px) {
	.th-facts div { padding: 7px 11px; }
	.th-facts div:nth-child(n+4) { display: none; } /* En el móvil, lo justo: los vinos tienen que verse pronto. */
	.th-intro { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; }
	.tv { aspect-ratio: 16 / 8; }
	.ts-side { padding: 22px 18px; }
	.ts-facts div { grid-template-columns: 110px minmax(0, 1fr); }
}
