/*
Theme Name: Zampypet
Theme URI: https://zampypet.com
Author: Zampypet
Description: Tema de Zampypet: cajas de regalo y productos para mascotas. Compatible con WooCommerce.
Version: 1.0.36
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: zampypet
*/

/* Fuentes alojadas en la propia web (licencia SIL OFL, ver assets/fonts) */
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("assets/fonts/fredoka.woff") format("woff"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url("assets/fonts/nunito.woff") format("woff"); }

:root { color-scheme: light; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body { margin: 0; font-size: 14px; }
img { max-width: 100%; }
[hidden] { display: none !important; }

/* Layout: cestas de regalo como protagonistas, catálogo debajo, bandas separadas por olas. Paleta: granate y amarillo, con rosa solo en detalles */
:root {
  --bg: #FFF2BC;
  --surface: #FFFAE0;
  --band: #FFE9A0;
  --pink-band: #F9D6DD;
  --ink: #4F0F25;
  --muted: #7E3347;
  --btn: #7B1E3A;
  --on-btn: #FFF1B0;
  --blob-a: #FFE27A;
  --blob-b: #F2B6C3;
  --line: #E5C566;
  --wave: #7B1E3A;
  --on-wave: #FFF1B0;
  --logo-y: #FFDC70; --logo-p: #F6BFCB; --logo-ink: #4F0F25;
  --font-display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.55; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--wave); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
button { font-family: var(--font-body); }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
:focus-visible { outline: 3px solid var(--btn); outline-offset: 3px; }
.g { fill: var(--g); } .g2 { fill: var(--g2, var(--g)); }
.s { stroke: var(--g); fill: none; stroke-linecap: round; } .s2 { stroke: var(--g2, var(--g)); fill: none; stroke-linecap: round; }

.soon { background: var(--blob-b); color: var(--ink); text-align: center; font-weight: 800; font-size: .9rem; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 8px max(16px, env(safe-area-inset-left, 0px)); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
/* Cabecera */
header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--wave); color: var(--on-wave); }
header :focus-visible { outline-color: var(--on-wave); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; letter-spacing: -0.01em; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo svg { width: 42px; height: 42px; }
.logo .name { margin-top: -2px; }
@media (max-width: 1120px) { .logo .name { display: none; } }
@media (max-width: 560px) { .logo .name { display: none; } }
.badge { display: block; height: 92px; width: auto; background: #FFF8E1; padding: 8px 16px; border-radius: 52% 48% 55% 45% / 48% 55% 45% 52%; margin-bottom: -28px; position: relative; z-index: 2; }
.lockup { display: block; width: min(250px, 70vw); height: auto; background: #FFF8E1; padding: 22px 26px; border-radius: 52% 48% 55% 45% / 48% 55% 45% 52%; }
nav { display: flex; gap: 6px; }
nav a { white-space: nowrap; font-weight: 800; text-decoration: none; padding: 8px 14px; border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%; }
nav a:hover { background: var(--on-wave); color: var(--wave); }
.right { display: flex; align-items: center; gap: 10px; }
.cart-btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; font: 800 1rem var(--font-body); background: var(--on-wave); color: var(--wave); padding: 10px 18px; border-radius: 55% 45% 50% 50% / 60% 50% 50% 40%; }
.cart-btn .n { background: var(--wave); color: var(--on-wave); min-width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; font-size: .85rem; padding: 0 6px; }
.photo-toggle { border: 2px dashed var(--on-wave); background: transparent; color: var(--on-wave); font: 800 .88rem var(--font-body); padding: 7px 14px; cursor: pointer; border-radius: 50% 50% 45% 55% / 60% 50% 50% 40%; }
.photo-toggle[aria-pressed="true"] { background: var(--on-wave); color: var(--wave); }

/* Hero */
.hero { padding-block: 28px 70px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: center; }
.eyebrow { display: inline-block; font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; background: var(--blob-b); padding: 6px 16px; border-radius: 50% 50% 45% 55% / 60% 50% 50% 40%; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; background: var(--blob-a); padding: 0 .22em; border-radius: 55% 45% 60% 40% / 55% 60% 40% 45%; display: inline-block; transform: rotate(-2deg); }
.hero p.lead { font-size: 1.2rem; max-width: 34em; margin-top: 20px; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-block; border: 0; cursor: pointer; text-decoration: none; font: 800 1.05rem var(--font-body); background: var(--btn); color: var(--on-btn); padding: 14px 28px; border-radius: 55% 45% 50% 50% / 60% 55% 45% 40%; transition: transform .2s; text-align: center; }
.btn:hover { transform: rotate(-2deg) scale(1.04); }
.btn.alt { background: var(--blob-b); color: var(--ink); }
@keyframes morph { 50% { border-radius: 42% 58% 38% 62% / 60% 40% 60% 40%; transform: rotate(4deg); } }
.hero-band { background: var(--wave); color: var(--on-wave); }
.hero-text { min-width: 0; }
.hero .btn { background: var(--on-wave); color: var(--wave); }
.hero .btn.alt { background: var(--blob-b); color: var(--ink); }
.hero h1 em { color: var(--ink); }
.hero p.lead { color: var(--on-wave); opacity: .92; }
.box-stage { position: relative; min-width: 0; padding: 4% 3%; }
.box-stage::before, .box-stage::after { content: ""; position: absolute; z-index: 0; aspect-ratio: 1 / 1; animation: morph 12s ease-in-out infinite; }
.box-stage::before { width: 40%; left: -3%; top: -6%; background: var(--blob-a); border-radius: 58% 42% 63% 37% / 46% 60% 40% 54%; }
.box-stage::after { width: 30%; right: -2%; bottom: -8%; background: var(--blob-b); border-radius: 44% 56% 40% 60% / 58% 42% 58% 42%; animation-direction: reverse; }
.box-pic { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 1300 / 846; object-fit: cover; border-radius: 34% 30% 38% 28% / 36% 40% 32% 36%; }
.hero .eyebrow { color: var(--ink); background: var(--blob-a); }
.hero-band { position: relative; overflow: hidden; }
.hero .wrap, .hero-text, .box-stage { position: relative; z-index: 1; }
.hero-paw { position: absolute; z-index: 0; --g: var(--blob-a); opacity: .3; pointer-events: none; }
.hero-paw.p1 { width: 78px; height: 78px; left: 3%; bottom: 26px; transform: rotate(-18deg); }
.hero-paw.p2 { width: 48px; height: 48px; left: 47%; bottom: 44px; transform: rotate(14deg); }
.hero-paw.p3 { width: 60px; height: 60px; left: 41%; top: 26px; transform: rotate(-8deg); }
@media (max-width: 820px) { .hero-paw.p2, .hero-paw.p3 { display: none; } .hero-paw.p1 { width: 56px; height: 56px; left: auto; right: 4%; bottom: 14px; } }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; padding-bottom: 44px; } .box-stage { padding: 6% 4% 8%; } }

/* Olas y bandas */
.wave { display: block; width: 100%; height: 56px; }
.wave.flip { transform: scaleY(-1); }
.band { background: var(--band); }
.band-dark { background: var(--wave); color: var(--on-wave); }
.wave-top { fill: var(--band); } .wave-pink { fill: var(--pink-band); }
.band-pink { background: var(--pink-band); } .wave-dark { fill: var(--wave); }

/* Secciones de tienda */
.shop { padding-block: 40px 70px; }
.shop h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.shop .sub { color: var(--muted); margin-top: 10px; max-width: 38em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 8px; }
.chips + .chips { margin-top: 10px; }
.chip { border: 2px solid var(--ink); background: transparent; color: var(--ink); font: 800 .98rem var(--font-body); padding: 8px 20px; cursor: pointer; border-radius: 60% 40% 55% 45% / 55% 50% 50% 45%; }
.chip[aria-pressed="true"] { background: var(--btn); color: var(--on-btn); border-color: var(--btn); }
.chips-label { font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 22px 0 -8px; }

/* Ocasiones */
.occs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 30px 0 6px; }
.occ { display: flex; align-items: center; gap: 16px; text-align: left; border: 0; cursor: pointer; color: var(--on-btn); padding: 14px 22px 14px 14px; min-width: 0; background: var(--btn); border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%; transition: transform .25s, border-radius .5s; outline-offset: 4px; }
.occ:nth-child(3n+2) { background: var(--blob-a); color: var(--ink); border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%; }
.occ:nth-child(3n+3) { background: var(--blob-b); color: var(--ink); border-radius: 52% 48% 58% 42% / 45% 58% 42% 55%; }
.occ:hover { transform: rotate(-1.5deg) scale(1.03); border-radius: 42% 58% 45% 55% / 58% 42% 58% 42%; }
.occ[aria-pressed="true"] { box-shadow: 0 0 0 4px var(--bg), 0 0 0 7px var(--ink); }
.occ .ic { width: 66px; height: 66px; flex: none; display: grid; place-items: center; background: var(--surface); border-radius: 50%; --g: var(--btn); --g2: var(--blob-b); }
.occ:nth-child(3n+1) .ic { background: var(--on-btn); --g: var(--btn); --g2: var(--blob-b); }
.occ .ic svg { width: 70%; height: 70%; }
.occ b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.1; }
.occ small { font-size: .88rem; font-weight: 700; opacity: .85; }

/* Tarjetas */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 30px 22px; margin-top: 30px; }
.grid.packs { grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 34px 26px; }
.card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.media { position: relative; aspect-ratio: 1 / 0.92; max-width: 100%; display: grid; place-items: center; overflow: hidden; transition: border-radius .6s, transform .3s; }
.card:hover .media { border-radius: 40% 60% 45% 55% / 55% 40% 60% 45%; transform: rotate(-1.5deg); }
.media > svg { width: 52%; height: 52%; }
.media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m1 .media { background: var(--blob-a); border-radius: 58% 42% 55% 45% / 50% 56% 44% 50%; --g: var(--btn); --g2: var(--blob-b); }
.m2 .media { background: var(--btn); border-radius: 44% 56% 48% 52% / 58% 44% 56% 42%; --g: var(--on-btn); --g2: var(--blob-b); }
.m3 .media { background: var(--blob-b); border-radius: 52% 48% 60% 40% / 44% 58% 42% 56%; --g: var(--btn); --g2: var(--blob-a); }
.m1 .media.shot, .m2 .media.shot, .m3 .media.shot, .media.shot { background: #FFFFFF; }
.media.shot > img { object-fit: contain; padding: 6% 10%; }
.tag { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); white-space: nowrap; z-index: 2; font-size: .78rem; font-weight: 800; background: var(--surface); color: var(--ink); padding: 4px 12px; border-radius: 50% 50% 45% 55% / 60% 50% 50% 40%; }
.edit { position: absolute; bottom: 10%; left: 50%; transform: translateX(-50%); z-index: 3; border: 2px solid var(--ink); background: var(--surface); color: var(--ink); font: 800 .8rem var(--font-body); padding: 6px 14px; cursor: pointer; border-radius: 30px; display: none; white-space: nowrap; }
body.photo-edit .edit { display: block; }
.card h3 { font-size: 1.22rem; }
.pack h3 { font-size: 1.4rem; }
.card .desc { color: var(--muted); font-size: .95rem; margin-top: -4px; }
.for { font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
details { border-top: 2px dashed var(--line); padding-top: 8px; }
summary { cursor: pointer; font-weight: 800; font-size: .95rem; padding: 2px 0; }
details ul { margin: 8px 0 2px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: .93rem; }
details li { display: flex; justify-content: space-between; gap: 12px; }
details li span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }
.buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 4px; }
.price { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; font-variant-numeric: tabular-nums; line-height: 1; }
.was { display: block; font-family: var(--font-body); font-weight: 700; font-size: .82rem; color: var(--muted); text-decoration: line-through; margin-bottom: 2px; }
.save { display: inline-block; font-weight: 800; font-size: .78rem; background: var(--blob-a); padding: 2px 10px; border-radius: 40% 60% 50% 50% / 60% 50% 50% 40%; margin-top: 4px; }
.add { border: 0; cursor: pointer; font: 800 .95rem var(--font-body); background: var(--btn); color: var(--on-btn); padding: 10px 18px; border-radius: 55% 45% 50% 50% / 60% 50% 50% 40%; transition: transform .2s; flex: none; }
.add:hover { transform: scale(1.07) rotate(-2deg); }
.none { grid-column: 1 / -1; color: var(--muted); padding: 30px 0; }

/* Ventajas */
.perks { padding-block: 30px 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; }
.perk { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.perk .dot { width: 64px; height: 56px; display: grid; place-items: center; background: var(--blob-a); border-radius: 55% 45% 60% 40% / 50% 60% 40% 50%; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.perk:nth-child(2) .dot { background: var(--blob-b); border-radius: 45% 55% 40% 60% / 60% 45% 55% 40%; }
.perk:nth-child(3) .dot { background: var(--btn); color: var(--on-btn); }
.perk h3 { font-size: 1.25rem; }
.perk p { color: var(--muted); font-size: .97rem; }

/* Cupón */
.promo { padding-block: 24px 64px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.promo h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.promo p { margin-top: 10px; max-width: 34em; opacity: .92; }
.code { display: inline-flex; align-items: center; gap: 12px; background: var(--on-wave); color: var(--wave); padding: 14px 18px 14px 26px; border-radius: 55% 45% 50% 50% / 60% 50% 50% 40%; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: .04em; }
.code button { border: 0; cursor: pointer; font: 800 .9rem var(--font-body); background: var(--wave); color: var(--on-wave); padding: 8px 16px; border-radius: 50% 50% 45% 55% / 60% 50% 50% 40%; }
@media (max-width: 720px) { .promo { grid-template-columns: 1fr; } }

footer { padding-block: 40px; }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; color: var(--muted); font-size: .95rem; align-items: center; }

/* Cesta */
.veil { position: fixed; inset: 0; background: rgba(40, 6, 18, .5); z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); z-index: 50; background: var(--surface); color: var(--ink); display: flex; flex-direction: column; transform: translateX(105%); visibility: hidden; transition: transform .35s, visibility .35s; border-radius: 48px 0 0 48px / 70px 0 0 70px; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px); }
.drawer.open { transform: none; visibility: visible; }
.d-head { display: flex; align-items: center; justify-content: space-between; padding: 26px 26px 12px 34px; }
.d-head h2 { font-size: 1.8rem; }
.x { border: 0; cursor: pointer; width: 42px; height: 42px; font: 700 1.3rem var(--font-body); background: var(--blob-a); color: var(--ink); border-radius: 50%; }
.d-body { flex: 1; overflow-y: auto; padding: 8px 26px 8px 34px; display: flex; flex-direction: column; gap: 14px; }
.empty { text-align: center; padding: 40px 10px; color: var(--muted); }
.line { display: grid; grid-template-columns: 62px 1fr auto; gap: 12px; align-items: center; }
.line .th { width: 62px; height: 58px; display: grid; place-items: center; border-radius: 55% 45% 50% 50% / 50% 55% 45% 50%; background: var(--blob-a); overflow: hidden; --g: var(--btn); --g2: var(--blob-b); }
.line .th svg { width: 70%; height: 70%; }
.line .th img { width: 100%; height: 100%; object-fit: cover; }
.line .th.shot { background: #FFFFFF; }
.line .th.shot img { object-fit: contain; }
.line b { display: block; font-size: .98rem; line-height: 1.25; }
.line small { color: var(--muted); font-variant-numeric: tabular-nums; }
.qty { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; }
.qty button { border: 0; cursor: pointer; width: 28px; height: 28px; border-radius: 50%; background: var(--blob-a); color: var(--ink); font: 800 1rem var(--font-body); }
.qty span { min-width: 18px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.line .lt { font-weight: 800; font-variant-numeric: tabular-nums; }
.d-foot { padding: 16px 28px 24px 34px; border-top: 2px dashed var(--line); display: flex; flex-direction: column; gap: 10px; max-height: 62%; overflow-y: auto; }
.ship { font-size: .9rem; color: var(--muted); }
.meter { height: 12px; border-radius: 12px; background: var(--blob-a); overflow: hidden; flex: none; }
.meter i { display: block; height: 100%; background: var(--btn); border-radius: 12px; transition: width .4s; }
.gift { display: flex; flex-direction: column; gap: 8px; background: var(--bg); padding: 12px 16px; border-radius: 28px 40px 30px 36px / 36px 28px 40px 30px; }
.gift label.chk { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: .95rem; cursor: pointer; }
.gift input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--btn); }
.gift textarea { width: 100%; resize: none; font: 600 .95rem var(--font-body); padding: 8px 12px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 18px; }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; min-width: 0; font: 700 .95rem var(--font-body); padding: 9px 16px; border: 2px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 30px; text-transform: uppercase; }
.coupon button { border: 0; cursor: pointer; font: 800 .9rem var(--font-body); background: var(--blob-a); color: var(--ink); padding: 9px 16px; border-radius: 30px; }
.msg { font-size: .88rem; min-height: 1.2em; color: var(--muted); }
.sum { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.sum.total { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.toast { width: max-content; position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 24px); opacity: 0; visibility: hidden; z-index: 60; background: var(--btn); color: var(--on-btn); font-weight: 800; padding: 12px 24px; border-radius: 55% 45% 50% 50% / 60% 50% 50% 40%; transition: transform .3s; max-width: calc(100% - 32px); text-align: center; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
/* Zampy Solidario */
.solid { padding-block: 24px 48px; }
.solid h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.solid .sub { color: var(--muted); margin-top: 10px; max-width: 34em; }
.solid-head { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.solid-head > * { min-width: 0; }
.solid-pic { aspect-ratio: 1 / .8; max-width: 100%; overflow: hidden; background: #EBD3C9; border-radius: 58% 42% 55% 45% / 50% 56% 44% 50%; }
.solid-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; counter-reset: st; }
.steps li { display: flex; align-items: center; gap: 14px; counter-increment: st; }
.steps li::before { content: counter(st); flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 55% 45% 50% 50% / 60% 50% 50% 40%; background: var(--btn); color: var(--on-btn); font-family: var(--font-display); font-weight: 700; }
.steps li:nth-child(2)::before { background: var(--blob-b); color: var(--ink); }
.steps li:nth-child(3)::before { background: var(--blob-a); color: var(--ink); }
.steps b { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin-right: 6px; }
.media.merch > img { object-fit: contain; padding: 3% 6%; -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent); mask-composite: intersect; }
.sol-tile { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 6px; aspect-ratio: 1 / .92; max-width: 100%; padding: 12%; background: var(--btn); color: var(--on-btn); border-radius: 44% 56% 48% 52% / 58% 44% 56% 42%; }
.sol-tile b { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.1; }
.sol-tile span { font-size: .92rem; }
@media (min-width: 1000px) { .grid.sol { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px 16px; } .sol-tile { display: none; } }
.tag.don { background: var(--blob-b); }
.donate { font-weight: 800; font-size: .92rem; background: var(--blob-b); color: var(--ink); padding: 10px 16px; border-radius: 28px 40px 30px 36px / 36px 28px 40px 30px; }
@media (max-width: 820px) { .solid-head { grid-template-columns: 1fr; gap: 22px; } }
/* Móvil: menú en fila deslizable, filtros en una línea, productos a dos columnas */
@media (max-width: 820px) {
  .bar { flex-wrap: wrap; row-gap: 0; padding-block: 8px 0; }
  .badge { height: 58px; padding: 5px 12px; margin-bottom: 0; }
  nav { order: 3; flex-basis: 100%; overflow-x: auto; gap: 8px; padding-block: 10px 12px; scrollbar-width: none; }
  nav::-webkit-scrollbar, .chips::-webkit-scrollbar { display: none; }
  nav a { flex: none; font-size: .92rem; padding: 5px 14px; border: 2px solid var(--on-wave); }
  .hero { padding-block: 20px 36px; gap: 22px; }
  .hero h1 { font-size: clamp(2.2rem, 10.5vw, 3rem); }
  .hero p.lead { font-size: 1.05rem; margin-top: 14px; }
  .eyebrow { margin-bottom: 14px; }
  .cta-row { margin-top: 20px; gap: 10px; }
  .btn { padding: 12px 22px; font-size: 1rem; }
  .shop { padding-block: 28px 48px; }
  .occs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
  .occ { flex-direction: column; text-align: center; gap: 8px; padding: 14px 6px; }
  .occ .ic { width: 48px; height: 48px; }
  .occ b { font-size: 1.02rem; }
  .occ small { font-size: .76rem; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-top: 18px; }
  .chip { flex: none; padding: 7px 16px; font-size: .92rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; margin-top: 22px; }
  .grid.packs { grid-template-columns: 1fr; gap: 30px; }
  .card h3 { font-size: 1.02rem; }
  .pack h3 { font-size: 1.3rem; }
  .card .desc { font-size: .85rem; }
  .grid:not(.packs) .buy { flex-direction: column; align-items: stretch; gap: 8px; }
  .grid:not(.packs) .add { width: 100%; }
  .grid:not(.packs) .price { font-size: 1.25rem; }
  .tag { font-size: .7rem; padding: 3px 9px; top: 8px; }
  .perks { padding-block: 24px 40px; }
  .promo { padding-block: 16px 48px; }
  .drawer { width: 100%; border-radius: 36px 0 0 0 / 50px 0 0 0; }
  .d-head { padding: 20px 20px 8px 24px; }
  .d-body { padding: 8px 20px 8px 24px; }
  .d-foot { padding: 12px 20px 18px 24px; max-height: 68%; }
  .toast { bottom: auto; top: calc(12px + env(safe-area-inset-top, 0px)); transform: translate(-50%, -24px); }
  .toast.show { transform: translate(-50%, 0); }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }


/* WooCommerce y páginas normales (estilo base, se ajusta cuando se instale WooCommerce) */
.zp-page{max-width:1160px;margin:0 auto;padding:40px 16px 80px}
.zp-page h1,.zp-page h2{font-family:var(--font-display);color:var(--ink)}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt{background:var(--btn);color:var(--on-btn);font-family:var(--font-body);font-weight:800;border-radius:55% 45% 50% 50% / 60% 55% 45% 40%;padding:.8em 1.6em}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price{color:var(--ink);font-family:var(--font-display)}
.woocommerce ul.products li.product img{border-radius:58% 42% 55% 45% / 50% 56% 44% 50%}

.perks { grid-template-columns: minmax(0, 560px); justify-content: center; text-align: center; }
.perks .dot { margin-inline: auto; }

/* Enlaces de las tarjetas y página de producto */
a.plink { color: inherit; text-decoration: none; display: block; }
h3 a.plink { display: inline; }
a.add { display: inline-block; text-decoration: none; text-align: center; }
.pp { max-width: 1160px; margin: 0 auto; padding: 28px 16px 70px; }
.pp-crumbs { margin-bottom: 18px; font-weight: 800; }
.pp-crumbs a { color: var(--muted); text-decoration: none; }
.pp-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: start; }
.pp-grid > * { min-width: 0; }
.pp-main { aspect-ratio: 1 / .92; overflow: hidden; background: var(--blob-a); border-radius: 58% 42% 55% 45% / 50% 56% 44% 50%; display: grid; place-items: center; }
.pp-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-main svg { width: 40%; color: var(--btn); }
.pp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.pp-thumbs button { padding: 0; border: 3px solid transparent; cursor: pointer; overflow: hidden; aspect-ratio: 1; background: var(--blob-a); border-radius: 44% 56% 48% 52% / 58% 44% 56% 42%; }
.pp-thumbs button[aria-pressed="true"] { border-color: var(--btn); }
.pp-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-cat { font-weight: 800; font-size: .9rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.pp-cat a { color: inherit; text-decoration: none; }
.pp-info h1 { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; margin: 6px 0 0; }
.pp-price { font-family: var(--font-display); font-size: 2rem; font-weight: 600; margin: 12px 0 0; font-variant-numeric: tabular-nums; }
.pp-short { margin-top: 14px; color: var(--muted); max-width: 34em; }
.pp-field { margin-top: 22px; display: grid; gap: 8px; }
.pp-sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.pp-buy { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-end; }
.pp-qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 40px; overflow: hidden; }
.pp-qty button { border: 0; background: transparent; color: var(--ink); width: 40px; height: 44px; font: 800 1.2rem var(--font-body); cursor: pointer; }
.pp-qty input { width: 44px; text-align: center; border: 0; background: transparent; color: var(--ink); font: 800 1rem var(--font-body); }
.pp-buy .btn { margin-bottom: 0; }
.pp-soldout { margin-top: 22px; font-weight: 800; color: var(--muted); }
.pp-meta { margin-top: 22px; font-size: .9rem; color: var(--muted); }
.pp-long { margin-top: 52px; background: var(--surface); padding: 26px 30px; max-width: 800px; border-radius: 34px 44px 30px 40px / 40px 30px 44px 34px; }
.pp-long h2, .pp-related h2 { font-family: var(--font-display); font-size: 1.7rem; margin: 0 0 12px; }
.pp-long p + p { margin-top: 10px; }
.pp-related { margin-top: 52px; }
@media (max-width: 820px) { .pp-grid { grid-template-columns: 1fr; gap: 26px; } .pp-long { padding: 20px; } }

/* El logo y el nombre no cambian en las páginas de WooCommerce */
header .logo { flex-shrink: 0; }
header .logo .badge { height: 92px !important; width: auto !important; max-width: none !important; }
footer .lockup { width: min(250px, 70vw) !important; height: auto !important; max-width: none !important; }
header .logo .name { white-space: nowrap; }
@media (max-width: 820px) { header .logo .badge { height: 58px !important; } }
.pp-price del { opacity: .55; font-size: .7em; margin-right: 6px; }
.pp-price ins { text-decoration: none; }

/* Fotos de producto: todas con el mismo marco, sin recortar */
.pp-main.shot { background: #FFFFFF; }
.pp-main.shot img { object-fit: contain; padding: 5% 8%; }

/* Enlaces legales del pie y páginas de texto */
.legal-links { padding: 0 0 22px; }
.legal-links .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .88rem; }
.legal-links a { color: var(--on-wave); opacity: .85; text-decoration: underline; text-underline-offset: 3px; }
.zp-page { max-width: 820px; }
.zp-page h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 18px; }
.zp-page h2 { font-size: 1.4rem; margin: 30px 0 8px; }
.zp-page p, .zp-page li { max-width: 68ch; }
.zp-page ul { padding-left: 1.2em; }
.zp-page table { border-collapse: collapse; width: 100%; font-size: .93rem; margin: 10px 0; }
.zp-page th, .zp-page td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.zp-page a { color: var(--btn); }
mark.zp-todo { background: #FFE27A; color: #4F0F25; padding: 1px 6px; border-radius: 6px; font-weight: 700; }

.solid-head.has-pic { grid-template-columns: 1fr 1fr; }
@media (max-width: 820px) { .solid-head.has-pic { grid-template-columns: 1fr; } }

/* Zampy Solidario: descripción y fotos del refugio */
.solid-story { margin-top: 34px; background: var(--surface); padding: 26px 30px; display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; border-radius: 40px 54px 36px 48px / 48px 36px 54px 40px; }
.solid-story.has-photos { grid-template-columns: 1.2fr 1fr; }
.solid-story > * { min-width: 0; }
.solid-text p { font-size: 1.1rem; max-width: 46ch; }
.solid-text .solid-month { margin-top: 12px; color: var(--muted); }
.solid-photos { display: flex; justify-content: center; align-items: center; }
.solid-photos img { width: 48%; aspect-ratio: 1; object-fit: cover; display: block; border: 4px solid var(--bg); }
.solid-photos .ph1 { border-radius: 58% 42% 55% 45% / 50% 56% 44% 50%; transform: rotate(-4deg); }
.solid-photos .ph2 { border-radius: 44% 56% 48% 52% / 58% 44% 56% 42%; transform: rotate(5deg); margin-left: -8%; margin-top: 12%; }
.solid-photos img:only-child { width: 70%; margin: 0; }
@media (max-width: 820px) { .solid-story.has-photos { grid-template-columns: 1fr; } .solid-story { padding: 20px; } }

.solid-photos img { object-position: 50% 25%; }

.solid-photos img.ph1 { object-position: 50% 30%; }
.solid-photos img:only-child { width: min(70%, 340px); }

/* Portada: imagen conjunta de Navidad y versión sin imagen */
.box-pic.collage { aspect-ratio: auto; object-fit: contain; border-radius: 0; filter: drop-shadow(0 12px 18px rgba(30, 5, 15, .3)); }
.hero.no-pic { grid-template-columns: 1fr; }
.hero.no-pic .hero-text { max-width: 720px; }

/* Marcas dentro de cada sección */
.brand-head{grid-column:1/-1;margin:18px 0 0;font-family:inherit;font-size:1.25rem;color:var(--garnet,#7B1E3A);border-bottom:2px dotted rgba(123,30,58,.35);padding-bottom:6px}
.brand-head:first-child{margin-top:0}

/* Cartel "Próximamente" */
.solid { position: relative; }
.soon-badge { position: absolute; z-index: 5; top: 6px; right: 4%; transform: rotate(6deg); background: var(--yellow, #FFE27A); color: var(--garnet, #7B1E3A); font-weight: 800; font-size: clamp(1rem, 2.4vw, 1.5rem); letter-spacing: .04em; text-transform: uppercase; padding: 10px 26px; border-radius: 999px; border: 3px dashed var(--garnet, #7B1E3A); box-shadow: 0 8px 18px rgba(60,10,25,.25); }

/* Siempre en modo claro: no dejar que el navegador oscurezca/invierta los colores */
:root { color-scheme: only light; }
html, body { color-scheme: only light; }


/* Buscador y cuenta */
.shop-search { margin: 18px 0 0; }
.shop-search input { width: 100%; max-width: 460px; font: 700 1rem var(--font-body); padding: 14px 22px; color: var(--ink); background: var(--surface); border: 2px solid var(--line); border-radius: 999px; outline: none; }
.shop-search input:focus { border-color: var(--wave); box-shadow: 0 0 0 4px rgba(123,30,58,.15); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; min-width: 42px; padding: 0 12px; border: 0; cursor: pointer; text-decoration: none; font: 800 .95rem var(--font-body); background: transparent; color: var(--on-wave); border-radius: 999px; }
.icon-btn:hover { background: rgba(255,255,255,.14); }
.icon-btn.acct span { display: inline; }
@media (max-width: 760px) { .icon-btn.acct span { display: none; } }
/* Mi cuenta (WooCommerce) */
.woocommerce-account .zp-page, .woocommerce-cart .zp-page, .woocommerce-checkout .zp-page { max-width: 1160px; margin: 0 auto; padding: 32px 16px 64px; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.woocommerce-MyAccount-navigation li a { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 2px solid var(--line); color: var(--ink); font-weight: 800; text-decoration: none; }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--wave); border-color: var(--wave); color: var(--on-wave); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { border: 2px solid var(--line); border-radius: 16px; padding: 12px 14px; font-family: var(--font-body); background: var(--surface); color: var(--ink); }
.woocommerce table.shop_table { border-radius: 18px; border-color: var(--line); }
.woocommerce-account h2, .woocommerce-account h3 { margin: 18px 0 12px; }

/* Avisos de WooCommerce con la estética Zampypet */
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error,
.woocommerce-page .woocommerce-info,
.woocommerce-page .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-error,
.woocommerce-checkout .woocommerce-info,
.woocommerce-cart .woocommerce-info,
.woocommerce-cart .woocommerce-message,
.wc-block-components-notice-banner,
.woocommerce-notices-wrapper .woocommerce-message {
  background: #FFF6D6 !important;
  color: var(--garnet, #7B1E3A) !important;
  border: 2px solid var(--line, #F0D98A) !important;
  border-top: 2px solid var(--line, #F0D98A) !important;
  border-radius: 22px !important;
  box-shadow: none !important;
  padding: 16px 22px !important;
  font-weight: 700;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px;
}
.woocommerce-info::before, .woocommerce-message::before, .woocommerce-error::before { color: var(--garnet, #7B1E3A) !important; position: static !important; margin-right: 4px; }
.woocommerce-error { background: #FDE3E8 !important; border-color: #F2A9B8 !important; list-style: none; }
.woocommerce-info a, .woocommerce-message a, .woocommerce-error a { color: var(--garnet, #7B1E3A); }
.woocommerce-info .button, .woocommerce-message .button, .woocommerce-error .button,
.woocommerce-account .woocommerce-info a.button, .woocommerce-account .woocommerce-message a.button {
  float: none !important; margin: 0 !important;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info { margin: 0 0 18px; }
/* Tablas y cajas de Mi cuenta */
.woocommerce table.shop_table, .woocommerce-account .woocommerce-MyAccount-content fieldset, .woocommerce-checkout #payment, .woocommerce-checkout #order_review {
  background: var(--surface, #FFFDF4); border: 2px solid var(--line, #F0D98A); border-radius: 22px; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--line, #F0D98A); background: transparent; }
.woocommerce-checkout #payment div.payment_box { background: #FFF6D6; color: var(--ink); border-radius: 16px; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #FFF6D6; }

/* Mi resumen y seguimiento de pedidos */
.zp-dash-hi { margin: 0 0 4px; color: var(--garnet, #7B1E3A); }
.zp-dash-sub { margin: 0 0 20px; font-weight: 700; }
.zp-order { background: var(--surface); border: 2px solid var(--line); border-radius: 24px; padding: 18px 22px; margin: 0 0 18px; }
.zp-order.is-way { border-color: var(--wave); box-shadow: 0 8px 20px rgba(123,30,58,.12); }
.zp-order header, .zp-order footer { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.zp-order header span:not(.zp-badge) { display: block; font-size: .9rem; opacity: .8; }
.zp-badge { padding: 6px 14px; border-radius: 999px; font-weight: 800; background: #FFE27A; color: var(--garnet, #7B1E3A); }
.zp-badge.s2 { background: var(--wave); color: var(--on-wave); }
.zp-badge.s3 { background: #CDEBC5; }
.zp-steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 18px 0; }
.zp-steps li { flex: 1; text-align: center; font-size: .85rem; font-weight: 700; opacity: .55; position: relative; }
.zp-steps li i { display: block; height: 8px; border-radius: 99px; background: var(--line); margin-bottom: 6px; }
.zp-steps li.done, .zp-steps li.now { opacity: 1; }
.zp-steps li.done i, .zp-steps li.now i { background: var(--wave); }
.zp-items { margin: 0 0 10px; padding-left: 18px; }
.zp-track { margin: 0 0 10px; }
.zp-empty { background: #FFF6D6; border: 2px solid var(--line); border-radius: 24px; padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; font-weight: 700; }
.zp-empty p { margin: 0; }
.zp-dash-more { margin-top: 18px; font-weight: 700; }
.zp-dash-more a { color: var(--garnet, #7B1E3A); }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button { background: var(--wave); color: var(--on-wave); border-radius: 999px; font-weight: 800; padding: 12px 22px; }

/* Botones flotantes de contacto */
.zp-fab { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.zp-fab-list { display: flex; flex-direction: column; gap: 10px; }
.zp-fab-list[hidden] { display: none; }
.zp-fab a, .zp-fab-btn { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 0; cursor: pointer; box-shadow: 0 6px 16px rgba(60,10,25,.28); background: var(--wave); color: var(--on-wave); }
.zp-fab svg { width: 24px; height: 24px; fill: currentColor; }
.zp-fab a.wa { background: #25D366; color: #fff; }
.zp-fab a.ig { background: #E1306C; color: #fff; }
.zp-fab a.ml { background: #FFE27A; color: var(--garnet, #7B1E3A); }
.zp-fab-btn.open { background: #FFE27A; color: var(--garnet, #7B1E3A); }
@media (max-width: 760px) { .zp-fab { top: auto; bottom: 90px; transform: none; } }
.add:disabled, .add[disabled] { opacity: .55; cursor: not-allowed; background: var(--line); color: var(--ink); }

/* Aviso de cookies */
.zp-cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 760px; margin: 0 auto; background: var(--surface); color: var(--ink); border: 2px solid var(--line); border-radius: 26px; box-shadow: 0 14px 40px rgba(60,10,25,.3); padding: 20px 24px; }
.zp-cookies[hidden] { display: none; }
.zp-cookies h2 { font-size: 1.25rem; margin: 0 0 6px; color: var(--garnet, #7B1E3A); }
.zp-cookies p { margin: 0 0 12px; font-size: .95rem; }
.zp-cookies a { color: var(--garnet, #7B1E3A); font-weight: 800; }
.zp-ck-opts { margin: 0 0 14px; display: grid; gap: 8px; }
.zp-ck-opts[hidden] { display: none; }
.zp-ck-opts label { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.zp-ck-opts input { margin-top: 4px; accent-color: var(--wave); }
.zp-ck-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.zp-ck-btns button { font: 800 .95rem var(--font-body); padding: 11px 20px; border-radius: 999px; cursor: pointer; border: 2px solid var(--wave); background: var(--wave); color: var(--on-wave); }
.zp-ck-btns button.alt { background: transparent; color: var(--garnet, #7B1E3A); }
.zp-ck-open { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.legal-links .zp-ck-open { margin-left: 6px; }
.legal-links .zp-ck-open { color: var(--on-wave); opacity: .85; font-size: .88rem; }
