/* Doña Cacha · Hogar y Deco
   Layout: casa de familia — fondo crema, tarjetas "blanco leche", cortes festoneados entre secciones,
   cuadrillé y rayas del manual como textura. Un solo tema claro, por decisión de marca. */
:root {
  --crema: #F6EEDC;        /* fondo principal */
  --cobalto: #4A6FB5;      /* principal: títulos destacados, botones, íconos */
  --cobalto-osc: #3A5A98;
  --hoja: #6B7A56;         /* detalles naturales, WhatsApp */
  --hoja-osc: #56643F;
  --coral: #E8A08C;        /* acentos: etiquetas, corazones */
  --coral-osc: #B5604A;    /* coral legible para texto */
  --tinta: #24385F;        /* textos */
  --tinta-suave: #4F5D78;
  --leche: #FFFCF5;        /* tarjetas */
  --tostado: #EFE3C8;      /* separadores y bordes */
  --borde: #E4D6B6;

  --f-titulo: "Lora", Georgia, "Times New Roman", serif;
  --f-texto: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px; --r-md: 18px; --r-lg: 28px; --r-pill: 999px;
  --sombra: 0 1px 0 rgba(36, 56, 95, .04), 0 10px 30px -18px rgba(36, 56, 95, .35);
  --ancho: 1200px;
  --gutter: 20px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--crema); color: var(--tinta);
  font-family: var(--f-texto); font-weight: 300; font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--cobalto); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--f-titulo); font-weight: 600; line-height: 1.12; margin: 0; text-wrap: balance; color: var(--tinta); }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: var(--cobalto); }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 22px; height: 22px; flex: none; }

.wrap {
  width: 100%; max-width: calc(var(--ancho) + 2 * var(--gutter)); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.eyebrow { font-family: var(--f-texto); font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--cobalto); }
.muted { color: var(--tinta-suave); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 24px; border-radius: var(--r-pill);
  font-family: var(--f-texto); font-weight: 500; font-size: 14.5px; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cobalto); color: var(--leche); }
.btn-primary:hover { background: var(--cobalto-osc); }
.btn-outline { background: transparent; color: var(--tinta); border-color: var(--tinta); }
.btn-outline:hover { background: var(--tinta); color: var(--leche); }
.btn-hoja { background: var(--hoja); color: var(--leche); }
.btn-hoja:hover { background: var(--hoja-osc); }
.btn-light { background: var(--leche); color: var(--cobalto); }
.btn-light:hover { background: var(--crema); }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link { color: var(--cobalto); font-weight: 500; text-decoration: none; border-bottom: 1.5px solid currentColor; }
.link:hover { color: var(--cobalto-osc); }

/* ---------- Barra superior + header ---------- */
.topbar { background: var(--cobalto); color: var(--leche); font-size: 12.5px; font-weight: 400; text-align: center; }
.topbar .wrap { padding-block: 7px; display: flex; justify-content: center; gap: 6px 18px; flex-wrap: wrap; }
.topbar span + span::before { content: "♥"; margin-right: 18px; color: var(--coral); font-size: 10px; }

body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--leche); }
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--leche); border-bottom: 1px solid var(--tostado); }
.header .wrap { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--cobalto); background: var(--crema); }
.brand-name { font-family: var(--f-titulo); font-weight: 600; font-size: 22px; line-height: 1; color: var(--tinta); }
.brand-name small { display: block; font-family: var(--f-texto); font-size: 9.5px; letter-spacing: .28em; font-weight: 500; color: var(--cobalto); margin-top: 5px; }
.nav { display: flex; gap: 4px; margin-inline: auto; }
.nav > a, .nav .drop > button {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 10px; white-space: nowrap; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 400; text-decoration: none; background: none; border: 0; cursor: pointer; color: var(--tinta);
}
.nav > a:hover, .nav .drop > button:hover { background: var(--crema); }
.nav a[aria-current="page"], .nav .drop.is-current > button { color: var(--cobalto); font-weight: 500; box-shadow: inset 0 -2px 0 var(--cobalto); border-radius: 0; }
.drop { position: relative; }
.drop-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); min-width: 260px;
  background: var(--leche); border: 1px solid var(--tostado); border-radius: var(--r-md); box-shadow: var(--sombra);
  padding: 8px; display: grid; opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s;
}
.drop:hover .drop-menu, .drop:focus-within .drop-menu, .drop.open .drop-menu { opacity: 1; visibility: visible; }
.drop-menu a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: var(--r-sm); text-decoration: none; font-size: 14px; }
.drop-menu a:hover { background: var(--crema); }
.drop-menu .cat-dot { width: 32px; height: 32px; }
.drop-menu .all { border-top: 1px solid var(--tostado); margin-top: 4px; padding-top: 12px; font-weight: 500; color: var(--cobalto); }
.actions { display: flex; align-items: center; gap: 4px; flex: none; }
.icon-btn {
  position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  background: transparent; border: 0; cursor: pointer; color: var(--tinta); text-decoration: none;
}
.icon-btn:hover { background: var(--crema); }
.icon-btn .badge {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--coral); color: var(--tinta); font-size: 10.5px; font-weight: 600; line-height: 18px; text-align: center;
}
.icon-btn .badge:empty, .icon-btn .badge[data-n="0"] { display: none; }
.menu-btn { display: none; }
.searchbar { border-top: 1px solid var(--tostado); background: var(--leche); }
.searchbar form { display: flex; gap: 10px; padding-block: 12px; }
.searchbar input { flex: 1; min-width: 0; }

/* ---------- Campos ---------- */
.field { display: grid; gap: 6px; }
.field label, .label { font-size: 13px; font-weight: 500; }
.input, .select, textarea.input {
  width: 100%; min-height: 46px; padding: 10px 16px; border-radius: var(--r-sm);
  border: 1.5px solid var(--borde); background: var(--leche); font-size: 14.5px; font-weight: 400;
}
textarea.input { min-height: 110px; resize: vertical; }
.input:focus, .select:focus { outline: none; border-color: var(--cobalto); box-shadow: 0 0 0 3px rgba(74, 111, 181, .18); }
.input::placeholder { color: #8C93A3; }
.hint { font-size: 12.5px; color: var(--tinta-suave); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }

/* ---------- Texturas del manual ---------- */
.cuadrille {
  background-color: var(--leche);
  background-image:
    linear-gradient(90deg, rgba(74, 111, 181, .26) 50%, transparent 50%),
    linear-gradient(rgba(74, 111, 181, .26) 50%, transparent 50%);
  background-size: 28px 28px;
}
.lunares { background-color: var(--crema); background-image: radial-gradient(rgba(74, 111, 181, .28) 2px, transparent 2.5px); background-size: 22px 22px; }
.rayas { background: repeating-linear-gradient(90deg, var(--cobalto) 0 14px, var(--leche) 14px 28px); }
.festoneado-arriba, .festoneado-abajo { height: 18px; background-repeat: repeat-x; background-size: 36px 18px; }
.festoneado-arriba { background-image: radial-gradient(circle at 18px 18px, var(--c, var(--cobalto)) 17px, transparent 17.5px); }
.festoneado-abajo { background-image: radial-gradient(circle at 18px 0, var(--c, var(--cobalto)) 17px, transparent 17.5px); }

/* ---------- Secciones ---------- */
.section { padding-block: 64px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.section-head p { max-width: 52ch; margin-top: 8px; }

/* Hero */
.hero { padding-block: 48px 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); letter-spacing: -.01em; margin-top: 14px; }
.hero p.lead { font-size: 17px; max-width: 42ch; margin-top: 18px; color: var(--tinta-suave); }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero .perks { display: flex; gap: 10px 22px; flex-wrap: wrap; margin-top: 30px; font-size: 13px; font-weight: 400; }
.hero .perks span { display: inline-flex; align-items: center; gap: 8px; }
.hero .perks .icon { width: 20px; height: 20px; color: var(--hoja); }
.arco { position: relative; max-width: 520px; justify-self: end; width: 100%; }
.arco-marco { border-radius: 260px 260px 28px 28px; padding: 22px; }
.arco-foto { aspect-ratio: 4 / 4.4; border-radius: 240px 240px 16px 16px; overflow: hidden; background: var(--tostado); max-width: 100%; }
.arco-foto img { width: 100%; height: 100%; object-fit: cover; }
.sello {
  position: absolute; left: -22px; bottom: 54px; width: 128px; height: 128px; border-radius: 50%;
  background: var(--coral); color: var(--tinta); display: grid; place-content: center; text-align: center;
  font-family: var(--f-titulo); font-size: 15px; line-height: 1.15; transform: rotate(-9deg);
  box-shadow: 0 0 0 6px var(--crema); text-decoration: none;
}
.sello strong { display: block; font-size: 23px; font-weight: 600; }
.sello small { font-family: var(--f-texto); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }

/* Categorías */
.cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.cat-card {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-md);
  background: var(--leche); text-decoration: none; border: 1px solid var(--tostado); transition: transform .18s, border-color .18s;
}
.cat-card:hover { transform: translateY(-2px); border-color: var(--cobalto); }
.cat-card strong { font-family: var(--f-titulo); font-weight: 600; font-size: 16px; display: block; line-height: 1.2; }
.cat-card span { font-size: 12px; color: var(--tinta-suave); }
.cat-dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--leche); }
.cat-dot .icon { width: 22px; height: 22px; }
.cat-dot.c-combos { background: var(--coral); color: var(--tinta); }
.cat-dot.c-vajilla { background: var(--cobalto); }
.cat-dot.c-cristaleria { background: var(--coral); color: var(--tinta); }
.cat-dot.c-cubiertos { background: var(--tinta); }
.cat-dot.c-utensilios { background: var(--hoja); }
.cat-dot.c-individuales { background: var(--tostado); color: var(--tinta); }

/* Grilla de productos */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--leche); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--tostado); }
.card-img { position: relative; display: block; aspect-ratio: 1 / 1; background: #F1EEE8; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.card-img .alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .card-img .alt { opacity: 1; }
.card:hover .card-img img { transform: scale(1.03); }
.card-tags { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.tag { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: var(--r-pill); background: var(--leche); color: var(--tinta); }
.tag-coral { background: var(--coral); color: var(--tinta); }
.tag-azul { background: var(--cobalto); color: var(--leche); }
.fav-btn {
  position: absolute; top: 8px; right: 8px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: var(--leche); display: grid; place-items: center; cursor: pointer; color: var(--coral-osc);
  box-shadow: 0 2px 8px -2px rgba(36, 56, 95, .25); transition: transform .15s;
}
.fav-btn:hover { transform: scale(1.08); }
.fav-btn .icon { width: 19px; height: 19px; }
.fav-btn .on { display: none; }
.fav-btn[aria-pressed="true"] .on { display: block; }
.fav-btn[aria-pressed="true"] .off { display: none; }
.fav-btn.pop { animation: pop .35s ease; }
@keyframes pop { 50% { transform: scale(1.25); } }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.card-line { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--hoja); font-weight: 500; }
.card-name { font-family: var(--f-titulo); font-weight: 600; font-size: 16.5px; line-height: 1.25; text-decoration: none; }
.card-name:hover { color: var(--cobalto); }
.price { font-weight: 500; font-size: 17px; color: var(--cobalto); font-variant-numeric: tabular-nums; }
.price s { color: var(--tinta-suave); font-weight: 300; font-size: 13px; margin-left: 6px; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
.unit { font-size: 11.5px; color: var(--tinta-suave); }
.card .btn-add { margin-top: 12px; }

/* Bandas */
.band-azul { background: var(--cobalto); color: var(--leche); }
.band-azul h2, .band-azul h3 { color: var(--leche); }
.band-azul h2 em { color: var(--coral); }
.band-azul .eyebrow { color: var(--coral); }
.band-azul .muted { color: #DCE3F2; }
.band-leche { background: var(--leche); }

.combos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.combos .card { border: 0; color: var(--tinta); }

.pasos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: paso; }
.paso { background: var(--leche); border-radius: var(--r-md); padding: 26px; border: 1px solid var(--tostado); position: relative; }
.paso::before {
  counter-increment: paso; content: counter(paso); position: absolute; top: 22px; right: 22px;
  font-family: var(--f-titulo); font-style: italic; font-size: 44px; line-height: 1; color: var(--tostado);
}
.paso .cat-dot { margin-bottom: 16px; }
.paso h3 { font-size: 21px; margin-bottom: 8px; }

.manifiesto { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.manifiesto img { width: 100%; height: auto; aspect-ratio: 1 / 1; max-width: 300px; border-radius: 50%; box-shadow: 0 0 0 10px var(--leche), 0 0 0 11px var(--tostado); }
.manifiesto blockquote { margin: 0; font-family: var(--f-titulo); font-style: italic; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; color: var(--tinta); }
.manifiesto blockquote em { color: var(--cobalto); }
.manifiesto p { margin-top: 18px; max-width: 58ch; }

.insta { display: grid; grid-template-columns: 1.1fr repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.insta-intro { background: var(--leche); border-radius: var(--r-md); padding: 24px; display: flex; flex-direction: column; gap: 10px; justify-content: center; border: 1px solid var(--tostado); }
.insta-intro h3 { font-size: 24px; }
.insta a.foto { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1 / 1; display: block; max-width: 100%; }
.insta a.foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.insta a.foto:hover img { transform: scale(1.05); }

/* Footer */
.footer { background: var(--tinta); color: #DCE3F2; margin-top: 0; }
.footer .festoneado-abajo { --c: var(--crema); background-color: var(--tinta); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-block: 48px 36px; }
.footer h4 { font-family: var(--f-texto); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--coral); font-weight: 500; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--leche); text-decoration: underline; }
.footer .brand-name { color: var(--leche); }
.footer .brand img { border-color: var(--leche); }
.footer .about { margin-top: 16px; font-size: 14px; max-width: 34ch; }
.footer .legal { border-top: 1px solid rgba(220, 227, 242, .18); padding-block: 18px; font-size: 12.5px; display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; }
.footer .legal a { text-decoration: underline; }
.footer .contact-line { display: flex; align-items: center; gap: 10px; }
.footer .contact-line .icon { width: 18px; height: 18px; color: var(--coral); }
.pago-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.pago-chips span { font-size: 11.5px; padding: 4px 10px; border-radius: var(--r-pill); border: 1px solid rgba(220, 227, 242, .3); }

/* WhatsApp flotante */
.wa-float {
  position: fixed; z-index: 40; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: var(--r-pill);
  background: var(--hoja); color: var(--leche); text-decoration: none; font-weight: 500; font-size: 14px;
  box-shadow: 0 10px 24px -10px rgba(36, 56, 95, .6); transition: transform .18s, background .18s;
}
.wa-float:hover { background: var(--hoja-osc); transform: translateY(-2px); }
.wa-float .icon { width: 26px; height: 26px; }

/* ---------- Encabezado de páginas internas ---------- */
.page-head { padding-block: 36px 28px; }
.page-head h1 { font-size: clamp(32px, 4.4vw, 50px); margin-top: 10px; }
.page-head p { margin-top: 10px; max-width: 60ch; color: var(--tinta-suave); }
.crumbs { font-size: 12.5px; display: flex; gap: 6px; flex-wrap: wrap; color: var(--tinta-suave); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--cobalto); text-decoration: underline; }
.crumbs span[aria-hidden] { color: var(--coral-osc); }

/* Catálogo */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--r-pill);
  background: var(--leche); border: 1.5px solid var(--borde); font-size: 13.5px; font-weight: 400; text-decoration: none; white-space: nowrap;
}
.chip:hover { border-color: var(--cobalto); }
.chip[aria-current="page"] { background: var(--cobalto); border-color: var(--cobalto); color: var(--leche); font-weight: 500; }
.chip small { font-size: 11px; opacity: .7; }
.toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-block: 22px; }
.toolbar .count { font-size: 13.5px; color: var(--tinta-suave); }
.toolbar .controls { display: flex; gap: 10px; flex-wrap: wrap; }
.toolbar .input, .toolbar .select { min-height: 42px; width: auto; }
.toolbar .input { width: 240px; max-width: 100%; }
.empty { text-align: center; padding: 56px 20px; background: var(--leche); border-radius: var(--r-lg); border: 1.5px dashed var(--borde); }
.empty .cat-dot { margin: 0 auto 16px; width: 64px; height: 64px; }
.empty .cat-dot .icon { width: 30px; height: 30px; }
.empty h2 { font-size: 26px; margin-bottom: 8px; }
.empty p { max-width: 44ch; margin: 0 auto 20px; color: var(--tinta-suave); }

/* Producto */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; padding-bottom: 56px; }
.gallery { display: grid; grid-template-columns: 76px 1fr; gap: 14px; }
.gallery .main { aspect-ratio: 1 / 1; border-radius: var(--r-lg); overflow: hidden; background: #F1EEE8; position: relative; max-width: 100%; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; gap: 10px; align-content: start; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; cursor: pointer; aspect-ratio: 1 / 1; background: #F1EEE8; }
.thumbs button[aria-current="true"] { border-color: var(--cobalto); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { font-size: clamp(30px, 3.4vw, 42px); margin-top: 8px; }
.pdp-info .price { font-size: 28px; margin-top: 14px; display: block; }
.pdp-info .price s { font-size: 16px; }
.pdp-info .desc { margin-top: 16px; font-size: 15.5px; max-width: 54ch; }
.stock-note { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--coral-osc); margin-top: 12px; }
.stock-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.buy { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; align-items: center; }
.buy .btn-primary { flex: 1; min-width: 200px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--borde); border-radius: var(--r-pill); background: var(--leche); height: 46px; }
.qty button { width: 42px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 18px; color: var(--tinta); border-radius: var(--r-pill); }
.qty button:hover { color: var(--cobalto); }
.qty input { width: 38px; text-align: center; border: 0; background: none; font-weight: 500; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.sm { height: 38px; }
.qty.sm button { width: 34px; }
.fav-big { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--borde); background: var(--leche); display: grid; place-items: center; cursor: pointer; color: var(--coral-osc); }
.fav-big .on { display: none; }
.fav-big[aria-pressed="true"] .on { display: block; }
.fav-big[aria-pressed="true"] .off { display: none; }
.wa-consulta { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; font-weight: 500; color: var(--hoja-osc); text-decoration: none; }
.wa-consulta:hover { text-decoration: underline; }
.wa-consulta .icon { width: 20px; height: 20px; }
.perks-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 0; border-radius: var(--r-md); background: var(--leche); border: 1px solid var(--tostado); }
.perks-list li { display: flex; gap: 14px; padding: 14px 18px; font-size: 13.5px; align-items: flex-start; }
.perks-list li + li { border-top: 1px solid var(--tostado); }
.perks-list .icon { color: var(--cobalto); margin-top: 1px; }
.perks-list strong { font-weight: 500; display: block; }
.specs { margin-top: 26px; }
.specs h2 { font-size: 20px; margin-bottom: 10px; }
.specs table { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px dashed var(--borde); vertical-align: top; }
.specs th { font-weight: 500; width: 42%; padding-right: 12px; }
.incluye { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.incluye a { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 8px; border-radius: var(--r-sm); background: var(--leche); border: 1px solid var(--tostado); }
.incluye a:hover { border-color: var(--cobalto); }
.incluye img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.incluye span { font-size: 14px; font-weight: 400; }

/* Carrito (página) */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; padding-bottom: 64px; }
.cart-list { display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; background: var(--leche); border-radius: var(--r-md); padding: 12px; border: 1px solid var(--tostado); }
.cart-item img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--r-sm); }
.cart-item .name { font-family: var(--f-titulo); font-weight: 600; font-size: 17px; text-decoration: none; line-height: 1.25; }
.cart-item .meta { font-size: 12.5px; color: var(--tinta-suave); }
.cart-item .right { display: grid; justify-items: end; gap: 10px; }
.cart-item .line-total { font-weight: 500; font-variant-numeric: tabular-nums; }
.remove { background: none; border: 0; cursor: pointer; font-size: 12.5px; color: var(--tinta-suave); text-decoration: underline; padding: 0; }
.remove:hover { color: var(--coral-osc); }
.summary { background: var(--leche); border-radius: var(--r-lg); padding: 24px; border: 1px solid var(--tostado); position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); }
.summary h2 { font-size: 22px; margin-bottom: 14px; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.summary .row.total { border-top: 1.5px solid var(--tostado); margin-top: 6px; padding-top: 14px; font-size: 18px; font-weight: 500; }
.summary .row.total span:last-child { color: var(--cobalto); }
.summary .btn { margin-top: 16px; }
.summary .mini-items { display: grid; gap: 10px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--tostado); }
.mini-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; font-size: 13px; }
.mini-item img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.mini-item .q { color: var(--tinta-suave); font-size: 12px; }
.trust { display: grid; gap: 8px; margin-top: 16px; font-size: 12.5px; color: var(--tinta-suave); }
.trust span { display: flex; gap: 8px; align-items: center; }
.trust .icon { width: 17px; height: 17px; color: var(--hoja); }

/* Drawer del carrito + menú móvil */
.scrim { position: fixed; inset: 0; background: rgba(36, 56, 95, .38); z-index: 70; opacity: 0; transition: opacity .2s; }
.scrim.show { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(420px, 100%); background: var(--crema);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease;
  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.left { right: auto; left: 0; transform: translateX(-100%); padding-right: 0; padding-left: env(safe-area-inset-left, 0px); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: var(--leche); border-bottom: 1px solid var(--tostado); }
.drawer-head h2 { font-size: 22px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; display: grid; gap: 12px; align-content: start; }
.drawer-foot { padding: 18px 20px; background: var(--leche); border-top: 1px solid var(--tostado); display: grid; gap: 10px; }
.drawer-foot .row { display: flex; justify-content: space-between; font-size: 16px; font-weight: 500; }
.drawer .cart-item { grid-template-columns: 72px 1fr; }
.drawer .cart-item img { width: 72px; height: 72px; }
.drawer .cart-item .right { grid-column: 2; justify-items: start; grid-auto-flow: column; align-items: center; justify-content: space-between; }
.mobile-nav { display: grid; gap: 2px; }
.mobile-nav a { padding: 12px 8px; text-decoration: none; font-size: 16px; border-bottom: 1px solid var(--tostado); display: flex; align-items: center; gap: 12px; }
.mobile-nav .sub { padding-left: 20px; font-size: 14.5px; }
.mobile-nav .sub .cat-dot { width: 28px; height: 28px; }
.mobile-nav .sub .cat-dot .icon { width: 15px; height: 15px; }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); z-index: 90;
  background: var(--tinta); color: var(--leche); padding: 12px 20px; border-radius: var(--r-pill); font-size: 14px; font-weight: 400;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; display: flex; gap: 10px; align-items: center; max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast .icon { width: 18px; height: 18px; color: var(--coral); }

/* Checkout */
.steps-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; font-size: 13px; }
.steps-bar span { padding: 6px 14px; border-radius: var(--r-pill); background: var(--leche); border: 1px solid var(--tostado); }
.steps-bar span.on { background: var(--cobalto); border-color: var(--cobalto); color: var(--leche); font-weight: 500; }
.co-block { background: var(--leche); border-radius: var(--r-lg); padding: 26px; border: 1px solid var(--tostado); }
.co-block + .co-block { margin-top: 16px; }
.co-block h2 { font-size: 22px; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.co-block h2 .n { width: 30px; height: 30px; border-radius: 50%; background: var(--cobalto); color: var(--leche); font-family: var(--f-texto); font-size: 14px; font-weight: 500; display: grid; place-items: center; flex: none; }
.options { display: grid; gap: 10px; }
.option { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--borde); border-radius: var(--r-md); cursor: pointer; background: var(--leche); }
.option:has(input:checked) { border-color: var(--cobalto); background: #F3F5FB; }
.option input { accent-color: var(--cobalto); width: 18px; height: 18px; }
.option strong { font-weight: 500; display: block; font-size: 14.5px; }
.option small { font-size: 12.5px; color: var(--tinta-suave); }
.option .cost { font-weight: 500; font-variant-numeric: tabular-nums; }
.mp-box { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: var(--r-md); background: #EEF2FA; border: 1.5px solid var(--cobalto); }
.mp-logo { width: 54px; height: 54px; border-radius: 50%; background: var(--cobalto); color: var(--leche); display: grid; place-items: center; font-weight: 600; font-size: 13px; flex: none; letter-spacing: .02em; }
.notice { padding: 12px 16px; border-radius: var(--r-md); background: #FBEDE7; color: #7A3A2A; font-size: 13px; display: flex; gap: 10px; align-items: flex-start; }
.notice .icon { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.notice.ok { background: #EEF1E8; color: var(--hoja-osc); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 20px; background: rgba(36, 56, 95, .42); }
.modal-card { background: var(--leche); border-radius: var(--r-lg); padding: 30px; max-width: 460px; width: 100%; text-align: center; box-shadow: var(--sombra); }
.modal-card .cat-dot { margin: 0 auto 14px; width: 60px; height: 60px; }
.modal-card h2 { font-size: 26px; margin-bottom: 10px; }
.modal-card p { color: var(--tinta-suave); }
.modal-card .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

/* Cuenta */
.auth { max-width: 470px; margin: 0 auto 64px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--tostado); border-radius: var(--r-pill); padding: 4px; margin-bottom: 18px; }
.tabs button { border: 0; background: none; padding: 10px; border-radius: var(--r-pill); cursor: pointer; font-weight: 400; }
.tabs button[aria-selected="true"] { background: var(--leche); font-weight: 500; color: var(--cobalto); box-shadow: 0 1px 4px rgba(36, 56, 95, .12); }
.auth form { display: grid; gap: 14px; }
.divider { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--tinta-suave); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--borde); }
.btn-google { background: var(--leche); border-color: var(--borde); color: var(--tinta); }
.btn-google:hover { border-color: var(--tinta); }
.account { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; padding-bottom: 64px; }
.account-nav { background: var(--leche); border-radius: var(--r-lg); padding: 10px; border: 1px solid var(--tostado); display: grid; gap: 2px; }
.account-nav button, .account-nav a { text-align: left; border: 0; background: none; padding: 11px 14px; border-radius: var(--r-sm); cursor: pointer; text-decoration: none; font-size: 14.5px; display: flex; gap: 10px; align-items: center; }
.account-nav [aria-selected="true"] { background: var(--crema); color: var(--cobalto); font-weight: 500; }
.account-nav .icon { width: 19px; height: 19px; }
.order { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 16px 0; border-bottom: 1px dashed var(--borde); font-size: 14px; }
.status { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--r-pill); background: #EEF1E8; color: var(--hoja-osc); justify-self: end; }

/* Textos largos */
.prose { max-width: 68ch; font-size: 15.5px; }
.prose > * + * { margin-top: 14px; }
.prose h2 { font-size: 26px; margin-top: 34px; }
.prose ul { padding-left: 20px; }
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--leche); border-radius: var(--r-md); border: 1px solid var(--tostado); }
.faq summary { cursor: pointer; padding: 18px 22px; font-family: var(--f-titulo); font-weight: 600; font-size: 17.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-texto); font-weight: 300; font-size: 24px; line-height: 1; color: var(--cobalto); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 20px; font-size: 14.5px; max-width: 70ch; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; padding-bottom: 64px; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 18px; background: var(--leche); border-radius: var(--r-md); border: 1px solid var(--tostado); text-decoration: none; }
.contact-card:hover { border-color: var(--cobalto); }
.contact-card strong { display: block; font-weight: 500; }
.contact-card span { font-size: 13.5px; color: var(--tinta-suave); word-break: break-word; }
.pendiente { display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--coral); color: var(--tinta); padding: 2px 8px; border-radius: var(--r-pill); margin-left: 6px; vertical-align: middle; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .brand { margin-right: auto; }
}
@media (max-width: 1080px) {
  .menu-btn { display: grid; }
  .header .wrap { gap: 10px; }
  .brand { margin-right: auto; }
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid, .combos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .insta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .insta-intro { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero .wrap, .pdp, .cart-layout, .two-col, .account, .manifiesto { grid-template-columns: 1fr; }
  .hero .wrap { gap: 32px; }
  .arco { justify-self: center; max-width: 440px; }
  .manifiesto { gap: 28px; justify-items: center; text-align: center; }
  .manifiesto p { margin-inline: auto; }
  .manifiesto img { max-width: 220px; }
  .pasos { grid-template-columns: 1fr; }
  .summary { position: static; }
  .pdp { gap: 28px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 14.5px; }
  .topbar span:nth-child(n+2) { display: none; }
  .header .wrap { min-height: 64px; }
  .brand img { width: 46px; height: 46px; }
  .brand-name { font-size: 19px; }
  .actions .hide-sm { display: none; }
  .section { padding-block: 44px; }
  .hero { padding-block: 28px 24px; }
  .hero .perks { gap: 10px 16px; }
  .sello { width: 100px; height: 100px; left: -6px; bottom: 30px; font-size: 13px; }
  .sello strong { font-size: 18px; }
  .arco-marco { padding: 14px; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat-card { padding: 12px; gap: 10px; }
  .cat-card strong { font-size: 14.5px; }
  .cat-card div span { display: none; }
  .cat-dot { width: 38px; height: 38px; }
  .grid, .combos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .card-body { padding: 10px 12px 12px; }
  .card-name { font-size: 14.5px; }
  .price { font-size: 15px; }
  .card .btn-add { min-height: 36px; padding: 0 10px; font-size: 12.5px; }
  .fav-btn { width: 34px; height: 34px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { grid-auto-flow: column; grid-auto-columns: 64px; overflow-x: auto; order: 2; }
  .form-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 76px 1fr; }
  .cart-item img { width: 76px; height: 76px; }
  .cart-item .right { grid-column: 2; justify-items: start; grid-auto-flow: column; align-items: center; justify-content: space-between; }
  .wa-float span { display: none; }
  .wa-float { width: 56px; padding: 0; justify-content: center; }
  .toolbar .controls, .toolbar .input { width: 100%; }
  .toolbar .select { flex: 1; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .co-block { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* reCAPTCHA */
.captcha { min-height: 78px; }
.captcha-demo {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: var(--r-sm);
  border: 1.5px solid var(--borde); background: #FAFAFA; font-size: 14px; font-weight: 400; max-width: 320px; cursor: pointer;
}
.captcha-demo input { width: 22px; height: 22px; accent-color: var(--cobalto); }
.captcha-demo small { flex-basis: 100%; font-size: 11px; color: var(--tinta-suave); }

/* Cartel de bienvenida */
.pop { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: 16px; background: rgba(36, 56, 95, .45); animation: pop-in .25s ease; }
@keyframes pop-in { from { opacity: 0; } }
.pop-card { position: relative; width: 100%; max-width: 720px; max-height: calc(100vh - 32px); overflow: auto; display: grid; grid-template-columns: 0.9fr 1.1fr; background: var(--leche); border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgba(36, 56, 95, .6); }
.pop-side { display: grid; place-items: center; padding: 26px; border-radius: var(--r-lg) 0 0 var(--r-lg); }
.pop-side img { width: 100%; max-width: 240px; border-radius: 50%; box-shadow: 0 0 0 8px var(--leche); }
.pop-body { padding: 34px 30px 24px; display: grid; gap: 12px; align-content: start; }
.pop-badge { justify-self: start; display: inline-flex; align-items: baseline; gap: 6px; background: var(--coral); color: var(--tinta); border-radius: var(--r-pill); padding: 4px 14px; font-weight: 600; font-size: 13px; letter-spacing: .08em; transform: rotate(-3deg); }
.pop-badge strong { font-family: var(--f-titulo); font-size: 24px; letter-spacing: 0; }
.pop-body h2 { font-size: 28px; }
.pop-body > p { color: var(--tinta-suave); }
.pop-body form { display: grid; gap: 10px; margin-top: 4px; }
.pop-close { position: absolute; top: 10px; right: 10px; background: var(--leche); z-index: 2; }
.pop-fine { font-size: 11.5px; color: var(--tinta-suave); }
.pop-no { background: none; border: 0; color: var(--tinta-suave); text-decoration: underline; cursor: pointer; font-size: 13px; justify-self: center; padding: 4px; }
.pop-done { display: grid; gap: 12px; }
.pop-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 2px dashed var(--cobalto); border-radius: var(--r-md); background: var(--crema); }
.pop-code span { font-family: var(--f-titulo); font-size: 22px; font-weight: 600; letter-spacing: .06em; word-break: break-all; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 640px) {
  .pop { align-items: end; padding: 0; }
  .pop-card { grid-template-columns: 1fr; border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 92vh; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .pop-side { padding: 18px; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .pop-side img { max-width: 110px; }
  .pop-body { padding: 18px 20px 20px; }
  .pop-body h2 { font-size: 23px; }
}

/* Cupón en el checkout */
.coupon { margin-top: 10px; border-top: 1px dashed var(--borde); padding-top: 10px; }
.coupon summary { cursor: pointer; font-size: 13.5px; color: var(--cobalto); font-weight: 500; }
.coupon-row { display: flex; gap: 8px; margin-top: 10px; }
.coupon-row .input { min-height: 40px; text-transform: uppercase; }
.coupon .hint { margin-top: 6px; }
.coupon .hint.ok { color: var(--hoja-osc); font-weight: 500; }
.coupon .hint.err { color: var(--coral-osc); }
[data-disc-row] span:last-child { color: var(--hoja-osc); }
[data-disc-code] { font-size: 11.5px; color: var(--tinta-suave); }

/* Banda para invitar a comprar (páginas informativas) */
.cta-band { margin-top: 24px; }
.cta-band .cta-inner { background: var(--cobalto); color: var(--leche); padding-block: 48px 56px; }
.cta-band h2 { color: var(--leche); font-size: clamp(26px, 3.4vw, 36px); }
.cta-band .eyebrow { color: var(--coral); }
.cta-band .muted { color: #DCE3F2; }
.cta-band .card { border: 0; color: var(--tinta); }
.cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-outline-light { border-color: var(--leche); color: var(--leche); background: transparent; }
.btn-outline-light:hover { background: var(--leche); color: var(--cobalto); }
.footer-cta { margin-top: 16px; }

/* Crédito del estudio */
.credit { display: inline-flex; align-items: center; gap: 6px; }
.credit a { font-weight: 500; }
.credit .credit-ig { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; text-decoration: none; }
.credit .credit-ig:hover { background: rgba(255, 255, 255, .1); }
.credit .icon { width: 17px; height: 17px; color: var(--coral); }
