/* Creaciones Shirley — catálogo con pedido por WhatsApp
   Identidad: serifa elegante (Cormorant) para marca y títulos, sans (Plus Jakarta) para texto;
   crema, negro y rosa viejo. Fuentes alojadas en la carpeta de la demo. */
@font-face { font-family: "Cormorant"; font-weight: 500 700; font-display: swap; src: url("fuentes/cormorant.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 500 600; font-display: swap; src: url("fuentes/cormorant-italic.woff2") format("woff2"); }
@font-face { font-family: "Jakarta"; font-weight: 400 800; font-display: swap; src: url("fuentes/jakarta.woff2") format("woff2"); }

:root {
  --serif: "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bg: #f6f2ec;
  --bg-2: #efe7dc;
  --card: #fffdfa;
  --ink: #141414;
  --text: #3d3a36;
  --muted: #736d65;
  --line: #e3d9cc;
  --rose: #b3646a;
  --rose-soft: #f2dfdc;
  --wa: #128c4a;
  --radius: 4px;
  --wrap: 1200px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 400 15.5px/1.6 var(--sans); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
h2 { font: 600 clamp(32px, 4vw, 46px)/1.05 var(--serif); letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ic--fill { fill: currentColor; stroke: none; }
.muted { color: var(--muted); }
.kicker { font-size: 11.5px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--rose); }
.skip { position: absolute; left: -999px; top: 8px; padding: 8px 12px; background: var(--ink); color: #fff; z-index: 99; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
::selection { background: var(--rose-soft); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border: 1.5px solid transparent; border-radius: 0;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease), background 200ms ease, color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--block { width: 100%; }
@media (hover: hover) {
  .btn--dark:hover { background: var(--rose); }
  .btn--line:hover { background: var(--ink); color: #fff; }
  .btn--wa:hover { background: #0f7a40; }
}
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg-2); cursor: pointer; }
.link-btn { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 6px; font-size: 14px; }

/* ---------- Barra de anuncios (se desplaza sola) ---------- */
.announce { overflow: hidden; background: var(--ink); color: #efe7dc; font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.announce-track { display: flex; gap: 28px; width: max-content; padding: 9px 0; animation: marquee 32s linear infinite; }
.announce-track span:nth-child(even) { color: var(--rose); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 76px; }
.nav { display: flex; gap: 26px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.nav a { text-decoration: none; color: var(--text); }
.nav a:hover { color: var(--rose); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 44px; height: 44px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text small { font-size: 9.5px; font-weight: 700; letter-spacing: .42em; text-transform: uppercase; color: var(--rose); margin-left: 2px; }
.logo-text strong { font: 600 30px/1 var(--serif); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-top: 3px; }
.top-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
/* Botones de arriba grandes y con texto: pensados también para gente mayor */
.top-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 10px;
  border: 0; background: none; color: var(--ink);
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: color 150ms ease;
}
.top-btn .ic { width: 27px; height: 27px; }
.top-btn--wa .ic { color: var(--wa); }
.top-btn:hover { color: var(--rose); }
.cart-count {
  display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--rose); color: #fff; font-size: 12px; letter-spacing: 0;
}
.cart-count[hidden] { display: none; }
.top-btn--cart.bump { animation: bump 400ms var(--ease); }
@keyframes bump { 40% { transform: scale(1.15); } }

/* ---------- Portada ---------- */
.hero { position: relative; background: linear-gradient(120deg, var(--bg) 0%, var(--bg) 52%, var(--rose-soft) 52%); border-bottom: 1px solid var(--line); }
/* Los banners se apilan en la misma celda: la altura es la del más alto.
   Primero se va el actual y después entra el siguiente, para que los textos no se encimen. */
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 250ms ease, visibility 0s 250ms; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity 450ms var(--ease) 250ms, visibility 0s 250ms; }
/* Controles: flechas y una barra por banner; la del actual se llena hasta que pasa al siguiente */
.hero-nav { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; align-items: center; gap: 6px; }
.hero-arrow { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgb(20 20 20 / .18); border-radius: 50%; background: none; color: var(--ink); cursor: pointer; transition: background 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms var(--ease); }
.hero-arrow .ic { width: 18px; height: 18px; }
.hero-arrow:active { transform: scale(.92); }
.hero-bars { display: flex; gap: 6px; margin: 0 6px; }
.hero-bars button { display: grid; align-items: center; width: 48px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero-bars span { position: relative; height: 3px; overflow: hidden; background: rgb(20 20 20 / .15); }
.hero-bars span::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.hero-bars [aria-pressed="true"] span::after { animation: hero-progress 6s linear both; }
.hero.is-paused .hero-bars span::after { animation-play-state: paused; }
.hero.is-manual .hero-bars [aria-pressed="true"] span::after { animation: none; transform: none; }
@keyframes hero-progress { to { transform: none; } }
@media (hover: hover) {
  .hero-arrow:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
  .hero-bars button:hover span { background: rgb(20 20 20 / .3); }
}
.hero h2 { margin-top: 18px; font: 600 clamp(44px, 6.4vw, 84px)/.98 var(--serif); letter-spacing: -.015em; }
.hero h2 em { font-style: italic; font-weight: 500; color: var(--rose); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; min-height: 560px; padding-bottom: 40px; }
.hero h1 { margin-top: 18px; font: 600 clamp(44px, 6.4vw, 84px)/.98 var(--serif); letter-spacing: -.015em; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--rose); }
.lead { margin-top: 22px; max-width: 42ch; font-size: 17px; color: var(--muted); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-art { position: relative; height: 460px; }
.hero-art .figure { position: absolute; bottom: 30px; filter: drop-shadow(0 26px 22px rgb(20 20 20 / .18)); }
.hero-art .figure svg { width: 100%; height: auto; }
.hero-art .figure:nth-child(1) { left: 6%;  width: 34%; transform: rotate(-7deg); bottom: 60px; }
.hero-art .figure:nth-child(2) { left: 33%; width: 40%; z-index: 2; }
.hero-art .figure:nth-child(3) { right: 2%; width: 30%; transform: rotate(8deg); bottom: 90px; }
/* Banner con dos prendas: una a cada lado */
/* Fotos del banner: tarjetas tipo polaroid apenas inclinadas, con el nombre abajo; llevan a su producto */
.hero-art .shot { position: absolute; display: block; padding: 8px 8px 0; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 26px 40px -14px rgb(20 20 20 / .35); transition: scale 300ms var(--ease), box-shadow 300ms var(--ease); }
.hero-art .shot img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-art .shot-cap { display: grid; gap: 5px; padding: 9px 0 11px; text-align: center; font: 600 18px/1 var(--serif); }
@media (hover: hover) {
  .hero-art .shot:hover { z-index: 3; scale: 1.04; box-shadow: 0 34px 48px -16px rgb(20 20 20 / .4); }
}
.hero-art .shot-price { font: 800 14px/1 var(--sans); color: var(--rose); font-variant-numeric: tabular-nums; }
.hero-art .shot:nth-child(1) { left: 0; bottom: 64px; width: 34%; transform: rotate(-6deg); }
.hero-art .shot:nth-child(2) { left: 32%; bottom: 26px; width: 37%; z-index: 2; }
.hero-art .shot:nth-child(3) { right: 0; bottom: 78px; width: 34%; transform: rotate(5deg); }
.hero-art[data-count="2"] .shot:nth-child(1) { left: 4%; bottom: 46px; width: 44%; transform: rotate(-4deg); }
.hero-art[data-count="2"] .shot:nth-child(2) { left: auto; right: 4%; bottom: 30px; width: 44%; transform: rotate(4deg); }
/* Entran al mostrarse el banner, una detrás de otra */
.hero-slide.is-active .shot { animation: shot-in 650ms var(--ease) 250ms both; }
.hero-slide.is-active .shot:nth-child(2) { animation-delay: 340ms; }
.hero-slide.is-active .shot:nth-child(3) { animation-delay: 430ms; }
@keyframes shot-in { from { opacity: 0; translate: 0 28px; } }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 22px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink); }
.hero-points li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--rose); color: #fff; font-size: 11px; }
.hero-art[data-count="2"] .figure:nth-child(1) { left: 8%; width: 40%; transform: rotate(-5deg); bottom: 50px; }
.hero-art[data-count="2"] .figure:nth-child(2) { left: auto; right: 12%; width: 40%; transform: rotate(5deg); bottom: 36px; }
/* Etiqueta de precio colgante, como las de las prendas: va enganchada en la esquina de la foto principal */
.price-tag {
  position: absolute; top: -16px; right: -26px; z-index: 3; display: grid; gap: 2px;
  padding: 10px 16px 11px 26px; background: var(--rose); color: #fff; line-height: 1;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%);
  transform: rotate(9deg); transform-origin: 0 50%;
}
.price-tag::before { content: ""; position: absolute; left: 10px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--bg); }
.price-tag small { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--rose-soft); }
.price-tag b { font: 600 26px/1 var(--serif); font-variant-numeric: lining-nums; white-space: nowrap; }
.hero-art > .price-tag { top: 30px; right: 6%; }
/* Aparece con un pequeño "pop" cuando ya entraron las fotos */
.hero-slide.is-active .price-tag { animation: tag-in 500ms var(--ease) 800ms both; }
@keyframes tag-in { from { opacity: 0; scale: .6; } }

/* ---------- Beneficios ---------- */
.perks { background: var(--card); border-bottom: 1px solid var(--line); }
.perks-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.perks li { display: flex; align-items: center; gap: 14px; padding: 22px 18px; }
.perks li + li { border-left: 1px solid var(--line); }
.perks .ic { width: 26px; height: 26px; color: var(--rose); }
.perks b { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.perks span { font-size: 13.5px; color: var(--muted); }

/* ---------- Títulos de sección ---------- */
.section-title { margin-bottom: 30px; text-align: center; }
.section-title h2 { margin-top: 8px; }
.section-title--row { display: flex; justify-content: space-between; align-items: end; text-align: left; }
.section-lead { margin-top: 10px; max-width: 56ch; color: var(--muted); text-wrap: pretty; }
/* Botón que se lee como enlace dentro de un texto */
.text-link { padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--rose); text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; transition: color 200ms ease; }
@media (hover: hover) { .text-link:hover { color: var(--rose); } }

/* ---------- Categorías ---------- */
.cats { padding: 80px 0 56px; }
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 26px 12px 20px;
  border: 1px solid var(--line); background: var(--card); cursor: pointer; text-align: center;
  transition: border-color 200ms ease, transform 250ms var(--ease);
}
.cat svg { width: auto; height: 120px; max-width: 70%; }
.cat strong { font: 600 22px/1 var(--serif); color: var(--ink); }
.cat span { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (hover: hover) { .cat:hover { border-color: var(--rose); transform: translateY(-3px); } }

/* ---------- Precios por talle ---------- */
.prices { padding: 72px 0; background: var(--ink); color: #d9d2c8; }
/* Título arriba y la lista a todo el ancho debajo: se lee de arriba hacia abajo */
.prices-in { display: grid; gap: 36px; }
.prices h2 { color: #fff; margin-top: 8px; }
.prices .muted { color: #a59e94; margin-top: 10px; }
/* Lista de precios con el formato del listado de WhatsApp: talles ······ precio */
.price-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 32px; }
.price-item h3 { padding-bottom: 8px; border-bottom: 1px solid #3a3734; font: 600 23px/1.15 var(--serif); color: #fff; }
.price-item ul { display: grid; gap: 8px; margin-top: 10px; }
.price-item li { display: flex; align-items: baseline; gap: 8px; font-size: 17.5px; color: #e4ddd3; white-space: nowrap; }
.price-item li i { flex: 1; min-width: 18px; border-bottom: 2px dotted #5a5550; transform: translateY(-5px); }
.price-item li b { font-size: 21px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }

/* ---------- Productos ---------- */
.products { padding: 80px 0; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 32px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 16px; border: 1px solid var(--line); background: transparent;
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters { display: flex; gap: 12px; }
.field { display: grid; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field select, .field input, .field textarea {
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 0; background: var(--card);
  font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 500;
}
.field textarea { resize: vertical; }
.field--search input { width: 230px; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.product { display: flex; flex-direction: column; }
.product-img { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(170deg, #f3ece3, #e7dccf); display: grid; place-items: center; overflow: hidden; }
.product-img svg { width: 58%; height: auto; transition: transform 500ms var(--ease); filter: drop-shadow(0 18px 16px rgb(20 20 20 / .14)); }
.product-img img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.photo-dots { position: absolute; left: 0; right: 0; bottom: 6px; display: flex; justify-content: center; }
.photo-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.photo-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgb(255 255 255 / .55); box-shadow: 0 0 0 1px rgb(20 20 20 / .12); transition: background 150ms ease, transform 150ms ease; }
.photo-dots button[aria-pressed="true"]::before { background: #fff; transform: scale(1.3); }
/* Normal / Especial: debajo de la foto para no taparla */
.photo-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-top: 8px; border: 1px solid var(--line); background: var(--card); }
.photo-tabs button { display: grid; gap: 1px; padding: 10px 4px; border: 0; background: none; color: var(--ink); cursor: pointer; transition: background 150ms ease, color 150ms ease; }
.photo-tabs b { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.photo-tabs small { font-size: 12px; color: var(--muted); }
.photo-tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.photo-tabs button[aria-pressed="true"] small { color: rgb(255 255 255 / .75); }
@media (hover: hover) { .product:hover .product-img svg { transform: scale(1.04); } }
.tag { position: absolute; top: 12px; left: 12px; padding: 5px 10px; background: var(--ink); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.product-body { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; flex: 1; }
.product h3 { font: 600 22px/1.1 var(--serif); }
.product-desc { font-size: 13.5px; color: var(--muted); }
.sizes { display: grid; gap: 6px; }
.size-row { display: flex; align-items: center; gap: 4px; }
.size-price { margin-left: auto; padding-left: 6px; font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.size {
  width: 32px; height: 32px; padding: 0; border: 1px solid var(--line); background: var(--card);
  font-size: 13px; font-weight: 700; cursor: pointer; transition: background 150ms ease, border-color 150ms ease;
}
.size:hover { border-color: var(--ink); }
.size[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.buy-mode { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: var(--card); }
.buy-mode button { padding: 7px 6px; border: 0; background: none; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); cursor: pointer; transition: background 150ms ease, color 150ms ease; }
.buy-mode button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.curvas { display: grid; gap: 6px; }
.curvas[hidden], .sizes[hidden] { display: none; }
.curva {
  display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 10px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink); text-align: left; cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease;
}
.curva:hover { border-color: var(--ink); }
.curva b { font-size: 12.5px; }
.curva small { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.curva[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.curva[aria-pressed="true"] small { color: rgb(255 255 255 / .75); }
.product-price { font-size: 19px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.product-price small { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.product-actions { display: flex; gap: 8px; margin-top: auto; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--card); }
.qty button { width: 34px; height: 42px; border: 0; background: none; font-size: 17px; cursor: pointer; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.add { flex: 1; padding: 10px 12px; font-size: 11px; }
.add:disabled { background: #cfc6ba; cursor: not-allowed; }
.empty { padding: 40px; text-align: center; color: var(--muted); }

/* ---------- Cómo comprar ---------- */
.steps { padding: 80px 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.steps-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.steps-list li { padding: 8px 26px; }
.steps-list li + li { border-left: 1px solid var(--line); }
.steps-list b { font: italic 500 44px/1 var(--serif); color: var(--rose); }
.steps-list h3 { margin-top: 12px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.steps-list p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* ---------- Contacto ---------- */
.contact { padding: 84px 0; text-align: center; }
.contact-mark { margin: 0 auto 18px; }
.contact p { margin: 12px 0 30px; color: var(--muted); }
.contact .btn { font-size: 14px; letter-spacing: .08em; padding: 16px 30px; }
.contact .ic { width: 22px; height: 22px; }
.store { display: grid; justify-items: center; gap: 6px; max-width: 560px; margin: 40px auto 0; padding-top: 30px; border-top: 1px solid var(--line); }
.store b { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--rose); }
.store-addr { font: 600 28px/1.2 var(--serif); color: var(--ink); }
.store a { font-size: 15px; font-weight: 700; color: var(--ink); }
.store-note { margin-top: 8px; font-size: 15.5px; color: var(--text); }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: #b9b1a6; padding-top: 56px; font-size: 14px; }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.foot .logo-text strong { color: #fff; }
.foot-brand p { margin-top: 14px; max-width: 34ch; }
.foot h3 { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.foot li { margin-bottom: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 0 24px; border-top: 1px solid #2c2a28; font-size: 13px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 15; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff;
  box-shadow: 0 12px 26px -10px rgb(18 140 74 / .7); transition: transform 200ms var(--ease);
}
.wa-float .ic { width: 28px; height: 28px; }
.wa-float:active { transform: scale(.94); }

/* ---------- Pedido (panel lateral) ---------- */
.cart {
  margin: 0 0 0 auto; width: min(100%, 440px); height: 100dvh; max-width: none; max-height: none; padding: 0; border: 0;
  display: flex; flex-direction: column; background: var(--bg); color: var(--text);
}
.cart:not([open]) { display: none; }
.cart::backdrop { background: rgb(20 20 20 / .5); }
.cart[open] { animation: slide-in 280ms var(--ease); }
@keyframes slide-in { from { transform: translateX(100%); } }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
/* El pedido usa letra y botones más grandes: pensado también para gente mayor */
.cart-head h2 { font-size: 32px; }
/* minmax(0, 1fr): que nada (por ejemplo una opción larga de Entrega) ensanche el panel más que la pantalla */
.cart-body { flex: 1; overflow-y: auto; padding: 16px 20px; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 18px; }
.cart-items { display: grid; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; padding: 16px; background: var(--card); border: 1px solid var(--line); }
.cart-item h3 { font: 600 22px/1.15 var(--serif); }
.cart-item small { display: block; margin-top: 4px; font-size: 15px; line-height: 1.4; color: var(--text); }
.cart-item .qty { justify-self: start; }
.cart-item .qty button { width: 48px; height: 46px; font-size: 22px; }
.cart-item .qty span { min-width: 32px; font-size: 18px; }
.cart-item-total { align-self: start; font-size: 19px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart-empty { color: var(--text); font-size: 17px; text-align: center; padding: 32px 0; }
.cart-extra { display: grid; gap: 14px; }
.cart .field { grid-template-columns: minmax(0, 1fr); font-size: 12.5px; color: var(--text); }
.cart .field select, .cart .field input, .cart .field textarea { padding: 12px 14px; font-size: 17px; }
.preview summary { cursor: pointer; font-size: 15.5px; font-weight: 700; color: var(--rose); }
.preview pre { margin: 10px 0 0; padding: 14px; background: #e7f6ec; color: #1d3326; font: 15px/1.5 var(--sans); white-space: pre-wrap; }
.cart-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.ship-note { margin: 0; padding: 11px 14px; background: var(--rose-soft); font-size: 15.5px; line-height: 1.45; color: var(--ink); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cart-total b { font: 600 38px/1 var(--serif); color: var(--ink); letter-spacing: 0; }
.cart .link-btn { font-size: 15.5px; padding: 8px; }
.cart .btn--wa { padding: 16px; font-size: 17px; letter-spacing: 0; text-transform: none; }
.cart .btn--wa .ic { width: 24px; height: 24px; }
.cart .icon-btn { width: 46px; height: 46px; }

/* ---------- Aviso al agregar ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 30; padding: 12px 18px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 14px;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: transform 250ms var(--ease), opacity 250ms ease;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .perks-in { grid-template-columns: repeat(2, 1fr); }
  .perks li:nth-child(3) { border-left: 0; }
  .perks li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps-list { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .steps-list li:nth-child(3) { border-left: 0; }
  .price-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .top-in { grid-template-columns: auto 1fr auto; height: 64px; }
  .nav { display: none; }
  .logo { grid-column: 1; gap: 8px; }
  .logo-mark { width: 36px; height: 36px; }
  .logo-text strong { font-size: 21px; letter-spacing: .12em; }
  .top-actions { grid-column: 3; gap: 6px; }
  /* En el celular: ícono arriba y texto chico abajo, como en las apps */
  .top-btn { flex-direction: column; gap: 3px; height: 58px; padding: 0 6px; font-size: 10px; letter-spacing: .06em; }
  .top-btn .ic { width: 28px; height: 28px; }
  .cart-count { position: absolute; top: 2px; right: -2px; min-width: 20px; height: 20px; font-size: 11px; }
  .hero { background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 58%, var(--rose-soft) 58%); }
  .hero-in { grid-template-columns: 1fr; gap: 0; min-height: 0; padding-top: 36px; padding-bottom: 64px; }
  .hero-art { height: 300px; margin: 0 6px; }
  .hero-art .shot { padding: 5px 5px 0; }
  .hero-art .shot-cap { gap: 3px; padding: 6px 0 8px; font-size: 14px; }
  .hero-nav { bottom: 14px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-actions .btn { padding: 14px 8px; letter-spacing: .1em; }
  .hero-art .shot-price { font-size: 11.5px; }
  .hero-points { gap: 8px 14px; margin-top: 18px; }
  .hero-points li { font-size: 14px; }
  .store-addr { font-size: 23px; }
  .price-tag { right: -14px; padding: 7px 11px 8px 21px; }
  .price-tag b { font-size: 19px; }
  .perks li { padding: 16px 10px; gap: 10px; }
  .perks b { font-size: 10.5px; letter-spacing: .1em; }
  .perks span { font-size: 12px; }
  .cats { padding: 56px 0 40px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat:last-child { grid-column: 1 / -1; }
  .cat svg { height: 92px; }
  .products { padding: 56px 0; }
  .section-title--row { flex-direction: column; align-items: start; gap: 4px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .product h3 { font-size: 19px; }
  .product-desc { display: none; }
  .sizes { gap: 4px; }
  .size-row { flex-wrap: wrap; gap: 2px; }
  .size-price { order: -1; width: 100%; margin: 0; padding: 0; font-size: 11.5px; }
  .size { width: 25px; height: 28px; font-size: 12px; }
  .price-groups { grid-template-columns: 1fr; gap: 22px; }
  .buy-mode button { padding: 7px 2px; font-size: 9.5px; letter-spacing: .06em; }
  .curva { flex-direction: column; align-items: flex-start; gap: 1px; padding: 6px 8px; }
  .product-actions { flex-direction: column; }
  .qty { justify-content: space-between; }
  .filters { width: 100%; }
  .field--search { flex: 1; }
  .field--search input { width: 100%; }
  .steps { padding: 56px 0; }
  .steps-list { grid-template-columns: 1fr; }
  .steps-list li, .steps-list li + li { border-left: 0; padding: 0; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 360px) {
  .logo-mark { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .announce-track { animation: none; }
  .cart[open], .top-btn--cart.bump, .hero-slide.is-active .shot, .hero-slide.is-active .price-tag { animation: none; }
  .btn, .toast, .cat, .product-img svg, .hero-arrow, .hero-art .shot { transition: none; }
}
