/* ==========================================================================
   Barnosi Photo Gift
   Negro, burdeos y blanco. Georgia para titulares, Calibri para texto.
   ========================================================================== */

@font-face { font-family: "BPG Carlito"; src: url("../fonts/carlito-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "BPG Carlito"; src: url("../fonts/carlito-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "BPG Script"; src: url("../fonts/dancing-script-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
	--black: #000000;
	--burgundy: #6E0E1A;
	--burgundy-deep: #3E070E;
	--red: #C8102E;
	--white: #FFFFFF;
	--paper: #F3F2F0;
	--ink: #1F1F1F;
	--muted: #5E5E5E;
	--rule: #DCDAD6;
	--safelight: #9E0B1C;

	--serif: Georgia, "Times New Roman", serif;
	--sans: Calibri, "BPG Carlito", Carlito, "Segoe UI", system-ui, sans-serif;
	--script: "BPG Script", "Brush Script MT", cursive;

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 3px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.55;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; color: var(--black); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.5; max-width: 38em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--text { max-width: calc(46rem + 2 * var(--gutter)); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--black); color: var(--white); padding: .7em 1em; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Botones ---------- */
.btn, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	font-family: var(--sans); font-weight: 700; font-size: 1rem; line-height: 1.2;
	padding: .85em 1.35em; border-radius: var(--radius);
	border: 2px solid transparent; text-decoration: none; cursor: pointer;
	background: var(--black); color: var(--white);
	transition: background-color .15s, color .15s, border-color .15s;
}
.btn .icon { width: 1.2em; height: 1.2em; }
.btn--red, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce a.product_type_external, .woocommerce .single_add_to_cart_button { background: var(--red); color: var(--white); }
.btn--red:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce a.product_type_external:hover, .woocommerce .single_add_to_cart_button:hover { background: var(--burgundy); color: var(--white); }
.btn--black:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--burgundy); color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--white { background: var(--white); color: var(--black); }
.btn--white:hover { background: var(--black); color: var(--white); }
.btn--outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn--outline:hover { background: var(--black); color: var(--white); }
.btn--small { padding: .55em 1em; font-size: .95rem; }
.btn--block { width: 100%; justify-content: flex-start; }
.link { color: var(--red); font-weight: 700; text-underline-offset: 3px; }

/* ---------- Aviso superior ---------- */
.notice-bar { background: var(--burgundy); color: var(--white); text-align: center; font-size: .95rem; }
.notice-bar p { margin: 0; padding: .55em var(--gutter); }

/* ---------- Cabecera ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 40; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__row { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 32px); min-height: 84px; }
.logo { display: inline-flex; flex: none; text-decoration: none; }
.logo-svg { width: 190px; height: auto; display: block; }
.custom-logo { max-height: 64px; width: auto; }
.site-search { flex: 1; display: flex; max-width: 520px; border: 1.5px solid var(--black); border-radius: var(--radius); overflow: hidden; }
.site-search input { flex: 1; min-width: 0; border: 0; padding: .7em .9em; font: inherit; background: transparent; }
.site-search input:focus { outline: none; }
.site-search:focus-within { box-shadow: 0 0 0 3px rgba(200,16,46,.25); }
.site-search button { border: 0; background: var(--black); color: var(--white); padding: 0 .95em; cursor: pointer; display: flex; align-items: center; }
.site-header__actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.hdr-whatsapp { display: inline-flex; align-items: center; gap: .45em; text-decoration: none; font-weight: 700; white-space: nowrap; }
.hdr-whatsapp:hover { color: var(--red); }
.nav-open, .nav-close { display: none; background: none; border: 0; padding: 6px; cursor: pointer; color: var(--black); }
.nav-open .icon, .nav-close .icon { width: 30px; height: 30px; }

/* Navegación de escritorio */
.site-nav { border-top: 1px solid var(--rule); }
.site-nav__head { display: none; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 4px; }
.site-nav .menu > li { position: relative; display: flex; align-items: center; }
.site-nav .menu > li > a { display: block; padding: .85em .7em; text-decoration: none; font-weight: 700; font-size: .98rem; }
.site-nav .menu > li > a:hover, .site-nav .menu > li.current-menu-item > a, .site-nav .menu > li.current-menu-ancestor > a { color: var(--red); }
.site-nav .menu > li.menu-kiosko { display: none; }
.site-nav .menu > li > a { padding-left: .6em; padding-right: .6em; }
.site-nav .menu > li:first-child > a { padding-left: 0; }
.sub-toggle { display: none; }
.site-nav .sub-menu {
	list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: 0; min-width: 240px;
	background: var(--white); border: 1px solid var(--black); box-shadow: 6px 6px 0 var(--black);
	opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .12s, transform .12s, visibility .12s; z-index: 50;
}
.site-nav .menu > li:hover > .sub-menu, .site-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { display: block; padding: .45em 1.1em; text-decoration: none; }
.site-nav .sub-menu a:hover { background: var(--paper); color: var(--red); }

@media (max-width: 1080px) {
	.hdr-whatsapp span { display: none; }
}
@media (max-width: 900px) {
	.site-header__row { flex-wrap: wrap; min-height: 0; padding-top: 10px; padding-bottom: 10px; gap: 10px 12px; }
	.nav-open { display: inline-flex; order: 0; }
	.logo { order: 1; }
	.logo-svg { width: 150px; }
	.site-header__actions { order: 2; gap: 8px; }
	.hdr-kiosk span { display: none; }
	.hdr-kiosk { padding: .6em .7em; }
	.site-search { order: 3; flex-basis: 100%; max-width: none; }
	.site-nav {
		position: fixed; inset: 0 auto 0 0; width: min(86vw, 360px); background: var(--white); z-index: 60;
		transform: translateX(-102%); transition: transform .22s ease; overflow-y: auto; border: 0;
	}
	.nav-is-open .site-nav { transform: none; }
	.site-nav__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--rule); }
	.site-nav__head .logo-svg { width: 140px; }
	.nav-close { display: inline-flex; }
	.site-nav .wrap { padding: 0; }
	.site-nav .menu { display: block; }
	.site-nav .menu > li { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--rule); }
	.site-nav .menu > li > a { flex: 1; padding: 1em 16px; font-size: 1.05rem; }
	.site-nav .menu > li.menu-kiosko { display: flex; }
	.site-nav .menu > li.menu-kiosko > a { color: var(--red); }
	.site-nav .menu > li:first-child > a { padding-left: 16px; }
	.sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 52px; background: none; border: 0; border-left: 1px solid var(--rule); cursor: pointer; }
	.sub-toggle .icon { transition: transform .15s; }
	li.is-open > .sub-toggle .icon { transform: rotate(180deg); }
	.site-nav .sub-menu { position: static; display: none; flex-basis: 100%; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 10px; background: var(--paper); }
	.site-nav li.is-open > .sub-menu { display: block; }
	.site-nav .menu > li:hover > .sub-menu { display: none; }
	.site-nav .menu > li.is-open:hover > .sub-menu { display: block; }
	.site-nav .sub-menu a { padding: .6em 28px; }
	.nav-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 55; }
}
@media (prefers-reduced-motion: reduce) { .site-nav, .site-nav .sub-menu { transition: none; } }

/* ==========================================================================
   Hero: cuarto oscuro con luz roja de seguridad
   ========================================================================== */
.hero {
	position: relative; overflow: hidden; color: var(--white);
	background: var(--black);
	padding: clamp(250px, 30vw, 340px) 0 clamp(56px, 7vw, 96px);
}
.hero__light {
	position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(ellipse 55% 60% at 78% -8%, rgba(200,16,46,.55), transparent 70%),
		radial-gradient(ellipse 80% 70% at 20% 120%, rgba(110,14,26,.55), transparent 70%);
	animation: safelight 2.2s ease-out both;
}
@keyframes safelight { from { opacity: 0; } to { opacity: 1; } }
.hero h1 { color: var(--white); max-width: 13em; }
.hero .lead { color: rgba(255,255,255,.86); }
.hero__text { position: relative; z-index: 2; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

/* Cordel con copias */
.line { position: absolute; left: 0; right: 0; top: 0; height: clamp(230px, 28vw, 320px); z-index: 1; }
.line__cord { position: absolute; left: -2%; width: 104%; top: 18px; height: 60px; }
.print {
	position: absolute; margin: 0; width: clamp(108px, 13vw, 170px);
	background: #fbfaf7; padding: 10px 10px 0; box-shadow: 0 14px 30px rgba(0,0,0,.55);
	transform-origin: 50% -10px;
	animation: swing 2.6s cubic-bezier(.3,.6,.3,1) both;
}
.print__img { aspect-ratio: 1 / 1; overflow: hidden; background: #000; }
.print__img svg { width: 100%; height: 100%; display: block; animation: develop 3.2s ease-out both; }
.print figcaption { font-family: var(--script); color: #2b2b2b; font-size: clamp(.9rem, 1.2vw, 1.15rem); line-height: 1; padding: .55em 0 .6em; text-align: center; white-space: nowrap; }
.pin-clip { position: absolute; left: 50%; top: -14px; width: 12px; height: 30px; margin-left: -6px; background: #c9a77c; border-radius: 2px; box-shadow: inset -3px 0 0 rgba(0,0,0,.18); }
.print--1 { left: 50%;  top: 40px;  --r: -5deg; animation-delay: .1s; }
.print--2 { left: 63%;  top: 58px;  --r: 3deg;  animation-delay: .35s; }
.print--3 { left: 76%;  top: 56px;  --r: -2deg; animation-delay: .6s; }
.print--4 { left: 88.5%; top: 36px; --r: 6deg;  animation-delay: .85s; }
.print--2 .print__img svg { animation-delay: .5s; }
.print--3 .print__img svg { animation-delay: 1s; }
.print--4 .print__img svg { animation-delay: 1.5s; }
.print { transform: rotate(var(--r)); }
@keyframes swing {
	0% { transform: rotate(calc(var(--r) - 9deg)); opacity: 0; }
	15% { opacity: 1; }
	45% { transform: rotate(calc(var(--r) + 4deg)); }
	75% { transform: rotate(calc(var(--r) - 1.5deg)); }
	100% { transform: rotate(var(--r)); }
}
@keyframes develop {
	0% { filter: brightness(.08) sepia(1) saturate(.4); }
	55% { filter: brightness(.6) sepia(.6) saturate(.8); }
	100% { filter: none; }
}
@media (min-width: 901px) {
	.hero { padding-top: clamp(90px, 9vw, 130px); min-height: 560px; }
	.line { height: 100%; }
	.line__cord { top: 22px; }
	.print { width: clamp(150px, 13vw, 196px); }
	.print--1 { left: 47%; top: 64px; }
	.print--2 { left: 60%; top: 96px; }
	.print--3 { left: 73%; top: 94px; }
	.print--4 { left: 85.5%; top: 60px; }
	.hero__text { padding-right: 52%; }
	.hero h1 { max-width: none; }
}
@media (max-width: 900px) {
	.print { width: 27vw; max-width: 150px; }
	.print--1 { left: 5%; top: 46px; }
	.print--2 { left: 37%; top: 64px; }
	.print--3 { left: 68%; top: 50px; }
	.print--4 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.print, .print__img svg, .hero__light { animation: none; }
}

/* ---------- Encabezado de sección ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); }

/* ---------- Categorías ---------- */
.cats { padding: clamp(56px, 7vw, 96px) 0; }
.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--black); border-left: 1px solid var(--black); }
.cat { border-right: 1px solid var(--black); border-bottom: 1px solid var(--black); }
.cat a { display: flex; gap: 18px; height: 100%; padding: 26px 24px; text-decoration: none; transition: background-color .15s; }
.cat a:hover { background: var(--paper); }
.cat__icon { color: var(--burgundy); flex: none; }
.cat__icon .icon { width: 52px; height: 52px; }
.cat a:hover .cat__icon { color: var(--red); }
.cat__body { display: flex; flex-direction: column; gap: 4px; }
.cat__name { font-family: var(--serif); font-weight: 700; font-size: 1.28rem; color: var(--black); }
.cat__desc { color: var(--muted); font-size: .98rem; line-height: 1.4; }
.cat__from { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--red); }
@media (max-width: 960px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
	.cat-grid { grid-template-columns: 1fr; }
	.cat a { padding: 18px 16px; }
	.cat__icon .icon { width: 40px; height: 40px; }
}

/* ---------- Franja del kiosko ---------- */
.kiosk-band { background: var(--burgundy); color: var(--white); padding: clamp(56px, 7vw, 96px) 0; }
.kiosk-band h2 { color: var(--white); }
.kiosk-band .lead { color: rgba(255,255,255,.88); }
.kiosk-band__grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.phone { width: 270px; aspect-ratio: 9 / 18.5; background: var(--black); border-radius: 38px; padding: 12px; box-shadow: 0 30px 60px rgba(0,0,0,.4); justify-self: center; }
.phone__screen { background: var(--white); border-radius: 28px; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 22px; text-align: center; color: var(--black); }
.phone__screen .logo-svg { width: 150px; }
.phone__screen .logo { pointer-events: none; }
.phone__screen p { margin: 0; font-weight: 700; }
.qr { width: 170px; aspect-ratio: 1; }
.qr svg { width: 100%; height: 100%; display: block; }
.qr svg path, .qr svg rect[fill="black"] { fill: var(--black); }
.kiosk-band__cta { margin: 28px 0 0; }
@media (max-width: 860px) {
	.kiosk-band__grid { grid-template-columns: 1fr; }
	.phone { display: none; }
}

/* Pasos (secuencia real: numerados) */
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
.step { position: relative; padding-top: 14px; border-top: 2px solid currentColor; }
.step__n { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; line-height: 1; display: block; margin-bottom: 10px; color: var(--red); }
.kiosk-band .step__n { color: var(--white); opacity: .5; }
.step h3 { font-size: 1.15rem; margin-bottom: .35em; color: inherit; }
.step p { margin: 0; font-size: .98rem; opacity: .9; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Destacados ---------- */
.featured { padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }

/* ---------- Temporada ---------- */
.season { background: var(--paper); padding: clamp(48px, 6vw, 80px) 0; }
.season__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; align-items: stretch; }
.season__text { align-self: center; padding-right: 20px; }
.season__card { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 220px; padding: 24px; background: var(--white); border: 1px solid var(--black); text-decoration: none; color: var(--black); position: relative; transition: background-color .15s, color .15s; }
.season__card .icon { width: 64px; height: 64px; color: var(--burgundy); position: absolute; top: 22px; left: 22px; }
.season__card--xmas { background: var(--black); color: var(--white); }
.season__card--xmas .icon { color: var(--red); }
.season__card:hover { background: var(--burgundy); color: var(--white); }
.season__card:hover .icon { color: var(--white); }
.season__name { font-family: var(--serif); font-weight: 700; font-size: 1.45rem; }
.season__from { font-weight: 700; opacity: .85; }
@media (max-width: 900px) {
	.season__grid { grid-template-columns: 1fr 1fr; }
	.season__text { grid-column: 1 / -1; padding: 0; }
}
@media (max-width: 520px) { .season__grid { grid-template-columns: 1fr; } .season__card { min-height: 170px; } }

/* ---------- Tienda física ---------- */
.store { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--rule); }
.store__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.store__data { margin: 24px 0 0; display: grid; gap: 12px; }
.store__data div { display: flex; gap: 12px; align-items: flex-start; }
.store__data dt { color: var(--red); padding-top: 2px; }
.store__data dd { margin: 0; font-size: 1.08rem; }
.store__data a { text-decoration: none; }
.store__data a:hover { color: var(--red); }
.store__actions { display: grid; gap: 12px; }
@media (max-width: 800px) { .store__grid { grid-template-columns: 1fr; } }

/* ---------- Páginas interiores ---------- */
.page-hero { background: var(--black); color: var(--white); padding: clamp(48px, 6vw, 88px) 0; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 70% at 85% 0%, rgba(200,16,46,.45), transparent 70%); pointer-events: none; }
.page-hero > .wrap { position: relative; }
.page-hero h1 { color: var(--white); }
.page-hero .lead { color: rgba(255,255,255,.86); }
.page-hero__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.qr-card { background: var(--white); color: var(--black); padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; max-width: 320px; justify-self: end; }
.qr-card .qr { width: 210px; }
.qr-card p { margin: 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 860px) {
	.page-hero__grid { grid-template-columns: 1fr; }
	.qr-card { display: none; }
}
.how { padding: clamp(48px, 6vw, 80px) var(--gutter); }
.how .steps { margin-top: 12px; }
.faq { padding-bottom: clamp(48px, 6vw, 80px); }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 1em 0; font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 1.4rem; line-height: 1; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1.1em; color: var(--muted); max-width: 40em; }

.page-body { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(48px, 6vw, 88px); }
.page-title { margin-bottom: .7em; }
.prose { font-size: 1.06rem; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.legal-datos { list-style: none; padding: 18px 20px !important; background: var(--paper); border-left: 3px solid var(--red); }
.post-list { padding-left: 1.2em; }

/* ---------- Pie ---------- */
.site-footer { background: var(--black); color: rgba(255,255,255,.82); padding-top: clamp(48px, 6vw, 72px); font-size: .98rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.site-footer__brand .logo-svg { width: 200px; margin-bottom: 16px; }
.site-footer__brand p { max-width: 26em; }
.site-footer__title { color: var(--white); font-size: 1.05rem; margin-bottom: 1em; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .icon { color: var(--red); margin-top: 2px; }
.social { display: flex; gap: 14px; }
.social .icon { width: 26px; height: 26px; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 18px; padding-bottom: 22px; font-size: .9rem; }
.site-footer__legal p { margin: 0; }
.legal-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Aviso de cookies ---------- */
.cookie-note { position: fixed; left: 16px; bottom: 16px; z-index: 70; max-width: 380px; background: var(--white); color: var(--ink); border: 1px solid var(--black); box-shadow: 6px 6px 0 var(--black); padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; font-size: .95rem; }
.cookie-note[hidden] { display: none; }
.cookie-note p { margin: 0; }
@media (max-width: 520px) { .cookie-note { left: 10px; right: 10px; bottom: 10px; max-width: none; } }

/* ==========================================================================
   Fichas sin foto (icono de la familia)
   ========================================================================== */
.tile { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; background: var(--paper); border: 10px solid var(--white); outline: 1px solid var(--rule); color: var(--burgundy); width: 100%; }
.tile__icon { width: 42%; height: auto; stroke-width: 1.6; }
.tile--navidad { background: #f7e9ea; color: var(--red); }
.tile--calendario { background: #eef0f2; }
.tile--carcasa { background: #f0eeea; color: var(--black); }
.tile--musica { background: #151515; color: #fff; }
.tile--decopared { background: #ecebe7; }
.bpg-single-tile { float: left; width: 48%; }
.bpg-single-tile .tile { border-width: 18px; }

/* ==========================================================================
   WooCommerce
   ========================================================================== */
.shop { padding-top: 28px; padding-bottom: clamp(48px, 6vw, 88px); }
.woocommerce-breadcrumb { font-size: .92rem; color: var(--muted); margin-bottom: 18px !important; }
.woocommerce-breadcrumb a { text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--red); }
.woocommerce-breadcrumb .sep { margin: 0 .5em; opacity: .5; }
.woocommerce-products-header__title, .shop h1.page-title { font-size: clamp(2rem, 4vw, 3rem); }
.term-description { color: var(--muted); max-width: 44em; font-size: 1.1rem; }
.woocommerce .woocommerce-result-count { color: var(--muted); font-size: .95rem; }
.woocommerce .woocommerce-ordering select { font: inherit; padding: .5em .7em; border: 1px solid var(--black); border-radius: var(--radius); background: var(--white); }

.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; margin: 0 0 32px !important; clear: both; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; display: flex; flex-direction: column; }
.woocommerce ul.products li.product a { text-decoration: none; }
.woocommerce ul.products li.product a img { margin: 0 0 12px; }
.woocommerce ul.products li.product .tile { margin-bottom: 12px; transition: outline-color .15s; }
.woocommerce ul.products li.product a:hover .tile { outline-color: var(--black); }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-category__title { font-family: var(--serif); font-size: 1.08rem !important; font-weight: 700; color: var(--black); padding: 0 !important; line-height: 1.25; margin-bottom: 6px; }
.woocommerce ul.products li.product .woocommerce-loop-category__title mark { background: none; color: var(--muted); font-weight: 400; font-family: var(--sans); font-size: .9rem; }
.woocommerce ul.products li.product .price { color: var(--black) !important; font-weight: 700; font-size: 1.05rem !important; margin-bottom: 12px !important; }
.woocommerce ul.products li.product .button { margin-top: auto !important; font-size: .92rem; padding: .7em 1em; width: 100%; }
.price-from { font-weight: 400; color: var(--muted); font-size: .88em; }
.price-note { font-weight: 400; color: var(--muted); }
.woocommerce ul.products li.product-category a:hover .woocommerce-loop-category__title { color: var(--red); }
@media (max-width: 960px) { .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; } .tile { border-width: 6px; } }

.woocommerce nav.woocommerce-pagination ul { border: 0 !important; display: flex; gap: 6px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { border: 1px solid var(--black); min-width: 42px; padding: .6em !important; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--black) !important; color: var(--white) !important; }

/* Ficha de producto */
.woocommerce div.product { margin-top: 8px; }
.woocommerce div.product .product_title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--black) !important; font-size: 1.6rem !important; font-weight: 700; }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 1.12rem; }
.woocommerce div.product form.cart, .woocommerce div.product .cart { margin: 1.4em 0 !important; }
.woocommerce div.product .single_add_to_cart_button { font-size: 1.08rem !important; padding: 1em 1.6em !important; }
.pickup-note { border-top: 1px solid var(--rule); padding-top: 16px; margin-bottom: 20px; }
.pickup-note p { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); margin: 0 0 .6em; }
.pickup-note .icon { color: var(--red); margin-top: 2px; }
.woocommerce div.product .product_meta { font-size: .92rem; color: var(--muted); }
.woocommerce div.product .product_meta a { color: var(--ink); }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0 !important; margin: 0 0 1em !important; border-bottom: 1px solid var(--black); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none !important; border: 0 !important; border-radius: 0 !important; margin: 0 !important; padding: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font-family: var(--serif); padding: .6em 0 !important; color: var(--black) !important; border-bottom: 3px solid var(--red); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 46em; font-size: 1.05rem; }
.related > h2, .upsells > h2 { font-size: 1.6rem; margin-top: 1em; }
@media (max-width: 768px) {
	.bpg-single-tile { float: none; width: 100%; margin-bottom: 24px; }
}

/* Avisos */
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--red) !important; background: var(--paper) !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--red) !important; }
.woocommerce span.onsale { background: var(--red); }
.pickup-checkout { background: var(--paper); padding: 12px 14px; border-left: 3px solid var(--red); }

/* ==========================================================================
   Cartel QR imprimible
   ========================================================================== */
.poster-body { background: #ddd; padding: 24px 0; }
.poster-tools { text-align: center; display: flex; gap: 12px; justify-content: center; align-items: center; color: var(--muted); }
.poster { background: var(--white); width: 210mm; min-height: 297mm; margin: 0 auto; padding: 18mm 18mm 14mm; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.poster .logo-svg { width: 92mm; }
.poster h1 { font-size: 52px; margin: 14mm 0 4mm; }
.poster__sub { font-size: 22px; color: var(--muted); margin-bottom: 10mm; }
.qr--poster { width: 95mm; padding: 6mm; border: 3px solid var(--black); }
.poster .steps { text-align: left; margin-top: 12mm; gap: 8mm; width: 100%; }
.poster .step__n { font-size: 34px; }
.poster .step h3 { font-size: 19px; }
.poster .step p { font-size: 15px; }
.poster__foot { margin-top: auto; padding-top: 8mm; font-weight: 700; font-size: 17px; }
@media print {
	@page { size: A4; margin: 0; }
	.poster-body { background: none; padding: 0; }
	.poster-tools { display: none; }
	.poster { box-shadow: none; margin: 0; }
}
@media (max-width: 820px) { .poster { width: 100%; min-height: 0; } }

.muted { color: var(--muted); font-size: .92em; }

/* ==========================================================================
   Cabecera: cuenta y carrito
   ========================================================================== */
.hdr-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--black); text-decoration: none; }
.hdr-icon .icon { width: 26px; height: 26px; }
.hdr-icon:hover { color: var(--red); }
.bpg-cart-count { position: absolute; top: 0; right: -2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--red); color: var(--white); font-size: .74rem; font-weight: 700; line-height: 19px; text-align: center; }
.bpg-cart-count[hidden] { display: none; }
@media (max-width: 900px) { .hdr-whatsapp { display: none; } .hdr-icon { width: 36px; } }

/* ==========================================================================
   Ficha: opciones, subida de fotos, cantidades
   ========================================================================== */
.woocommerce div.product form.cart { display: block; }
.woocommerce div.product form.cart .variations { margin-bottom: 14px; border: 0; width: 100%; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0 0 6px; text-align: left; border: 0; }
.woocommerce div.product form.cart .variations label, .bpg-field label, .bpg-field__label { font-weight: 700; font-size: .98rem; color: var(--black); }
.woocommerce div.product form.cart .variations select, .bpg-field select, .bpg-field textarea { width: 100%; font: inherit; padding: .7em .8em; border: 1.5px solid var(--black); border-radius: var(--radius); background: var(--white); }
.woocommerce div.product form.cart .reset_variations { font-size: .9rem; color: var(--muted); }
.woocommerce div.product .single_variation_wrap .woocommerce-variation-price { margin: 4px 0 12px; }
.woocommerce div.product .single_variation_wrap .woocommerce-variation-price .price { font-size: 1.5rem !important; }
.bpg-options { margin: 6px 0 18px; display: grid; gap: 14px; }
.bpg-field { margin: 0; display: grid; gap: 6px; }
.bpg-field .opt { font-weight: 400; color: var(--muted); }
.bpg-upload { display: grid; gap: 10px; }
.bpg-field__label { margin: 0; }
.bpg-drop { position: relative; display: grid; justify-items: center; gap: 4px; padding: 22px 16px; text-align: center; border: 2px dashed var(--black); border-radius: var(--radius); background: var(--paper); cursor: pointer; transition: background-color .15s, border-color .15s; }
.bpg-drop:hover, .bpg-drop:focus-within { border-color: var(--red); background: #fbeff1; }
.bpg-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.bpg-drop .icon { width: 40px; height: 40px; color: var(--burgundy); }
.bpg-drop__t { font-weight: 700; font-size: 1.08rem; color: var(--black); }
.bpg-drop__s { font-size: .9rem; color: var(--muted); }
.bpg-upload.is-full .bpg-drop { display: none; }
.bpg-thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.bpg-thumbs:empty { display: none; }
.bpg-thumbs li { position: relative; aspect-ratio: 1; border: 1px solid var(--rule); background: var(--paper); overflow: hidden; }
.bpg-ph { position: absolute; inset: 0; background: center / cover no-repeat; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; color: var(--muted); opacity: .45; transition: opacity .2s; }
.bpg-thumbs li.is-done .bpg-ph { opacity: 1; }
.bpg-bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--red); transition: width .15s; }
.bpg-thumbs li.is-done .bpg-bar { display: none; }
.bpg-err { position: absolute; inset: auto 0 0 0; background: var(--red); color: #fff; font-size: .68rem; line-height: 1.2; padding: 3px; display: none; }
.bpg-thumbs li.is-error .bpg-err { display: block; }
.bpg-thumbs li.is-error { outline: 2px solid var(--red); }
.bpg-x { position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.72); color: #fff; font-size: 16px; line-height: 24px; padding: 0; cursor: pointer; }
.bpg-count { margin: 0; font-size: .95rem; color: var(--muted); min-height: 1.4em; }
.bpg-count.is-alert { color: var(--red); font-weight: 700; }
.single_add_to_cart_button.bpg-wait { opacity: .55; }
.bpg-tiers { width: 100%; border-collapse: collapse; font-size: .95rem; }
.bpg-tiers caption { text-align: left; font-weight: 700; margin-bottom: 6px; color: var(--black); }
.bpg-tiers th, .bpg-tiers td { border-bottom: 1px solid var(--rule); padding: 6px 4px; text-align: left; }
.bpg-tiers th { font-weight: 700; color: var(--muted); font-size: .88rem; }
.woocommerce div.product form.cart .quantity .qty { height: 52px; width: 4.5em; font: inherit; border: 1.5px solid var(--black); border-radius: var(--radius); }
.woocommerce div.product form.cart .quantity { margin-right: 10px !important; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart, .woocommerce div.product form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; align-items: flex-start; }
.woocommerce div.product form.cart:not(.variations_form) .bpg-options { flex-basis: 100%; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart { flex-wrap: wrap; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart .bpg-options { flex-basis: 100%; }

/* Galería de producto */
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto !important; float: none !important; }

/* Descripción importada */
.woocommerce div.product .woocommerce-tabs .panel h3 { font-size: 1.15rem; margin-top: 1.4em; }
.woocommerce div.product .woocommerce-tabs .panel table { border-collapse: collapse; margin: 8px 0 16px; }
.woocommerce div.product .woocommerce-tabs .panel table td, .woocommerce div.product .woocommerce-tabs .panel table th { border-bottom: 1px solid var(--rule); padding: 6px 14px 6px 0; text-align: left; }

/* ==========================================================================
   Carrito, finalizar compra y mi cuenta
   ========================================================================== */
.woocommerce-cart .shop, .woocommerce-checkout .shop, .woocommerce-account .shop { padding-top: 28px; }
.woocommerce table.shop_table { border: 1px solid var(--black) !important; border-radius: 0 !important; }
.woocommerce table.shop_table th { font-family: var(--serif); }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: var(--rule) !important; }
.bpg-cart-thumb { width: 64px; height: 64px; object-fit: cover; border: 1px solid var(--rule); }
.woocommerce-cart table.cart img { width: 64px; }
.woocommerce .cart_totals h2, .woocommerce-checkout h3 { font-size: 1.5rem; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { font: inherit; padding: .7em .8em; border: 1.5px solid var(--black); border-radius: var(--radius); background: var(--white); }
.woocommerce form .form-row label { font-weight: 700; }
.woocommerce-checkout #payment { background: var(--paper) !important; border-radius: 0 !important; }
.woocommerce #payment #place_order, .woocommerce-page #payment #place_order { width: 100%; font-size: 1.1rem; padding: 1em; background: var(--red); }
.woocommerce #payment #place_order:hover { background: var(--burgundy); }
.woocommerce-checkout .woocommerce-shipping-fields { display: none; }
.woocommerce dl.variation { font-size: .92rem; color: var(--muted); }
.woocommerce dl.variation dt { font-weight: 700; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 24px; border: 1px solid var(--black); }
.woocommerce-MyAccount-navigation li a { display: block; padding: .7em 1em; text-decoration: none; border-bottom: 1px solid var(--rule); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--black); color: var(--white); }
.wc-block-components-notice-banner, .woocommerce-notices-wrapper .woocommerce-error { border-radius: 0; }
.bpg-addon { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1.5px solid var(--rule); border-radius: var(--radius); cursor: pointer; }
.bpg-addon input { width: 18px; height: 18px; accent-color: var(--red); }
.bpg-addon:has(input:checked) { border-color: var(--red); background: #fbeff1; }
.bpg-hint { margin: 0; font-size: .95rem; color: var(--muted); }
.bpg-price-note { background: var(--paper); border-left: 3px solid var(--red); padding: 10px 14px; }
.bpg-qty-fixed { font-weight: 700; }

/* Editor (Fancy Product Designer) */
.woocommerce div.product .fpd-product-designer-wrapper { margin: 0 0 28px; clear: both; }
.woocommerce div.product .fpd-product-designer-wrapper ~ .summary,
.woocommerce div.product .fpd-product-designer-wrapper + .summary { float: none !important; width: 100% !important; max-width: 760px; }
.woocommerce div.product .fpd-container { font-family: var(--sans); }
.fpd-container .fpd-btn, .fpd-container .fpd-secondary-bg-color { font-family: var(--sans); }
