/* La Casa de Mane — tienda. Marca: madera del logo, tinta negra, yeso, terracota de sus piezas pintadas.
   Layout: angosto y cálido; secciones a sangre con madera, contenido a 1200 px. */
:root {
  --papel: #F5F0E8;
  --yeso: #FCFAF6;
  --blanco: #FFFFFF;
  --tinta: #16100C;
  --tinta-2: #3A2E26;
  --gris: #6B5F55;
  --linea: #E2D7CA;
  --terra: #A9533A;
  --terra-2: #8E4430;
  --verde: #4F6B3A;
  --display: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --caps: 'Marcellus', 'EB Garamond', Georgia, serif;
  --script: 'Alex Brush', 'EB Garamond', cursive;
  --r: 10px;
  --wrap: 1200px;
  --madera: url('../img/madera.jpg');
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body { background: var(--papel); color: var(--tinta); font-family: var(--display); font-size: 19px; line-height: 1.45; }
img { max-width: 100%; display: block; }
a { color: var(--tinta); text-underline-offset: 3px; }
a:hover { color: var(--terra); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.caps { font-family: var(--caps); letter-spacing: .18em; text-transform: uppercase; }
.kicker { font-family: var(--caps); font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--terra); }
.muted { color: var(--gris); }
.num { font-variant-numeric: tabular-nums; }
.wood { background-image: var(--madera); background-size: 700px; background-color: #EAD5B6; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Barra y encabezado ---------- */
.bar { background: var(--tinta); color: var(--yeso); text-align: center; padding: 9px 16px; font-family: var(--caps); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; }
.demo-ribbon { background: var(--terra); color: #fff; text-align: center; font-size: 15px; padding: 6px 12px; }
header.top { background: var(--papel); border-bottom: 1px solid var(--linea); position: sticky; top: 0; z-index: 30; }
header.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; line-height: 0; }
.brand .mark { height: 52px; width: auto; fill: var(--tinta); overflow: visible; }
.brand .firma { height: 46px; width: auto; fill: var(--tinta); }
.smoke { transform-box: fill-box; transform-origin: 50% 100%; animation: smoke 4.5s ease-in-out infinite; }
@keyframes smoke { 0%, 100% { transform: translateY(0) scaleY(1); opacity: .9; } 50% { transform: translateY(-6%) scaleY(1.06) skewX(-4deg); opacity: .55; } }
nav.main { display: flex; gap: 2px 22px; font-family: var(--caps); font-size: 13px; letter-spacing: .15em; text-transform: uppercase; overflow-x: auto; scrollbar-width: none; }
nav.main::-webkit-scrollbar { display: none; }
nav.main a { text-decoration: none; padding: 12px 0; white-space: nowrap; }
nav.main a[aria-current="page"] { color: var(--terra); }
.actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--tinta); background: transparent; display: inline-grid; place-items: center; cursor: pointer; text-decoration: none; }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--tinta); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn .count { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--terra); color: #fff; font-family: var(--caps); font-size: 12px; line-height: 20px; text-align: center; }
.icon-btn.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.15); } }
@media (max-width: 760px) {
  header.top .wrap { padding-top: 8px; padding-bottom: 0; }
  .brand .firma { height: 38px; }
  .brand .mark { height: 42px; }
  nav.main { order: 3; width: 100%; padding-bottom: 2px; }
}

/* ---------- Botones y chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--tinta); background: var(--tinta); color: var(--yeso); text-decoration: none; font-family: var(--caps); font-size: 13.5px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .2s, transform .15s; }
.btn:hover { background: #2C2119; color: var(--yeso); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--tinta); }
.btn.ghost:hover { background: var(--yeso); color: var(--tinta); }
.btn.wa { background: #1F7A4D; border-color: #1F7A4D; }
.btn.wa:hover { background: #18633E; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.block { width: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #C9BCAE; background: var(--yeso); cursor: pointer; font-size: 17px; }
.chip[aria-pressed="true"], .chip.on { background: var(--tinta); color: var(--yeso); border-color: var(--tinta); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--caps); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--yeso); border: 1px solid var(--linea); color: var(--tinta-2); }
.badge.ok { color: var(--verde); border-color: #C9D6BD; background: #F3F7EE; }
.badge.warn { color: var(--terra-2); border-color: #E9C9BD; background: #FBF1EC; }

/* ---------- Portada ---------- */
.hero { position: relative; overflow: hidden; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 56px; padding-top: 52px; padding-bottom: 52px; }
.hero .copy { flex: 1 1 440px; min-width: 0; }
.hero h1 { margin: 16px 0 0; font-style: italic; font-weight: 500; font-size: clamp(42px, 5.4vw, 70px); line-height: 1.0; }
.hero .lede { margin: 20px 0 0; font-size: 22px; max-width: 30em; color: var(--tinta-2); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .ctas .ghost { background: rgba(252,250,246,.8); }
.hero .lidcard { flex: 1 1 400px; min-width: 0; background: rgba(252,250,246,.88); border-radius: 14px; padding: 18px; box-shadow: 0 24px 60px rgba(70,45,20,.18); backdrop-filter: blur(4px); }
.lidcard .row { display: flex; gap: 10px; align-items: center; margin-top: 12px; }
.lidcard input { flex: 1; min-width: 0; min-height: 50px; padding: 0 16px; border: 1.5px solid var(--tinta); border-radius: 999px; background: #fff; font-size: 20px; }
.lidcard .cap { margin-top: 10px; font-size: 16px; color: var(--gris); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.deadlines { background: var(--yeso); border-bottom: 1px solid var(--linea); }
.deadlines .wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; padding-top: 14px; padding-bottom: 14px; font-size: 17px; }
.deadlines b { font-weight: 600; }
.deadlines .dl { display: inline-flex; align-items: center; gap: 8px; }
.deadlines .dl i { width: 8px; height: 8px; border-radius: 50%; background: var(--terra); display: inline-block; }
.deadlines .dl.closed i { background: #B9AB9C; }
section.block { padding: 64px 0; }
section.block h2 { margin: 0; font-style: italic; font-weight: 500; font-size: clamp(34px, 4vw, 48px); line-height: 1.05; }
.head-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 20px; margin-bottom: 28px; }
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 22px 18px; }
.cat { text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.cat .ph { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 1.5px solid var(--tinta); background: var(--yeso); transition: transform .35s cubic-bezier(.2,.75,.2,1); }
.cat .ph img { width: 100%; height: 100%; object-fit: cover; }
.cat .ph.mark { display: grid; place-items: center; background-image: var(--madera); background-size: 420px; }
.cat .ph.mark svg { width: 44%; fill: rgba(58,32,16,.78); }
.cat:hover .ph { transform: translateY(-4px) rotate(-2deg); }
.cat span { font-family: var(--caps); font-size: 13.5px; letter-spacing: .18em; text-transform: uppercase; }

/* ---------- Productos ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 34px 26px; }
.card { display: flex; flex-direction: column; gap: 10px; perspective: 900px; }
.card .ph { position: relative; display: block; background: #fff; padding: 10px; border: 1px solid var(--linea); border-radius: 6px; transform-style: preserve-3d; transition: transform .25s ease, box-shadow .25s ease; }
.card .ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.card .ph .tag { position: absolute; left: 18px; top: 18px; }
.card:hover .ph { box-shadow: 0 18px 40px rgba(70,45,20,.16); }
.card .cat-l { font-family: var(--caps); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gris); }
.card h3 { margin: 0; font-weight: 500; font-size: 23px; line-height: 1.15; }
.card h3 a { text-decoration: none; }
.card .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.card .price { font-size: 21px; }
.noimg { width: 100%; aspect-ratio: 4 / 5; border-radius: 3px; display: grid; place-items: center; background-image: var(--madera); background-size: 500px; }
.noimg svg { width: 38%; fill: rgba(58,32,16,.75); }
.filters { margin-bottom: 26px; }

/* Ficha de producto */
.crumbs { font-family: var(--caps); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 18px; }
.crumbs a { color: var(--gris); text-decoration: none; }
.pdp { display: flex; flex-wrap: wrap; gap: 30px 56px; align-items: flex-start; }
.gallery { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 90px; }
.gallery .main { background: #fff; padding: 14px; border: 1px solid var(--linea); border-radius: 8px; }
.gallery .main img, .gallery .main .noimg { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.thumbs button { width: 84px; height: 84px; padding: 4px; border-radius: 6px; background: #fff; border: 1px solid var(--linea); cursor: pointer; }
.thumbs button[aria-current="true"] { border: 2px solid var(--tinta); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.info { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.info h1 { margin: 6px 0 0; font-style: italic; font-weight: 500; font-size: clamp(36px, 4.2vw, 52px); line-height: 1.03; }
.info .price { font-size: 30px; }
.info .lede { margin: 0; font-size: 20px; color: var(--tinta-2); }
.opt-label { font-family: var(--caps); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; display: flex; gap: 10px; justify-content: space-between; }
.buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.qty { display: inline-flex; align-items: center; height: 52px; border: 1.5px solid var(--tinta); border-radius: 999px; }
.qty button { width: 46px; height: 48px; border: 0; background: transparent; font-size: 24px; cursor: pointer; border-radius: 999px; }
.qty output, .qty input { min-width: 34px; width: 46px; text-align: center; font-size: 20px; border: 0; background: transparent; font-variant-numeric: tabular-nums; }
.buy .btn { flex: 1 1 220px; }
.facts { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--linea); display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px 18px; font-size: 16.5px; }
.facts li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.3; }
.facts svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--terra); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
dl.specs { margin: 0; display: grid; grid-template-columns: minmax(0, 140px) minmax(0, 1fr); gap: 10px 18px; font-size: 18px; }
dl.specs dt { font-family: var(--caps); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gris); padding-top: 4px; }
dl.specs dd { margin: 0; }
details.acc { border-top: 1px solid var(--linea); padding-top: 14px; }
details.acc summary { cursor: pointer; font-family: var(--caps); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; min-height: 32px; }
details.acc ul { margin: 10px 0 0; padding-left: 20px; }

/* ---------- Tapa 3D ---------- */
.lidstage { --size: min(320px, 72vw); position: relative; height: calc(var(--size) * 1.28); border-radius: 12px; overflow: hidden; touch-action: pan-y; user-select: none;
  background: radial-gradient(120% 90% at 50% 18%, #FFFDF9 0%, #F1E8DC 60%, #E6D9C8 100%); border: 1px solid var(--linea); }
.lidstage.tall { height: calc(var(--size) * 1.62); }
.lidstage .scene { position: absolute; inset: 0; perspective: 1500px; perspective-origin: 50% 20%; }
.lidstage .rig { --rx: 0deg; --tx: 0deg; --ty: 0deg; --spin: 0deg; position: absolute; left: 50%; top: 50%; width: var(--size); height: var(--size); margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
  transform-style: preserve-3d; transform: rotateX(calc(var(--rx) + var(--tx))) rotateY(var(--ty)) rotateZ(var(--spin)); transition: transform .8s cubic-bezier(.2,.75,.2,1), top .8s cubic-bezier(.2,.75,.2,1); }
.lidstage .rig.live { transition: top .8s cubic-bezier(.2,.75,.2,1); }
.lidstage[data-view="frasco"] .rig { --rx: 63deg; top: calc(var(--size) * .37); }
.lidstage .edge { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 45% 40%, #C69A6A, #8E6239 72%, #6E4826); }
.lidstage .face { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(110,72,38,.35); }
.lidstage .face svg { display: block; width: 100%; height: 100%; }
.lidstage .laser { position: absolute; top: 0; bottom: 0; left: -30%; width: 22%; background: linear-gradient(90deg, rgba(255,170,90,0), rgba(255,190,120,.55), rgba(255,170,90,0)); mix-blend-mode: screen; opacity: 0; pointer-events: none; }
.lidstage .laser.run { animation: sweep .55s ease-out; }
@keyframes sweep { 0% { left: -30%; opacity: 1; } 100% { left: 110%; opacity: 0; } }
.lidstage .shadow { position: absolute; left: 50%; top: calc(50% + var(--size) * .5); width: calc(var(--size) * .92); height: 24px; margin-left: calc(var(--size) * -.46); border-radius: 50%; background: radial-gradient(closest-side, rgba(70,45,20,.26), rgba(70,45,20,0)); transition: opacity .5s; }
.lidstage[data-view="frasco"] .shadow { opacity: 0; }
.lidstage .jar { position: absolute; left: 50%; top: calc(var(--size) * .37); width: calc(var(--size) * .97); margin-left: calc(var(--size) * -.485); opacity: 0; transform: translateY(40px); transition: opacity .6s, transform .8s cubic-bezier(.2,.75,.2,1); }
.lidstage[data-view="frasco"] .jar { opacity: 1; transform: none; }
.lidstage .views { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 5; display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(252,250,246,.88); border: 1px solid var(--linea); }
.lidstage .views button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-family: var(--caps); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.lidstage .views button[aria-pressed="true"] { background: var(--tinta); color: var(--yeso); }
.lidstage .hint { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; font-family: var(--caps); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }

/* Configurador de regalos */
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice label { display: flex; flex-direction: column; gap: 2px; min-height: 64px; padding: 11px 14px; border: 1.5px solid #CBBFB2; border-radius: 8px; background: var(--yeso); cursor: pointer; }
.choice label b { font-weight: 500; font-size: 19px; }
.choice label span { font-size: 15px; color: var(--gris); line-height: 1.25; }
.choice input:checked + label { border-color: var(--tinta); background: #fff; box-shadow: inset 0 0 0 1px var(--tinta); }
.choice input:focus-visible + label { outline: 2px solid var(--terra); outline-offset: 2px; }
.choice input:disabled + label { opacity: .45; cursor: not-allowed; }
.s-script { font-family: var(--script); font-size: 30px !important; line-height: 1 !important; color: var(--tinta) !important; }
.s-caps { font-family: var(--caps); font-size: 17px !important; letter-spacing: .14em; color: var(--tinta) !important; padding-top: 6px; }

/* ---------- Formularios ---------- */
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 12px; font-family: var(--caps); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
legend .n { color: var(--terra); margin-right: 8px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.fields .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 16px; color: var(--tinta-2); display: flex; justify-content: space-between; gap: 10px; }
.field label .cnt { color: var(--gris); font-variant-numeric: tabular-nums; }
.field input, .field select, .field textarea { min-height: 50px; padding: 10px 14px; border: 1.5px solid #B9AB9C; border-radius: 8px; background: #fff; font-size: 19px; width: 100%; }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--tinta); outline: none; box-shadow: 0 0 0 3px rgba(169,83,58,.18); }
.err { color: var(--terra-2); font-size: 16.5px; min-height: 1.3em; margin: 0; }
@media (max-width: 520px) { .fields, .choices { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Carrito y checkout ---------- */
.checkout { display: flex; flex-wrap: wrap; gap: 30px 48px; align-items: flex-start; padding: 10px 0 70px; }
.checkout form { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 30px; }
.summary { flex: 1 1 340px; min-width: 0; position: sticky; top: 90px; background: #fff; border: 1px solid var(--linea); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.summary h2 { margin: 0; font-style: italic; font-weight: 500; font-size: 30px; }
.lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.line img, .line .noimg { width: 64px; height: 64px; aspect-ratio: 1; object-fit: cover; border-radius: 6px; border: 1px solid var(--linea); }
.line .t { font-size: 18px; line-height: 1.2; }
.line .s { font-size: 15px; color: var(--gris); }
.line .p { font-size: 18px; text-align: right; font-variant-numeric: tabular-nums; }
.line .ctl { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.line .ctl button { min-width: 34px; height: 34px; border-radius: 999px; border: 1px solid #C9BCAE; background: var(--yeso); cursor: pointer; }
.line .ctl .rm { border: 0; background: none; text-decoration: underline; color: var(--gris); font-size: 15px; height: auto; min-width: 0; padding: 0 4px; }
.totals { border-top: 1px solid var(--linea); padding-top: 12px; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 18px; font-variant-numeric: tabular-nums; }
.totals .big { font-size: 24px; font-weight: 600; }
.pay { display: grid; gap: 10px; }
.pay .choice label { min-height: 58px; }
.progress { height: 6px; border-radius: 999px; background: var(--linea); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--verde); border-radius: 999px; transition: width .5s; }
.empty { text-align: center; padding: 60px 20px; }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer .shade { position: absolute; inset: 0; background: rgba(22,16,12,.38); opacity: 0; transition: opacity .3s; }
.drawer.open .shade { opacity: 1; }
.drawer .panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--papel); box-shadow: -20px 0 60px rgba(0,0,0,.2); transform: translateX(100%); transition: transform .38s cubic-bezier(.2,.75,.2,1); display: flex; flex-direction: column; }
.drawer.open .panel { transform: none; }
.drawer header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--linea); }
.drawer header h2 { margin: 0; font-style: italic; font-weight: 500; font-size: 28px; }
.drawer .body { flex: 1; overflow: auto; padding: 18px 20px; }
.drawer .foot { padding: 18px 20px; border-top: 1px solid var(--linea); display: flex; flex-direction: column; gap: 12px; }

/* Gracias */
.thanks { max-width: 680px; margin: 0 auto; padding: 56px 20px 80px; text-align: center; }
.thanks h1 { font-style: italic; font-weight: 500; font-size: clamp(38px, 5vw, 56px); line-height: 1.05; margin: 14px 0 10px; }
.thanks .box { text-align: left; background: #fff; border: 1px solid var(--linea); border-radius: 12px; padding: 22px; margin-top: 26px; }
.steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.steps li { display: flex; gap: 10px; align-items: center; color: var(--gris); }
.steps li.done { color: var(--tinta); }
.steps li i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #C9BCAE; }
.steps li.done i { background: var(--verde); border-color: var(--verde); }

/* Bandas */
.band { display: flex; flex-wrap: wrap; border: 1.5px solid var(--tinta); border-radius: 10px; overflow: hidden; background: #fff; }
.band .ph { flex: 1 1 380px; min-width: 0; min-height: 320px; }
.band .ph img { width: 100%; height: 100%; object-fit: cover; }
.band .tx { flex: 1 1 420px; min-width: 0; padding: 46px 44px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.band .tx p { margin: 0; font-size: 21px; color: var(--tinta-2); }
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 26px; }
.how li { display: flex; flex-direction: column; gap: 8px; }
.how b { font-style: italic; font-weight: 500; font-size: 54px; line-height: 1; color: var(--terra); }
.how span { font-size: 20px; line-height: 1.35; }
.quote { text-align: center; max-width: 860px; margin: 0 auto; }
.quote blockquote { margin: 18px 0 0; font-style: italic; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.2; }

/* Pie */
footer.site { background: var(--tinta); color: #E9E1D6; padding: 56px 0 36px; margin-top: 40px; }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
footer.site a { color: var(--yeso); }
footer.site .col { flex: 1 1 220px; display: flex; flex-direction: column; gap: 10px; font-size: 18px; }
footer.site h3 { margin: 0 0 4px; font-family: var(--caps); font-weight: 400; font-size: 12.5px; letter-spacing: .24em; text-transform: uppercase; color: #CFC3B6; }
footer.site .mark { width: 70px; fill: var(--yeso); }
footer.site .legal { max-width: var(--wrap); margin: 36px auto 0; padding: 18px 20px 0; border-top: 1px solid #3A2E26; font-size: 15px; color: #B9AB9C; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
footer.site .legal .arr { color: #F5F0E8; border: 1px solid #6B5F55; border-radius: 999px; padding: 6px 14px; text-decoration: none; font-family: var(--caps); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

.toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 24px); opacity: 0; visibility: hidden; background: var(--tinta); color: var(--yeso); padding: 14px 20px; border-radius: 10px; font-size: 17px; box-shadow: 0 10px 30px rgba(0,0,0,.25); z-index: 80; max-width: calc(100vw - 32px); transition: transform .35s cubic-bezier(.2,.75,.2,1), opacity .25s, visibility 0s linear .35s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .35s cubic-bezier(.2,.75,.2,1), opacity .25s, visibility 0s; }
.skeleton { background: linear-gradient(90deg, #EFE7DC, #F7F2EA, #EFE7DC); background-size: 200% 100%; animation: sk 1.2s linear infinite; border-radius: 6px; }
@keyframes sk { to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Celular: categorías en fila deslizable, fechas límite una debajo de la otra */
@media (max-width: 760px) {
  .cats { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: -20px; padding: 2px 20px 10px; scrollbar-width: none; }
  .cats::-webkit-scrollbar { display: none; }
  .cat { flex: 0 0 118px; scroll-snap-align: start; gap: 10px; }
  .cat span { font-size: 11.5px; letter-spacing: .14em; }
  .deadlines .wrap { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 16px; }
  .deadlines .dl { display: block; }
  .deadlines .dl i { margin-right: 8px; vertical-align: 2px; }
}

/* Ficha y configurador: en pantallas angostas la foto no queda fija (taparía el formulario) */
@media (max-width: 960px) { .gallery { position: static; } }
/* Mini tapa flotante en Regalos: aparece cuando la vista previa grande quedó arriba */
.lidmini { position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 25; width: 104px; height: 104px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: #d9b98f var(--madera) center / 260px; box-shadow: 0 10px 28px rgba(40,24,10,.35), inset 0 0 0 2px #A87A4F;
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .3s, transform .3s; }
.lidmini.show { opacity: 1; transform: none; pointer-events: auto; }
.lidmini svg { width: 100%; height: 100%; fill: #3a2010; display: block; }
/* Celular: dos productos por fila, como en Instagram */
@media (max-width: 600px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .card { gap: 6px; }
  .card .ph { padding: 5px; }
  .card .ph .tag { left: 9px; top: 9px; font-size: 9.5px; padding: 3px 7px; letter-spacing: .1em; }
  .card .cat-l { font-size: 10px; letter-spacing: .14em; }
  .card h3 { font-size: 17.5px; }
  .card .price { font-size: 17px; }
  .card .foot .btn { display: none; }
}
/* Páginas legales */
.legalpage { max-width: 720px; display: flex; flex-direction: column; gap: 16px; }
.legalpage h1 { font-style: italic; font-weight: 500; font-size: clamp(36px, 4.2vw, 50px); margin: 6px 0 0; line-height: 1.05; }
.legalpage ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 17px; }
.legalpage .box { background: #fff; border: 1px solid var(--linea); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
