/* JTG Joyas — estilos del sitio.
   Layout: vitrina en oro rosado — el catálogo es una bandeja de compartimentos con línea fina; cada pieza apoya sobre un paño rubor, como en el logo. */
:root {
  --bg: #FFFFFF;          /* blanco */
  --surface: #FFFFFF;
  --tint: #FBF3EF;        /* relleno suave para estados y campos */
  --ink: #2B1D1B;         /* cacao */
  --muted: #7A6460;
  --line: #EBDBD4;
  --rose: #B5735E;        /* oro rosado del logo */
  --rose-ink: #8E4A37;    /* oro rosado para texto chico */
  --rose-soft: #F4E1D8;
  --pad-1: #FBEFEA;
  --pad-2: #EFD7CC;
  --pad-shadow: #6B3A2E;
  --plaque: #FEFEFE;      /* fondo fijo del logo (igual al de la imagen) */
  --ok: #3F6B52;
  --warn: #8A5A12;
  --display: "Cinzel", "Trajan Pro", "Times New Roman", Georgia, serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --step--1: .8125rem; --step-0: 1rem; --step-1: 1.2rem; --step-2: 1.6rem; --step-3: clamp(1.9rem, 4.6vw, 3rem); --step-4: clamp(2.3rem, 6.4vw, 4.6rem);
}
* { box-sizing: border-box }
:root { color-scheme: light }
body { background: var(--bg); color: var(--ink); font-family: var(--body); font-size: var(--step-0); line-height: 1.55; -webkit-font-smoothing: antialiased }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--surface) }
.wrap { max-width: 1240px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)) } }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: .02em; line-height: 1.08; text-wrap: balance; margin: 0 }
p { margin: 0 }
a { color: inherit }
button, input, select, textarea { font: inherit; color: inherit }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px }
.eyebrow { font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rose-ink) }
.brandtag { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-ink); border: 1px solid var(--rose); padding: 1px 7px; border-radius: 2px; white-space: nowrap }
.num { font-variant-numeric: tabular-nums }
.sparkle { display: inline-block; width: 14px; height: 14px; vertical-align: -1px; color: var(--rose) }

/* Barra superior y cabecera */
.strip { background: var(--ink); color: #FFFFFF; font-size: var(--step--1) }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: space-between; padding-block: 7px }
.strip span:last-child { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; color: var(--rose-soft) }
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line) }
header.top .wrap { display: flex; align-items: center; gap: 20px; padding-block: 10px }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none }
.brand .plaque { display: block }
.brand .plaque img { width: 46px; height: auto; display: block }
.brand span { display: flex; flex-direction: column; line-height: 1.1 }
.brand b { font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: .12em }
.brand small { font-family: var(--mono); font-size: .6rem; letter-spacing: .22em; color: var(--rose-ink); margin-top: 2px; text-transform: uppercase }
nav.main { display: flex; gap: 24px; margin-left: 16px }
nav.main a { text-decoration: none; font-weight: 500; font-size: .95rem }
nav.main a:hover { color: var(--rose-ink) }
.cart-btn { margin-left: auto; position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; border-radius: 2px; cursor: pointer }
.cart-btn:hover { color: var(--rose-ink) }
.cart-btn .count:empty { display: none }
.cart-btn .count { position: absolute; top: 0; right: -2px; font-family: var(--mono); font-size: .72rem; background: var(--rose); color: #FFFFFF; min-width: 20px; height: 20px; display: inline-grid; place-items: center; border-radius: 10px; padding-inline: 5px; border: 2px solid var(--surface) }
@media (max-width: 760px) { nav.main { display: none } .brand small { display: none } .strip span:last-child { display: none } }

/* Hero */
/* Hero: banner bajo a todo el ancho, con el texto sobre la foto */
.banner { position: relative; margin: 0; height: clamp(260px, 25vw, 360px); overflow: hidden; background: var(--rose-soft) }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 47%; display: block; animation: settle 1.4s cubic-bezier(.2,.7,.2,1) both }
@keyframes settle { from { transform: scale(1.04) } to { transform: none } }
.banner .overlay { position: absolute; inset: 0; display: flex; align-items: center; background: linear-gradient(90deg, rgba(38, 22, 20, .82) 0%, rgba(38, 22, 20, .6) 38%, rgba(38, 22, 20, 0) 72%) }
.banner .overlay .wrap { width: 100%; color: #FFFFFF }
.banner .eyebrow { color: #F4D6C9 }
.banner .sparkle { color: #F4D6C9 }
.banner h1 { font-size: clamp(1.7rem, 3.2vw, 2.9rem); max-width: none; margin-top: 0; text-shadow: 0 2px 18px rgba(0, 0, 0, .25) }
.banner h1 em { font-style: normal; color: #F2BBA5; text-shadow: 0 1px 2px rgba(0, 0, 0, .55), 0 2px 12px rgba(0, 0, 0, .45) }
.banner h1 .l { display: block }
.banner .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px }
.banner .btn.solid { background: #FFFFFF; color: #2B1D1B; border-color: #FFFFFF }
.banner .btn.solid:hover { background: #F4E1D8; border-color: #F4E1D8; color: #2B1D1B }
.banner .btn.ghost { color: #FFFFFF; border-color: rgba(255, 255, 255, .8) }
.banner .btn.ghost:hover { background: rgba(255, 255, 255, .12) }
.intro .wrap { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: space-between; padding-block: 26px; border-bottom: 1px solid var(--line) }
.intro .lede { color: var(--muted); max-width: 60ch }
.intro .brands { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: var(--muted) }
.intro .brands b { color: var(--ink); font-weight: 600 }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; font-weight: 600; border-radius: 2px; border: 1px solid var(--ink); text-decoration: none; cursor: pointer; background: transparent }
.btn.solid { background: var(--ink); color: var(--surface) }
.btn.solid:hover { background: var(--rose-ink); border-color: var(--rose-ink); color: #FFFFFF }
.btn.ghost:hover { background: var(--tint) }
@media (max-width: 700px) {
  .banner { height: 370px }
  .banner h1 { font-size: 1.65rem }
  .banner > img { object-position: 50% 42% }
  .banner .overlay { align-items: flex-end; padding-bottom: 28px; background: linear-gradient(0deg, rgba(38, 22, 20, .88) 0%, rgba(38, 22, 20, .55) 45%, rgba(38, 22, 20, 0) 80%) }
  .banner .btn { padding: 12px 18px }
}

/* Catálogo */
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--ink) }
.section-head h2 { font-size: var(--step-3) }
.filters { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; padding-block: 18px; border-bottom: 1px solid var(--line) }
.chips { display: flex; flex-wrap: wrap; gap: 6px }
.chip { border: 1px solid var(--line); background: var(--surface); padding: 7px 14px; border-radius: 999px; cursor: pointer; font-size: .9rem; font-weight: 500 }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink) }
.chip:hover { border-color: var(--ink) }
.search { margin-left: auto; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--ink); min-width: 0 }
.search input { border: 0; background: transparent; padding: 6px 2px; width: 210px; max-width: 100%; outline: none }
@media (max-width: 760px) { .search { margin-left: 0; width: 100% } .search input { width: 100% } }
.result-count { font-family: var(--mono); font-size: .78rem; color: var(--muted) }

.tray { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-left: 1px solid var(--line) }
@media (max-width: 1060px) { .tray { grid-template-columns: repeat(3, minmax(0, 1fr)) } }
@media (max-width: 760px) { .tray { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
.piece { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 14px 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; background: var(--surface) }
.pad-bg { background: radial-gradient(90% 85% at 40% 30%, var(--pad-1), var(--pad-2) 85%) }
.piece .pad { position: relative; aspect-ratio: 1; max-width: 100%; border-radius: 2px; overflow: hidden; border: 0; padding: 0; cursor: pointer; display: block; width: 100% }
.piece .pad svg { width: 100%; height: 100%; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1) }
.piece .pad:hover svg { transform: scale(1.06) rotate(-2deg) }
.piece .pad > img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1) }
.piece .pad:hover > img { transform: scale(1.04) }
.piece .pad .demo { position: absolute; top: 10px; right: 10px; font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--surface); padding: 3px 6px; border: 1px dashed var(--line) }
.piece .pad .avail { position: absolute; top: 10px; left: 10px; font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--surface); padding: 3px 7px; border: 1px solid var(--line) }
.piece .pad .avail.order { color: var(--warn) }
.piece h3 a { color: inherit; text-decoration: none }
.piece h3 a:hover { text-decoration: underline; text-underline-offset: 3px }
.piece .pad { text-decoration: none }
.piece h3 { font-family: var(--body); font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.28 }
.piece .meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; color: var(--muted); font-size: .84rem }
.piece .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto }
.piece .price { font-weight: 600; font-size: 1.05rem }
.piece .more { background: none; border: 0; padding: 4px 0; cursor: pointer; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font-size: .88rem; font-weight: 500 }
.empty { padding: 48px 0; text-align: center; color: var(--muted); border-bottom: 1px solid var(--line) }

/* Cómo comprar */
.how { padding-block: 72px }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line) }
.steps li { list-style: none; padding: 24px 24px 8px 0; border-right: 1px solid var(--line); margin-right: 24px; min-width: 0 }
.steps li:last-child { border-right: 0 }
.steps .n { font-family: var(--mono); color: var(--rose-ink); font-size: .78rem; letter-spacing: .12em }
.steps h3 { font-size: 1.15rem; margin: 10px 0 8px }
.steps p { color: var(--muted); max-width: 36ch }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr } .steps li { border-right: 0; border-bottom: 1px solid var(--line); margin-right: 0; padding-right: 0 } }

/* Cuidados */
.care { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line) }
.care .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; padding-block: 64px }
.care h2 { font-size: var(--step-3) }
.care dl { display: grid; grid-template-columns: auto 1fr; margin: 0 }
.care dt { font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; padding: 16px 20px 16px 0; border-top: 1px solid var(--rose); white-space: nowrap; color: var(--rose-ink) }
.care dd { margin: 0; padding: 14px 0; border-top: 1px solid var(--rose) }
@media (max-width: 760px) { .care .wrap { grid-template-columns: 1fr; gap: 24px } .care dl { grid-template-columns: 1fr } .care dt { padding-bottom: 0 } .care dd { border-top: 0; padding-top: 4px } }

footer { padding-block: 40px; color: var(--muted); font-size: .88rem }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between }
footer .wrap > div { max-width: 52ch }

/* Diálogos */
dialog { border: 0; padding: 0; background: var(--surface); color: var(--ink); max-width: 100vw; max-height: 100dvh }
dialog::backdrop { background: rgba(26, 14, 12, .5) }
.close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 1px solid var(--line); background: var(--surface); border-radius: 2px; cursor: pointer; font-size: 1.2rem; line-height: 1; z-index: 2 }
.close:hover { border-color: var(--ink) }
@media (max-width: 760px) { .close { top: calc(12px + env(safe-area-inset-top, 0px)); right: max(12px, env(safe-area-inset-right, 0px)) } }
section[id] { scroll-margin-top: 90px }

/* Página de producto */
.pview { padding-block: 20px 72px }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: .9rem; color: var(--muted); padding-bottom: 22px }
.crumbs a { color: var(--ink); font-weight: 600; text-decoration: none }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px }
.pgrid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: start }
.gallery .frame { aspect-ratio: 4 / 5; max-width: 100%; background: var(--tint); border-radius: 2px; overflow: hidden }
.gallery.drawn .frame { aspect-ratio: 1 }
.gallery .frame > img { width: 100%; height: 100%; object-fit: cover; display: block }
.gallery .frame > svg { width: 100%; height: 100%; display: block }
.gallery .thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px }
.gallery .thumbs button { width: 76px; height: 76px; padding: 0; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; cursor: pointer; background: var(--tint); opacity: .7 }
.gallery .thumbs button:hover { opacity: 1 }
.gallery .thumbs button[aria-current="true"] { border: 2px solid var(--rose); opacity: 1 }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; display: block }
.pinfo { display: flex; flex-direction: column; gap: 18px; min-width: 0; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px) }
.pinfo h1 { font-size: var(--step-3) }
.pinfo .price { font-size: 1.5rem; font-weight: 600 }
.pinfo .howto { background: var(--tint); border-radius: 2px; padding: 14px 16px; font-size: .88rem; color: var(--muted) }
.pinfo .howto b { color: var(--ink) }
.related { margin-top: 72px }
.related h2 { font-size: var(--step-2); padding-bottom: 16px; border-bottom: 1px solid var(--ink) }
@media (max-width: 860px) { .pgrid { grid-template-columns: 1fr; gap: 24px } .pinfo { position: static } .gallery .thumbs button { width: 60px; height: 60px } }

.specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: .9rem; border-block: 1px solid var(--line); padding-block: 12px; margin: 0 }
.specs dt { font-family: var(--mono); font-size: .72rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; padding-top: 3px }
.specs dd { margin: 0 }
.field { display: flex; flex-direction: column; gap: 6px }
.field label { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted) }
.field input, .field select { border: 1px solid var(--line); background: var(--bg); padding: 11px 12px; border-radius: 2px; width: 100%; min-width: 0 }
.field input:focus, .field select:focus { border-color: var(--ink); outline: none }
.field .hint { font-size: .8rem; color: var(--muted) }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 2px; align-items: stretch }
.qty button { width: 38px; border: 0; background: transparent; cursor: pointer; font-size: 1.1rem }
.qty button:hover { background: var(--tint) }
.qty output { min-width: 34px; display: grid; place-items: center; font-variant-numeric: tabular-nums; font-weight: 600 }
.add-row { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap }
.add-row .btn { flex: 1 }

.drawer { margin: 0 0 0 auto; width: min(520px, 100vw); height: 100dvh }
.drawer .inner { height: 100%; display: flex; flex-direction: column }
.drawer .head { padding: calc(20px + env(safe-area-inset-top, 0px)) 64px 16px 24px; border-bottom: 1px solid var(--line) }
.drawer .head h2 { font-size: var(--step-2) }
.drawer .head p { color: var(--muted); margin-top: 6px; font-size: .92rem }
.drawer .body { flex: 1; overflow-y: auto; padding: 8px 24px 24px; display: flex; flex-direction: column; gap: 26px }
.drawer .foot { border-top: 1px solid var(--line); padding: 16px 24px calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 10px; background: var(--surface) }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--line); align-items: start }
.line .thumb { width: 64px; height: 64px; border-radius: 2px; overflow: hidden }
.line .thumb svg, .line .thumb img { width: 100%; height: 100%; display: block; object-fit: cover }
.line .t { font-weight: 600; line-height: 1.3 }
.line .o { color: var(--muted); font-size: .84rem; margin-top: 2px }
.line .r { display: flex; flex-direction: column; align-items: end; gap: 8px }
.line .x { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); font-size: .84rem }
.opts { display: grid; gap: 8px; border: 0; padding: 0; margin: 0 }
.opts legend { margin-bottom: 8px; font-family: var(--display); font-weight: 600; font-size: 1.02rem; color: var(--ink); padding: 0 }
.opt { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 2px; cursor: pointer; align-items: start }
.opt input { margin: 3px 0 0; accent-color: var(--rose-ink) }
.opt small { grid-column: 2; color: var(--muted); font-size: .82rem }
.opt:has(input:checked) { border-color: var(--rose); background: var(--tint) }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
@media (max-width: 420px) { .two { grid-template-columns: 1fr } }
.sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px }
.sum b { font-size: 1.35rem; font-variant-numeric: tabular-nums }
.fine { font-size: .8rem; color: var(--muted) }
.wa { background: var(--ink); color: var(--surface); border-color: var(--ink); width: 100% }
.wa:hover { background: var(--rose-ink); border-color: var(--rose-ink); color: #FFFFFF }
details.preview summary { cursor: pointer; font-weight: 600; font-size: .92rem }
details.preview pre { white-space: pre-wrap; word-break: break-word; font-family: var(--mono); font-size: .78rem; background: var(--tint); border: 1px solid var(--line); padding: 14px; margin: 10px 0 0; line-height: 1.6; max-height: 260px; overflow: auto }
.demo-note { font-size: .82rem; border: 1px dashed var(--rose); color: var(--warn); padding: 10px 12px; border-radius: 2px }
.cart-empty { padding: 40px 0; text-align: center; color: var(--muted) }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--surface); padding: 12px 18px; border-radius: 2px; opacity: 0; pointer-events: none; transition: .25s; z-index: 50; font-weight: 500; max-width: calc(100vw - 32px) }
.toast.show { opacity: 1; transform: translateX(-50%) }

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

/* Precio a consultar */
.price.ask { font-family: var(--mono); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--rose-ink) }

/* Formas de pago */
.piece .paynote { font-size: .76rem; color: var(--muted); line-height: 1.35; margin-top: -4px }
.pinfo .paydetail { font-size: .9rem; color: var(--muted); margin-top: -10px }
.pinfo .paydetail b { color: var(--ink); font-weight: 600 }
.add-row .btn:disabled { background: var(--line); border-color: var(--line); color: var(--muted); cursor: not-allowed }

/* Regalo, mayoristas y testimonios */
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 56px; border-block: 1px solid var(--line) }
.perks > div { padding: 28px 28px 28px 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; min-width: 0 }
.perks > div + div { padding-left: 28px; border-left: 1px solid var(--line) }
.perks h3 { font-size: 1.15rem }
.perks p:not(.eyebrow) { color: var(--muted) }
.perks .btn { margin-top: 6px; padding: 10px 16px }
@media (max-width: 760px) { .perks { grid-template-columns: 1fr } .perks > div, .perks > div + div { padding: 22px 0; border-left: 0 } .perks > div + div { border-top: 1px solid var(--line) } }

/* Preguntas frecuentes */
.faq { padding-bottom: 72px }
.faq details { border-bottom: 1px solid var(--line) }
.faq summary { cursor: pointer; padding: 18px 32px 18px 0; font-weight: 600; font-size: 1.05rem; list-style: none; position: relative }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.4rem; font-weight: 400; color: var(--rose-ink) }
.faq details[open] summary::after { content: "−" }
.faq details p { color: var(--muted); padding-bottom: 14px; max-width: 70ch }
.faq details p b { color: var(--ink) }
.faq a { color: var(--rose-ink) }
footer a { color: var(--rose-ink) }

/* Panel de administrador (#admin) */
.admin { padding-block: 32px 80px }
.adm-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); margin-bottom: 20px }
.adm-head h1 { font-size: var(--step-3) }
.adm-actions { display: flex; flex-wrap: wrap; gap: 10px }
.adm-note { color: var(--muted); font-size: .9rem }
.adm-ok { background: #EEF5F0; color: var(--ok); padding: 12px 14px; border-radius: 2px; margin-bottom: 16px }
.adm-error { background: #FBEDEA; color: #8E2F1F; padding: 12px 14px; border-radius: 2px }
.adm-box { border: 1px dashed var(--rose); padding: 16px; border-radius: 2px; display: grid; gap: 12px; justify-items: start; margin-bottom: 16px }
.adm-login { max-width: 380px; margin: 24px auto; display: grid; gap: 16px }
.adm-login h1 { font-size: var(--step-3) }
.adm-link { font-size: .9rem; color: var(--muted) }
.adm-list { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line) }
.adm-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line) }
.adm-list img { width: 64px; height: 64px; object-fit: cover; border-radius: 2px; background: var(--tint) }
.adm-info { display: flex; flex-direction: column; gap: 2px; min-width: 0 }
.adm-info span { color: var(--muted); font-size: .86rem }
.adm-info em { font-style: normal; color: var(--warn) }
.adm-row-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: end }
.adm-row-actions button, .adm-photos button { border: 1px solid var(--line); background: var(--surface); padding: 6px 10px; border-radius: 2px; cursor: pointer; font-size: .85rem }
.adm-row-actions button:hover, .adm-photos button:hover { border-color: var(--ink) }
.adm-danger { color: #8E2F1F }
@media (max-width: 600px) { .adm-list li { grid-template-columns: 56px minmax(0, 1fr) } .adm-list img { width: 56px; height: 56px } .adm-row-actions { grid-column: 1 / -1; justify-content: start } }
.adm-form { display: grid; gap: 18px; max-width: 720px }
.adm-form textarea { border: 1px solid var(--line); background: var(--bg); padding: 11px 12px; border-radius: 2px; width: 100%; resize: vertical; font: inherit }
.adm-check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem }
.adm-check input { margin-top: 4px; accent-color: var(--rose-ink) }
.adm-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px }
.adm-photos figure { margin: 0; display: grid; gap: 6px; position: relative }
.adm-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; background: var(--tint) }
.adm-photos figcaption { position: absolute; top: 6px; left: 6px; background: var(--ink); color: #FFFFFF; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; padding: 2px 6px }
.adm-photos figure div { display: flex; gap: 6px; flex-wrap: wrap }
.adm-upload { justify-self: start; cursor: pointer }
.field label.adm-upload { font-family: var(--body); font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--ink) }

/* ======== Animaciones ========
   Todo se desactiva solo si la persona pidió «reducir movimiento» en su teléfono o compu (regla prefers-reduced-motion de más arriba). */
:root { --ease: cubic-bezier(.2, .7, .2, 1) }
.anim .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms) }
.anim .reveal.in { opacity: 1; transform: none }
@keyframes rise { from { opacity: 0; transform: translateY(16px) } to { opacity: 1; transform: none } }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes slideIn { from { transform: translateX(100%) } to { transform: none } }
@keyframes bump { 0% { transform: none } 30% { transform: scale(1.18) rotate(-6deg) } 60% { transform: scale(.96) rotate(3deg) } 100% { transform: none } }

/* Banner: el título y los botones entran al cargar */
.banner h1 .l { animation: rise .8s var(--ease) both }
.banner h1 .l + .l { animation-delay: .12s }
.banner .ctas { animation: rise .8s var(--ease) .26s both }

/* Cabecera: sombra suave al bajar */
header.top { transition: box-shadow .3s ease }
header.top.scrolled { box-shadow: 0 6px 18px -12px rgba(43, 29, 27, .35) }

/* Botones, filtros y enlaces */
.btn, .chip, .cart-btn, .opt, .qty button, nav.main a, .more, .crumbs a { transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .15s ease }
.btn:active, .chip:active, .qty button:active { transform: scale(.97) }
.btn.solid:hover, .wa:hover { transform: translateY(-1px) }
.cart-btn.bump { animation: bump .55s var(--ease) }
.cart-btn.bump .count { animation: bump .55s var(--ease) }

/* Tarjetas del catálogo */
.piece .pad > img { transition: transform .6s var(--ease) }
.piece h3 a { transition: color .2s ease }
.piece:hover h3 a { color: var(--rose-ink) }

/* Página de producto: entra suave cada vez que se abre */
.pview:not([hidden]) .gallery { animation: rise .6s var(--ease) both }
.pview:not([hidden]) .pinfo { animation: rise .6s var(--ease) .08s both }
.gallery .thumbs button { transition: opacity .2s ease, border-color .2s ease }

/* Carrito: entra deslizándose desde la derecha */
.drawer[open] { animation: slideIn .38s var(--ease) }
.drawer[open]::backdrop { animation: fadeIn .3s ease }

/* Preguntas frecuentes: la respuesta aparece suave */
.faq summary::after { transition: transform .25s ease }
.faq details[open] summary::after { transform: rotate(180deg) }
.faq details[open] > p { animation: rise .35s var(--ease) both }

/* Carrusel de fotos en la página de producto */
.carousel { position: relative; aspect-ratio: 4 / 5; max-width: 100%; background: var(--tint); border-radius: 2px; overflow: hidden }
.carousel .track { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; outline: none }
.carousel .track::-webkit-scrollbar { display: none }
.carousel .track > img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; display: block; scroll-snap-align: start; scroll-snap-stop: always; user-select: none }
.carousel .track:focus-visible { box-shadow: inset 0 0 0 2px var(--rose) }
.cnav { position: absolute; top: 50%; translate: 0 -50%; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .88); color: var(--ink); cursor: pointer; box-shadow: 0 4px 14px -6px rgba(43, 29, 27, .45); transition: opacity .25s ease, background-color .2s ease, transform .15s ease }
.cnav.prev { left: 12px } .cnav.next { right: 12px }
.cnav:hover { background: #FFFFFF }
.cnav:active { transform: scale(.92) }
.cnav:disabled { opacity: 0; pointer-events: none }
.ccount { position: absolute; right: 12px; bottom: 12px; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: #FFFFFF; background: rgba(43, 29, 27, .6); padding: 3px 9px; border-radius: 999px }
@media (hover: hover) and (min-width: 861px) { .carousel .cnav { opacity: 0 } .carousel:hover .cnav:not(:disabled), .carousel .cnav:focus-visible { opacity: 1 } }
@media (max-width: 860px) { .cnav { width: 36px; height: 36px } }

/* Ofertas: precio tachado y ahorro */
.deal-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px }
.was { color: var(--muted); font-weight: 400; text-decoration: line-through; text-decoration-thickness: 1px }
.piece .was { font-size: .84rem }
.piece.deal .price { color: var(--rose-ink) }
.save-tag { display: inline-block; font-family: var(--mono); font-size: .66rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #FFFFFF; background: var(--rose-ink); padding: 4px 8px; border-radius: 2px; white-space: nowrap; vertical-align: middle;
  background-image: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%); background-size: 250% 100%; animation: shine 3.2s ease-in-out infinite }
@keyframes shine { 0%, 60% { background-position: 120% 0 } 100% { background-position: -20% 0 } }
.piece .pad .save-tag { position: absolute; left: 10px; bottom: 10px }
.pinfo .price.deal-price { color: var(--rose-ink) }
.pinfo .price .was { font-size: 1.05rem }
.pinfo .price .save-tag { font-size: .7rem; margin-left: 2px }
.deal-note { font-size: .9rem; color: var(--ink); background: var(--rose-soft); border-left: 3px solid var(--rose); padding: 10px 14px; border-radius: 2px; margin-top: -6px }

/* Carrito: set detectado y sugerencia de set */
.set-found { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-top: 14px; padding: 12px 14px; background: var(--rose-soft); border: 1px solid var(--rose); border-radius: 2px; animation: rise .4s var(--ease) both }
.set-found div { display: flex; flex-direction: column; gap: 2px; font-size: .9rem }
.set-found div span { color: var(--muted); font-size: .84rem }
.set-found > b { color: var(--rose-ink); font-size: 1.05rem; white-space: nowrap }
.set-hint { display: block; margin-top: 14px; padding: 12px 14px; border: 1px dashed var(--rose); border-radius: 2px; font-size: .88rem; color: var(--rose-ink); text-decoration: none; transition: background-color .2s ease }
.set-hint:hover { background: var(--tint) }

/* Anillos: talles disponibles */
.piece .sizes { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: .78rem; color: var(--muted); margin-top: -4px }
.piece .sizes span { font-family: var(--mono); font-size: .72rem; border: 1px solid var(--line); padding: 1px 6px; border-radius: 2px; color: var(--ink) }
.size-pick { display: flex; flex-wrap: wrap; gap: 8px }
.size-pick label { position: relative; cursor: pointer }
.size-pick input { position: absolute; opacity: 0; pointer-events: none }
.size-pick span { display: inline-grid; place-items: center; min-width: 48px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 2px; font-weight: 600; font-variant-numeric: tabular-nums; transition: border-color .2s ease, background-color .2s ease, color .2s ease }
.size-pick label:hover span { border-color: var(--ink) }
.size-pick input:checked + span { background: var(--ink); border-color: var(--ink); color: #FFFFFF }
.size-pick input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 2px }
.size-pick .off { cursor: not-allowed }
.size-pick .off span { color: var(--muted); text-decoration: line-through; background: var(--tint); border-style: dashed }
.size-pick .off:hover span { border-color: var(--line) }
.size-pick .nose span { font-weight: 500; font-size: .9rem }
.adm-sizes { border: 0; padding: 0; margin: 0 }
.adm-sizes legend { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; padding: 0 }
.adm-sizes > div { display: flex; gap: 10px }
.adm-sizes label { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); padding: 8px 14px; border-radius: 2px; cursor: pointer; font-weight: 600 }
.adm-sizes label:has(input:checked) { border-color: var(--rose); background: var(--tint) }
.adm-sizes input { accent-color: var(--rose-ink) }
.field .size-pick label, .field.adm-sizes label { font-family: var(--body); font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--ink) }
.field .size-pick .nose { font-size: .92rem }

/* «Última en stock» */
.piece .pad .avail.last { color: #FFFFFF; background: var(--rose-ink); border-color: var(--rose-ink); animation: lastPulse 2.4s ease-in-out infinite }
@keyframes lastPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(142, 74, 55, .45) } 50% { box-shadow: 0 0 0 6px rgba(142, 74, 55, 0) } }
.last-note { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; font-size: .92rem; color: var(--ink); border: 1px solid var(--rose); background: var(--tint); padding: 10px 14px; border-radius: 2px; margin-top: -6px }
.last-note b { color: var(--rose-ink) }
.adm-set-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px }
@media (max-width: 600px) { .adm-set-pick { grid-template-columns: 1fr } }

/* Envío por moto: datos para cotizar */
.moto { border: 1px solid var(--line); border-radius: 2px; padding: 16px; margin: 0 0 22px; display: grid; gap: 14px; animation: rise .35s var(--ease) both }
.moto legend { font-family: var(--display); font-weight: 600; font-size: 1.02rem; padding: 0 6px }
.moto .err { display: none; font-size: .8rem; color: #8E2F1F }
.moto .field.invalid .err { display: block }
.moto .field.invalid input, .moto .field.invalid select { border-color: #B4533F; background: #FDF4F2 }
.moto-ok { font-size: .88rem; color: var(--ok); background: #EEF5F0; padding: 10px 12px; border-radius: 2px; animation: rise .35s var(--ease) both }
.wa.pending { opacity: .55 }

/* ======== Menú del encabezado (botón de tres líneas) ======== */
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 4px }
.top-actions .cart-btn { margin-left: 0 }
.menu-btn { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border: 0; background: transparent; cursor: pointer; border-radius: 2px; transition: background-color .2s ease }
.menu-btn span { display: block; width: 20px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s ease }
.menu-btn:hover { background: var(--tint) }
.menu-btn[aria-expanded="true"] { background: var(--tint) }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg) }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0 }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg) }
.site-menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -24px rgba(43, 29, 27, .45); max-height: calc(100dvh - 70px); overflow-y: auto; animation: menuIn .32s var(--ease) both }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px) } to { opacity: 1; transform: none } }
.site-menu .wrap { padding-block: 18px 16px }
header.top .site-menu .wrap { display: block }
.menu-search { display: flex; align-items: center; gap: 10px; border: 1px solid var(--ink); border-radius: 2px; padding: 0 14px; color: var(--muted) }
.menu-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 13px 0; outline: none; font-size: 1rem; color: var(--ink) }
.menu-search:focus-within { box-shadow: 0 0 0 2px var(--rose-soft) }
.menu-list { list-style: none; margin: 10px 0 0; padding: 0 }
.menu-list li { border-bottom: 1px solid var(--line) }
.menu-list a { display: flex; align-items: center; gap: 14px; padding: 15px 2px; text-decoration: none; font-size: 1.08rem; font-weight: 500 }
.menu-list .n { font-family: var(--mono); font-size: .72rem; color: var(--rose-ink); min-width: 18px }
.menu-list .t { flex: 1 }
.menu-list .arr { color: var(--muted); transition: transform .25s var(--ease), color .2s ease }
.menu-list a:hover .t { color: var(--rose-ink) }
.menu-list a:hover .arr { transform: translateX(4px); color: var(--rose-ink) }
.anim .site-menu .menu-list li { animation: rise .4s var(--ease) both }
.anim .site-menu .menu-list li:nth-child(2) { animation-delay: .03s } .anim .site-menu .menu-list li:nth-child(3) { animation-delay: .06s }
.anim .site-menu .menu-list li:nth-child(4) { animation-delay: .09s } .anim .site-menu .menu-list li:nth-child(5) { animation-delay: .12s }
.anim .site-menu .menu-list li:nth-child(6) { animation-delay: .15s } .anim .site-menu .menu-list li:nth-child(7) { animation-delay: .18s }
.anim .site-menu .menu-list li:nth-child(8) { animation-delay: .21s } .anim .site-menu .menu-list li:nth-child(9) { animation-delay: .24s }
.menu-foot { margin-top: 14px; font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted) }
@media (min-width: 900px) { .site-menu .wrap { max-width: 760px } }

/* ======== Inicio: catálogo sin filtros ======== */
.head-link { font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--rose-ink); white-space: nowrap }
.head-link:hover { text-decoration: underline; text-underline-offset: 3px }
.home-more { text-align: center; padding-top: 28px }

/* ======== Página del catálogo (#catalogo) ======== */
.catview { padding-block: 0 72px }
.cat-hero { padding-block: 40px 30px }
.cat-hero h1 { font-size: var(--step-4); margin-top: 10px }
.cat-hero p:not(.eyebrow) { color: var(--muted); margin-top: 10px; max-width: 56ch }
.filter-box { border: 1px solid var(--ink); border-radius: 2px; margin-block: 18px 6px }
.filter-box summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; font-weight: 600 }
.filter-box summary::-webkit-details-marker { display: none }
.filter-box summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; color: var(--rose-ink); transition: transform .25s ease }
.filter-box[open] summary::after { transform: rotate(45deg) }
.filter-box summary .fcount { margin-left: auto; font-family: var(--mono); font-size: .72rem; background: var(--rose); color: #FFFFFF; min-width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 11px; padding-inline: 6px }
.filter-box .filters { border-top: 1px solid var(--line); border-bottom: 0; padding: 16px; animation: rise .3s var(--ease) both }
.clear-filters { border: 0; background: none; padding: 4px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); font-size: .9rem }
.catview .tray { margin-top: 18px; border-top: 1px solid var(--line) }
.sort { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted) }
.sort select { border: 1px solid var(--line); background: var(--bg); padding: 8px 10px; border-radius: 2px; color: var(--ink); font-weight: 500 }
.sort select:focus { border-color: var(--ink); outline: none }
.chip[data-k="oferta"] { border-color: var(--rose); color: var(--rose-ink) }
.chip[data-k="oferta"][aria-pressed="true"] { background: var(--rose-ink); border-color: var(--rose-ink); color: #FFFFFF }

/* ======== Cyber Monday ======== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
/* Franja de arriba: texto que corre */
.cy-strip { background: linear-gradient(90deg, #6E3524, var(--rose-ink) 35%, var(--rose) 65%, #6E3524); color: #FFFFFF; overflow: hidden; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase }
.cy-marquee { display: flex; width: max-content; animation: cyMarquee 38s linear infinite; padding-block: 8px }
.cy-marquee span { white-space: nowrap; padding-right: 0 }
@keyframes cyMarquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }
/* Bloque principal */
.cyber { position: relative; overflow: hidden; color: #FFFFFF; background: radial-gradient(120% 140% at 85% 0%, #5A2E22 0%, #2B1D1B 55%, #1C1211 100%); isolation: isolate }
.cy-glow { position: absolute; inset: -40% -10% auto auto; width: 70%; aspect-ratio: 1; background: radial-gradient(circle, rgba(242, 187, 165, .35), transparent 60%); filter: blur(10px); z-index: -1; animation: cyGlow 6s ease-in-out infinite alternate }
@keyframes cyGlow { from { transform: translate(0, 0) scale(1) } to { transform: translate(-8%, 10%) scale(1.15) } }
.cy-spark { position: absolute; width: 18px; height: 18px; color: #F2BBA5; z-index: -1; animation: twinkle 2.6s ease-in-out infinite }
.cy-spark.s1 { top: 18%; left: 52% } .cy-spark.s2 { top: 70%; left: 8%; width: 12px; animation-delay: .8s } .cy-spark.s3 { top: 12%; right: 6%; width: 26px; animation-delay: 1.5s }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.6) rotate(0) } 50% { opacity: 1; transform: scale(1.1) rotate(20deg) } }
.cy-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-block: 40px }
.cy-kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #F4D6C9; border: 1px solid rgba(244, 214, 201, .35); padding: 6px 12px; border-radius: 999px }
.cy-dot { width: 8px; height: 8px; border-radius: 50%; background: #FF8A6B; box-shadow: 0 0 0 0 rgba(255, 138, 107, .7); animation: cyDot 1.6s ease-out infinite }
@keyframes cyDot { to { box-shadow: 0 0 0 10px rgba(255, 138, 107, 0) } }
.cy-title { margin-top: 16px; font-size: clamp(2.8rem, 8vw, 5.6rem); line-height: .95; letter-spacing: .03em; background: linear-gradient(100deg, #FFFFFF 0%, #F2BBA5 25%, #FFFFFF 45%, #D9957E 70%, #FFFFFF 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: cyShine 5s linear infinite }
.cy-title span { display: inline-block }
@keyframes cyShine { from { background-position: 100% 0 } to { background-position: -120% 0 } }
.cy-deals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px }
.cy-deal { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid rgba(242, 187, 165, .4); background: rgba(255, 255, 255, .05); border-radius: 2px; text-decoration: none; color: #FFFFFF; transition: transform .25s var(--ease), background-color .25s ease, border-color .25s ease }
.cy-deal:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .09); border-color: #F2BBA5 }
.cy-deal b { font-family: var(--display); font-size: clamp(1.7rem, 4vw, 2.4rem); color: #F2BBA5; line-height: 1 }
.cy-deal > span { font-size: .9rem; color: rgba(255, 255, 255, .82) }
.cy-deal s { color: rgba(255, 255, 255, .55) }
.cy-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px }
.cy-cta { background: #FFFFFF; color: #2B1D1B; border-color: #FFFFFF; animation: cyPulse 2.2s ease-in-out infinite }
.cy-cta:hover { background: #F4E1D8; border-color: #F4E1D8 }
@keyframes cyPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(242, 187, 165, .55) } 50% { box-shadow: 0 0 0 10px rgba(242, 187, 165, 0) } }
.cy-ghost { color: #FFFFFF; border-color: rgba(255, 255, 255, .6) }
.cy-ghost:hover { background: rgba(255, 255, 255, .1) }
.cy-side { text-align: center; padding: 22px; border: 1px solid rgba(242, 187, 165, .35); border-radius: 2px; background: rgba(0, 0, 0, .18) }
.cy-ends { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #F4D6C9 }
.cy-timer { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px }
.cy-timer div { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px; background: #FFFFFF; color: #2B1D1B; border-radius: 2px }
.cy-timer b { font-family: var(--display); font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1; font-variant-numeric: tabular-nums }
.cy-timer span { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--rose-ink) }
.cy-small { margin-top: 12px; font-size: .82rem; color: rgba(255, 255, 255, .75) }
@media (max-width: 860px) { .cy-grid { grid-template-columns: 1fr; gap: 22px; padding-block: 30px } }
@media (max-width: 520px) { .cy-deals { grid-template-columns: 1fr } .cy-ctas .btn { flex: 1 } }
/* Etiquetas y avisos */
.cy-badge { display: inline-block; font-family: var(--mono); font-size: .62rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #FFFFFF; background: linear-gradient(90deg, #2B1D1B, var(--rose-ink)); padding: 4px 8px; border-radius: 2px; white-space: nowrap }
.piece .pad .cy-tag { position: absolute; top: 10px; right: 10px; font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: #FFFFFF; background: #2B1D1B; padding: 4px 8px; border-radius: 2px; animation: cyPulse 2.2s ease-in-out infinite }
.cy-mini { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 26px; padding: 14px 16px; background: linear-gradient(100deg, #2B1D1B, #5A2E22); color: #FFFFFF; text-decoration: none; border-radius: 2px }
.cy-mini .cy-badge { background: #F2BBA5; color: #2B1D1B }
.cy-mini-t { flex: 1; min-width: 200px }
.cy-mini-t b { color: #F2BBA5 }
.cy-mini-time { font-family: var(--mono); font-size: .76rem; color: #F4D6C9 }
.cy-note { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; font-size: .9rem; padding: 10px 14px; border: 1px solid var(--ink); border-radius: 2px; margin-top: -6px }
.cy-cart { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-top: 14px; padding: 12px 14px; border: 1px dashed var(--rose-ink); border-radius: 2px; text-decoration: none; color: var(--ink); background: var(--tint); animation: rise .4s var(--ease) both }
.cy-cart div { display: flex; flex-direction: column; gap: 2px; font-size: .9rem }
.cy-cart div span { color: var(--muted); font-size: .82rem }
.cy-cart.ok { border-style: solid; background: #2B1D1B; color: #FFFFFF }
.cy-cart.ok div span { color: rgba(255, 255, 255, .75) }
.cy-cart.ok > b { color: #F2BBA5; font-size: 1.05rem; white-space: nowrap }
.cy-cart.ok .cy-badge { background: #F2BBA5; color: #2B1D1B }
@media (max-width: 420px) { .cy-cart { grid-template-columns: minmax(0, 1fr) auto } .cy-cart .cy-badge { grid-column: 1 / -1; justify-self: start } }

/* Guía de talles de anillos */
.size-guide { margin-top: 4px; border: 1px solid var(--line); border-radius: 2px }
.size-guide summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; padding: 10px 12px; font-weight: 600; font-size: .92rem; color: var(--rose-ink) }
.size-guide summary::-webkit-details-marker { display: none }
.size-guide summary::before { content: ""; width: 16px; height: 16px; flex: none; border: 1.5px solid currentColor; border-radius: 50%; box-shadow: inset 0 0 0 3px var(--surface), inset 0 0 0 4.5px currentColor }
.size-guide summary::after { content: "+"; margin-left: auto; font-size: 1.2rem; font-weight: 400; transition: transform .25s ease }
.size-guide[open] summary::after { transform: rotate(45deg) }
.size-guide table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; animation: rise .3s var(--ease) both }
.size-guide th, .size-guide td { text-align: left; padding: 9px 12px; border-top: 1px solid var(--line) }
.size-guide thead th { font-family: var(--mono); font-size: .66rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--tint) }
.size-guide tbody th { font-weight: 600 }
.size-guide tr.off { color: var(--muted) }
.size-guide p { font-size: .82rem; color: var(--muted); padding: 10px 12px 12px; border-top: 1px solid var(--line) }
.field .size-guide summary { font-family: var(--body); letter-spacing: 0; text-transform: none }
