/* El Baúl del Peque — estilos del diseño aprobado, adaptados a los bloques. */
:root {
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'Karla', system-ui, sans-serif;
  --radius-button: 999px; --radius-card: 14px; --radius-input: 10px; --radius-arch: 999px 999px 14px 14px;
  --page-width: 1280px; --gutter: clamp(16px, 4vw, 40px); --section-y: clamp(56px, 8vw, 112px);
  --gold: #A18613; --gold-ink: #806A0F; --blush: #FCCCCC; --blush-2: #FCB6B6; --plum: #4A4658; --slate: #605D70; --ink: #3E3B4C; --pearl: #FFF4F4;
  --sale: #B23A48;
  --shadow: 0 10px 30px -12px rgba(74, 70, 88, .28);
}
.scheme-1 { --bg: #FFFFFF; --bg-alt: #FFF4F4; --fg: #605D70; --heading: #3E3B4C; --primary: #4A4658; --on-primary: #FFFFFF; --accent: #A18613; --accent-ink: #806A0F; --border: #F1E2E2; }
.scheme-2 { --bg: #FCCCCC; --bg-alt: #FDE4E4; --fg: #4A4658; --heading: #3E3B4C; --primary: #4A4658; --on-primary: #FFFFFF; --accent: #A18613; --accent-ink: #6B5809; --border: #F4B3B3; }
.scheme-3 { --bg: #4A4658; --bg-alt: #55516A; --fg: #EDE6EE; --heading: #FFFFFF; --primary: #FCCCCC; --on-primary: #3E3B4C; --accent: #E3C866; --accent-ink: #E3C866; --border: rgba(255, 255, 255, .16); }
[class*="scheme-"] { background: var(--bg); color: var(--fg); }
.bg-alt { background: var(--bg-alt); }


/* Base */
*, *::before, *::after { box-sizing: border-box; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.58; color: #605D70; background: #fff; overflow-x: hidden; }
.baul-main img, header.wp-block-template-part img, footer.wp-block-template-part img { display: block; max-width: 100%; height: auto; }
.baul-main a, header.wp-block-template-part a, footer.wp-block-template-part a { text-decoration: none; }
header.wp-block-template-part ul, footer.wp-block-template-part ul, .baul-main .occasions, .baul-main .assure { margin: 0; padding: 0; list-style: none; }
.baul-main h1, .baul-main h2, .baul-main h3, .baul-main h4, footer.wp-block-template-part h3 { margin: 0; color: var(--heading, #3E3B4C); font-family: var(--font-heading); font-weight: 400; letter-spacing: -0.01em; }
.baul-main section p, footer.wp-block-template-part p { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Escala */
.h1 { font-size: clamp(44px, 6.2vw, 88px); line-height: .98; letter-spacing: -0.025em; }
.h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -0.015em; }
.h3 { font-size: 22px; line-height: 1.15; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 700; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-ink); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: 18px; line-height: 1.55; max-width: 54ch; }
.gold { color: var(--accent); font-style: normal; }
.small { font-size: 14px; }

/* Estructura */
.container { width: 100%; max-width: var(--page-width); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; position: relative; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head > div { display: grid; gap: 12px; max-width: 640px; }
.section-head p { font-size: 17px; }
.center { text-align: center; }
.section-head.center { justify-content: center; }
.section-head.center > div { justify-items: center; }
.link-arrow { font-weight: 700; color: var(--heading); border-bottom: 1px solid var(--accent); padding-bottom: 2px; white-space: nowrap; }

/* La firma: puntilla festoneada que cose las franjas */
.feston { position: relative; }
.feston::after { content: ""; position: absolute; left: 0; right: 0; bottom: -15px; height: 16px; z-index: 4; pointer-events: none;
  background:
    radial-gradient(circle at 12px 5px, var(--accent) 1.5px, transparent 2.1px) 0 0 / 24px 16px repeat-x,
    radial-gradient(circle at 12px 0, var(--bg) 11.5px, transparent 12.5px) 0 0 / 24px 16px repeat-x; }
.feston-top::before { content: ""; position: absolute; left: 0; right: 0; top: -15px; height: 16px; z-index: 4; pointer-events: none;
  background:
    radial-gradient(circle at 12px 11px, var(--accent) 1.5px, transparent 2.1px) 0 0 / 24px 16px repeat-x,
    radial-gradient(circle at 12px 16px, var(--bg) 11.5px, transparent 12.5px) 0 0 / 24px 16px repeat-x; }
.arch { border-radius: var(--radius-arch); overflow: hidden; }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px; border-radius: var(--radius-button); font-weight: 700; font-size: 16px; letter-spacing: .01em; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-secondary { background: transparent; color: var(--heading); border-color: currentColor; }
.btn-secondary:hover { background: var(--heading); color: var(--bg); }
.btn-wide { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Campos y chips */
.input { width: 100%; min-height: 48px; padding: 0 18px; border: 1px solid var(--border); border-radius: var(--radius-input); background: #fff; color: #3E3B4C; font-size: 15px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg); color: var(--heading); font-size: 15px; font-weight: 600; white-space: nowrap; }
.chip.is-active { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.chip small { font-weight: 400; opacity: .75; font-size: 13px; }

/* Anuncio */
.announcement { font-size: 14px; }
.announcement .container { display: flex; justify-content: center; gap: 36px; min-height: 40px; align-items: center; }
.announcement span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.announcement b { color: var(--accent); font-weight: 700; }

/* Cabecera */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--border); }
.header-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-top: 10px; padding-bottom: 6px; }
.header-search { position: relative; max-width: 340px; }
.header-search .input { border-radius: 999px; padding-left: 44px; background: var(--bg-alt); border-color: transparent; }
.header-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); }
.logo img { height: 64px; width: auto; }
.header-icons { display: flex; justify-content: flex-end; gap: 6px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--heading); }
.icon-btn:hover { background: var(--bg-alt); }
.icon-btn .count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--blush); color: #3E3B4C; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.main-nav ul { display: flex; justify-content: center; gap: clamp(14px, 2.2vw, 30px); padding: 6px 0 12px; }
.main-nav a { font-weight: 600; font-size: 15px; color: var(--heading); padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.is-current { border-color: var(--blush-2); }
.main-nav .nav-sale { color: var(--sale); }
.menu-toggle { display: none; }

/* Hero */
.hero { overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 45fr 55fr; gap: clamp(24px, 4vw, 64px); align-items: center; min-height: 78vh; padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(48px, 5vw, 72px); }
.hero-copy { display: grid; gap: 24px; padding-left: clamp(0px, 2.5vw, 32px); }
.hero-copy .h1 em { font-style: italic; color: var(--accent-ink); }
.hero-media { position: relative; height: min(70vh, 640px); min-height: 480px; }
.hero-media .arch.main { position: absolute; right: 0; top: 0; width: 72%; height: 100%; box-shadow: var(--shadow); border: 6px solid #fff; }
.hero-media .arch.second { position: absolute; left: 0; bottom: 8%; width: 36%; aspect-ratio: 3 / 4; border: 6px solid #fff; box-shadow: var(--shadow); }
.hero-media .arch.main img { object-position: 50% 20%; }
.hero-stamp { position: absolute; left: 14%; top: 6%; width: 118px; height: 118px; border-radius: 50%; background: #fff; display: grid; place-items: center; text-align: center; color: #3E3B4C; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.25; box-shadow: var(--shadow); border: 1px dashed var(--gold); outline: 6px solid #fff; z-index: 2; }
.hero-stamp strong { display: block; font-family: var(--font-heading); font-weight: 400; font-size: 30px; letter-spacing: 0; color: var(--gold-ink); text-transform: none; }

/* Franja de prueba */
.proof { padding: 56px 0 20px; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.proof-item { padding: 26px 24px; display: grid; gap: 6px; align-content: start; }
.proof-item + .proof-item { border-left: 1px solid var(--border); }
.proof-item strong { font-family: var(--font-heading); font-weight: 400; font-size: clamp(30px, 3vw, 40px); line-height: 1; color: var(--accent-ink); }
.proof-item span { font-size: 15px; }
.proof-item b { color: var(--heading); }

/* ¿Qué celebráis? (firma) */
.occasions { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 2vw, 24px); }
.occasion { display: grid; gap: 14px; text-align: center; }
.occasion .arch { aspect-ratio: 3 / 4.3; background: var(--blush); border: 1px solid var(--border); position: relative; }
.occasion .arch img { transition: transform .5s; }
.occasion:hover .arch img { transform: scale(1.05); }
.occasion .age { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: #fff; color: #3E3B4C; border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 700; white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.occasion h3 { font-size: 24px; }
.occasion p { font-size: 15px; margin-top: -8px; }

/* Tarjetas de producto */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 20px; }
.card { display: grid; gap: 10px; align-content: start; color: #605D70; }
.card-media { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-card); overflow: hidden; background: #F3F1F2; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .4s; }
.card-media .img-alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .card-media .img-alt { opacity: 1; }
.card:hover .card-media img:first-child { transform: scale(1.04); }
.badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.badge { background: #fff; color: #3E3B4C; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.badge.sale { background: var(--sale); color: #fff; }
.badge.blush { background: var(--blush); color: #3E3B4C; }
.wish { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; color: #3E3B4C; z-index: 2; }
.quick { position: absolute; left: 12px; right: 12px; bottom: 12px; min-height: 44px; border-radius: 999px; background: rgba(255,255,255,.95); color: #3E3B4C; font-weight: 700; font-size: 14px; display: grid; place-items: center; opacity: 0; transform: translateY(8px); transition: .25s; }
.card:hover .quick { opacity: 1; transform: none; }
.card-brand { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #806A0F; }
.scheme-3 .card-brand { color: var(--accent); }
.card-title { font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1.35; color: #3E3B4C; }
.scheme-3 .card-title, .scheme-3 .card { color: var(--fg); }
.card-price { display: flex; gap: 10px; align-items: baseline; font-weight: 700; font-size: 17px; color: #3E3B4C; }
.card-price s { font-weight: 400; color: #605D70; font-size: 15px; }
.card-price .now-sale { color: var(--sale); }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13.5px; }
.swatches { display: flex; gap: 5px; }
.swatches i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); display: block; }

/* Por quién compras */
.who { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.who-card { position: relative; border-radius: var(--radius-card); overflow: hidden; display: block; background: #fff; }
.who-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.who-card:hover img { transform: scale(1.05); }
.who-card.big { aspect-ratio: 4 / 5; }
.who-card.tall { grid-row: span 2; aspect-ratio: auto; }
.who-card .label { position: absolute; left: 16px; right: 16px; bottom: 16px; background: #fff; border-radius: 12px; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.who-card .label h3 { font-size: 26px; }
.who-card .label span { font-size: 14px; color: #605D70; }
.who-mini { grid-column: 2 / 4; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mini { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border-radius: var(--radius-card); padding: 22px 22px; min-height: 92px; }
.mini h3 { font-size: 24px; }
.mini span { font-size: 14px; color: #605D70; display: block; }
.mini .arrow { width: 40px; height: 40px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; flex: none; color: #3E3B4C; }
.mini.sale { background: var(--plum); }
.mini.sale h3, .mini.sale span { color: #fff; }

/* Media con contenido (bautizo) */
.media-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.media-split .arch { aspect-ratio: 4 / 5; border: 6px solid rgba(255,255,255,.12); }
.media-copy { display: grid; gap: 22px; }
.steps { display: grid; gap: 0; border-top: 1px solid var(--border); }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.step b { font-family: var(--font-heading); font-weight: 400; font-size: 40px; line-height: 1; color: var(--accent); }
.step h3 { font-family: var(--font-body); font-weight: 700; font-size: 18px; color: var(--heading); margin-bottom: 4px; }
.step p { font-size: 15.5px; }

/* Firmas */
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; max-width: 1100px; margin: 0 auto; }
.brands span { font-family: var(--font-heading); font-size: clamp(24px, 2.8vw, 38px); color: #3E3B4C; line-height: 1.2; }
.brands span:nth-child(3n+2) { font-style: italic; color: #6B5809; }
.brands i { color: var(--accent); font-style: normal; align-self: center; font-size: 18px; }

/* Cinta de tallas */
.tape { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.tape-sizes { display: flex; flex-wrap: wrap; gap: 10px; padding: 26px; border-radius: 20px; background: var(--bg-alt); position: relative; }
.tape-sizes::before { content: ""; position: absolute; left: 26px; right: 26px; top: 12px; height: 8px; background: repeating-linear-gradient(90deg, var(--accent) 0 1px, transparent 1px 12px); opacity: .7; }
.tape-sizes .chip { min-height: 48px; padding: 0 20px; margin-top: 10px; font-size: 16px; }
.tape-sizes .chip:hover { background: var(--blush); border-color: var(--blush-2); }

/* Opiniones */
.reviews { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.review { background: #fff; border-radius: var(--radius-card); padding: 28px; display: grid; gap: 14px; border: 1px solid var(--border); }
.review blockquote { margin: 0; font-family: var(--font-heading); font-size: 21px; line-height: 1.35; color: #3E3B4C; }
.review cite { font-style: normal; font-size: 14px; font-weight: 700; color: #605D70; }
.stars { color: var(--gold); letter-spacing: 3px; font-size: 16px; }
.score { display: flex; align-items: baseline; gap: 14px; }
.score strong { font-family: var(--font-heading); font-weight: 400; font-size: 64px; line-height: 1; color: #806A0F; }

/* Newsletter */
.signup { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.signup form { display: flex; gap: 10px; }
.signup .input { min-height: 54px; border-radius: 999px; border-color: #fff; }
.signup small { display: block; margin-top: 10px; font-size: 13.5px; }

/* Pie */
.site-footer { padding-top: 72px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 48px; }
.footer-logo { width: 150px; background: #fff; border-radius: 16px; padding: 8px; margin-bottom: 18px; }
.site-footer h3 { font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.site-footer li { margin-bottom: 9px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact a { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; color: #fff; font-weight: 600; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; padding-bottom: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.payments { display: flex; gap: 8px; }
.payments svg { display: block; }

/* Colección */
.crumbs { display: flex; gap: 8px; font-size: 14px; flex-wrap: wrap; }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.coll-banner .container { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 48px; }
.coll-banner .copy { display: grid; gap: 18px; }
.coll-banner .h1 { font-size: clamp(42px, 5vw, 72px); }
.coll-banner .pics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.coll-banner .pics .arch { aspect-ratio: 3 / 4; border: 5px solid #fff; }
.coll-banner .pics .arch:first-child { transform: translateY(-24px); }
.chips-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.coll-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.filters { position: sticky; top: 150px; display: grid; gap: 4px; }
.filters details { border-bottom: 1px solid var(--border); padding: 14px 0; }
.filters summary { list-style: none; cursor: pointer; font-weight: 700; color: #3E3B4C; display: flex; justify-content: space-between; align-items: center; min-height: 32px; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary::after { content: "+"; font-size: 20px; color: #806A0F; }
.filters details[open] summary::after { content: "–"; }
.filters .opts { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; }
.filters .opts .chip { min-height: 36px; padding: 0 14px; font-size: 14px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; width: 100%; }
.check i { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid #c9bcc0; display: block; }
.check.on i { background: var(--plum); border-color: var(--plum); }
.color-dot { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); display: inline-block; vertical-align: middle; }
.price-range { display: grid; gap: 10px; padding-top: 12px; }
.range-bar { height: 4px; background: var(--border); border-radius: 2px; position: relative; }
.range-bar::before { content: ""; position: absolute; left: 10%; right: 30%; top: 0; bottom: 0; background: var(--plum); border-radius: 2px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.toolbar .count { font-size: 15px; }
.toolbar .count b { color: #3E3B4C; }
.sort { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.select { min-height: 44px; border-radius: 999px; border: 1px solid var(--border); padding: 0 40px 0 18px; background: #fff; display: inline-flex; align-items: center; font-weight: 600; color: #3E3B4C; position: relative; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 2px solid #3E3B4C; border-bottom: 2px solid #3E3B4C; transform: translateY(-70%) rotate(45deg); }
.mobile-filter { display: none; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.feature-card { grid-column: span 2; grid-row: span 2; position: relative; border-radius: var(--radius-card); overflow: hidden; background: var(--plum); color: #fff; display: grid; }
.feature-card img { width: 100%; height: 100%; object-fit: cover; grid-area: 1 / 1; }
.feature-card .over { grid-area: 1 / 1; align-self: end; margin: 18px; background: #fff; border-radius: 14px; padding: 24px; display: grid; gap: 10px; color: #605D70; }
.feature-card .over h2 { font-size: clamp(26px, 2.6vw, 34px); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a { min-width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border); font-weight: 700; color: #3E3B4C; padding: 0 6px; }
.pagination a.is-current { background: var(--plum); color: #fff; border-color: var(--plum); }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.help-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 30px; display: grid; gap: 12px; align-content: start; }
.help-card .ico { width: 54px; height: 54px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; }
.help-card h3 { font-size: 26px; }
.help-card a { color: var(--accent); font-weight: 700; margin-top: 6px; }

/* Ficha */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; padding-top: 28px; padding-bottom: 72px; }
.gallery { display: grid; grid-template-columns: 92px 1fr; gap: 16px; position: sticky; top: 150px; }
.thumbs { display: grid; gap: 12px; align-content: start; }
.thumbs .arch { aspect-ratio: 3 / 4; border: 2px solid transparent; }
.thumbs .arch.is-current { border-color: var(--gold); }
.gallery-main { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 22px; scrollbar-width: none; }
.gallery-main figure { margin: 0; aspect-ratio: 3 / 4; scroll-snap-align: start; position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.dots { display: none; }
.buybox { display: grid; gap: 20px; }
.buybox .h1 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.05; }
.rating { display: flex; gap: 10px; align-items: center; font-size: 14.5px; }
.price-big { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price-big strong { font-family: var(--font-heading); font-weight: 400; font-size: 44px; color: #3E3B4C; line-height: 1; }
.price-big small { font-size: 14px; }
.stock { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #2F6B4A; font-size: 15px; }
.stock::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #2F9E62; }
.opt-label { display: flex; justify-content: space-between; font-weight: 700; color: #3E3B4C; margin-bottom: 10px; font-size: 15px; }
.opt-label a { font-weight: 600; color: #806A0F; text-decoration: underline; text-underline-offset: 3px; }
.opt-label span { font-weight: 400; color: #605D70; }
.colors { display: flex; gap: 10px; flex-wrap: wrap; }
.color-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px 0 8px; border-radius: 999px; border: 1px solid var(--border); font-weight: 600; color: #3E3B4C; }
.color-pill i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); display: block; }
.color-pill.is-active { border: 2px solid var(--plum); }
.sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.size { min-height: 48px; border-radius: 12px; border: 1px solid var(--border); display: grid; place-items: center; font-weight: 700; color: #3E3B4C; font-size: 15px; background: #fff; }
.size.is-active { background: var(--plum); color: #fff; border-color: var(--plum); }
.size.is-out { color: #a29fae; text-decoration: line-through; background: #faf7f7; }
.buy-row { display: grid; grid-template-columns: 130px 1fr; gap: 10px; }
.qty { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--border); border-radius: 999px; min-height: 52px; padding: 0 18px; font-weight: 700; color: #3E3B4C; }
.assure { display: grid; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--pearl); }
.assure li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 18px; font-size: 15px; align-items: start; }
.assure li + li { border-top: 1px solid var(--border); }
.assure b { color: #3E3B4C; }
.accordions details { border-bottom: 1px solid var(--border); }
.accordions details:first-child { border-top: 1px solid var(--border); }
.accordions summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; color: #3E3B4C; display: flex; justify-content: space-between; font-size: 16px; }
.accordions summary::-webkit-details-marker { display: none; }
.accordions summary::after { content: "+"; color: #806A0F; font-size: 20px; line-height: 1; }
.accordions details[open] summary::after { content: "–"; }
.accordions .acc-body { padding-bottom: 20px; display: grid; gap: 10px; font-size: 15.5px; }
.accordions ul { list-style: disc; padding-left: 20px; }
.size-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.size-table th, .size-table td { padding: 9px 8px; text-align: left; border-bottom: 1px solid var(--border); }
.size-table th { color: #3E3B4C; background: var(--pearl); }
.combo { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.combo-card { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; background: #fff; border-radius: var(--radius-card); padding: 12px; }
.combo-card .card-media { aspect-ratio: 3 / 4; }
.combo-card .btn { min-height: 40px; padding: 0 16px; font-size: 14px; margin-top: 8px; }
.combo-total { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.combo-total strong { font-family: var(--font-heading); font-weight: 400; font-size: 32px; color: #3E3B4C; }
.sticky-buy { display: none; }

/* Cajón del carrito (estándar del tema) */
.drawer-note { font-size: 13.5px; }

/* 1024 */
@media (max-width: 1024px) {
  .main-nav ul { gap: 16px; overflow-x: auto; justify-content: flex-start; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .occasions { grid-template-columns: repeat(3, 1fr); }
  .rail { grid-auto-columns: calc((100% - 2 * 20px) / 2.6); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .coll-layout { grid-template-columns: 220px 1fr; gap: 28px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .combo { grid-template-columns: 1fr; }
}

/* 720 — móvil */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .announcement .container { justify-content: flex-start; overflow: hidden; gap: 24px; }
  .announcement span:nth-child(n+2) { display: none; }
  .header-top { grid-template-columns: auto 1fr auto; gap: 8px; }
  .header-search { display: none; }
  .menu-toggle { display: inline-grid; }
  .logo { justify-self: center; }
  .logo img { height: 52px; }
  .header-icons .hide-m { display: none; }
  .main-nav ul { gap: 18px; padding: 2px 0 10px; scrollbar-width: none; }
  .main-nav a { font-size: 15px; white-space: nowrap; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 28px; padding-top: 28px; padding-bottom: 48px; }
  .hero-copy { padding: 0; gap: 18px; }
  .hero-copy .h1 { font-size: 46px; }
  .hero-copy .lead { font-size: 16.5px; }
  .hero-media { height: 400px; min-height: 0; order: -1; }
  .hero-media .arch.main { width: 74%; }
  .hero-media .arch.second { width: 40%; bottom: 0; }
  .hero-stamp { width: 92px; height: 92px; font-size: 10.5px; left: 2%; top: 4%; }
  .hero-stamp strong { font-size: 24px; }
  .btn-row .btn { width: 100%; }
  .proof { padding: 40px 0 12px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item { padding: 18px 14px; }
  .proof-item:nth-child(3) { border-left: 0; }
  .proof-item:nth-child(n+3) { border-top: 1px solid var(--border); }
  .section-head { flex-direction: column; align-items: flex-start; }
  .occasions { grid-template-columns: repeat(5, 62%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .occasion { scroll-snap-align: start; }
  .rail { grid-auto-columns: 46%; gap: 12px; }
  .grid-4, .grid-3 { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .card-title { font-size: 15px; }
  .quick { display: none; }
  .who { grid-template-columns: 1fr 1fr; gap: 12px; }
  .who-card.tall { grid-row: auto; grid-column: span 2; aspect-ratio: 4 / 3.4; }
  .who-card.big { aspect-ratio: 3 / 4; }
  .who-card .label { left: 8px; right: 8px; bottom: 8px; padding: 10px 12px; }
  .who-card .label h3 { font-size: 21px; }
  .who-card .label span { display: none; }
  .who-mini { grid-column: span 2; grid-template-columns: 1fr; gap: 10px; }
  .mini { min-height: 72px; padding: 16px 18px; }
  .media-split, .tape, .signup, .coll-banner .container, .pdp { grid-template-columns: 1fr; }
  .media-split .arch { aspect-ratio: 4 / 4.4; }
  .brands { gap: 8px 22px; }
  .reviews { grid-template-columns: 1fr; }
  .signup form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-grid > :first-child { grid-column: span 2; }
  .coll-banner .container { gap: 24px; padding-top: 24px; }
  .coll-banner .pics .arch:first-child { transform: none; }
  .coll-layout { grid-template-columns: 1fr; }
  .filters { display: none; }
  .mobile-filter { display: flex; gap: 10px; }
  .mobile-filter .btn { flex: 1; min-height: 48px; padding: 0 12px; }
  .toolbar { flex-wrap: wrap; }
  .toolbar .sort { display: none; }
  .feature-card { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 4.6; }
  .feature-card .over { margin: 10px; padding: 18px; }
  .help-grid { grid-template-columns: 1fr; }
  .pdp { padding-top: 0; gap: 24px; padding-bottom: 40px; }
  .pdp > .gallery { margin: 0 calc(-1 * var(--gutter)); }
  .gallery { grid-template-columns: 1fr; position: static; }
  .thumbs { display: none; }
  .gallery-main { border-radius: 0; grid-auto-columns: 86%; gap: 8px; padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); }
  .gallery-main figure { border-radius: 16px; overflow: hidden; }
  .dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
  .dots i { width: 7px; height: 7px; border-radius: 50%; background: #E6D6D6; }
  .dots i:first-child { background: var(--plum); width: 20px; border-radius: 4px; }
  .buybox .h1 { font-size: 32px; }
  .price-big strong { font-size: 38px; }
  .combo-card { grid-template-columns: 96px 1fr; }
  .sticky-buy { display: flex; position: sticky; bottom: 0; z-index: 60; gap: 12px; align-items: center; padding: 12px var(--gutter); background: #fff; border-top: 1px solid #F1E2E2; box-shadow: 0 -8px 24px rgba(74,70,88,.12); }
  .sticky-buy .p { display: grid; line-height: 1.2; font-size: 13px; }
  .sticky-buy .p strong { font-size: 20px; color: #3E3B4C; }
  .sticky-buy .btn { flex: 1; }
}

/* Ajustes tras la primera revisión */
.stars { display: inline-flex; gap: 2px; align-items: center; }
.stars .star { display: block; }
.logo img { height: 76px; }
.signup .btn { white-space: nowrap; flex: none; }
@media (max-width: 720px) { .logo img { height: 56px; } .signup .btn { width: 100%; } }
@media (max-width: 720px) { .grid-3 { grid-auto-flow: dense; } }
@media (max-width: 720px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-contact { grid-column: span 2; } }

/* Ayuda de la colección: WhatsApp como protagonista */
.help-wa { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.help-main { display: grid; gap: 16px; justify-items: start; }
.help-main p { max-width: 46ch; }
.wa-number { font-family: var(--font-heading); font-size: clamp(44px, 6vw, 80px); line-height: 1; color: var(--primary); letter-spacing: -.01em; margin: 6px 0 8px; }
.help-side { display: grid; gap: 14px; }
.help-row { display: grid; grid-template-columns: 54px 1fr auto; gap: 18px; align-items: center; padding: 22px 24px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--bg-alt); color: var(--fg); }
.help-row b { display: block; font-family: var(--font-heading); font-weight: 400; font-size: 24px; color: var(--heading); margin-bottom: 4px; }
.help-row .ico { width: 54px; height: 54px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; }
.help-row .arrow { color: var(--primary); font-size: 22px; }

/* Ficha en escritorio: fotos en columna, sin hueco bajo la galería */
@media (min-width: 1025px) {
  .gallery { position: static; align-items: start; }
  .thumbs { position: sticky; top: 150px; }
  .gallery-main { grid-auto-flow: row; overflow: visible; gap: 16px; border-radius: 0; }
  .gallery-main figure { border-radius: 22px; overflow: hidden; }
  .gallery-main figure:nth-child(n+3) { display: none; }
}
.footer-logo { padding: 10px 14px; border-radius: 999px 999px 18px 18px; }

@media (max-width: 1024px) {
  .help-wa { grid-template-columns: 1fr; }
  .help-main .btn { width: 100%; }
}
@media (max-width: 720px) {
  .gallery-main figure { aspect-ratio: 4 / 5; }
  .gallery-main { grid-auto-columns: 74%; }
  .buybox .crumbs { display: none; }
  .pdp { gap: 16px; }
  .buybox .h1 { font-size: 28px; }
  .main-nav ul { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); padding-right: 40px; }
}

/* ===================== Adaptación a WordPress / WooCommerce ===================== */
.wp-site-blocks { padding: 0 !important; }
.wp-site-blocks > * , .wp-site-blocks > * + * { margin-block-start: 0 !important; margin-block-end: 0; }
.baul-main, .baul-main > *, .baul-main .wp-block-group > * { margin-block-start: 0; }
.baul-main > * + * { margin-block-start: 0 !important; }
.baul-main .container { max-width: var(--page-width); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.baul-main .section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.baul-main .section-head .h2, .baul-main .h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; }
.baul-main .btn:hover, .baul-main .link-arrow:hover { text-decoration: none; }
.baul-main .btn-primary:hover { color: var(--on-primary); }

/* Cabecera: el anuncio se va con el scroll y la cabecera se queda */
header.wp-block-template-part { position: sticky; top: -40px; z-index: 50; background: #fff; }
header.wp-block-template-part .announcement .container { max-width: var(--page-width); margin: 0 auto; padding: 0 var(--gutter); height: 40px; }
header.wp-block-template-part .site-header { position: relative; top: auto; border-bottom: 1px solid var(--border); background: #fff; }
header.wp-block-template-part .header-top { max-width: var(--page-width); margin: 0 auto; padding: 10px var(--gutter) 6px; }
header.wp-block-template-part .header-top > * { margin: 0 !important; }
.header-left { display: flex; align-items: center; gap: 8px; }
.header-search { flex: 1; }
.header-search .input { width: 100%; }
header.wp-block-template-part .logo { justify-self: center; display: block; }
header.wp-block-template-part .logo img { height: 76px; width: auto; }
.header-icons { gap: 6px !important; align-items: center; color: #3E3B4C; }
.header-icons .wc-block-customer-account a, .header-icons .wc-block-mini-cart__button { width: 44px; height: 44px; padding: 0; display: inline-grid; place-items: center; border-radius: 50%; color: #3E3B4C; }
.header-icons .wc-block-customer-account a:hover, .header-icons .wc-block-mini-cart__button:hover { background: var(--bg-alt); }
.header-icons .wc-block-customer-account svg, .header-icons .wc-block-mini-cart__icon { width: 24px; height: 24px; }
.header-icons .wc-block-mini-cart__badge { background: var(--blush) !important; color: #3E3B4C !important; font-weight: 700; font-size: 11px; min-width: 18px; height: 18px; }
.header-icons .wc-block-mini-cart__amount { display: none; }
header.wp-block-template-part .main-nav { max-width: var(--page-width); margin: 0 auto; padding: 0 var(--gutter); }
header.wp-block-template-part .main-nav .wp-block-navigation__container { display: flex; justify-content: center; gap: clamp(14px, 2.2vw, 30px); padding: 6px 0 12px; width: 100%; }
header.wp-block-template-part .main-nav .wp-block-navigation-item__content { font-family: var(--font-body); font-weight: 600; font-size: 15px; color: #3E3B4C; padding: 6px 0; border-bottom: 2px solid transparent; text-decoration: none; }
header.wp-block-template-part .main-nav .wp-block-navigation-item__content:hover, header.wp-block-template-part .main-nav .current-menu-item > .wp-block-navigation-item__content { border-color: var(--blush-2); text-decoration: none; }

/* Pie */
footer.wp-block-template-part .site-footer a { text-decoration: none; }
footer.wp-block-template-part .footer-grid, footer.wp-block-template-part .footer-bottom { max-width: var(--page-width); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
footer.wp-block-template-part .footer-grid { padding-bottom: 48px; }
footer.wp-block-template-part .footer-bottom { padding-top: 22px; padding-bottom: 28px; }
footer.wp-block-template-part .site-footer a:hover { color: #fff; text-decoration: underline; }

/* Secciones de portada */
.occasions-section { padding-top: clamp(20px, 2.5vw, 36px); }
.bautizo-section, .brands-section, .coll-grid-section, .also-section { padding-top: calc(var(--section-y) + 16px); }
.sizes-section { padding-top: 0; }
.hero-media img { height: 100%; }

/* Tarjetas de producto (colecciones de WooCommerce) */
.baul-main .wc-block-product-template { list-style: none; margin: 0; padding: 0; }
.baul-main .wc-block-product { display: grid; gap: 10px; align-content: start; margin: 0; text-align: left; color: #605D70; }
.baul-main .wc-block-product > * { margin: 0 !important; }
.card-media.wc-block-components-product-image { position: relative; border-radius: var(--radius-card); overflow: hidden; background: #F3F1F2; aspect-ratio: 3 / 4; }
.card-media.wc-block-components-product-image a, .card-media.wc-block-components-product-image img { display: block; width: 100%; height: 100% !important; }
.card-media.wc-block-components-product-image img { object-fit: cover; aspect-ratio: 3 / 4; transition: transform .5s; }
.wc-block-product:hover .card-media img { transform: scale(1.04); }
.card-media .wc-block-components-product-sale-badge { position: absolute; top: 12px; left: 12px; right: auto; z-index: 2; background: var(--sale); color: #fff; border: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; margin: 0; }
.card-brand.wp-block-post-terms { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #806A0F; }
.card-brand.wp-block-post-terms a { color: inherit; }
.baul-main .card-title.wp-block-post-title { font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1.35; letter-spacing: 0; color: #3E3B4C; }
.baul-main .card-title.wp-block-post-title a { color: inherit; }
.card-price.wc-block-components-product-price, .card-price .wc-block-components-product-price { font-weight: 700; font-size: 17px; color: #3E3B4C; text-align: left; }
.baul-main .wc-block-components-product-price del { font-weight: 400; color: #605D70; font-size: 15px; }
.baul-main .wc-block-components-product-price ins { color: var(--sale); text-decoration: none; }

/* Carril de novedades */
.rail-collection .wc-block-product-template { display: grid !important; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); grid-template-columns: none !important; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.rail-collection .wc-block-product { scroll-snap-align: start; width: auto !important; max-width: none !important; }

/* Colección */
.coll-banner .container { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 48px; }
.coll-banner .copy { display: grid; gap: 18px; }
.coll-banner .copy > * { margin: 0; }
.coll-banner .lead p { margin: 0; }
.crumbs.wc-block-breadcrumbs, .crumbs .woocommerce-breadcrumb { font-size: 14px; margin: 0; color: var(--fg); }
.crumbs .woocommerce-breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.coll-collection .coll-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
.coll-collection .filters { position: sticky; top: 150px; display: block; }
.coll-results { min-width: 0; }
.coll-results > * { margin-block-start: 0; }
.toolbar.wp-block-group { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 20px; margin-bottom: 24px !important; border-bottom: 1px solid var(--border); }
.toolbar .woocommerce-result-count { margin: 0; font-size: 15px; color: #605D70; }
.toolbar .woocommerce-ordering { margin: 0; }
.toolbar .woocommerce-ordering select, .baul-main select.orderby { appearance: none; -webkit-appearance: none; min-height: 44px; border-radius: 999px; border: 1px solid var(--border); padding: 0 44px 0 18px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%233E3B4C' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 18px center; font-family: var(--font-body); font-weight: 600; font-size: 15px; color: #3E3B4C; max-width: 100%; }
.coll-collection .wc-block-product-template { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 32px 20px; }
.coll-collection .wc-block-product { width: auto !important; max-width: none !important; }
.coll-collection .pagination.wp-block-query-pagination { margin-top: 48px; gap: 8px; }
.wp-block-query-pagination .page-numbers, .wp-block-query-pagination-previous, .wp-block-query-pagination-next { min-width: 46px; height: 46px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--border); font-weight: 700; color: #3E3B4C; padding: 0 6px; text-decoration: none; }
.wp-block-query-pagination .page-numbers.current { background: var(--plum); color: #fff; border-color: var(--plum); }
.wp-block-query-pagination .page-numbers.dots { border: 0; }

/* Filtros de WooCommerce */
.filters .wp-block-woocommerce-product-filters { display: grid; gap: 4px; font-size: 15px; }
.filters .wc-block-product-filters__overlay-content > *, .filters .wp-block-woocommerce-product-filters > * { margin: 0; }
.filters [class*="wp-block-woocommerce-product-filter-"]:not(.wp-block-woocommerce-product-filter-checkbox-list):not(.wp-block-woocommerce-product-filter-price-slider):not(.wp-block-woocommerce-product-filter-removable-chips):not(.wp-block-woocommerce-product-filter-clear-button) { border-bottom: 1px solid var(--border); padding: 14px 0; min-width: 0; }
.filters .filter-title { font-family: var(--font-body) !important; font-weight: 700; font-size: 16px; color: #3E3B4C; letter-spacing: 0; margin: 0 0 12px !important; display: flex; justify-content: space-between; }
.filters .filter-title::after { content: "–"; color: #806A0F; font-size: 20px; line-height: 1; }
.filters input[type="number"], .filters input[type="text"] { width: 100%; min-width: 0; box-sizing: border-box; border: 1px solid var(--border); border-radius: var(--radius-input); padding: 8px 10px; font: inherit; color: #3E3B4C; }
.filters .wc-block-product-filter-price-slider, .filters .wc-block-product-filter-price-slider__range, .filters input[type="range"] { width: 100%; min-width: 0; box-sizing: border-box; }
.filters .wc-block-product-filter-price-slider__content { display: grid; gap: 10px; }
.filters .wc-block-product-filter-checkbox-list__items { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.filters .wc-block-product-filter-checkbox-list__label { display: flex; align-items: center; gap: 10px; color: #605D70; }
.filters .wc-block-product-filter-checkbox-list__input-wrapper::before { border-radius: 5px; }
.filters .wc-block-product-filter-checkbox-list__input { border-radius: 5px; border-color: #c9bcc0; }
.filters .wc-block-product-filter-checkbox-list__input:checked { background: var(--plum); border-color: var(--plum); }
.filters .wc-block-product-filter-removable-chips__items { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.filters .wc-block-product-filter-removable-chips__item { border-radius: 999px; border-color: var(--border); }
.filters .wc-block-product-filters__open-overlay, .filters .wc-block-product-filters__overlay-header { display: none; }

/* Ficha de producto */
.product-information .pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; padding-top: 28px; padding-bottom: 72px; }
.product-information .pdp > * { margin: 0; min-width: 0; }
.gallery-col .woocommerce-product-gallery { position: relative; width: 100% !important; float: none !important; margin: 0 !important; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; opacity: 1 !important; }
.gallery-col .woocommerce-product-gallery .flex-viewport, .gallery-col .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper { grid-column: 2; grid-row: 1; border-radius: 22px; overflow: hidden; }
.gallery-col .woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 22px; }
.gallery-col .woocommerce-product-gallery .flex-control-thumbs { grid-column: 1; grid-row: 1; display: grid; gap: 12px; align-content: start; margin: 0 !important; padding: 0; list-style: none; position: sticky; top: 150px; }
.gallery-col .woocommerce-product-gallery .flex-control-thumbs li { width: 100% !important; float: none !important; margin: 0 !important; }
.gallery-col .woocommerce-product-gallery .flex-control-thumbs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-arch); border: 2px solid transparent; opacity: 1; cursor: pointer; }
.gallery-col .woocommerce-product-gallery .flex-control-thumbs img.flex-active { border-color: var(--gold); }
.gallery-col .woocommerce-product-gallery__trigger { position: absolute; top: 14px; right: 14px; z-index: 5; }
.gallery-col .onsale { z-index: 6; }
.buybox { display: grid; gap: 20px; }
.buybox > * { margin: 0 !important; }
.buybox .eyebrow.wp-block-post-terms a { color: inherit; text-decoration: none; }
.buybox .h1.wp-block-post-title { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -0.02em; }
.buybox .rating:empty { display: none; }
.buybox .wc-block-components-product-rating__stars { color: var(--gold); }
.buybox .price-big { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.buybox .price-big > * { margin: 0; }
.buybox .price-big .wc-block-components-product-price { font-family: var(--font-heading); font-weight: 400; font-size: 44px; color: #3E3B4C; line-height: 1; }
.buybox .price-big .wc-block-components-product-price del { font-size: 26px; color: #605D70; }
.buybox .price-big .wc-block-components-product-price ins { color: var(--sale); text-decoration: none; }
.buybox .price-note { font-size: 14px; }
.buybox .stock.wc-block-components-product-stock-indicator, .buybox .stock .in-stock { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #2F6B4A; font-size: 15px; }
.buybox .stock::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #2F9E62; }
.buybox .stock.wc-block-components-product-stock-indicator--out-of-stock { color: var(--sale); }
.buybox .stock.wc-block-components-product-stock-indicator--out-of-stock::before { background: var(--sale); }
.buybox form.cart { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px; margin: 0; }
.buybox form.cart .quantity { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; min-height: 52px; padding: 0 10px; margin: 0 !important; }
.buybox form.cart .quantity input.qty { width: 100%; border: 0; background: transparent; text-align: center; font-weight: 700; font-size: 16px; color: #3E3B4C; min-height: 48px; }
.buybox form.cart .quantity button { background: none; border: 0; font-size: 18px; color: #3E3B4C; cursor: pointer; }
.buybox form.cart .single_add_to_cart_button { min-height: 52px; width: 100%; border-radius: 999px; background: var(--plum) !important; color: #fff !important; font-family: var(--font-body); font-weight: 700; font-size: 16px; border: 0; margin: 0 !important; padding: 0 30px; float: none; }
.buybox form.cart .single_add_to_cart_button:hover { background: #3E3B4C !important; }
.buybox form.cart table.variations { grid-column: 1 / -1; }
.buybox form.cart .single_variation_wrap { grid-column: 1 / -1; display: grid; gap: 10px; }
.buybox form.cart .woocommerce-variation-add-to-cart { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px; }
.buybox form.cart select { appearance: none; -webkit-appearance: none; width: 100%; min-height: 46px; border-radius: 999px; border: 1px solid var(--border); padding: 0 44px 0 18px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%233E3B4C' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 18px center; font-weight: 600; color: #3E3B4C; }
.buybox .assure { list-style: none; padding: 0; }
.buybox .assure a { text-decoration: underline; text-underline-offset: 3px; }
.accordions > * { margin: 0 !important; }
.accordions .wp-block-details { border-bottom: 1px solid var(--border); padding: 0; }
.accordions .wp-block-details:first-child { border-top: 1px solid var(--border); }
.accordions .wp-block-details summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; color: #3E3B4C; display: flex; justify-content: space-between; font-size: 16px; }
.accordions .wp-block-details summary::-webkit-details-marker { display: none; }
.accordions .wp-block-details summary::after { content: "+"; color: #806A0F; font-size: 20px; line-height: 1; }
.accordions .wp-block-details[open] summary::after { content: "–"; }
.accordions .acc-body { padding-bottom: 20px; display: grid; gap: 10px; font-size: 15.5px; margin: 0; }
.accordions .acc-body p { margin: 0; }

/* Combínalo con */
.combo-collection .wc-block-product-template { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 20px; }
.combo-collection .wc-block-product { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; align-items: center; background: #fff; border-radius: var(--radius-card); padding: 12px; width: auto !important; max-width: none !important; }
.combo-collection .combo-info { display: grid; gap: 6px; justify-items: start; }
.combo-collection .combo-info > * { margin: 0 !important; }
.combo-collection .wp-block-button__link, .combo-collection .add_to_cart_button, .combo-collection .wc-block-components-product-button__button { min-height: 40px; padding: 0 16px !important; font-size: 14px !important; border-radius: 999px !important; background: var(--plum) !important; color: #fff !important; font-weight: 700; margin-top: 4px; display: inline-flex; align-items: center; }
.combo-collection .wc-block-components-product-button { align-items: flex-start; }

/* Avisos de WooCommerce */
.baul-main .wc-block-store-notices, .baul-main .woocommerce-notices-wrapper { margin: 0; }
.baul-main .wc-block-components-notice-banner { border-radius: var(--radius-card); margin: 16px 0 0; }

/* Barra fija de compra (móvil) */
.sticky-buy { display: none; }

@media (max-width: 1024px) {
  .rail-collection .wc-block-product-template { grid-auto-columns: calc((100% - 2 * 20px) / 2.6); }
  .coll-collection .coll-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 28px; }
  .coll-collection .wc-block-product-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .combo-collection .wc-block-product-template { grid-template-columns: 1fr !important; }
  header.wp-block-template-part .main-nav .wp-block-navigation__container { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; gap: 16px; }
}

@media (max-width: 720px) {
  header.wp-block-template-part .header-top { grid-template-columns: auto 1fr auto; gap: 8px; }
  header.wp-block-template-part .logo img { height: 56px; }
  .header-icons .hide-m { display: none; }
  header.wp-block-template-part .main-nav .wp-block-navigation__container { gap: 18px; padding: 2px 40px 10px 0; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
  header.wp-block-template-part .main-nav .wp-block-navigation-item__content { white-space: nowrap; }
  .rail-collection .wc-block-product-template { grid-auto-columns: 46%; gap: 12px; }
  .baul-main .card-title.wp-block-post-title { font-size: 15px; }
  .coll-banner .container { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
  .coll-banner .pics .arch:first-child { transform: none; }
  .coll-collection .coll-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .coll-collection .filters { position: static; }
  .filters .wc-block-product-filters__open-overlay { display: flex; width: 100%; justify-content: center; min-height: 48px; border: 1.5px solid #3E3B4C; border-radius: 999px; background: transparent; color: #3E3B4C; font-weight: 700; margin-bottom: 16px; }
  .coll-collection .wc-block-product-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 20px 12px; }
  .toolbar.wp-block-group { flex-wrap: wrap; }
  .product-information .pdp { grid-template-columns: minmax(0, 1fr); padding-top: 0; gap: 16px; padding-bottom: 40px; }
  .gallery-col { margin: 0 calc(-1 * var(--gutter)); }
  .gallery-col .woocommerce-product-gallery { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .gallery-col .woocommerce-product-gallery .flex-viewport { grid-column: 1; border-radius: 0; }
  .gallery-col .woocommerce-product-gallery__image img { aspect-ratio: 4 / 5; border-radius: 0; }
  .gallery-col .woocommerce-product-gallery .flex-control-thumbs { grid-column: 1; grid-row: 2; position: static; grid-template-columns: repeat(5, 56px); padding: 0 var(--gutter); }
  .buybox .crumbs { display: none; }
  .buybox .h1.wp-block-post-title { font-size: 28px; }
  .buybox .price-big .wc-block-components-product-price { font-size: 38px; }
  .combo-collection .wc-block-product { grid-template-columns: 96px minmax(0, 1fr); }
  .single-product .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 12px; align-items: center; padding: 12px var(--gutter); background: #fff; border-top: 1px solid #F1E2E2; box-shadow: 0 -8px 24px rgba(74,70,88,.12); font-family: var(--font-body); }
  .single-product .sticky-buy .p { display: grid; line-height: 1.2; font-size: 13px; color: #605D70; }
  .single-product .sticky-buy .p strong { font-size: 20px; color: #3E3B4C; }
  .single-product .sticky-buy .p strong del { font-size: 13px; font-weight: 400; }
  .single-product .sticky-buy .btn { flex: 1; min-height: 48px; border: 0; }
  .single-product footer.wp-block-template-part { padding-bottom: 76px; }
}

/* ===== Ajustes tras la primera comparación ===== */
.crumbs.alignwide, .crumbs.wc-block-breadcrumbs { margin-left: 0 !important; margin-right: 0 !important; max-width: none !important; width: auto; text-align: left; justify-self: start; }
.filters .wc-block-product-filter-checkbox-list__items, .filters .wp-block-woocommerce-product-filter-checkbox-list, .filters .wc-block-product-filters__overlay-content, .filters .wc-block-product-filters__overlay-dialog, .filters .wc-block-product-filters__overlay-wrapper { border: 0 !important; box-shadow: none !important; }
.filters .wc-block-product-filters__overlay-content { padding: 0; gap: 0; }
.buybox .wp-block-add-to-cart-form .stock { display: none; }

/* Galería de la ficha (sin carrusel) */
.gallery-col .gallery { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; align-items: start; }
.gallery-col .gallery.is-single { grid-template-columns: minmax(0, 1fr); }
.gallery-col .gallery .thumbs { display: grid; gap: 12px; align-content: start; position: sticky; top: 150px; }
.gallery-col .gallery .thumbs .arch { padding: 0; border: 2px solid transparent; background: none; cursor: pointer; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius-arch); }
.gallery-col .gallery .thumbs .arch.is-current { border-color: var(--gold); }
.gallery-col .gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-col .gallery-main-wrap { min-width: 0; }
.gallery-col .woocommerce-product-gallery { display: block; }
.gallery-col .woocommerce-product-gallery__wrapper { display: grid; gap: 16px; margin: 0; }
.gallery-col .woocommerce-product-gallery__image { margin: 0; border-radius: 22px; overflow: hidden; width: 100% !important; }
.gallery-col .woocommerce-product-gallery__image a, .gallery-col .woocommerce-product-gallery__image img { display: block; width: 100%; }
.gallery-col .woocommerce-product-gallery__image img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 22px; height: auto; }
.gallery-col .dots { display: none; }
@media (min-width: 721px) {
  .gallery-col .woocommerce-product-gallery__image:nth-child(n+3) { display: none; }
}
@media (max-width: 720px) {
  .gallery-col .gallery { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .gallery-col .gallery .thumbs { display: none; }
  .gallery-col .woocommerce-product-gallery__wrapper { grid-auto-flow: column; grid-auto-columns: 74%; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .gallery-col .woocommerce-product-gallery__image { scroll-snap-align: start; border-radius: 16px; }
  .gallery-col .woocommerce-product-gallery__image img { aspect-ratio: 4 / 5; border-radius: 16px; }
  .gallery-col .dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
  .gallery-col .dots i { width: 7px; height: 7px; border-radius: 50%; background: #E6D6D6; }
  .gallery-col .dots i:first-child { background: var(--plum); width: 20px; border-radius: 4px; }
}
.gallery-col .woocommerce-product-gallery__image img.zoomImg { display: none !important; }
.baul-main button, .baul-main input, .baul-main select, header.wp-block-template-part input, .sticky-buy button { font-family: var(--font-body); }
.signup .btn, .sticky-buy .btn { font-weight: 700; font-size: 16px; }
footer.wp-block-template-part .site-footer h3 { font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.filters .wp-block-woocommerce-product-filter-checkbox-list *:not(input):not(.wc-block-product-filter-checkbox-list__input-wrapper) { border: 0 !important; outline: 0; box-shadow: none !important; }
.filters .wp-block-woocommerce-product-filter-checkbox-list { border: 0 !important; padding: 0 !important; }
.filters fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }

@media (max-width: 720px) { .section.novedades { padding-top: 32px; } }
