/* =========================================================
   Es Tu Familia — tienda de servicios
   Paleta: ciruela (texto), lila bruma (superficies), rosa (acción),
   salvia (confirmación), y un color por etapa de la familia.
   ========================================================= */
:root {
  --plum: #2A1630;
  --plum-2: #4A3352;
  --muted: #6E5E74;
  --paper: #FFFFFF;
  --mist: #F5F0F8;
  --mist-2: #EADFF0;
  --line: #E2D6E8;
  --rose: #D63F62;
  --rose-dark: #B32D4E;
  --rose-soft: #FCE8ED;
  --sage: #4F7D64;
  --sage-soft: #E5F0E9;
  --butter: #F6D27A;
  --err: #B3261E;
  --err-soft: #FCEBEA;

  --et-planificacion: #8C7BC4;
  --et-embarazo: #D63F62;
  --et-parto: #D9932A;
  --et-postparto: #4F7D64;
  --et-crianza: #3F7FB5;
  --et-pareja: #94336A;

  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 28px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--plum);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 650; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: 1.15rem; color: var(--plum-2); max-width: 62ch; }
.sr, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--plum); color: #fff; padding: 8px 14px; border-radius: var(--r-sm); }
.hp { position: absolute; left: -9999px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 1rem/1 var(--body);
  padding: .85em 1.4em;
  border-radius: 999px;
  border: 2px solid var(--rose);
  background: var(--rose); color: #fff;
  text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, transform .1s;
}
.btn:hover { background: var(--rose-dark); border-color: var(--rose-dark); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn-ghost:hover { background: var(--plum); color: #fff; border-color: var(--plum); }
.btn-light { background: #fff; color: var(--plum); border-color: #fff; }
.btn-light:hover { background: var(--butter); border-color: var(--butter); }
.btn-sm { padding: .6em 1.05em; font-size: .9rem; }
.btn-lg { padding: 1em 1.7em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.link { color: var(--rose-dark); font-weight: 600; text-underline-offset: 3px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: .875rem; color: var(--muted); text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--err); }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand img { height: 44px; width: auto; }
.brand-text { font: 800 1.3rem var(--display); text-decoration: none; }
.brand { text-decoration: none; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { text-decoration: none; font-weight: 500; padding: .5em .85em; border-radius: 999px; color: var(--plum-2); }
.main-nav a:hover { background: var(--mist); color: var(--plum); }
.main-nav a[aria-current] { background: var(--mist-2); color: var(--plum); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; padding: .55em 1em; border-radius: 999px; border: 1.5px solid var(--plum); }
.cart-btn:hover { background: var(--plum); color: #fff; }
.cart-count { background: var(--rose); color: #fff; font-size: .75rem; font-weight: 700; min-width: 22px; height: 22px; border-radius: 11px; display: inline-grid; place-items: center; padding: 0 6px; }
.cart-count[hidden] { display: none; }
.cart-btn.bump .cart-count { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-toggle span[aria-hidden], .menu-toggle span[aria-hidden]::before, .menu-toggle span[aria-hidden]::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--plum); content: ""; transition: transform .2s; }
.menu-toggle span[aria-hidden] { top: 21px; }
.menu-toggle span[aria-hidden]::before { left: 0; top: -7px; }
.menu-toggle span[aria-hidden]::after { left: 0; top: 7px; }
.menu-toggle[aria-expanded="true"] span[aria-hidden] { background: transparent; }
.menu-toggle[aria-expanded="true"] span[aria-hidden]::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span[aria-hidden]::after { transform: translateY(-7px) rotate(-45deg); }

.flash { padding: 12px 0; font-weight: 500; }
.flash-ok { background: var(--sage-soft); color: #234534; }
.flash-err { background: var(--err-soft); color: var(--err); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--mist) 0%, var(--paper) 100%); padding: clamp(32px, 6vw, 72px) 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero-kicker { font-weight: 600; color: var(--rose-dark); margin-bottom: .75em; }
.hero h1 { max-width: 15ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-proof { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--muted); font-size: .95rem; }
.hero-proof strong { color: var(--plum); }
.hero-art { margin: 0; position: relative; }
.hero-art img {
  width: 100%; aspect-ratio: 9 / 10; object-fit: cover; object-position: center top;
  border-radius: 999px 999px var(--r-lg) var(--r-lg);
  background: var(--mist-2);
}

/* ---------- Ruta de etapas (elemento firma) ---------- */
.ruta-wrap { margin-top: clamp(36px, 6vw, 64px); }
.ruta-title { font: 650 1.25rem var(--display); margin-bottom: 14px; }
.ruta ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.ruta ol::before { content: ""; position: absolute; left: 22px; right: 22px; top: 21px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--et-planificacion), var(--et-embarazo), var(--et-parto), var(--et-postparto), var(--et-crianza), var(--et-pareja)); }
.ruta-stop { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 0 10px 8px 0; text-decoration: none; }
.ruta-n {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font: 800 1.05rem var(--display); background: #fff; color: var(--c); border: 3px solid var(--c);
  margin-bottom: 10px; transition: background .15s, color .15s, transform .15s;
}
.ruta-name { font: 650 1.1rem var(--display); }
.ruta-sub { font-size: .85rem; color: var(--muted); line-height: 1.35; }
.ruta-stop:hover .ruta-n { background: var(--c); color: #fff; transform: translateY(-2px); }
.ruta-stop[aria-current] .ruta-n { background: var(--c); color: #fff; box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 22%, transparent); }
.ruta-stop[aria-current] .ruta-name { color: var(--c); }
.ruta-compact { margin-top: 28px; }
.ruta-compact .ruta-sub { display: none; }

.et-planificacion { --c: var(--et-planificacion); }
.et-embarazo { --c: var(--et-embarazo); }
.et-parto { --c: var(--et-parto); }
.et-postparto { --c: var(--et-postparto); }
.et-crianza { --c: var(--et-crianza); }
.et-pareja { --c: var(--et-pareja); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--rose)); margin-right: 7px; vertical-align: 1px; }

/* ---------- Secciones ---------- */
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section-tight { padding-top: clamp(24px, 4vw, 40px); }
.band-mist { background: var(--mist); }
.band-plum { background: var(--plum); color: #F3EAF6; }
.band-plum h2 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.page-head { background: var(--mist); padding: clamp(36px, 6vw, 64px) 0 clamp(28px, 4vw, 40px); }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.page-head .lead { margin-bottom: 0; }
.page-head-sm h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }

/* ---------- Tarjetas de servicio ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.grid-cards-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-cards-2 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .15s; }
.card:hover { border-color: var(--plum-2); }
.card-media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--mist); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-placeholder { width: 100%; height: 100%; display: grid; place-items: center; font: 800 3.4rem var(--display); color: #fff;
  background: radial-gradient(120% 120% at 0% 100%, color-mix(in srgb, var(--c) 80%, #000 10%), var(--c)); }
.card-placeholder.big { aspect-ratio: 4 / 3; font-size: 6rem; border-radius: var(--r-lg); }
.badge { position: absolute; top: 12px; left: 12px; background: var(--butter); color: var(--plum); font-size: .78rem; font-weight: 700; padding: .3em .75em; border-radius: 999px; }
.card-body { display: flex; flex-direction: column; padding: 18px 20px 20px; flex: 1; }
.card-meta { font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.card-title { margin-bottom: 6px; }
.card-title a { text-decoration: none; }
.card-title a:hover { color: var(--rose-dark); }
.card-text { color: var(--plum-2); font-size: .95rem; margin-bottom: 16px; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font: 800 1.25rem var(--display); margin: 0; letter-spacing: -0.01em; }
.price s { font-size: .8em; color: var(--muted); font-weight: 500; margin-right: 4px; }
.price-lg { font-size: 2rem; }

/* ---------- Programa Inicio Feliz ---------- */
.program { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.eyebrow-soft { color: var(--butter); font-weight: 600; margin-bottom: .5em; }
.program-buy { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.program-buy .price { color: #fff; }
.save { display: block; font: 500 .95rem var(--body); color: var(--butter); margin-top: 4px; letter-spacing: 0; }
.modules { list-style: none; counter-reset: mod; margin: 0; padding: 0; display: grid; gap: 4px; }
.modules li { counter-increment: mod; }
.modules a { display: grid; grid-template-columns: 52px 1fr; column-gap: 12px; padding: 16px 0; text-decoration: none; border-top: 1px solid rgba(255,255,255,.16); }
.modules li:last-child a { border-bottom: 1px solid rgba(255,255,255,.16); }
.modules a::before { content: counter(mod, decimal-leading-zero); grid-row: span 2; font: 800 1.6rem var(--display); color: var(--butter); }
.mod-name { font: 650 1.15rem var(--display); color: #fff; }
.mod-text { color: #CDBCD4; font-size: .93rem; }
.modules a:hover .mod-name { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Pasos de compra ---------- */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { position: relative; }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--rose-soft); color: var(--rose-dark); font: 800 1.1rem var(--display); margin-bottom: 14px; }
.steps p { color: var(--plum-2); }

/* ---------- Testimonios ---------- */
.quotes { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; margin-top: 28px; align-items: start; }
.quote { margin: 0; background: #fff; border-radius: var(--r); padding: 26px; border: 1px solid var(--line); }
.quote:first-child { background: var(--plum); color: #F3EAF6; border-color: var(--plum); }
.quote:first-child figcaption { color: var(--butter); }
.quote blockquote { margin: 0 0 14px; }
.quote blockquote p { margin: 0; font-size: 1.02rem; }
.quote figcaption { font-weight: 700; color: var(--rose-dark); }

/* ---------- Gift card ---------- */
.gift { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.gift img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Blog ---------- */
.grid-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.post { text-decoration: none; display: block; }
.post img { border-radius: var(--r); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; margin-bottom: 14px; background: var(--mist-2); }
.post h2, .post h3 { font-size: 1.25rem; margin-bottom: 6px; }
.post p { color: var(--plum-2); font-size: .95rem; }
.post time { font-size: .85rem; color: var(--muted); }
.post:hover h2, .post:hover h3 { color: var(--rose-dark); }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pager a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; text-decoration: none; border: 1px solid var(--line); }
.pager a[aria-current] { background: var(--plum); color: #fff; border-color: var(--plum); }
.article { max-width: 760px; }
.article header time { color: var(--muted); }
.article-img { border-radius: var(--r-lg); margin: 24px 0 32px; width: 100%; }
.prose p { font-size: 1.08rem; line-height: 1.75; max-width: 68ch; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }

/* ---------- Contacto ---------- */
.contact-band { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-form, .panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); }
.form-title { font: 650 1.3rem var(--display); margin-bottom: 16px; }

/* ---------- Formularios ---------- */
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 16px; }
input, select, textarea {
  display: block; width: 100%; margin-top: 6px;
  font: 400 1rem var(--body); color: var(--plum);
  padding: .75em .9em; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px var(--rose-soft); }
input[aria-invalid="true"] { border-color: var(--err); }
textarea { resize: vertical; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
fieldset { margin: 0 0 24px; }
legend { font: 650 1.3rem var(--display); padding: 0 6px; margin-left: -6px; }
.field-err { display: block; color: var(--err); font-weight: 500; font-size: .85rem; margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { width: auto; margin-top: 4px; accent-color: var(--rose); }
.notice { padding: 16px 18px; border-radius: var(--r-sm); margin-bottom: 20px; }
.notice.ok { background: var(--sage-soft); color: #234534; }
.notice.err { background: var(--err-soft); color: var(--err); }

/* ---------- Tienda / filtros ---------- */
.shop { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.filters { position: sticky; top: 96px; }
.search { display: flex; gap: 8px; margin-bottom: 28px; }
.search input { margin: 0; }
.filter-title { font: 650 1.05rem var(--display); margin-bottom: 8px; }
.filter-list { list-style: none; padding: 0; margin: 0 0 16px; }
.filter-list a { display: flex; justify-content: space-between; gap: 8px; padding: .5em .75em; border-radius: var(--r-sm); text-decoration: none; color: var(--plum-2); font-size: .95rem; }
.filter-list a span { color: var(--muted); font-size: .85rem; }
.filter-list a:hover { background: var(--mist); }
.filter-list a[aria-current] { background: var(--plum); color: #fff; font-weight: 600; }
.filter-list a[aria-current] span { color: #CDBCD4; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.results-bar p { margin: 0; color: var(--muted); }
.sort label { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 500; }
.sort select { margin: 0; width: auto; }
.empty { text-align: center; padding: 56px 20px; background: var(--mist); border-radius: var(--r); }

/* ---------- Ficha de servicio ---------- */
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 24px; }
.crumbs a { color: var(--muted); }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.product-media img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.chip { display: inline-flex; align-items: center; text-decoration: none; font-weight: 600; font-size: .88rem; padding: .35em .85em; border-radius: 999px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); margin-bottom: 14px; }
.product-info h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.buy-box { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.buy-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin: 12px 0 24px; }
.qty { margin: 0; width: 96px; }
.facts { margin: 0; display: grid; gap: 12px; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: .95rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.product-detail { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 64px); margin-top: clamp(40px, 6vw, 72px); }
.includes { background: var(--mist); border-radius: var(--r); padding: 28px; align-self: start; }
.includes h2 { font-size: 1.4rem; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* ---------- Nosotros ---------- */
.about-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.about-head img { border-radius: var(--r-lg); }
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 80px); }
.motto { margin: 0 0 32px; padding: 28px; background: var(--plum); color: #fff; border-radius: var(--r); }
.motto p { font: 650 1.5rem/1.2 var(--display); margin-bottom: 12px; }
.motto footer { color: var(--butter); font-size: .9rem; }
.stats { margin: 0; display: grid; gap: 16px; }
.stats div { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.stats dt { color: var(--muted); }
.stats dd { margin: 0; font: 800 2rem var(--display); }

/* ---------- Carrito y checkout ---------- */
.checkout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.checkout-main { min-width: 0; }
.lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 88px 1fr 84px 120px; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line-media { width: 88px; height: 66px; border-radius: var(--r-sm); overflow: hidden; background: var(--mist); }
.line-media img { width: 100%; height: 100%; object-fit: cover; }
.line-media .card-placeholder { font-size: 1.6rem; }
.line-info { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.line-name { font-weight: 700; text-decoration: none; }
.line-info .muted { font-size: .88rem; }
.line-qty { margin: 0; }
.line-qty input { margin: 0; text-align: center; }
.line-total { margin: 0; text-align: right; font-weight: 700; }
.cart-actions { display: flex; gap: 20px; align-items: center; margin-top: 20px; }
.summary { position: sticky; top: 96px; background: var(--mist); border-radius: var(--r); padding: 24px; }
.summary-title { font: 650 1.3rem var(--display); margin-bottom: 14px; }
.summary dl { margin: 0 0 18px; }
.summary dl div { display: flex; justify-content: space-between; padding: 8px 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; }
.summary-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px !important; }
.summary-total dt { color: var(--plum); font-weight: 700; }
.summary-total dd { font: 800 1.6rem var(--display); }
.summary-lines { list-style: none; margin: 0 0 8px; padding: 0; font-size: .93rem; }
.summary-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.summary .btn { margin: 14px 0 12px; }
.summary .link { display: inline-block; }

.progress { list-style: none; display: flex; gap: 8px; margin: 18px 0 0; padding: 0; counter-reset: p; flex-wrap: wrap; }
.progress li { counter-increment: p; display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--muted); padding-right: 18px; }
.progress li::before { content: counter(p); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .8rem; border: 2px solid var(--line); background: #fff; }
.progress li.done::before { content: "✓"; background: var(--sage); color: #fff; border-color: var(--sage); }
.progress li[aria-current] { color: var(--plum); font-weight: 700; }
.progress li[aria-current]::before { border-color: var(--rose); background: var(--rose); color: #fff; }

.pay-options { display: grid; gap: 12px; }
.pay-option { margin: 0; cursor: pointer; }
.pay-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pay-card { display: block; padding: 16px 18px 16px 52px; border: 1.5px solid var(--line); border-radius: var(--r); position: relative; transition: border-color .15s, background .15s; }
.pay-card::before { content: ""; position: absolute; left: 18px; top: 19px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); background: #fff; }
.pay-name { display: block; font: 650 1.1rem var(--display); }
.pay-text { display: block; font-weight: 400; color: var(--plum-2); font-size: .92rem; }
.pay-option input:checked + .pay-card { border-color: var(--rose); background: var(--rose-soft); }
.pay-option input:checked + .pay-card::before { border: 6px solid var(--rose); }
.pay-option input:focus-visible + .pay-card { outline: 3px solid var(--rose); outline-offset: 2px; }

.pay-data { border-color: var(--rose); border-width: 2px; margin-bottom: 24px; }
.panel h2 { font-size: 1.4rem; }
.panel + .panel, form.panel { margin-bottom: 24px; }
.copy-list { margin: 0; display: grid; gap: 4px; }
.copy-list div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.copy-list dt { color: var(--muted); font-size: .92rem; }
.copy-list dd { margin: 0; display: flex; justify-content: space-between; gap: 12px; align-items: center; font-weight: 700; word-break: break-all; }
.copy { flex: none; font: 600 .82rem var(--body); padding: .4em .85em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; color: var(--plum); }
.copy:hover { border-color: var(--plum); }
.copy.copied { background: var(--sage); border-color: var(--sage); color: #fff; }
.file-drop { border: 2px dashed var(--line); border-radius: var(--r); padding: 18px; background: var(--mist); }
.file-drop span { font-weight: 500; color: var(--plum-2); }
.file-drop input { background: transparent; border: 0; padding: 8px 0 0; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { padding: 8px 0 8px 22px; position: relative; border-left: 2px solid var(--line); margin-left: 6px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 15px; width: 12px; height: 12px; border-radius: 50%; background: var(--plum-2); }
.timeline li:first-child::before { background: var(--rose); }

/* ---------- Pie ---------- */
.site-footer { background: var(--plum); color: #CDBCD4; padding: 64px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-name { font: 800 1.5rem var(--display); color: #fff; margin-bottom: 8px; }
.footer-title { font-weight: 700; color: #fff; margin-bottom: 12px; }
.social { display: flex !important; gap: 16px !important; margin-top: 16px !important; }
.pay-note { margin-top: 16px; font-size: .88rem; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.14); margin-top: 48px; padding-top: 20px; font-size: .85rem; }
.footer-legal p { margin: 0; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 6px 20px rgba(42, 22, 48, .25); }
.wa-float:hover { transform: scale(1.06); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--plum); color: #fff; padding: 14px 18px; border-radius: var(--r); z-index: 60; display: flex; gap: 16px; align-items: center; max-width: calc(100vw - 32px); transition: opacity .2s, transform .2s; box-shadow: 0 10px 30px rgba(42,22,48,.3); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast a { color: var(--butter); font-weight: 700; white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shop { grid-template-columns: 1fr; gap: 24px; }
  .filters { position: static; }
  .filter-list { display: flex; flex-wrap: wrap; gap: 6px; }
  .filter-list a { border: 1px solid var(--line); border-radius: 999px; padding: .4em .9em; }
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .quotes { grid-template-columns: 1fr; }
  .ruta ol { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .ruta ol::before { display: none; }
}
@media (max-width: 860px) {
  .main-nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; background: #fff; padding: 12px var(--gutter) 20px; border-bottom: 1px solid var(--line); display: none; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .8em 1em; font-size: 1.05rem; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .cart-label { display: none; }
  .hero-grid, .program, .gift, .contact-band, .product, .product-detail, .about, .about-head { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .ruta ol { grid-template-columns: repeat(2, 1fr); }
  .line { grid-template-columns: 64px 1fr; grid-template-areas: "m i" "q t"; }
  .line-media { width: 64px; height: 52px; grid-area: m; }
  .line-info { grid-area: i; }
  .line-qty { grid-area: q; width: 84px; }
  .line-total { grid-area: t; }
  .copy-list div { grid-template-columns: 1fr; gap: 2px; }
  .facts div { grid-template-columns: 1fr; gap: 0; }
  .buy-form .btn { flex: 1 1 100%; }
  .search { flex-direction: column; }
}

/* Ruta compacta en móvil: una fila deslizable */
@media (max-width: 1000px) {
  .ruta-compact .ruta ol { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
  .ruta-compact .ruta li { flex: none; scroll-snap-align: start; }
  .ruta-compact .ruta-stop { flex-direction: row; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
  .ruta-compact .ruta-n { width: 30px; height: 30px; margin: 0; font-size: .85rem; border-width: 2px; }
  .ruta-compact .ruta-name { font-size: .95rem; }
  .ruta-compact .ruta-stop[aria-current] { border-color: var(--c); }
}
