/* =========================================================
   Numismatic Collection · tienda pública
   Tipografías autoalojadas (SIL Open Font License 1.1)
   ========================================================= */
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA,U+20A0-20AB,U+20AD-20C0,U+1E00-1E9F; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-ext-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0100-02BA,U+20A0-20AB,U+20AD-20C0,U+1E00-1E9F; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-ext-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-02BA,U+20A0-20AB,U+20AD-20C0,U+1E00-1E9F; }

:root {
  --black: #0D0D0D;
  --black-2: #161512;
  --black-3: #22201B;
  --gold: #D4AF37;
  --gold-light: #EFD9A0;
  --gold-deep: #7A5C12;
  --gold-soft: #F6EDD3;
  --cream: #F7F3EA;
  --paper: #FFFFFF;
  --ink: #1B1A17;
  --ink-2: #4A463E;
  --muted: #6B665C;
  --line: #E7DFCC;
  --line-2: #D8CDB3;
  --green: #1E7A46;
  --green-bg: #E6F4EC;
  --amber: #8A5A00;
  --amber-bg: #FFF2D6;
  --red: #A1281F;
  --red-bg: #FCE9E7;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 10px 30px -14px rgba(24, 20, 10, .28);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --display: "Cinzel", "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font: 400 1rem/1.6 var(--body); color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: .01em; }
h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
[role="list"], .plain-list { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { width: min(1280px, 100% - 2rem); margin-inline: auto; }
.narrow { width: min(860px, 100% - 2rem); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 300; padding: .7rem 1rem; border-radius: 8px; background: var(--gold); color: var(--black); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 2px; border-radius: 6px; }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.icon-lg { width: 1.6rem; height: 1.6rem; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.mono { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .65rem 1.2rem; border: 1.5px solid transparent; border-radius: 999px; font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer; background: transparent; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-gold { background: linear-gradient(180deg, #E3C45E, var(--gold) 55%, #B9942B); color: var(--black); box-shadow: 0 8px 20px -12px rgba(160,120,20,.8); }
.btn-dark { background: var(--black); color: var(--gold-light); }
.btn-dark:hover { background: #000; color: #fff; }
.btn-outline { border-color: var(--line-2); color: var(--ink); background: var(--paper); }
.btn-outline:hover { border-color: var(--gold-deep); }
.btn-outline-light { border-color: var(--gold); color: var(--gold-light); }
.btn-outline-light:hover { background: rgba(212,175,55,.12); color: #fff; }
.btn-wa { background: #1F9E55; color: #fff; }
.btn-wa:hover { background: #188547; }
.btn-danger { background: var(--red); color: #fff; }
.btn-block { width: 100%; }
.btn-lg { min-height: 54px; padding: .9rem 1.6rem; font-size: 1.05rem; }
.btn-sm { min-height: 36px; padding: .4rem .85rem; font-size: .85rem; }
.btn-icon { width: 44px; padding: 0; }
.link { color: var(--gold-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Avisos ---------- */
.flash-wrap { position: relative; z-index: 5; }
.alert { display: flex; gap: .7rem; align-items: flex-start; padding: .9rem 1rem; border-radius: var(--radius); border: 1px solid; margin: 1rem 0; font-size: .95rem; }
.alert .icon { margin-top: .15rem; }
.alert-success { background: var(--green-bg); border-color: #B7DEC6; color: #134B2C; }
.alert-error { background: var(--red-bg); border-color: #F1C2BC; color: #6E1912; }
.alert-info { background: var(--gold-soft); border-color: #E6D29A; color: #4F3B09; }
.alert-warning { background: var(--amber-bg); border-color: #EAC98A; color: #5A3B00; }

/* ---------- Encabezado ---------- */
.topbar { background: #000; color: #CFC8B8; font-size: .8rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; }
.topbar a { color: var(--gold-light); text-decoration: none; }
.topbar-links { display: flex; gap: 1rem; align-items: center; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(13,13,13,.97); backdrop-filter: blur(8px); color: #EDE8DC; border-bottom: 1px solid rgba(212,175,55,.25); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--gold-light); flex: none; }
.brand img { width: 42px; height: 42px; border-radius: 50%; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: .98rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1.1; }
.brand-name span { display: block; color: var(--gold); font-size: .8em; }
.main-nav { display: flex; align-items: center; gap: .2rem; }
.main-nav > a, .nav-dropdown > summary { display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .7rem; border-radius: 8px; color: #E9E4D8; text-decoration: none; font-size: .92rem; font-weight: 500; cursor: pointer; list-style: none; }
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.main-nav > a:hover, .nav-dropdown > summary:hover, .main-nav > a[aria-current="page"] { color: var(--gold-light); background: rgba(212,175,55,.08); }
.nav-dropdown { position: relative; }
.nav-dropdown[open] > summary { color: var(--gold-light); }
.nav-dropdown-panel { position: absolute; top: calc(100% + 8px); left: 0; width: min(640px, 90vw); padding: 1.2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .3rem 1.4rem; background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); box-shadow: 0 24px 50px -20px rgba(0,0,0,.5); border: 1px solid var(--line); }
.nav-dropdown-panel a { display: flex; justify-content: space-between; padding: .4rem .5rem; border-radius: 8px; text-decoration: none; font-size: .92rem; }
.nav-dropdown-panel a:hover { background: var(--gold-soft); }
.nav-dropdown-panel .parent { font-weight: 600; }
.nav-dropdown-panel .child { padding-left: 1.2rem; color: var(--ink-2); font-size: .86rem; }
.header-search { flex: 1; display: flex; max-width: 460px; margin-left: auto; }
.header-search input { flex: 1; min-width: 0; height: 42px; padding: 0 .9rem; border: 1px solid rgba(212,175,55,.35); border-right: 0; border-radius: 999px 0 0 999px; background: #1B1A16; color: #fff; }
.header-search input::placeholder { color: #9C968A; }
.header-search button { height: 42px; width: 48px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 0 999px 999px 0; background: var(--gold); color: var(--black); cursor: pointer; }
.cart-link { position: relative; display: inline-flex; align-items: center; gap: .45rem; height: 42px; padding: 0 .9rem; border-radius: 999px; border: 1px solid rgba(212,175,55,.45); color: var(--gold-light); text-decoration: none; font-weight: 600; font-size: .9rem; flex: none; }
.cart-link:hover { background: rgba(212,175,55,.1); }
.cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: var(--black); font-size: .78rem; }
.cart-timer { font-variant-numeric: tabular-nums; font-size: .78rem; color: var(--gold-light); opacity: .9; }
.nav-toggle { display: none; }
.mobile-search { display: none; }

/* ---------- Franja inicial (compacta) ---------- */
.home-band { background: radial-gradient(900px 380px at 85% 0%, rgba(212,175,55,.18), transparent 60%), var(--black); color: #EDE8DC; position: relative; overflow: hidden; }
.home-band::after { content: ""; position: absolute; right: -60px; top: 50%; width: 420px; height: 420px; transform: translateY(-50%) rotate(-8deg); background: url("../img/hero-billete.webp") center/cover; opacity: .16; -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent); pointer-events: none; }
.home-band .container { position: relative; z-index: 1; padding: 1.8rem 0 1.6rem; }
.home-band h1 { color: var(--gold-light); margin-bottom: .2rem; }
.home-band p { color: #C9C2B3; margin-bottom: 1rem; max-width: 60ch; }
.band-search { display: flex; max-width: 720px; background: #fff; border-radius: 999px; padding: 5px; box-shadow: 0 14px 30px -16px rgba(0,0,0,.6); }
.band-search input { flex: 1; min-width: 0; border: 0; padding: 0 1rem; font-size: 1rem; background: transparent; color: var(--ink); }
.band-search input:focus { outline: none; }
.band-search:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .85rem; border-radius: 999px; border: 1px solid rgba(212,175,55,.35); color: var(--gold-light); text-decoration: none; font-size: .86rem; background: rgba(255,255,255,.03); }
.chip:hover { background: rgba(212,175,55,.14); color: #fff; }
.chip-light { border-color: var(--line-2); color: var(--ink); background: var(--paper); }
.chip-light:hover { border-color: var(--gold-deep); background: var(--gold-soft); color: var(--ink); }
.chip .x { font-size: 1rem; line-height: 1; color: var(--muted); }

/* ---------- Secciones ---------- */
.section { padding: 2.4rem 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.kicker { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .3rem; }
.dark .kicker { color: var(--gold); }

/* ---------- Tarjetas de producto ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.card { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--line-2); }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: #F1ECE0; overflow: hidden; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8px; transition: opacity .35s var(--ease), transform .5s var(--ease); }
.card-media .img-alt { opacity: 0; }
.card:hover .card-media .img-alt { opacity: 1; }
.card:hover .card-media .img-main.has-alt { opacity: 0; }
.card-media .noimg { position: absolute; inset: 0; display: grid; place-items: center; color: #B7AE98; }
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .22rem .6rem; border-radius: 999px; font-size: .74rem; font-weight: 600; letter-spacing: .02em; }
.badge-disponible { background: var(--green-bg); color: var(--green); }
.badge-reservado { background: var(--amber-bg); color: var(--amber); }
.badge-vendido, .badge-no_disponible { background: #ECEAE5; color: #5A564D; }
.badge-cert { background: var(--black); color: var(--gold-light); }
.card .badge-status { position: absolute; top: .6rem; left: .6rem; z-index: 2; }
.card-body { display: flex; flex-direction: column; gap: .25rem; padding: .85rem .9rem 1rem; flex: 1; }
.card-meta { font-size: .78rem; color: var(--muted); letter-spacing: .02em; }
.card-title { font-size: .95rem; font-weight: 600; line-height: 1.35; margin: 0; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .15rem; }
.tag { font-size: .72rem; padding: .12rem .5rem; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-2); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; padding-top: .6rem; }
.price { font-weight: 700; font-size: 1.08rem; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.card-foot form { position: relative; z-index: 2; }
.card-foot .btn { min-height: 38px; padding: .45rem .8rem; font-size: .84rem; }

/* ---------- Catálogo ---------- */
.breadcrumbs { font-size: .85rem; color: var(--muted); padding: 1rem 0 .4rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .3rem; list-style: none; }
.breadcrumbs li + li::before { content: "›"; margin-right: .3rem; color: #B5AC98; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold-deep); text-decoration: underline; }
.catalog-layout { display: grid; grid-template-columns: 280px 1fr; gap: 1.6rem; align-items: start; padding-bottom: 3rem; }
.filters { position: sticky; top: calc(var(--header-h) + 12px); max-height: calc(100vh - var(--header-h) - 24px); overflow: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: .4rem 1rem 1rem; scrollbar-width: thin; }
.filters-head { display: flex; align-items: center; justify-content: space-between; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.filters-head h2 { font-family: var(--body); font-size: 1rem; font-weight: 600; margin: 0; display: flex; gap: .4rem; align-items: center; }
.fgroup { border-bottom: 1px solid var(--line); }
.fgroup > summary { display: flex; align-items: center; justify-content: space-between; padding: .8rem 0; font-weight: 600; font-size: .92rem; cursor: pointer; list-style: none; }
.fgroup > summary::-webkit-details-marker { display: none; }
.fgroup > summary .icon { transition: transform .2s; }
.fgroup[open] > summary .icon { transform: rotate(180deg); }
.fgroup-body { padding: 0 0 .9rem; display: grid; gap: .15rem; }
.fopt { display: flex; align-items: center; gap: .55rem; padding: .28rem .3rem; border-radius: 6px; font-size: .9rem; cursor: pointer; }
.fopt:hover { background: #FAF6EC; }
.fopt input { width: 18px; height: 18px; accent-color: var(--gold-deep); flex: none; }
.fopt .n { margin-left: auto; color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; }
.fopt.zero { opacity: .45; }
.flist { max-height: 260px; overflow: auto; scrollbar-width: thin; padding-right: .2rem; }
.fregion { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin: .5rem .3rem .2rem; }
.fsearch { width: 100%; height: 38px; padding: 0 .7rem; border: 1px solid var(--line-2); border-radius: 8px; margin-bottom: .4rem; background: #fff; }
.frange { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.frange label { font-size: .78rem; color: var(--muted); }
.input, .frange input, .ftext { width: 100%; height: 42px; padding: 0 .75rem; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; }
textarea.input { height: auto; padding: .6rem .75rem; min-height: 90px; resize: vertical; }
select.input { padding-right: 2rem; }
.input:focus, .ftext:focus, .frange input:focus { outline: 2px solid var(--gold-deep); outline-offset: 0; border-color: var(--gold-deep); }
.cat-links a { display: flex; justify-content: space-between; padding: .3rem .4rem; border-radius: 6px; text-decoration: none; font-size: .9rem; }
.cat-links a:hover { background: #FAF6EC; }
.cat-links a[aria-current="true"] { background: var(--gold-soft); font-weight: 600; }
.cat-links .sub { padding-left: 1.2rem; font-size: .86rem; color: var(--ink-2); }
.cat-links .n { color: var(--muted); font-size: .8rem; }
.filters-actions { display: flex; gap: .5rem; padding-top: 1rem; position: sticky; bottom: -1rem; background: var(--paper); padding-bottom: .4rem; }
.results-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; justify-content: space-between; margin-bottom: 1rem; }
.results-toolbar h1 { margin: 0; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); }
.results-count { color: var(--muted); font-size: .92rem; }
.sort-form { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.sort-form select { height: 40px; border: 1px solid var(--line-2); border-radius: 8px; padding: 0 .6rem; background: #fff; }
.active-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.empty { text-align: center; padding: 3rem 1rem; background: var(--paper); border: 1px dashed var(--line-2); border-radius: var(--radius-lg); }
.empty .icon { width: 2.4rem; height: 2.4rem; margin: 0 auto .6rem; color: var(--gold-deep); }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin-top: 2rem; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .7rem; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; font-weight: 500; }
.pagination a:hover { border-color: var(--gold-deep); }
.pagination [aria-current="page"] { background: var(--black); color: var(--gold-light); border-color: var(--black); }
.pagination .gap { border: 0; background: none; }
.filters-open-btn { display: none; }

/* ---------- Ficha ---------- */
.product-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2rem; padding: .6rem 0 2.4rem; align-items: start; }
.gallery-main { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.gallery-main .zoom-hint { position: absolute; right: .8rem; bottom: .8rem; display: inline-flex; gap: .35rem; align-items: center; padding: .4rem .7rem; border-radius: 999px; background: rgba(13,13,13,.8); color: #fff; font-size: .8rem; border: 0; cursor: pointer; }
.gallery-main .side-label { position: absolute; left: .8rem; top: .8rem; padding: .25rem .65rem; border-radius: 999px; background: rgba(255,255,255,.92); border: 1px solid var(--line); font-size: .78rem; font-weight: 600; }
.thumbs { display: flex; gap: .6rem; margin-top: .7rem; overflow-x: auto; padding-bottom: .3rem; }
.thumb { flex: none; width: 92px; border: 2px solid var(--line); border-radius: 10px; background: var(--paper); padding: 4px; cursor: pointer; text-align: center; }
.thumb img { width: 100%; aspect-ratio: 4/3; object-fit: contain; }
.thumb span { display: block; font-size: .72rem; color: var(--muted); margin-top: 2px; }
.thumb[aria-current="true"] { border-color: var(--gold-deep); }
.product-info h1 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); margin-bottom: .35rem; }
.product-sub { color: var(--muted); margin-bottom: .8rem; }
.buy-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.2rem; margin: 1rem 0; }
.buy-box .price { font-size: 1.8rem; display: block; margin: .2rem 0 .6rem; }
.buy-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; height: 54px; }
.qty input { width: 52px; border: 0; text-align: center; height: 100%; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty button { width: 42px; height: 100%; border: 0; background: #F6F2E8; cursor: pointer; display: grid; place-items: center; }
.other-qty { margin: .8rem 0 .5rem; }
.reserve-note { display: flex; gap: .5rem; align-items: flex-start; font-size: .86rem; color: var(--ink-2); margin-top: .8rem; }
.share-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .4rem; }
.specs { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .93rem; }
.specs th, .specs td { text-align: left; padding: .6rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 42%; font-weight: 500; color: var(--muted); background: #FBF8F1; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs a { color: var(--gold-deep); }
.description { white-space: normal; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }

/* Visor de zoom */
.viewer { position: fixed; inset: 0; z-index: 500; background: rgba(8,8,8,.96); display: none; }
.viewer.open { display: block; }
.viewer-stage { position: absolute; inset: 0; overflow: hidden; touch-action: none; cursor: grab; }
.viewer-stage.dragging { cursor: grabbing; }
.viewer-stage img { position: absolute; left: 50%; top: 50%; max-width: none; transform-origin: 0 0; user-select: none; -webkit-user-drag: none; }
.viewer-bar { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .7rem; background: linear-gradient(180deg, rgba(0,0,0,.7), transparent); color: #fff; z-index: 2; }
.viewer-bar .btn { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.viewer-bar .viewer-title { font-size: .9rem; opacity: .9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewer-tools { display: flex; gap: .4rem; flex: none; }
.viewer-help { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); color: #ccc; font-size: .8rem; background: rgba(0,0,0,.5); padding: .3rem .7rem; border-radius: 999px; }

/* ---------- Carrito y pedido ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.6rem; align-items: start; padding-bottom: 3rem; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.2rem; }
.panel h2 { font-size: 1.25rem; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: .9rem; padding: .9rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item:last-child { border-bottom: 0; }
.cart-item img, .cart-item .noimg { width: 96px; aspect-ratio: 4/3; object-fit: contain; background: #F1ECE0; border-radius: 8px; }
.cart-item h3 { margin: 0 0 .15rem; font-size: .98rem; }
.cart-item h3 a { text-decoration: none; }
.cart-item .sku { font-size: .78rem; color: var(--muted); }
.timer { display: inline-flex; align-items: center; gap: .35rem; font-variant-numeric: tabular-nums; font-weight: 600; font-size: .85rem; color: var(--amber); }
.timer.low { color: var(--red); }
.timer-big { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; border-radius: var(--radius); background: var(--black); color: var(--gold-light); font-weight: 600; font-size: 1.05rem; }
.timer-big .t { font-family: var(--display); font-size: 1.5rem; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.timer-big.low .t { color: #FF9B8F; }
.totals { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0 0; margin-top: .4rem; border-top: 2px solid var(--ink); font-weight: 600; }
.totals .price { font-size: 1.5rem; }
.form-grid { display: grid; gap: .9rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: .25rem; }
.radio-cards { display: grid; gap: .5rem; }
.radio-card { display: flex; gap: .6rem; align-items: center; padding: .7rem .8rem; border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; font-size: .92rem; }
.radio-card:has(input:checked) { border-color: var(--gold-deep); background: var(--gold-soft); }
.radio-card input { accent-color: var(--gold-deep); width: 18px; height: 18px; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; }
.check input { width: 20px; height: 20px; accent-color: var(--gold-deep); flex: none; margin-top: .1rem; }
.order-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.2rem 0; }
.order-code { font-family: var(--display); font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); margin: 0; }
.status-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 999px; font-weight: 600; font-size: .85rem; }
.st-pendiente_pago { background: var(--amber-bg); color: var(--amber); }
.st-pago_reportado { background: #E7EEFB; color: #224D9A; }
.st-pago_confirmado, .st-completado { background: var(--green-bg); color: var(--green); }
.st-cancelado, .st-vencido { background: #ECEAE5; color: #5A564D; }
.sinpe-box { background: var(--black); color: #EDE8DC; border-radius: var(--radius-lg); padding: 1.4rem; position: relative; overflow: hidden; }
.sinpe-box::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 220px at 100% 0%, rgba(212,175,55,.2), transparent 60%); pointer-events: none; }
.sinpe-box > * { position: relative; }
.sinpe-box h2 { color: var(--gold-light); }
.sinpe-row { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .8rem 0; border-bottom: 1px solid rgba(212,175,55,.2); flex-wrap: wrap; }
.sinpe-row .label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #ADA594; }
.sinpe-row .value { font-family: var(--display); font-size: 1.4rem; color: #fff; font-variant-numeric: tabular-nums; }
.sinpe-row .btn { background: rgba(255,255,255,.08); color: var(--gold-light); border-color: rgba(212,175,55,.4); }
.steps-list { counter-reset: s; list-style: none; display: grid; gap: .6rem; margin: 1rem 0; }
.steps-list li { counter-increment: s; display: flex; gap: .7rem; align-items: flex-start; }
.steps-list li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--black); font-weight: 700; font-size: .85rem; }
.wa-main { width: 100%; min-height: 62px; font-size: 1.08rem; border-radius: 14px; }
.report-box { border: 2px dashed var(--line-2); border-radius: var(--radius-lg); padding: 1.1rem; background: #FFFDF7; }
.copy-ok { color: var(--green) !important; }

/* ---------- Institucional ---------- */
.dark { background: var(--black); color: #E5DFD2; }
.dark h2, .dark h3 { color: #fff; }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.4rem; align-items: center; }
.about-grid img { border-radius: var(--radius-lg); box-shadow: 0 0 0 1px rgba(212,175,55,.35), 0 30px 60px -30px rgba(0,0,0,.8); max-height: 520px; object-fit: cover; width: 100%; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.pillar { padding: 1rem 1.1rem; border: 1px solid rgba(212,175,55,.25); border-radius: var(--radius); background: rgba(255,255,255,.02); }
.pillar h3 { color: var(--gold-light); font-size: 1rem; margin-bottom: .2rem; }
.pillar p { margin: 0; font-size: .9rem; color: #BDB6A6; }
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .8rem; }
.cat-tile { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: 1rem 1.1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.cat-tile:hover { border-color: var(--gold-deep); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-tile .n { font-weight: 500; color: var(--muted); font-size: .85rem; }
.social-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.social-btn { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.1rem; border-radius: 999px; border: 1px solid rgba(212,175,55,.4); color: var(--gold-light); text-decoration: none; font-weight: 600; }
.social-btn:hover { background: rgba(212,175,55,.12); color: #fff; }
.legal-content h2 { font-size: 1.25rem; margin-top: 2rem; }
.legal-content p, .legal-content li { color: #34312B; }
.legal-content ul { padding-left: 1.3rem; margin-bottom: 1em; }
.legal-content li { margin-bottom: .35rem; }
.review-note { border-left: 4px solid var(--gold); background: var(--gold-soft); padding: .8rem 1rem; border-radius: 0 10px 10px 0; font-size: .9rem; }

/* ---------- Pie ---------- */
.site-footer { background: var(--black); color: #B9B2A2; border-top: 1px solid rgba(212,175,55,.3); padding: 2.6rem 0 1.4rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h3 { color: var(--gold-light); font-family: var(--display); font-size: .95rem; letter-spacing: .08em; margin-bottom: .7rem; }
.site-footer a { color: #DED7C8; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-links { display: grid; gap: .4rem; list-style: none; font-size: .92rem; }
.footer-brand { display: flex; gap: .8rem; align-items: center; margin-bottom: .8rem; }
.footer-brand img { width: 64px; height: 64px; border-radius: 50%; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; border-top: 1px solid rgba(212,175,55,.15); margin-top: 2rem; padding-top: 1.2rem; font-size: .85rem; }
.wa-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 90; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #1F9E55; color: #fff; box-shadow: 0 10px 24px -8px rgba(0,0,0,.5), 0 0 0 3px rgba(212,175,55,.55); }
.wa-float .icon { width: 28px; height: 28px; }

/* ---------- Errores ---------- */
.error-page { text-align: center; padding: 5rem 1rem; }
.error-page .code { font-family: var(--display); font-size: 4rem; color: var(--gold-deep); margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav > a.hide-md { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .header-search { display: none; }
  .mobile-search { display: block; background: var(--black-2); padding: .6rem 0; border-bottom: 1px solid rgba(212,175,55,.2); }
  .mobile-search .header-search { display: flex; max-width: none; margin: 0; }
  .nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(212,175,55,.35); background: transparent; color: var(--gold-light); cursor: pointer; list-style: none; }
  .nav-toggle::-webkit-details-marker { display: none; }
  .mobile-menu { margin-left: auto; position: static; }
  .mobile-menu .main-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; padding: .6rem 1rem 1rem; background: var(--black); border-bottom: 1px solid rgba(212,175,55,.3); gap: 0; }
  .mobile-menu .main-nav > a, .mobile-menu .nav-dropdown > summary { padding: .85rem .4rem; border-bottom: 1px solid rgba(212,175,55,.12); border-radius: 0; }
  .mobile-menu .nav-dropdown-panel { position: static; width: auto; grid-template-columns: 1fr; margin: .4rem 0; }
  .desktop-nav { display: none !important; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters-open-btn { display: inline-flex; }
  .filters { position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); max-height: none; border-radius: 0; z-index: 400; transform: translateX(100%); transition: transform .3s var(--ease); box-shadow: -20px 0 50px -20px rgba(0,0,0,.5); }
  .filters.open { transform: none; }
  .filters-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 399; }
  .product-layout, .cart-layout, .about-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .7rem; }
}
@media (min-width: 901px) {
  .mobile-menu { display: none; }
  .filters-close { display: none; }
}
@media (max-width: 560px) {
  .topbar .hide-sm { display: none; }
  .brand-name { font-size: .82rem; }
  .brand img { width: 36px; height: 36px; }
  .cart-link .label { display: none; }
  .card-body { padding: .7rem; }
  .card-title { font-size: .88rem; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .card-foot .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item img, .cart-item .noimg { width: 72px; }
  .cart-item .actions { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
  .home-band::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

/* Utilidades (sin estilos en línea, por la política CSP) */
.flex-1 { flex: 1; }
.mt-sm { margin-top: .8rem; }
.mt-lg { margin-top: 1.6rem; }
.mb-0 { margin-bottom: 0; }
.pt-0 { padding-top: 0; }
.label-heading { font-family: var(--body); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: .4rem 0 .5rem; }
.text-center { text-align: center; }
.stack { display: grid; gap: 1rem; }
.toast { position: fixed; left: 50%; bottom: 1.2rem; transform: translateX(-50%); z-index: 600; max-width: min(520px, 92vw); box-shadow: 0 16px 40px -14px rgba(0,0,0,.45); transition: opacity .4s, transform .4s; margin: 0; }
.toast.out { opacity: 0; transform: translate(-50%, 10px); }
.topbar-links a { display: inline-flex; align-items: center; gap: .35rem; }
@media (min-width: 901px) { .product-layout > section:first-child { position: sticky; top: calc(var(--header-h) + 16px); } }
@media (max-width: 560px) { .home-band .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .3rem; margin-right: -1rem; scrollbar-width: none; } .home-band .chip { flex: none; } }
/* Ajustes de accesibilidad (contraste y tamaño de objetivos) */
.btn-wa, .wa-float { background: #167A42; }
.btn-wa:hover { background: #11663A; }
.fopt.zero { opacity: 1; color: var(--muted); }
.cat-links a { min-height: 32px; align-items: center; }
.cat-links { gap: 2px; } .cat-links a { min-height: 34px; padding-top: .4rem; padding-bottom: .4rem; }
@media (min-width: 901px) { .filters-actions { position: static; } }

/* =========================================================
   Contenido editable (29/10/2026)
   ========================================================= */

/* Tipo de cambio en la barra superior */
.topbar .container { align-items: center; flex-wrap: wrap; row-gap: .2rem; }
.topbar-links { flex-wrap: wrap; justify-content: flex-end; }
.fx { display: inline-flex; align-items: center; gap: .6rem; }
.fx-rates { display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap; color: #CFC8B8; }
.fx-rates .icon { width: 1em; height: 1em; color: var(--gold); }
.fx-rate { color: var(--gold-light); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fx-rate + .fx-rate::before { content: "·"; margin-right: .5rem; color: #7d776b; }
.fx-select select { background: #111; color: var(--gold-light); border: 1px solid rgba(212,175,55,.45); border-radius: 999px; padding: .15rem 1.6rem .15rem .6rem; font-size: .78rem; min-height: 28px; cursor: pointer; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 12px) 50%, calc(100% - 8px) 50%; background-size: 4px 4px; background-repeat: no-repeat; }
.fx-select select:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.fx-approx { display: block; font-size: .78rem; font-weight: 500; color: var(--muted); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.buy-box .fx-approx { font-size: .9rem; margin: -.4rem 0 .6rem; }
@media (max-width: 1080px) { .topbar .hide-md { display: none; } }

/* Pieza del mes */
.piece { background: linear-gradient(180deg, var(--cream), #EFE7D5); border-block: 1px solid var(--line); }
.piece-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.4rem; align-items: center; }
.piece-media { margin: 0; position: relative; background: radial-gradient(ellipse at center, #2a2620 0%, var(--black) 75%); border-radius: var(--radius-lg); padding: clamp(1rem, 3vw, 2.2rem); box-shadow: 0 0 0 1px rgba(212,175,55,.35), var(--shadow); display: grid; gap: .8rem; justify-items: center; }
.piece-media img { width: 100%; max-height: 440px; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0,0,0,.55)); }
.piece-media .piece-alt { width: 62%; max-height: 220px; opacity: .92; }
.piece-media .noimg { color: var(--gold); padding: 4rem; }
.piece-info .kicker { display: inline-flex; align-items: center; gap: .4rem; }
.piece-info .kicker .icon { width: 1em; height: 1em; color: var(--gold); }
.piece-meta { color: var(--gold-deep); font-weight: 600; font-size: .92rem; }
.piece-info p { color: var(--ink-2); }

/* Videos (reels) */
.reels { min-width: 0; }
.reels-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .7rem; min-height: 40px; }
.reels-head .kicker { margin: 0; }
.reels-nav { display: inline-flex; align-items: center; gap: .5rem; margin-left: auto; }
.reels-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(212,175,55,.5); background: rgba(255,255,255,.03); color: var(--gold-light); cursor: pointer; }
.reels-btn:hover { background: rgba(212,175,55,.15); color: #fff; }
.reels-btn:disabled { opacity: .35; cursor: default; }
.reels-dots { display: inline-flex; gap: .4rem; align-items: center; }
.reels-dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 1px solid rgba(212,175,55,.7); background: transparent; cursor: pointer; }
.reels-dot.on { background: var(--gold); width: 22px; border-radius: 6px; }
.reels-window { overflow: hidden; border-radius: var(--radius-lg); }
.reels-track { display: flex; transition: transform .7s cubic-bezier(.4,0,.2,1); will-change: transform; touch-action: pan-y; }
.reel { flex: 0 0 100%; margin: 0; display: grid; gap: .55rem; }
.reel-frame { position: relative; width: min(100%, 360px); margin-inline: auto; aspect-ratio: 9 / 16; max-height: 640px; border-radius: var(--radius-lg); overflow: hidden; background: #121110; box-shadow: 0 0 0 1px rgba(212,175,55,.35), 0 30px 60px -30px rgba(0,0,0,.8); }
.reel-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel figcaption { display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; font-size: .85rem; color: #BDB6A6; width: min(100%, 360px); margin-inline: auto; }
.reel-platform { display: inline-flex; align-items: center; gap: .4rem; letter-spacing: .12em; text-transform: uppercase; font-size: .75rem; }
.reel-platform .icon { width: 1.1em; height: 1.1em; }
.reel figcaption a { color: var(--gold-light); display: inline-flex; align-items: center; gap: .3rem; text-decoration: none; }
.reel figcaption a:hover { text-decoration: underline; }
.reel figcaption .icon { width: .9em; height: .9em; }
@media (prefers-reduced-motion: reduce) { .reels-track { transition: none; } }

/* Apartados y publicaciones */
.section-intro { max-width: 760px; color: var(--ink-2); margin-bottom: 1.4rem; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.post-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.post-media { display: block; background: #EFE7D5; }
.post-media img { width: 100%; max-height: 420px; object-fit: contain; }
.post-body { padding: 1rem 1.1rem 1.2rem; display: grid; gap: .5rem; align-content: start; }
.post-body h3 { margin: 0; font-size: 1.12rem; }
.post-body p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.post-body .btn { justify-self: start; margin-top: .3rem; }
.post-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .85rem; color: var(--gold-deep); font-weight: 600; }
.post-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.post-meta .icon { width: 1em; height: 1em; }

/* Contacto */
.contact-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.contact-table th, .contact-table td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.contact-table tr:last-child th, .contact-table tr:last-child td { border-bottom: 0; }
.contact-table th { width: 38%; font-weight: 600; color: var(--ink-2); background: #FBF8F1; }
.contact-table a { color: inherit; }
.contact-table .wa-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: #11663A; text-decoration: none; }
.contact-table .wa-link:hover { text-decoration: underline; }
@media (max-width: 560px) { .contact-table th, .contact-table td { display: block; width: 100%; } .contact-table th { border-bottom: 0; padding-bottom: .2rem; } .contact-table td { padding-top: .2rem; } }

/* Imagen de «Quiénes somos» cuando no hay videos */
.about-img { justify-self: center; }

@media (max-width: 900px) {
  .piece-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .reel-frame { max-height: 70vh; }
}
.price-wrap { display: grid; }
.spec-note { display: block; font-size: .82rem; color: var(--muted); margin-top: .15rem; }

/* Botón grande para salir del visor, a media altura a la derecha (pedido del cliente) */
.viewer-back { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); z-index: 3; display: inline-flex; align-items: center; gap: .4rem; min-height: 52px; padding: .7rem 1.2rem; border-radius: 999px; border: 2px solid var(--gold); background: rgba(13,13,13,.85); color: #fff; font: 600 1rem/1 var(--body); cursor: pointer; box-shadow: 0 10px 30px -10px rgba(0,0,0,.8); }
.viewer-back:hover { background: var(--gold); color: var(--black); }
.viewer-back .icon { width: 1.2em; height: 1.2em; }
@media (max-width: 560px) { .viewer-back { right: .6rem; padding: .6rem .9rem; } }
.block-anchor { display: block; height: 0; scroll-margin-top: 0; }

/* Pieza del mes: compartir */
.piece-share { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.piece-share .label-heading { display: inline-flex; align-items: center; gap: .4rem; margin-top: 0; }
.piece-share .label-heading .icon { width: 1em; height: 1em; color: var(--gold); }

/* Selector de moneda con banderas (esquina inferior izquierda) */
.fx-switch { position: fixed; left: 1rem; bottom: 1rem; z-index: 90; display: grid; justify-items: start; gap: .3rem; padding: .45rem .55rem .5rem; border-radius: 14px; background: rgba(13,13,13,.92); border: 1px solid rgba(212,175,55,.45); box-shadow: 0 10px 24px -10px rgba(0,0,0,.55); backdrop-filter: blur(6px); }
.fx-switch-label { font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: #CFC8B8; padding-left: .1rem; }
.fx-flags { display: flex; gap: .35rem; flex-wrap: wrap; max-width: 15rem; }
.fx-flag { width: 38px; height: 27px; padding: 0; border: 0; border-radius: 6px; background: transparent; cursor: pointer; opacity: .55; transition: opacity .15s, transform .15s, box-shadow .15s; box-shadow: 0 0 0 1px rgba(255,255,255,.18); overflow: hidden; display: grid; }
.fx-flag svg { width: 100%; height: 100%; display: block; }
.fx-flag:hover { opacity: .9; transform: translateY(-1px); }
.fx-flag.on { opacity: 1; box-shadow: 0 0 0 2px var(--gold), 0 0 0 4px rgba(212,175,55,.25); }
.fx-flag:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.fx-switch-rate { font-size: .7rem; color: var(--gold-light); font-variant-numeric: tabular-nums; padding-left: .1rem; }
@media (max-width: 640px) {
  .fx-switch { left: .6rem; bottom: .8rem; padding: .35rem .45rem .4rem; }
  .fx-switch-label { display: none; }
  .fx-flag { width: 32px; height: 23px; }
}
@media print { .fx-switch { display: none; } }
.piece-page { padding-top: .2rem; }
.piece-page .breadcrumbs { padding-bottom: 1rem; }
.piece-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }

/* Ajustes pedidos por Alexander (30/10/2026) */
.footer-logo-link { display: inline-block; line-height: 0; cursor: default; }
.piece-info .kicker { font-size: 1rem; letter-spacing: .16em; }
.gallery-main .side-label { display: none; }
.card-foot .price { white-space: nowrap; }
.card .fx-approx { display: none; }


/* Menú de categorías: solo los títulos principales; las subcategorías se abren al tocar cada uno */
.nav-dropdown-panel.nav-cats { display: block; width: min(340px, 90vw); max-height: min(70vh, 560px); overflow-y: auto; padding: .6rem; }
.nav-cats > a.parent, .nav-cat > summary { display: flex; justify-content: space-between; align-items: center; padding: .55rem .6rem; border-radius: 8px; font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--ink); cursor: pointer; list-style: none; }
.nav-cat > summary::-webkit-details-marker { display: none; }
.nav-cats > a.parent:hover, .nav-cat > summary:hover { background: var(--gold-soft); }
.nav-cat > summary .icon { width: 1em; height: 1em; transition: transform .15s ease; }
.nav-cat[open] > summary { color: var(--gold-deep); }
.nav-cat[open] > summary .icon { transform: rotate(180deg); }
.nav-cat-children { margin: 0 0 .3rem .7rem; padding-left: .3rem; border-left: 2px solid var(--line); }
.nav-cat-children .child { padding-left: .7rem; }


/* Botones de Rifas y Subastas en la portada */
.hero-live { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.hero-live-btn { display: inline-flex; align-items: center; gap: .45rem; padding: .65rem 1.3rem; border-radius: 999px; background: var(--gold); color: var(--black); font-weight: 600; font-size: .98rem; text-decoration: none; box-shadow: 0 8px 20px -10px rgba(212,175,55,.8); transition: transform .15s var(--ease), background .15s; }
.hero-live-btn:hover { background: var(--gold-light); transform: translateY(-1px); }
.hero-live-btn .icon { width: 1.15em; height: 1.15em; }
@media (max-width: 560px) { .hero-live-btn { flex: 1 1 0; justify-content: center; } }
