/* Amplia · ropa de mujer del S al 6XL — demo de Tereré Estudio */
:root {
  --fondo: #f6ebe6; --texto: #2b1419; --texto-2: #6b4b51; --linea: #e4cfc7; --superficie: #fffaf8;
  --acento: #7d1d3f; --acento-texto: #ffffff;
  --rosa: #e27d98; --ocre: #c0802f; --ocre-txt: #8a5410; --panel: #efdcd3; --panel-2: #f5e7e1;
  --banda: #6e1836; --banda-txt: #fff3f5; --banda-2: #f3c9d4;
  --ropa-clara: #fbf6f3; --ropa-osc: #3b2c31; --zap: #4a3138; --trazo: rgba(43, 20, 25, .3);
  --cab-h: 60px; --sombra: 0 1px 2px rgba(60, 20, 30, .06), 0 8px 22px rgba(60, 20, 30, .07);
}
@media (prefers-color-scheme: dark) {
  :root {
    --fondo: #1b1114; --texto: #f6e8e3; --texto-2: #c9aeb2; --linea: #3d2a30; --superficie: #251a1e;
    --acento: #f29bb2; --acento-texto: #2b0d17;
    --rosa: #f29bb2; --ocre: #e2a85c; --ocre-txt: #e9b46d; --panel: #33242a; --panel-2: #2c1f24;
    --banda: #3f1222; --banda-txt: #fbe9ee; --banda-2: #f29bb2;
    --ropa-clara: #eadfd9; --ropa-osc: #57454c; --zap: #6a4b54; --trazo: rgba(0, 0, 0, .35);
    --sombra: 0 1px 2px rgba(0, 0, 0, .35);
  }
}
body { background: var(--fondo); }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--demo-h) + var(--cab-h) + 12px); }
#catalogo { scroll-margin-top: calc(var(--demo-h) + var(--cab-h)); }
.tit-sec { font-size: clamp(26px, 6vw, 40px); font-weight: 900; letter-spacing: -.02em; }
.ico-wa { fill: currentColor; stroke: none; }
.sin-js { padding: 16px; border-radius: var(--radio); background: var(--superficie); }

/* ---------- Header ---------- */
.cab { position: sticky; top: var(--demo-h); z-index: 60; background: color-mix(in srgb, var(--fondo) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linea); }
.cab-in { height: var(--cab-h); display: flex; align-items: center; gap: 16px; position: relative; }
.marca { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-weight: 900; font-size: 24px; letter-spacing: -.03em; color: var(--texto); }
.marca-ico { width: 24px; height: 24px; fill: none; stroke: var(--acento); stroke-width: 2.4; stroke-linecap: round; }
.marca-ico circle { fill: var(--rosa); stroke: none; }
.cab-nav { display: none; }
.cab-nav.abierto { display: grid; position: absolute; top: 100%; left: 0; right: 0; background: var(--fondo); border-bottom: 1px solid var(--linea); padding: 6px 16px 14px; box-shadow: var(--sombra); }
.cab-nav a { text-decoration: none; font-weight: 700; padding: 12px 0; border-bottom: 1px solid var(--linea); }
.cab-nav a:last-child { border-bottom: 0; }
.cab-acc { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.b-pedido { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--acento); color: var(--acento-texto); font-weight: 700; font-size: 15px; }
.b-menu { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--linea); background: transparent; display: grid; place-items: center; }
.cuenta { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--rosa); color: #2b0d17; font-size: 12px; font-weight: 800; display: inline-grid; place-items: center; font-variant-numeric: tabular-nums; }
@media (prefers-color-scheme: dark) { .cuenta { background: var(--acento-texto); color: var(--acento); } }
.cuenta.late { animation: late .45s ease-out; }
@keyframes late { 40% { transform: scale(1.35); } }
@media (min-width: 860px) {
  .cab-nav { display: flex; gap: 28px; margin-left: 36px; }
  .cab-nav a { border: 0; padding: 6px 0; font-size: 15px; font-weight: 600; color: var(--texto-2); }
  .cab-nav a:hover { color: var(--texto); }
  .b-menu { display: none; }
}

/* ---------- Hero ---------- */
.hero { display: grid; gap: 18px; padding-top: 24px; padding-bottom: 28px; align-items: center; }
.rotulo { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ocre-txt); }
.hero h1 { font-size: clamp(38px, 11vw, 70px); font-weight: 900; letter-spacing: -.035em; line-height: 1.02; margin-top: 10px; max-width: 11ch; }
.hero h1 span { color: var(--acento); display: block; }
.hero-bajada { font-size: 17px; color: var(--texto-2); margin-top: 14px; max-width: 38ch; }
.hero-btns { margin-top: 20px; max-width: 420px; }
.confianza { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 600; }
.confianza li { display: inline-flex; align-items: center; gap: 8px; }
.confianza .ico { color: var(--ocre-txt); }
.hero-fig { position: relative; width: 100%; max-width: 560px; justify-self: center; aspect-ratio: 470 / 214; }
.hero-fig::before { content: ""; position: absolute; left: 4%; right: 4%; top: 12%; bottom: 0; border-radius: 999px 999px 24px 24px; background: var(--panel); }
.hero-fig svg { position: relative; width: 100%; height: 100%; }
@media (max-width: 959px) { .hero-fig { order: -1; } }
@media (min-width: 960px) {
  .hero { grid-template-columns: 1fr 1.05fr; padding-top: 52px; padding-bottom: 56px; gap: 40px; }
}

/* ---------- Ilustraciones (figuras y ropa) ---------- */
.f-piel { stroke: none; }
.f-pelo { stroke: none; }
.f-zap { fill: var(--zap); }
.f-prenda { stroke: var(--trazo); stroke-width: .6; stroke-linejoin: round; }
.f-base-clara { fill: var(--ropa-clara); stroke: var(--trazo); stroke-width: .6; stroke-linejoin: round; }
.f-base-osc { fill: var(--ropa-osc); stroke: var(--trazo); stroke-width: .6; stroke-linejoin: round; }
.f-det { fill: none; stroke: rgba(0, 0, 0, .22); stroke-width: .6; stroke-linecap: round; stroke-linejoin: round; }
.f-det-claro { fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: .6; stroke-linecap: round; }
.f-pesp { fill: none; stroke: #d39a4a; stroke-width: .55; stroke-dasharray: 1.4 1; }
.f-boton { fill: rgba(0, 0, 0, .25); }
.f-sombra { fill: rgba(43, 20, 25, .1); }
.f-cinta { fill: none; stroke: var(--ocre); stroke-width: 1.4; stroke-linecap: round; }
.f-cinta-p { fill: none; stroke: var(--fondo); stroke-width: .7; stroke-dasharray: .7 1.6; }
.f-guia { fill: var(--panel); stroke: var(--texto-2); stroke-width: .7; }
.f-guia-txt { fill: var(--texto); font: 700 7px var(--f); }

/* ---------- Selector de cuerpos ---------- */
.cuerpos { background: var(--banda); color: var(--banda-txt); padding: 36px 0 30px; }
.cuerpos-cab { display: grid; gap: 14px; }
.cuerpos .tit-sec { max-width: 15ch; }
.cuerpos-bajada { margin-top: 10px; font-size: 16px; opacity: .88; max-width: 44ch; }
.btn-claro { border-color: color-mix(in srgb, var(--banda-txt) 55%, transparent); color: var(--banda-txt); justify-self: start; white-space: normal; text-align: left; line-height: 1.2; }
.btn-claro:hover { background: color-mix(in srgb, var(--banda-txt) 10%, transparent); }
.cuerpos :focus-visible { outline-color: var(--banda-2); }
.selector { margin-top: 22px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; align-items: end; }
.cuerpo { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 2px 8px; border-radius: 16px; border: 2px solid transparent; background: color-mix(in srgb, var(--banda-txt) 8%, transparent); color: var(--banda-txt); transition: background .25s, border-color .25s, transform .25s; min-width: 0; }
.cuerpo:hover { background: color-mix(in srgb, var(--banda-txt) 14%, transparent); }
.cuerpo[aria-checked="true"] { background: var(--panel-2); border-color: var(--banda-2); color: var(--texto); transform: translateY(-4px); }
.cuerpo svg { width: 100%; height: auto; aspect-ratio: 120 / 200; }
.cuerpo-t { font-size: 17px; font-weight: 900; letter-spacing: -.01em; line-height: 1; }
.cuerpo-f { font-size: 11px; line-height: 1.2; opacity: .85; text-align: center; min-height: 2.4em; }
.globito { position: absolute; z-index: 2; top: -12px; left: 50%; transform: translate(-50%, -100%); background: var(--ocre); color: #2b1419; font-size: 12px; font-weight: 800; padding: 6px 10px; border-radius: 999px; white-space: nowrap; pointer-events: none; animation: globo 1.6s ease-in-out infinite; }
.globito::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); z-index: -1; }
@keyframes globo { 50% { transform: translate(-50%, calc(-100% - 4px)); } }
.sel-info { margin-top: 16px; font-size: 14px; line-height: 1.45; min-height: 2.9em; }
.sel-info b { color: var(--banda-2); }
@media (min-width: 600px) { .selector { gap: 12px; } .cuerpo-f { font-size: 12px; } .cuerpo { padding: 12px 6px 10px; } }
@media (min-width: 960px) {
  .cuerpos { padding: 56px 0 44px; }
  .cuerpos-cab { grid-template-columns: 1fr auto; align-items: end; gap: 28px; }
  .selector { gap: 18px; max-width: 900px; margin: 30px auto 0; }
  .cuerpo-t { font-size: 22px; } .cuerpo-f { font-size: 13px; }
  .sel-info { text-align: center; font-size: 15px; }
}

/* ---------- Catálogo ---------- */
.catalogo { padding: 36px 0 44px; }
.cat-cab { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 6px 16px; }
.cat-nota { font-size: 13px; color: var(--texto-2); }
.filtros { position: sticky; top: calc(var(--demo-h) + var(--cab-h)); z-index: 40; background: var(--fondo); border-bottom: 1px solid var(--linea); margin-top: 14px; }
.filtros-in { display: grid; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
.buscar { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--linea); background: var(--superficie); }
.buscar .ico { color: var(--texto-2); }
.buscar input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 16px; outline: none; }
.buscar:focus-within { border-color: var(--acento); box-shadow: 0 0 0 2px color-mix(in srgb, var(--acento) 25%, transparent); }
.chips-fila { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; scroll-padding: 0 16px; }
.chips-fila::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--linea); background: var(--superficie); font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--texto); text-decoration: none; }
.chip[aria-pressed="true"] { background: var(--acento); border-color: var(--acento); color: var(--acento-texto); }
.chip-cuerpo { border-color: var(--ocre); }
.chip-cuerpo b { color: var(--ocre-txt); }
.chips-sep { flex: none; width: 1px; margin: 6px 2px; background: var(--linea); }
@media (min-width: 960px) {
  .filtros-in { grid-template-columns: 300px 1fr; align-items: center; column-gap: 16px; }
  .chips-fila { margin: 0; padding: 0; flex-wrap: wrap; overflow: visible; }
}
.resultados { margin: 16px 0 12px; font-size: 14px; color: var(--texto-2); font-weight: 600; }
.grilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 960px) { .grilla { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } .tarj.ancha { grid-column: span 2; } .tarj.ancha .tarj-fig { aspect-ratio: auto; height: var(--fig-h, 320px); } }
@media (min-width: 1200px) { .grilla { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tarj { display: flex; flex-direction: column; background: var(--superficie); border: 1px solid var(--linea); border-radius: var(--radio); overflow: hidden; min-width: 0; }
.tarj[hidden] { display: none; }
.tarj-fig { position: relative; background: linear-gradient(var(--panel-2), var(--panel)); aspect-ratio: 4 / 5; display: grid; place-items: center; padding: 8px 0 0; overflow: hidden; }
.tarj-svg { position: absolute; inset: 10px 0 4px; display: flex; justify-content: center; }
.tarj-svg svg { height: 100%; width: auto; }
.tarj-svg svg.entra { animation: entra .42s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d, 0ms); }
@keyframes entra { from { opacity: 0; transform: translateY(6px) scale(.985); } }
.sello { position: absolute; top: 8px; left: 8px; z-index: 1; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 4px 9px; border-radius: 999px; background: var(--superficie); color: var(--texto); border: 1px solid var(--linea); }
.sello-nuevo { background: var(--acento); border-color: var(--acento); color: var(--acento-texto); }
.sello-sin { background: var(--texto); color: var(--fondo); border-color: var(--texto); }
.en-cuerpo { position: absolute; right: 8px; bottom: 8px; z-index: 1; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--superficie) 88%, transparent); color: var(--texto-2); }
.en-cuerpo b { color: var(--texto); }
.tarj-cuerpo { flex: 1; display: flex; flex-direction: column; padding: 12px; gap: 4px; }
.tarj-nom { font-size: 16px; font-weight: 800; }
.tarj-calce { display: flex; gap: 5px; align-items: flex-start; font-size: 12px; font-weight: 700; color: var(--ocre-txt); line-height: 1.3; }
.tarj-calce svg { width: 14px; height: 14px; flex: none; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.tarj-desc { font-size: 13px; line-height: 1.4; color: var(--texto-2); }
.tarj-precio { margin-top: 4px; display: grid; }
.tarj-precio b { font-size: 18px; font-variant-numeric: tabular-nums; }
.tarj-precio span { font-size: 12px; color: var(--texto-2); }
.tarj-acc { margin-top: auto; padding-top: 10px; display: grid; gap: 8px; }
.tarj-lbl { font-size: 12px; color: var(--texto-2); }
.tarj-lbl b { color: var(--texto); }
.muestras { display: flex; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
.muestra { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--superficie); box-shadow: 0 0 0 1px var(--linea); padding: 0; background: var(--m, #ccc); }
.muestra[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--acento); }
.tarj-fila { display: grid; grid-template-columns: 1fr; gap: 8px; }
.tarj-talle select { width: 100%; height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--linea); background: var(--fondo); font-size: 15px; font-weight: 700; }
.tarj-talle select.falta { border-color: var(--acento); box-shadow: 0 0 0 2px color-mix(in srgb, var(--acento) 35%, transparent); }
.cant { display: grid; grid-template-columns: 40px 1fr 40px; height: 40px; border: 1px solid var(--linea); border-radius: 10px; overflow: hidden; }
.cant button { border: 0; background: transparent; font-size: 18px; font-weight: 700; }
.cant output { display: grid; place-items: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.tarj-ag { width: 100%; min-height: 44px; padding: 0 10px; }
.tarj-ag.ok { background: var(--ocre); border-color: var(--ocre); color: #2b1419; }
.tarj.agotado .tarj-svg { opacity: .45; filter: grayscale(.6); }
.tarj.agotado .tarj-ag { background: transparent; color: var(--texto-2); border-color: var(--linea); cursor: not-allowed; }
.tarj button:disabled { cursor: not-allowed; }
.tarj.agotado .muestras, .tarj.agotado .tarj-fila { opacity: .5; }
@media (min-width: 420px) { .tarj-fila { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .tarj-cuerpo { padding: 14px 16px 16px; } .tarj-fila { grid-template-columns: 1fr 112px; } }
.vacio { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 36px 16px; border: 1px dashed var(--linea); border-radius: var(--radio); }
.vacio[hidden] { display: none; }
.vacio svg { width: 48px; height: 48px; fill: none; stroke: var(--texto-2); stroke-width: 2; stroke-linecap: round; }
.vacio p { max-width: 40ch; color: var(--texto-2); }

/* ---------- Tabla de talles ---------- */
.tt-scroll { overflow-x: auto; }
.tt { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.tt th, .tt td { padding: 7px 6px; text-align: center; border-bottom: 1px solid var(--linea); }
.tt thead th { font-size: 12px; color: var(--texto-2); font-weight: 600; }
.tt tbody th { font-weight: 800; color: var(--acento); }
.tt tr.marcado { background: color-mix(in srgb, var(--rosa) 22%, transparent); }
.tt-tit { font-size: 18px; margin-top: 6px; }
.tt-nota { font-size: 13px; color: var(--texto-2); }
.calc { padding: 14px; border-radius: var(--radio); background: var(--panel-2); border: 1px solid var(--linea); }
.calc-tit { font-weight: 800; }
.calc-fila { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc-res { font-size: 14px; color: var(--texto-2); }
.calc-res b { color: var(--acento); }
.calc-res button { margin-top: 8px; width: 100%; }
.medite { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: center; }
.medite-fig { width: 112px; height: auto; aspect-ratio: 120 / 200; background: var(--panel-2); border-radius: 14px; }
.medite-pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 13px; color: var(--texto-2); }
.medite-pasos b { display: block; color: var(--texto); font-size: 14px; }

/* ---------- Cómo pedir ---------- */
.como { background: var(--panel-2); padding: 36px 0; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.pasos { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.paso { display: flex; gap: 14px; align-items: flex-start; background: var(--superficie); border: 1px solid var(--linea); border-radius: var(--radio); padding: 16px; }
.paso h3 { font-size: 18px; }
.paso p { font-size: 14px; color: var(--texto-2); margin-top: 4px; }
.paso-ico { width: 40px; height: 40px; flex: none; fill: none; stroke: var(--acento); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 760px) { .pasos { grid-template-columns: repeat(3, 1fr); gap: 16px; } .paso { flex-direction: column; padding: 22px; } }

/* ---------- Local ---------- */
.local { padding: 40px 0; }
.local-in { display: grid; gap: 20px; }
.local-txt { margin-top: 14px; font-size: 17px; max-width: 48ch; }
.local-datos { display: grid; gap: 10px; align-content: start; padding: 18px; border-radius: var(--radio); background: var(--superficie); border: 1px solid var(--linea); }
.local-datos p { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.local-datos .ico { color: var(--ocre-txt); }
.local-acc { display: flex; gap: 10px; margin-top: 6px; }
.local-acc .btn { flex: 1; }
.b-red { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 1px solid var(--linea); display: grid; place-items: center; color: var(--texto); }
@media (min-width: 960px) { .local-in { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 48px; } }

/* ---------- Preguntas ---------- */
.preguntas { padding: 8px 0 48px; }
.faq { margin-top: 18px; border-top: 1px solid var(--linea); }
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 32px 16px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--acento); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 16px; color: var(--texto-2); max-width: 60ch; }
@media (min-width: 960px) { .preg-in { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; } .faq { margin-top: 0; } }
.pie-marca { font-weight: 900; color: var(--texto); }

/* ---------- Barra de pedido (celular) ---------- */
.barra-ped { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--fondo) 30%); }
.barra-ped[hidden] { display: none; }
.barra-ped-in { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 8px 0 18px; border-radius: 999px; border: 0; background: var(--acento); color: var(--acento-texto); font-size: 15px; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.barra-ver { background: var(--rosa); color: #2b0d17; font-weight: 700; padding: 9px 14px; border-radius: 999px; }
@media (prefers-color-scheme: dark) { .barra-ver { background: var(--acento-texto); color: var(--acento); } }
body.con-barra .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
@media (min-width: 960px) { .barra-ped { display: none !important; } }

@media (prefers-reduced-motion: reduce) { .globito { animation: none; } .cuerpo[aria-checked="true"] { transform: none; } }
.cuenta[hidden] { display: none; }
