/* NOHA · Makeup & Beauty — estilo
   Paleta: crema, rosa empolvado y terracota suave. Tipografías (incluidas en /fonts):
   Cormorant Garamond para el logo y los títulos, Jost para el texto. */

@font-face { font-family: "Cormorant Garamond"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/jost-latin-600-normal.woff2") format("woff2"); }

:root {
  --fondo: #FBF7F4;
  --papel: #FFFDFB;
  --barra: #EBDFD8;
  --banda: #F3E6DF;
  --tarjeta: #F4E9E3;
  --tinta: #3A2F2D;
  --suave: #7D6E6A;
  --linea: rgba(58, 47, 45, .13);
  --rosa: #B97F73;
  --rosa-2: #A56C61;
  --marron: #8A5A4F;
  --ok: #2F7A55;
  --error: #B23A48;
  --f-titulo: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --f-texto: "Jost", "Helvetica Neue", Arial, sans-serif;
  --radio: 3px;
  --ancho: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fondo); color: var(--tinta); font: 400 16px/1.6 var(--f-texto); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--f-titulo); font-weight: 400; line-height: 1.08; letter-spacing: -.005em; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--rosa-2); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--ancho); margin-inline: auto; padding-inline: 20px; }
.saltar { position: absolute; left: -999px; top: 8px; background: var(--tinta); color: var(--fondo); padding: 10px 14px; z-index: 100; }
.saltar:focus { left: 12px; }
.ceja { font: 500 12px/1.3 var(--f-texto); letter-spacing: .18em; text-transform: uppercase; color: var(--tinta); }

/* ── Botones ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; min-height: 44px; padding: 0 28px; border: 1px solid var(--rosa); background: var(--rosa); color: #fff; border-radius: var(--radio); font: 500 12.5px/1 var(--f-texto); letter-spacing: .16em; text-transform: uppercase; transition: background .18s, border-color .18s, color .18s, transform .18s; }
.btn:hover { background: var(--rosa-2); border-color: var(--rosa-2); }
.btn:active { transform: scale(.98); }
.btn-linea { background: transparent; color: var(--tinta); border-color: var(--tinta); }
.btn-linea:hover { background: var(--tinta); border-color: var(--tinta); color: var(--fondo); }
.btn-ancho { width: 100%; }
.btn-s { min-height: 38px; padding: 0 20px; font-size: 11.5px; }
.btn-mp { background: #009EE3; border-color: #009EE3; letter-spacing: .08em; }
.btn-mp:hover { background: #0086C3; border-color: #0086C3; }
.btn[disabled] { opacity: .55; cursor: default; }

/* ── Barra superior ── */
.barra { background: var(--barra); font-size: 12.5px; color: var(--tinta); }
.barra-in { display: flex; align-items: center; justify-content: space-between; min-height: 32px; gap: 16px; }
.barra-t { display: flex; align-items: center; gap: 10px; }
.barra-t i { width: 1px; height: 12px; background: var(--tinta); opacity: .4; }
.redes { display: flex; align-items: center; gap: 14px; }
.redes a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; transition: color .15s; }
.redes a:hover { color: var(--rosa-2); }
.redes .rs-txt { font-size: 12.5px; }
.redes-pie { gap: 18px; }

/* ── Encabezado ── */
.top { position: sticky; top: 0; z-index: 50; background: var(--papel); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.top.con-sombra { border-bottom-color: var(--linea); box-shadow: 0 6px 24px rgba(58, 47, 45, .05); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.marca { text-decoration: none; display: grid; justify-items: center; margin-right: auto; line-height: 1; }
.marca-n { font: 300 46px/1 var(--f-titulo); letter-spacing: .12em; margin-right: -.12em; }
.marca-s { font: 400 9.5px/1 var(--f-texto); letter-spacing: .34em; text-transform: uppercase; margin-top: 4px; margin-right: -.34em; }
.marca-img { display: block; height: 54px; width: auto; }
.pie-marca .marca-img-pie { height: 64px; }
.menu { display: flex; gap: 6px; margin-inline: auto; }
.menu a { text-decoration: none; font-size: 14.5px; padding: 8px 18px; color: var(--tinta); transition: color .15s; }
.menu a:hover, .menu a[aria-current="true"] { color: var(--rosa-2); }
.top-acc { display: flex; align-items: center; gap: 6px; }
.carrito-btn { position: relative; width: 46px; height: 46px; border: 0; background: transparent; display: grid; place-items: center; }
.carrito-btn:hover { color: var(--rosa-2); }
.carrito-n { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--rosa); color: #fff; font: 500 11px/18px var(--f-texto); text-align: center; }
.carrito-n[data-n="0"] { display: none; }
.carrito-n.salto { animation: salto .35s ease; }
@keyframes salto { 40% { transform: scale(1.35); } }
.burger { display: none; width: 46px; height: 46px; border: 0; background: transparent; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .2s, top .2s; }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ── Portada ── */
.hero { position: relative; background: linear-gradient(100deg, #EFE2DA 0%, #F2E7E0 45%, #ECDDD3 100%); overflow: hidden; }
.hero-pista { display: grid; }
.slide { grid-area: 1 / 1; position: relative; min-height: clamp(360px, 31vw, 470px); display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.slide.on { opacity: 1; visibility: visible; z-index: 1; }
.slide-in { position: relative; z-index: 2; }
.slide-txt { max-width: 560px; display: grid; gap: 16px; justify-items: start; padding-block: 36px 52px; }
.slide-txt h1, .h-slide { font-size: clamp(2.4rem, 3.9vw, 3.4rem); font-weight: 400; line-height: 1.05; }
.cod-h { font-style: italic; color: var(--marron); white-space: nowrap; }
.bajada { color: var(--suave); font-size: 17px; line-height: 1.65; max-width: 40ch; }
.slide-foto { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; z-index: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 42%); mask-image: linear-gradient(90deg, transparent 0, #000 42%); }
.slide-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.puntos { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 6px; z-index: 5; }
.puntos button { width: 28px; height: 28px; border: 0; background: transparent; position: relative; padding: 0; }
.puntos button::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; border: 1px solid #fff; background: rgba(255, 255, 255, .35); transition: background .2s, transform .2s; }
.puntos button[aria-current="true"]::after { background: #fff; transform: scale(1.1); }

/* ── Categorías ── */
.cats { padding-block: 22px 8px; }
.cats-in { display: flex; justify-content: center; gap: clamp(28px, 7vw, 96px); flex-wrap: wrap; }
.cat { display: grid; justify-items: center; gap: 8px; background: none; border: 0; padding: 4px; font-size: 14.5px; color: var(--tinta); }
.cat-i { width: 54px; height: 54px; border-radius: 50%; background: var(--tarjeta); display: grid; place-items: center; color: var(--tinta); transition: background .2s, color .2s, transform .2s; }
.cat:hover .cat-i { transform: translateY(-2px); background: #EEDDD4; }
.cat[aria-pressed="true"] .cat-i { background: var(--rosa); color: #fff; }
.cat[aria-pressed="true"] .cat-n { color: var(--rosa-2); }

/* ── Tienda ── */
.seccion { padding-block: clamp(36px, 5vw, 60px); }
.chips-cat { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 22px; }
.chip-cat { min-height: 38px; padding: 0 16px; border: 1px solid var(--linea); border-radius: var(--radio); background: transparent; color: var(--tinta); font-size: 14px; }
.chip-cat:hover { border-color: var(--tinta); }
.chip-cat[aria-pressed="true"] { border-color: var(--tinta); background: var(--tinta); color: var(--fondo); }
.cab { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.cab h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.ver-todos { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; font-size: 14px; padding: 6px 0; }
.ver-todos:hover { color: var(--rosa-2); }
.grilla { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.prod { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; }
.prod-caja { position: relative; aspect-ratio: 4 / 3.1; background: var(--tarjeta); border-radius: var(--radio); overflow: hidden; }
.prod-plato { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border: 0; padding: 0; background: transparent; }
.prod-plato img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.prod:hover .prod-plato img { transform: scale(1.04); }
.prod-arte { position: absolute; inset: 0; display: grid; place-items: center; padding: 12% 22%; }
.prod-arte svg { width: 100%; height: 100%; object-fit: contain; }
.etq-nuevo { position: absolute; left: 8px; top: 8px; z-index: 2; background: var(--marron); color: #fff; font: 500 10px/1 var(--f-texto); letter-spacing: .12em; padding: 6px 8px; border-radius: 2px; }
.fav { position: absolute; right: 8px; top: 8px; z-index: 2; width: 32px; height: 32px; border: 0; background: transparent; display: grid; place-items: center; color: var(--tinta); }
.fav svg { fill: transparent; transition: fill .15s, color .15s; }
.fav[aria-pressed="true"] { color: var(--rosa-2); }
.fav[aria-pressed="true"] svg { fill: currentColor; }
.prod-dat { padding: 14px 0 12px; display: grid; gap: 2px; align-content: start; }
.prod-dat h3 { font: 500 15.5px/1.3 var(--f-texto); letter-spacing: 0; }
.prod-dat .desc { font-size: 13px; color: var(--suave); line-height: 1.45; }
.precio { font: 400 17px/1.3 var(--f-texto); margin-top: 6px; font-variant-numeric: tabular-nums; }
.prod-add { align-self: end; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 40px; background: var(--rosa); color: #fff; border: 0; border-radius: var(--radio); font-size: 13.5px; transition: background .18s; }
.prod-add:hover { background: var(--rosa-2); }
.prod.sin .prod-caja { opacity: .6; }
.agotado { display: grid; place-items: center; min-height: 40px; border: 1px solid var(--linea); border-radius: var(--radio); font-size: 13px; color: var(--suave); }
.vacio { grid-column: 1 / -1; padding: 40px 0; text-align: center; color: var(--suave); }
.nota-tienda { margin-top: 22px; font-size: 12.5px; color: var(--suave); text-align: center; }

/* ── Tarjetas de categoría ── */
.tiles { padding-block: 0 clamp(36px, 5vw, 56px); }
.tiles-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 22px); }
.tile { position: relative; display: block; aspect-ratio: 1.38; border: 0; padding: 0; overflow: hidden; border-radius: var(--radio); background: var(--tarjeta); text-align: left; color: #fff; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(40, 27, 24, .55), rgba(40, 27, 24, 0) 58%); }
.tile-t { position: absolute; left: 14px; bottom: 12px; z-index: 2; display: grid; gap: 4px; }
.tile-t b { font: 400 22px/1 var(--f-titulo); }
.tile-t small { display: inline-flex; align-items: center; gap: 6px; font: 500 10.5px/1 var(--f-texto); letter-spacing: .14em; text-transform: uppercase; opacity: .92; }

/* ── Servicios y portfolio ── */
.bloque { padding-block: clamp(20px, 3vw, 32px); }
.bloque-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--papel); padding: clamp(14px, 2vw, 22px); border-radius: var(--radio); }
.bloque-txt { display: grid; gap: 14px; justify-items: start; padding-block: 10px; }
.bloque-txt h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.bloque-txt .bajada { font-size: 14.5px; }
.serv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 16px); }
.serv a { display: block; text-decoration: none; background: var(--papel); border-radius: var(--radio); overflow: hidden; }
.serv-foto { aspect-ratio: 3 / 3.6; background: linear-gradient(170deg, #F0D7CC, #D8A99A); overflow: hidden; }
.serv-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.serv a:hover .serv-foto img { transform: scale(1.05); }
.serv-n { display: block; text-align: center; padding: 12px 6px; font-size: 14.5px; }
.port { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 16px); }
.foto { margin: 0; aspect-ratio: 3 / 3.4; overflow: hidden; border-radius: var(--radio); background: linear-gradient(170deg, #E9D6C8, #C9A892); }
.foto:nth-child(2) { background: linear-gradient(170deg, #E0D3DB, #B9A3B3); }
.foto:nth-child(3) { background: linear-gradient(170deg, #F1CFCD, #D79EA2); }
.foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.foto:hover img { transform: scale(1.05); }

/* ── Nosotros ── */
.nosotros { background: var(--banda); margin-top: clamp(20px, 3vw, 32px); }
.nos-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 56px); align-items: center; padding-block: clamp(28px, 4vw, 44px); }
.nos-foto { aspect-ratio: 1.55; border-radius: var(--radio); overflow: hidden; background: linear-gradient(170deg, #E9D6C8, #C9A892); }
.nos-foto img { width: 100%; height: 100%; object-fit: cover; }
.nos-txt { display: grid; gap: 12px; justify-items: start; }
.nos-txt h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.nos-txt p:not(.ceja):not(.nos-ac) { font-size: 14px; color: var(--suave); line-height: 1.65; }
.nos-ac { font-size: 13px; color: var(--suave); }
.nos-ac a { color: var(--tinta); text-underline-offset: 3px; }
.valores { display: grid; gap: 14px; }
.valores li { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--tinta); }
.valores svg { flex: none; color: var(--marron); }

/* ── Contacto ── */
.cont-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.cont-grid h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 12px 0 16px; }
.cont-acc { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.form { background: var(--papel); border: 1px solid var(--linea); border-radius: var(--radio); padding: clamp(22px, 3vw, 34px); display: grid; gap: 18px; }
.campo { display: grid; gap: 7px; }
.campo label, .entrega legend, .cupon label { font: 500 11.5px/1.3 var(--f-texto); letter-spacing: .14em; text-transform: uppercase; color: var(--suave); }
.op { text-transform: none; letter-spacing: 0; }
input, select, textarea { width: 100%; min-height: 48px; border: 1px solid var(--linea); border-radius: var(--radio); background: var(--fondo); padding: 11px 14px; font-size: 16px; transition: border-color .15s; }
textarea { resize: vertical; min-height: 96px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--rosa); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23A56C61' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-nota, .msg { min-height: 20px; font-size: 14px; color: var(--suave); }
.msg-ok { color: var(--ok); } .msg-error { color: var(--error); }

/* ── Pie ── */
.pie { background: var(--papel); border-top: 1px solid var(--linea); margin-top: clamp(30px, 4vw, 52px); }
.pie-in { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr 1.4fr; gap: 32px; padding-block: 34px 22px; align-items: start; }
.pie-marca { display: grid; justify-items: start; line-height: 1; }
.pie-marca .marca-n { font-size: 42px; }
.pie-marca .marca-s { margin-right: 0; }
.pie-col { display: grid; gap: 12px; justify-items: start; }
.pie-col h3 { font: 600 12px/1 var(--f-texto); letter-spacing: .08em; }
.pagos { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; }
.pagos span:first-child { font-weight: 600; color: #0A8AC7; }
.pie-dato { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--suave); }
.pie-dato a { text-decoration: none; } .pie-dato a:hover { color: var(--rosa-2); }
.pie-bajo { border-top: 1px solid var(--linea); padding-block: 14px 18px; font-size: 12px; color: var(--suave); }
.flota { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; background: var(--rosa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(138, 90, 79, .35); transition: transform .2s, background .2s; }
.flota:hover { background: var(--rosa-2); transform: translateY(-2px); }

/* ── Paneles (carrito y detalle) ── */
dialog { border: 0; padding: 0; color: var(--tinta); background: var(--fondo); }
dialog::backdrop { background: rgba(40, 27, 24, .5); backdrop-filter: blur(2px); }
.carrito { margin: 0 0 0 auto; width: min(460px, 100%); height: 100dvh; max-height: 100dvh; max-width: 100%; }
.carrito[open] { animation: entra .32s cubic-bezier(.2, .8, .2, 1); }
@keyframes entra { from { transform: translateX(40px); opacity: 0; } }
.car-in { height: 100%; display: flex; flex-direction: column; }
.car-cab { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 14px; }
.car-cab h2 { font-size: 1.9rem; }
.cerrar { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--linea); background: transparent; display: grid; place-items: center; }
.cerrar:hover { background: var(--linea); }
.car-cuerpo { flex: 1; overflow-y: auto; padding: 4px 22px 18px; }
.car-vacio { text-align: center; padding: 56px 0; display: grid; gap: 20px; justify-items: center; color: var(--suave); }
.car-items { display: grid; }
.item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--linea); }
.item-arte { width: 76px; height: 76px; border-radius: var(--radio); position: relative; overflow: hidden; background: var(--tarjeta); display: grid; place-items: center; }
.item-arte svg { width: 100%; height: 100%; padding: 8px; }
.item-arte img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.item-n { font-weight: 500; line-height: 1.3; }
.item-p { font-size: 13px; color: var(--suave); margin: 2px 0 10px; }
.item-t { font-size: 14px; padding-top: 2px; font-variant-numeric: tabular-nums; }
.cant { display: inline-flex; align-items: center; border: 1px solid var(--linea); border-radius: var(--radio); }
.cant button { width: 36px; height: 36px; border: 0; background: transparent; font-size: 18px; }
.cant button:hover { background: var(--linea); }
.cant span { min-width: 26px; text-align: center; font-size: 14px; }
.pedido { display: grid; gap: 16px; padding-top: 6px; }
.cupon-fila { display: flex; gap: 8px; margin-top: 7px; }
.cupon-fila input { text-transform: uppercase; letter-spacing: .08em; }
.entrega { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.entrega legend { padding: 0; margin-bottom: 8px; grid-column: 1 / -1; float: left; width: 100%; }
.opcion { position: relative; }
.opcion input { position: absolute; opacity: 0; inset: 0; }
.opcion span { display: grid; place-items: center; min-height: 48px; border: 1px solid var(--linea); border-radius: var(--radio); font-weight: 500; font-size: 14px; text-align: center; padding: 6px; }
.opcion input:checked + span { border-color: var(--rosa); background: var(--rosa); color: #fff; }
.opcion input:focus-visible + span { outline: 2px solid var(--rosa-2); outline-offset: 3px; }
.car-pie { padding: 16px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linea); background: var(--papel); display: grid; gap: 10px; }
.tot { margin: 0; display: grid; gap: 6px; }
.tot div { display: flex; justify-content: space-between; font-size: 15px; }
.tot dt { color: var(--suave); } .tot dd { margin: 0; font-size: 15px; font-variant-numeric: tabular-nums; }
.tot-final { padding-top: 8px; border-top: 1px solid var(--linea); }
.tot-final dt { color: var(--tinta); font-weight: 600; } .tot-final dd { font-size: 19px; font-weight: 500; }
.volver { background: none; border: 0; color: var(--suave); text-decoration: underline; font-size: 14px; padding: 6px; }
.seguro { text-align: center; font-size: 12px; color: var(--suave); }

.detalle { margin: auto; width: min(840px, calc(100% - 24px)); border-radius: var(--radio); overflow: hidden; max-height: calc(100dvh - 24px); }
.det-in { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.det-cerrar { position: absolute; right: 12px; top: 12px; z-index: 2; background: rgba(255, 253, 251, .85); border-color: transparent; }
.det-arte { position: relative; min-height: 400px; background: var(--tarjeta); }
.det-arte img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.det-arte .prod-arte { padding: 16% 20%; }
.det-txt { padding: clamp(26px, 4vw, 46px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.det-txt h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.det-desc { color: var(--suave); }
.det-precio { font-size: 24px; margin-bottom: 8px; }

.aviso { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 20px); background: var(--tinta); color: var(--fondo); padding: 12px 20px; border-radius: var(--radio); font-size: 14px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 200; max-width: calc(100% - 32px); text-align: center; }
.aviso.ver { opacity: 1; transform: translate(-50%, 0); }
.banner { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 14px 20px; font-weight: 500; font-size: 15px; text-align: center; }
.banner-ok { background: var(--ok); color: #fff; } .banner-alerta { background: var(--barra); color: var(--tinta); }
.banner button { background: none; border: 0; color: inherit; font-size: 22px; line-height: 1; }
/* ── Opciones (color / talle) ── */
.muestras { display: flex; align-items: center; gap: 5px; margin-top: 6px; min-height: 14px; }
.punto-c { display: inline-block; width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(58, 47, 45, .25); flex: none; }
.mas-c { font-size: 12px; color: var(--suave); }
.precio small { font-size: 12px; color: var(--suave); letter-spacing: .04em; }
.prod-add-linea { background: transparent; color: var(--tinta); border: 1px solid var(--tinta); }
.prod-add-linea:hover { background: var(--tinta); color: var(--fondo); }
.det-opc { display: grid; gap: 14px; }
.opc-t { font-size: 13px; color: var(--suave); margin-bottom: 8px; }
.opc-t b { color: var(--tinta); font-weight: 500; }
.opc-fila { display: flex; flex-wrap: wrap; gap: 8px; }
.opc-b { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid var(--linea); border-radius: var(--radio); background: transparent; font-size: 14px; transition: border-color .15s, background .15s; }
.opc-b:hover { border-color: var(--tinta); }
.opc-b.on { border-color: var(--tinta); background: var(--tinta); color: var(--fondo); }
.opc-b.agot { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.opc-b.agot:hover { border-color: var(--linea); }
.det-stock { min-height: 20px; font-size: 13px; color: var(--marron); }
.item-v { font-size: 13px; color: var(--suave); }
#cuponMsg { margin-block: 8px 14px; }

/* ── Pantallas chicas ── */
@media (max-width: 960px) {
  .menu { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--papel); border-bottom: 1px solid var(--linea); padding: 6px 20px 16px; gap: 0; display: none; margin: 0; }
  .menu.abierto { display: flex; }
  .menu a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--linea); }
  .burger { display: block; }
  .grilla { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bloque-in { grid-template-columns: 1fr; }
  .nos-in { grid-template-columns: 1fr 1fr; }
  .nos-foto { grid-column: 1 / -1; aspect-ratio: 2.2; }
  .valores { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .cont-grid { grid-template-columns: 1fr; }
  .pie-in { grid-template-columns: 1fr 1fr; }
  .det-in { grid-template-columns: 1fr; }
  .det-arte { min-height: 280px; }
}
@media (max-width: 640px) {
  .barra-t i, .barra-t span:last-child { display: none; }
  .redes .rs-txt { display: none; }
  .top-in { min-height: 64px; }
  .marca-n { font-size: 38px; }
  .marca-img { height: 48px; }
  .slide { min-height: 0; align-items: flex-start; flex-direction: column; }
  .slide-foto { position: relative; width: 100%; height: 230px; order: -1; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
  .slide-txt { padding-block: 6px 48px; }
  .puntos { bottom: 8px; }
  .puntos button::after { border-color: var(--tinta); background: transparent; }
  .puntos button[aria-current="true"]::after { background: var(--tinta); }
  .cats-in { gap: 18px; }
  .cat { font-size: 12.5px; max-width: 78px; text-align: center; }
  .cat-i { width: 50px; height: 50px; }
  .serv, .port { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nos-in { grid-template-columns: 1fr; }
  .valores { grid-template-columns: 1fr; }
  .pie-in { grid-template-columns: 1fr; gap: 24px; }
  .prod-dat .desc { display: none; }
  .tile-t b { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
