/*
Theme Name:  Pegatinas de Caravanas
Description: Tema hijo de Blocksy para pegatinasdecaravanas.com: taller de rotulación, buscador por modelo y fotos protagonistas.
Template:    blocksy
Version:     1.0.0
Text Domain: pegatinas
*/

/* ==========================================================================
   Tokens (los colores base también están en la paleta de Blocksy, Personalizar → Colores)
   ========================================================================== */
:root {
	--pg-bg: #f3f5f8;
	--pg-surface: #ffffff;
	--pg-ink: #0d2340;
	--pg-ink-2: #4a5b72;
	--pg-line: #dbe1ea;
	--pg-navy: #0e3a66;
	--pg-accent: #e5542b;
	--pg-accent-hover: #c8421d;
	--pg-accent-soft: #fde6dd;
	--pg-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
	--pg-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
	--pg-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
	--pg-r: 14px;
	--pg-shadow: 0 1px 2px rgb(13 35 64 / .06), 0 8px 24px rgb(13 35 64 / .08);

	--theme-font-family: var(--pg-body);
	--theme-button-border-radius: 10px;
	--theme-form-field-border-radius: 10px;
}

body { font-family: var(--pg-body); background: var(--pg-bg); color: var(--pg-ink-2); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .page-title, .product_title, .woocommerce-loop-product__title {
	font-family: var(--pg-display);
	font-stretch: 112%;
	color: var(--pg-ink);
	text-wrap: balance;
}
h1, .page-title, .product_title { font-weight: 900; font-stretch: 118%; letter-spacing: -.015em; }
h2 { font-weight: 800; font-stretch: 118%; letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--pg-accent); outline-offset: 2px; }

.pg-eyebrow, .pg-eyebrow.wp-block-paragraph {
	font: 500 .75rem/1 var(--pg-mono);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--pg-accent);
	margin-bottom: 10px;
}

/* Logo de texto en la cabecera */
.site-title { font-family: var(--pg-display); font-weight: 900; font-stretch: 125%; letter-spacing: -.01em; }
.site-description { font: 500 .68rem/1 var(--pg-mono) !important; letter-spacing: .06em; text-transform: uppercase; }

/* Barra de categorías bajo el logo (escritorio) */
#header [data-row="bottom"] { border-top: 1px solid var(--pg-line); background: var(--pg-surface); }
#header [data-row="bottom"] .menu > li > a { font-weight: 700; letter-spacing: .02em; }
#header [data-row="bottom"] .sub-menu { border-radius: 12px; box-shadow: var(--pg-shadow); }

/* Botones */
.pg-boton, .wp-block-button.pg-boton .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 22px; border: 0; border-radius: 10px;
	background: var(--pg-accent); color: #fff; font: 700 1rem var(--pg-body);
	text-decoration: none; cursor: pointer; white-space: nowrap;
}
.pg-boton:hover, .wp-block-button.pg-boton .wp-block-button__link:hover { background: var(--pg-accent-hover); color: #fff; }
.pg-boton--claro, .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: inherit; border: 1.5px solid currentColor; }

/* ==========================================================================
   Portada
   ========================================================================== */
.pg-home { --pg-gap: 56px; }
.pg-home > * + * { margin-top: var(--pg-gap) !important; }
.pg-section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px !important; }
.pg-section-head h2 { margin: 0; font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.pg-section-head a { font-weight: 700; color: var(--pg-accent); text-decoration: none; }

/* Hero con franjas de vinilo */
.pg-hero { position: relative; overflow: hidden; padding-block: 40px 56px; }
.pg-hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 600' preserveAspectRatio='none'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M-40 520C380 470 760 330 1480 120' stroke='%230e3a66' stroke-width='34' opacity='.07'/%3E%3Cpath d='M-40 566C420 520 820 390 1480 190' stroke='%23e5542b' stroke-width='10' opacity='.22'/%3E%3Cpath d='M-40 590C460 548 860 424 1480 222' stroke='%239aa7b8' stroke-width='5' opacity='.35'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.pg-hero > * { position: relative; z-index: 1; }
.pg-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); line-height: 1.02; margin: 14px 0 0; }
.pg-hero h1 mark, .pg-hero h1 em { background: none; font-style: normal; color: var(--pg-accent); }
.pg-hero .pg-lead { font-size: 1.12rem; max-width: 36ch; margin-top: 18px; }
.pg-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 20px 0 0; font-weight: 600; color: var(--pg-ink); font-size: .92rem; }
.pg-facts li { display: flex; gap: 8px; align-items: center; margin: 0; }
.pg-facts li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--pg-accent); transform: rotate(45deg); }

/* Foto con esquina despegada, como una pegatina */
.pg-photo { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--pg-shadow); margin: 0 !important; }
.pg-photo img { display: block; width: 100%; aspect-ratio: 640 / 412; object-fit: cover; }
.pg-photo::after {
	content: ""; position: absolute; right: 0; bottom: 0; width: 78px; height: 78px;
	background: linear-gradient(315deg, var(--pg-bg) 0 50%, #d9dee6 50% 58%, #f7f8fa 72%, #c4ccd8 100%);
	border-top-left-radius: 16px; box-shadow: -6px -6px 14px rgb(13 35 64 / .18);
}
.pg-photo figcaption {
	position: absolute; left: 16px; bottom: 16px; margin: 0; max-width: calc(100% - 120px);
	background: var(--pg-surface); color: var(--pg-ink); border-radius: 12px; padding: 10px 14px;
	box-shadow: var(--pg-shadow); font-weight: 700; font-size: .92rem; line-height: 1.3; text-align: left;
}

/* Buscador */
.pg-finder { margin-top: 28px; background: var(--pg-surface); border: 1px solid var(--pg-line); border-radius: var(--pg-r); box-shadow: var(--pg-shadow); padding: 18px; }
.pg-finder__titulo { margin: 0; font: 800 1rem var(--pg-display); font-stretch: 110%; color: var(--pg-ink); }
.pg-finder__tipos { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0 12px; }
.pg-finder__tipos button {
	font: 600 .88rem var(--pg-body); border: 1px solid var(--pg-line); background: var(--pg-bg); color: var(--pg-ink);
	padding: 9px 14px; border-radius: 999px; cursor: pointer; min-height: 40px;
}
.pg-finder__tipos button[aria-pressed="true"] { background: var(--pg-navy); border-color: var(--pg-navy); color: #fff; }
.pg-finder__fila { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; }
.pg-finder__fila select, .pg-finder__fila input {
	height: 48px; min-width: 0; width: 100%; padding: 0 12px; border-radius: 10px;
	border: 1px solid var(--pg-line); background: var(--pg-bg); color: var(--pg-ink); font: 500 1rem var(--pg-body);
}
.pg-finder__nota { margin: 12px 0 0; font-size: .9rem; }
.pg-finder__nota a { color: var(--pg-accent); font-weight: 600; }
@media (max-width: 560px) { .pg-finder__fila { grid-template-columns: 1fr; } }

/* Tipos de vehículo */
.pg-kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pg-kind {
	display: flex; align-items: center; gap: 16px; padding: 16px 18px; text-decoration: none;
	background: var(--pg-surface); border: 1px solid var(--pg-line); border-radius: var(--pg-r);
	color: var(--pg-ink); transition: transform .15s, border-color .15s;
}
.pg-kind:hover { transform: translateY(-2px); border-color: var(--pg-ink-2); color: var(--pg-ink); }
.pg-kind svg { width: 64px; height: 40px; flex-shrink: 0; color: var(--pg-navy); }
.pg-kind b { display: block; font: 800 1.05rem var(--pg-display); font-stretch: 112%; }
.pg-kind span span { font: 500 .8rem var(--pg-mono); color: var(--pg-ink-2); }
@media (max-width: 860px) { .pg-kinds { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pg-kinds { grid-template-columns: 1fr; } }

/* Marcas */
.pg-brands { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.pg-brand {
	display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 12px 14px;
	text-align: center; text-decoration: none; color: var(--pg-ink);
	background: var(--pg-surface); border: 1px solid var(--pg-line); border-radius: 12px; transition: border-color .15s, background .15s;
}
.pg-brand:hover { border-color: var(--pg-accent); background: var(--pg-accent-soft); color: var(--pg-ink); }
.pg-brand b { font: 900 1.05rem/1 var(--pg-display); font-stretch: 125%; letter-spacing: .02em; text-transform: uppercase; }
.pg-brand span { font: 500 .74rem var(--pg-mono); color: var(--pg-ink-2); }
@media (max-width: 980px) { .pg-brands { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .pg-brands { grid-template-columns: repeat(2, 1fr); } }

/* Tarjetas de producto de la portada */
.pg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pg-card {
	display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: var(--pg-ink);
	background: var(--pg-surface); border: 1px solid var(--pg-line); border-radius: var(--pg-r); transition: transform .15s, box-shadow .15s;
}
.pg-card:hover { transform: translateY(-3px); box-shadow: var(--pg-shadow); color: var(--pg-ink); }
.pg-card__im { aspect-ratio: 640 / 412; overflow: hidden; background: var(--pg-bg); }
.pg-card__im img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pg-card:hover .pg-card__im img { transform: scale(1.04); }
.pg-card__bd { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 14px 16px 16px; }
.pg-card__cat { font: 500 .72rem var(--pg-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--pg-ink-2); }
.pg-card h3 { margin: 0; font: 700 1.02rem/1.3 var(--pg-body); font-stretch: 100%; }
.pg-card__ft { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pg-price { font: 800 1.15rem var(--pg-display); font-stretch: 110%; font-variant-numeric: tabular-nums; }
.pg-chip { font: 600 .75rem var(--pg-body); background: var(--pg-accent-soft); color: var(--pg-accent-hover); padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 900px) { .pg-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .pg-grid { grid-template-columns: 1fr; } }

/* Precios */
.pg-desde { font: 500 .78em var(--pg-body); color: var(--pg-ink-2); }
.pg-consultar { font: 600 .85rem var(--pg-body); color: var(--pg-ink-2); }

/* Banda «Diseño a medida» */
.pg-custom { position: relative; overflow: hidden; background: var(--pg-navy) !important; color: #c9d6e8; border-radius: 28px; padding: 48px !important; }
.pg-custom::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 500' preserveAspectRatio='none'%3E%3Cpath d='M-20 470C300 430 700 300 1220 60' fill='none' stroke='%23ff7448' stroke-width='6' opacity='.5'/%3E%3Cpath d='M-20 492C320 456 720 330 1220 96' fill='none' stroke='%23fff' stroke-width='2' opacity='.25'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.pg-custom > * { position: relative; }
.pg-custom h2 { color: #fff; }
.pg-custom .pg-eyebrow { color: #ffb39a; }
.pg-custom .wp-block-button.pg-boton .wp-block-button__link { background: #ff7448; color: #1a0d07; }
.pg-custom .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; }
.pg-steps { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 14px; counter-reset: s; }
.pg-steps li { position: relative; padding-left: 46px; min-height: 34px; counter-increment: s; color: #e6edf6; margin: 0; }
.pg-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: rgb(255 255 255 / .12); display: grid; place-items: center; font: 800 .95rem var(--pg-display); color: #fff; }
.pg-steps strong { display: block; color: #fff; }
.pg-mosaic { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px !important; }
.pg-mosaic figure { margin: 0 !important; width: auto !important; }
.pg-mosaic figure:first-child { grid-column: 1 / -1; }
.pg-mosaic img { border-radius: 14px; width: 100% !important; aspect-ratio: 640 / 412; object-fit: cover; height: auto !important; }
@media (max-width: 860px) { .pg-custom { padding: 28px 22px !important; } }

/* Fran: tarjeta clara con franjas; su ilustración con la James Cook a la izquierda, centrada */
.pg-fran {
	position: relative; padding: 0 48px 0 24px !important;
	background: var(--pg-surface); border: 1px solid var(--pg-line); border-radius: 28px;
}
.pg-fran::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 500' preserveAspectRatio='none'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M-20 470C300 440 700 330 1220 120' stroke='%230e3a66' stroke-width='30' opacity='.06'/%3E%3Cpath d='M-20 492C320 466 720 360 1220 160' stroke='%23e5542b' stroke-width='8' opacity='.25'/%3E%3Cpath d='M-20 505C330 482 740 382 1220 186' stroke='%239aa7b8' stroke-width='4' opacity='.35'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.pg-fran > * { position: relative; }
.pg-fran .wp-block-columns { margin: 0; align-items: center; }
.pg-fran .pg-fran__col-foto { align-self: center !important; }
.pg-fran__foto { margin: 0 !important; }
.pg-fran__foto img { display: block; width: calc(100% + 56px); max-width: none; height: auto; margin-left: -24px; filter: drop-shadow(0 14px 18px rgb(13 35 64 / .16)); }
.pg-fran__texto { padding-block: 40px; }
.pg-fran__texto h2 { margin: 0 0 14px; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.pg-fran__intro { font-size: 1.1rem; color: var(--pg-ink); }
.pg-fran__datos { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pg-fran__datos li { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--pg-bg); border: 1px solid var(--pg-line); font-size: .88rem; }
.pg-fran__datos strong { display: block; font: 900 1.5rem/1.1 var(--pg-display); font-stretch: 112%; color: var(--pg-accent); }
@media (max-width: 781px) {
	.pg-fran { padding: 20px 16px 0 !important; }
	.pg-fran__foto img { width: 100%; margin-left: 0; }
	.pg-fran__texto { padding-block: 8px 28px; }
	.pg-fran__datos li { padding: 8px; font-size: .8rem; }
	.pg-fran__datos strong { font-size: 1.15rem; white-space: nowrap; }
}

/* Material y carta de colores */
.pg-qual { display: grid; gap: 10px; margin-top: 20px; }
.pg-qual p { margin: 0; background: var(--pg-surface); border: 1px solid var(--pg-line); border-radius: 12px; padding: 14px 16px; font-size: .92rem; }
.pg-qual strong { display: block; font: 800 .98rem var(--pg-display); font-stretch: 112%; color: var(--pg-ink); }
.pg-swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.pg-sw { display: flex; flex-direction: column; gap: 8px; padding: 8px; background: var(--pg-surface); border: 1px solid var(--pg-line); border-radius: 12px; }
.pg-sw i { display: block; aspect-ratio: 3 / 2; border-radius: 7px; box-shadow: inset 0 0 0 1px rgb(13 35 64 / .12); }
.pg-sw i.met { background-image: linear-gradient(120deg, transparent 30%, rgb(255 255 255 / .45) 48%, transparent 66%); }
.pg-sw span { font: 500 .75rem/1.2 var(--pg-body); color: var(--pg-ink-2); }
@media (max-width: 560px) { .pg-swatches { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 400px) { .pg-swatches { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   Tienda
   ========================================================================== */
.pg-presupuesto { margin: 20px 0; padding: 18px; border-radius: var(--pg-r); background: var(--pg-accent-soft); color: var(--pg-ink); }
.pg-presupuesto p { margin: 0 0 12px; }
.pg-presupuesto__botones { display: flex; gap: 8px; flex-wrap: wrap; }
.pg-presupuesto__nota { margin: 12px 0 0 !important; font-size: .88rem; color: var(--pg-ink-2); }

/* Fichas en los listados con el mismo aire que la portada */
[data-products] .product { background: var(--pg-surface); border: 1px solid var(--pg-line); border-radius: var(--pg-r); overflow: hidden; padding-bottom: 16px; }
[data-products] .product .ct-media-container { border-radius: 0; }
[data-products] .product .woocommerce-loop-product__title { font: 700 1.02rem/1.3 var(--pg-body); font-stretch: 100%; padding-inline: 16px; }
[data-products] .product .price { font: 800 1.1rem var(--pg-display); font-stretch: 110%; color: var(--pg-ink); padding-inline: 16px; }
[data-products] .product .ct-woo-card-actions, [data-products] .product .entry-meta { padding-inline: 16px; }

/* Cabecera de categorías, marcas y búsqueda */
.pg-archivo {
	position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr minmax(240px, 300px); gap: 24px 40px; align-items: start;
	margin: 8px 0 32px; padding: 32px 36px; border-radius: 22px; background: var(--pg-surface); border: 1px solid var(--pg-line);
}
.pg-archivo::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300' preserveAspectRatio='none'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M-20 290C300 270 700 200 1220 40' stroke='%230e3a66' stroke-width='22' opacity='.06'/%3E%3Cpath d='M-20 304C320 284 720 222 1220 70' stroke='%23e5542b' stroke-width='6' opacity='.25'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.pg-archivo > * { position: relative; }
.pg-archivo h1 { margin: 6px 0 0; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.02; }
.pg-archivo__desc { margin-top: 12px; max-width: 60ch; color: var(--pg-ink-2); }
.pg-archivo__desc p { margin: 0; }
.pg-migas { font: 500 .74rem var(--pg-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--pg-ink-2); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.pg-migas a { color: var(--pg-ink-2); text-decoration: none; }
.pg-migas a:hover { color: var(--pg-accent); }
.pg-archivo .pg-eyebrow { margin: 0; }
.pg-archivo__ayuda { background: var(--pg-navy); color: #c9d6e8; border-radius: 16px; padding: 18px; font-size: .92rem; }
.pg-archivo__ayuda p { margin: 0 0 14px; }
.pg-archivo__ayuda strong { display: block; color: #fff; font: 800 1.02rem var(--pg-display); font-stretch: 112%; margin-bottom: 4px; }
.pg-archivo__ayuda .pg-boton { width: 100%; background: #ff7448; color: #1a0d07; min-height: 44px; }
.pg-archivo__chips { grid-column: 1 / -1; border-top: 1px solid var(--pg-line); padding-top: 18px; }
.pg-archivo__chips-titulo { margin: 0 0 10px; font: 500 .74rem var(--pg-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--pg-ink-2); }
.pg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-chip-link {
	display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: 999px;
	background: var(--pg-bg); border: 1px solid var(--pg-line); color: var(--pg-ink); font-weight: 600; font-size: .9rem; text-decoration: none;
	transition: border-color .15s, background .15s;
}
.pg-chip-link span { font: 500 .74rem var(--pg-mono); color: var(--pg-ink-2); }
.pg-chip-link:hover { border-color: var(--pg-accent); background: var(--pg-accent-soft); color: var(--pg-ink); }
.pg-chip-link.is-actual { background: var(--pg-navy); border-color: var(--pg-navy); color: #fff; }
.pg-chip-link.is-actual span { color: #c9d6e8; }
.pg-chips-mas { margin-top: 10px; }
.pg-chips-mas summary { cursor: pointer; font-weight: 700; color: var(--pg-accent); margin-bottom: 10px; }
@media (max-width: 860px) {
	.pg-archivo { grid-template-columns: 1fr; padding: 22px 18px; }
}

/* Tarjetas de los listados */
[data-products] .product .pg-card__cat { display: block; padding-inline: 16px; margin-top: 12px; font: 500 .7rem var(--pg-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--pg-ink-2); }
[data-products] .product .button { border-radius: 10px; }

/* Ficha de producto */
.single-product .product_title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.05; }
.single-product .entry-summary .price { font: 800 1.6rem var(--pg-display); font-stretch: 110%; color: var(--pg-ink); }
.single-product .woocommerce-product-details__short-description { font-size: .95rem; border-top: 1px solid var(--pg-line); padding-top: 16px; }
.single-product .woocommerce-product-details__short-description :is(h2, h3, h4) { font: 800 1rem var(--pg-display); font-stretch: 110%; margin: 14px 0 6px; }
.single-product .woocommerce-product-details__short-description p { margin: 0 0 6px; }
.variations { border: 0; margin-bottom: 8px; }
.variations tr { display: block; margin-bottom: 14px; }
.variations th, .variations td { display: block; padding: 0; text-align: left; }
.variations th label { font: 500 .74rem var(--pg-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--pg-ink-2); }
.pg-oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pg-opciones { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pg-opcion {
	display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; cursor: pointer;
	background: var(--pg-surface); border: 1px solid var(--pg-line); color: var(--pg-ink); font: 600 .88rem var(--pg-body);
}
.pg-opcion:hover { border-color: var(--pg-ink-2); }
.pg-opcion.is-activo { border-color: var(--pg-navy); box-shadow: inset 0 0 0 1px var(--pg-navy); background: #eef3f9; }
.pg-opcion:disabled { opacity: .35; cursor: not-allowed; }
.pg-opcion--color { padding: 0 12px 0 6px; }
.pg-opcion--color i { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(13 35 64 / .2); }
.reset_variations { font-size: .85rem; }
.pg-garantias { list-style: none; margin: 20px 0 0; padding: 16px 18px; display: grid; gap: 10px; border-radius: var(--pg-r); background: var(--pg-surface); border: 1px solid var(--pg-line); font-size: .9rem; }
.pg-garantias li { position: relative; padding-left: 20px; margin: 0; }
.pg-garantias li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--pg-accent); transform: rotate(45deg); }
.pg-garantias strong { color: var(--pg-ink); }
.pg-garantias a { color: var(--pg-accent); font-weight: 600; }

/* ==========================================================================
   Aviso de cookies (Complianz) con la imagen de la web
   ========================================================================== */
.cmplz-cookiebanner {
	font-family: var(--pg-body) !important; color: var(--pg-ink-2) !important;
	border: 1px solid var(--pg-line) !important; border-radius: 18px !important;
	box-shadow: 0 2px 6px rgb(13 35 64 / .08), 0 18px 40px rgb(13 35 64 / .18) !important;
}
.cmplz-cookiebanner .cmplz-logo:empty, .cmplz-cookiebanner .cmplz-logo { display: none !important; }
/* Sin logo: el título ocupa la fila y la X queda a la derecha */
.cmplz-cookiebanner .cmplz-header { grid-template-columns: 1fr auto !important; align-items: center !important; }
.cmplz-cookiebanner .cmplz-title { justify-self: start !important; text-align: left !important; }
.cmplz-cookiebanner .cmplz-title { font: 800 1.05rem var(--pg-display) !important; font-stretch: 112% !important; color: var(--pg-ink) !important; }
.cmplz-cookiebanner .cmplz-message { font-size: .9rem !important; line-height: 1.5 !important; }
/* «Aceptar» y «Denegar» con el mismo peso: la AEPD pide que rechazar sea igual de fácil */
.cmplz-cookiebanner .cmplz-btn {
	border-radius: 10px !important; font: 700 .92rem var(--pg-body) !important; min-height: 44px !important; height: auto !important;
}
.cmplz-cookiebanner .cmplz-btn.cmplz-accept,
.cmplz-cookiebanner .cmplz-btn.cmplz-deny {
	background: var(--pg-navy) !important; border: 1px solid var(--pg-navy) !important; color: #fff !important;
}
.cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences,
.cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences {
	background: transparent !important; border: 1.5px solid var(--pg-ink-2) !important; color: var(--pg-ink) !important;
}
.cmplz-cookiebanner .cmplz-btn:hover { filter: brightness(1.1); }
.cmplz-cookiebanner .cmplz-link, .cmplz-cookiebanner .cmplz-documents a { color: var(--pg-accent-hover) !important; }
.cmplz-cookiebanner .cmplz-category { border-radius: 12px !important; background: var(--pg-bg) !important; }
.cmplz-cookiebanner .cmplz-category-title { color: var(--pg-ink) !important; font-weight: 700 !important; }
/* Pestaña «Gestionar consentimiento» que queda tras elegir */
#cmplz-manage-consent .cmplz-manage-consent {
	background: var(--pg-navy) !important; color: #fff !important; font: 600 .8rem var(--pg-body) !important;
	border-radius: 10px 10px 0 0 !important; box-shadow: var(--pg-shadow) !important;
}

/* ==========================================================================
   Pie
   ========================================================================== */
#footer { background: var(--pg-surface); border-top: 1px solid var(--pg-line); font-size: .92rem; }
#footer .widget-title, #footer h4 { font: 500 .74rem var(--pg-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--pg-ink-2); margin-bottom: 12px; }
#footer .widget_nav_menu ul { display: grid; gap: 8px; }
#footer a { color: var(--pg-ink); text-decoration: none; }
#footer a:hover { color: var(--pg-accent); }
.pg-pie-marca strong { display: block; margin-bottom: 8px; font: 900 1.05rem var(--pg-display); font-stretch: 125%; color: var(--pg-ink); }
.pg-pie-marca { max-width: 34ch; }
.pg-pie-pagos { display: flex; flex-wrap: wrap; gap: 6px; }
.pg-pie-pagos span { font: 600 .72rem var(--pg-mono); text-transform: uppercase; border: 1px solid var(--pg-line); border-radius: 6px; padding: 4px 8px; color: var(--pg-ink-2); }
.ct-footer-copyright { color: var(--pg-ink-2); font-size: .85rem; }

/* Contacto */
.pg-datos { list-style: none; padding: 0; display: grid; gap: 8px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
