/* =========================================================
   Collexia · hoja de estilos de la tienda
   Base: Bootstrap 5.3 (retícula, offcanvas). Todo lo visual
   sale de los tokens de marca de abajo.
   Radios: tarjetas 14px · botones, buscador y chips en píldora.
   ========================================================= */

@font-face { font-family: "Metropolis"; src: url("../fonts/Metropolis-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Metropolis"; src: url("../fonts/Metropolis-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Metropolis"; src: url("../fonts/Metropolis-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Metropolis"; src: url("../fonts/Metropolis-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Metropolis"; src: url("../fonts/Metropolis-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Metropolis"; src: url("../fonts/Metropolis-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  /* Paleta oficial del manual */
  --cx-navy: #273b54;
  --cx-steel: #6495ae;
  --cx-forest: #295d47;
  --cx-green: #509868;
  --cx-cream: #f1e9df;

  /* Derivados para la interfaz: fondo crema, texto navy, acentos verdes */
  --cx-ground: #f1e9df;
  --cx-ground-2: #e9dfd2;
  --cx-card: #fbf7f1;
  --cx-raise: #e2d6c6;
  --cx-line: rgba(39, 59, 84, .12);
  --cx-line-strong: rgba(39, 59, 84, .26);
  --cx-text: var(--cx-navy);
  --cx-text-2: rgba(39, 59, 84, .82);
  --cx-text-3: rgba(39, 59, 84, .7);
  --cx-green-hi: #5fae7a;
  --cx-on-green: #0f1a29;
  --cx-accent-text: #2f6e4c;
  --cx-steel-text: #3d6a82;
  --cx-dark: #142033;

  --cx-radius: 14px;
  --cx-pill: 999px;
  --cx-shadow: 0 18px 40px -18px rgba(39, 59, 84, .45);
  --cx-ease: cubic-bezier(.16, 1, .3, 1);

  --z-sticky: 100;
  --z-flag: 200;
  --z-toast: 300;

  color-scheme: light;
}

/* Zonas oscuras dentro del tema crema: los tokens de texto vuelven a crema */
.topbar, .trust__visual, .bento__cell--steel, .bento__cell--forest, .consign, .site-footer, .lot__timer {
  --cx-text: var(--cx-cream);
  --cx-text-2: rgba(241, 233, 223, .8);
  --cx-text-3: rgba(241, 233, 223, .64);
  --cx-line: rgba(241, 233, 223, .12);
  --cx-line-strong: rgba(241, 233, 223, .24);
  --cx-steel-text: #8fb8cc;
  --cx-raise: #22344c;
  color: var(--cx-text);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 140px; }
body {
  margin: 0;
  background: var(--cx-ground);
  color: var(--cx-text);
  font-family: "Metropolis", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}
::selection { background: var(--cx-green); color: var(--cx-on-green); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--cx-forest); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.02em; text-wrap: balance; margin: 0; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--cx-forest); outline-offset: 3px; border-radius: 6px; }
* { scrollbar-color: var(--cx-raise) transparent; }

.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: var(--z-toast);
  background: var(--cx-green); color: var(--cx-on-green); font-weight: 700;
  padding: .6rem 1rem; border-radius: var(--cx-pill);
}
.skip-link:focus { top: 1rem; }

.badge-soon {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .02em;
  padding: .15rem .5rem; border-radius: var(--cx-pill);
  background: rgba(100, 149, 174, .2); color: var(--cx-steel-text);
  vertical-align: middle;
}

/* ---------- Botones ---------- */
.btn-cx {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.5rem; border-radius: var(--cx-pill);
  font-weight: 700; font-size: 1rem; white-space: nowrap; border: 0; cursor: pointer;
  transition: transform .25s var(--cx-ease), background-color .25s var(--cx-ease), box-shadow .25s var(--cx-ease);
}
.btn-cx:active { transform: translateY(1px) scale(.98); }
.btn-cx--primary { background: var(--cx-green); color: var(--cx-on-green); box-shadow: 0 10px 24px -12px rgba(80, 152, 104, .8); }
.btn-cx--primary:hover { background: var(--cx-green-hi); color: var(--cx-on-green); }
.btn-cx--primary .ph { transition: transform .25s var(--cx-ease); }
.btn-cx--primary:hover .ph-arrow-right { transform: translateX(3px); }
.btn-cx--ghost { background: transparent; color: var(--cx-text); box-shadow: inset 0 0 0 1.5px var(--cx-line-strong); }
.btn-cx--ghost:hover { color: var(--cx-text); box-shadow: inset 0 0 0 1.5px var(--cx-text); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--cx-pill);
  background: transparent; border: 0; color: var(--cx-text); font-size: 1.4rem;
  position: relative; transition: background-color .2s;
}
.icon-btn:hover { background: var(--cx-raise); }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: var(--cx-pill); background: var(--cx-green); color: var(--cx-on-green);
  font-size: .68rem; font-weight: 800; display: grid; place-items: center;
  font-variant-numeric: tabular-nums;
}
.cart-count.bump { animation: bump .45s var(--cx-ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ---------- Encabezado ---------- */
.site-header { position: sticky; top: 0; z-index: var(--z-sticky); }
.topbar { background: var(--cx-forest); font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 36px; }
.topbar__msg { margin: 0; display: flex; align-items: center; gap: .45rem; }
.topbar__long { display: none; }
@media (min-width: 576px) { .topbar__long { display: inline; } }
.topbar__link { font-weight: 600; display: none; }
@media (min-width: 768px) { .topbar__link { display: inline-flex; align-items: center; gap: .5rem; } }

.mainnav { background: rgba(241, 233, 223, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--cx-line); }
.mainnav__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .75rem; min-height: 68px; }
@media (min-width: 768px) { .mainnav__inner { flex-wrap: nowrap; } }
.brand img { height: 34px; width: auto; }
@media (min-width: 992px) { .brand img { height: 42px; } }
.mainnav__actions { display: flex; gap: .15rem; margin-left: auto; }

.search { position: relative; display: flex; order: 5; flex: 1 1 100%; margin-bottom: .75rem; }
@media (min-width: 768px) { .search { order: 0; flex: 1; max-width: 640px; margin: 0 auto; } }
.search input {
  width: 100%; height: 46px; border-radius: var(--cx-pill);
  border: 1.5px solid var(--cx-line-strong); background: var(--cx-card); color: var(--cx-text);
  padding: 0 7rem 0 2.8rem; font: inherit; font-size: .95rem;
  transition: border-color .2s, background-color .2s;
}
.search input::placeholder { color: var(--cx-text-3); }
.search input:focus { outline: none; border-color: var(--cx-forest); background: #fff; }
.search__icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--cx-text-2); font-size: 1.15rem; }
.search__btn {
  position: absolute; right: 4px; top: 4px; bottom: 4px; padding: 0 1.1rem;
  border: 0; border-radius: var(--cx-pill); background: var(--cx-green); color: var(--cx-on-green); font-weight: 700;
}
.search__btn:hover { background: var(--cx-green-hi); }

.catnav { border-top: 1px solid var(--cx-line); }
.catnav__list { list-style: none; display: flex; justify-content: center; gap: .25rem; margin: 0 auto; padding-block: .35rem; }
.catnav__link, .catnav__toggle {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .4rem .85rem; border: 0; background: transparent; border-radius: var(--cx-pill);
  font: inherit; font-size: .9rem; font-weight: 600; color: var(--cx-text-2);
  transition: color .2s, background-color .2s;
}
.catnav__toggle .ph { font-size: .8rem; transition: transform .25s var(--cx-ease); }
.catnav__toggle[aria-expanded="true"] .ph { transform: rotate(180deg); }
.catnav__link:hover, .catnav__toggle:hover, .catnav__toggle[aria-expanded="true"] { color: var(--cx-text); background: var(--cx-raise); }
.catnav__sep { margin-left: .75rem; padding-left: .75rem; border-left: 1px solid var(--cx-line); }
.catnav__menu {
  --bs-dropdown-bg: var(--cx-card); --bs-dropdown-color: var(--cx-text);
  --bs-dropdown-border-color: var(--cx-line); --bs-dropdown-border-radius: var(--cx-radius);
  --bs-dropdown-link-color: var(--cx-text); --bs-dropdown-link-hover-color: var(--cx-forest);
  --bs-dropdown-link-hover-bg: var(--cx-ground-2); --bs-dropdown-link-active-color: var(--cx-cream);
  --bs-dropdown-link-active-bg: var(--cx-forest); --bs-dropdown-item-padding-y: .5rem;
  --bs-dropdown-item-border-radius: 8px; --bs-dropdown-min-width: 13rem;
  padding: .4rem; margin-top: .35rem !important; box-shadow: var(--cx-shadow); font-size: .92rem; font-weight: 600;
}
.catnav__menu .dropdown-item { border-radius: 8px; }
.catnav__all { font-weight: 800; color: var(--cx-accent-text); border-bottom: 1px solid var(--cx-line); margin-bottom: .25rem; }

.menu-movil { background: var(--cx-ground); color: var(--cx-text); }
.menu-movil .offcanvas-header { justify-content: space-between; }
.menu-movil__list { list-style: none; padding: 0; margin: 0; }
.menu-movil__list > li > a, .menu-movil__toggle { display: flex; width: 100%; border: 0; background: transparent; color: inherit; font-family: inherit; text-align: left; justify-content: space-between; align-items: center; padding: 1rem .25rem; font-size: 1.15rem; font-weight: 700; border-bottom: 1px solid var(--cx-line); }

.menu-movil__toggle .ph { transition: transform .25s var(--cx-ease); }
.menu-movil__toggle:not(.collapsed) .ph { transform: rotate(180deg); }
.menu-movil__sub { list-style: none; margin: 0; padding: .25rem 0 .75rem .75rem; border-bottom: 1px solid var(--cx-line); }
.menu-movil__sub a { display: block; padding: .6rem .25rem; font-weight: 600; color: var(--cx-text-2); }
.menu-movil__sub li:first-child a { font-weight: 800; color: var(--cx-accent-text); }

/* ---------- Banner principal ---------- */
.hero { position: relative; overflow: hidden; padding-block: 3rem 3.5rem; background:
  radial-gradient(120% 90% at 20% 30%, #f9f4ed 0%, var(--cx-ground) 60%); }
.hero__stripe {
  position: absolute; inset: -20% -10% auto auto; width: 58%; height: 150%;
  background: linear-gradient(180deg, var(--cx-forest), #1f4a39);
  transform: skewX(-14deg); transform-origin: top; opacity: .9;
  border-left: 10px solid var(--cx-green);
}
.hero__grid { position: relative; display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 992px) {
  .hero { padding-block: 4.5rem 5rem; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; min-height: min(560px, 70dvh); }
}
.hero__title { font-size: clamp(2.4rem, 5.2vw, 4.1rem); line-height: 1.02; font-weight: 900; letter-spacing: -.035em; }
.hero__title em { font-style: italic; font-weight: 800; color: var(--cx-accent-text); display: inline-block; padding-bottom: .08em; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--cx-text-2); max-width: 34ch; margin: 1.25rem 0 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero__stage { position: relative; height: clamp(340px, 46vw, 520px); perspective: 1200px; }
@media (max-width: 991.98px) { .hero__stripe { width: 100%; top: 52%; height: 80%; transform: skewY(-8deg); border-left: 0; border-top: 8px solid var(--cx-green); } }

/* ---------- Slab (estuche calificado) ---------- */
.slab {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: absolute; display: block; width: clamp(150px, 19vw, 240px); aspect-ratio: 66 / 106;
  padding: 7% 7% 8%; border-radius: 12px;
  background:
    linear-gradient(160deg, rgba(255,255,255,.38), rgba(255,255,255,.12) 40%, rgba(255,255,255,.24)),
    rgba(27, 43, 64, .55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45), inset 0 0 0 6px rgba(255,255,255,.06), var(--cx-shadow);
  transform: rotateX(var(--rx)) rotateY(var(--ry)) var(--base, );
  transition: transform .6s var(--cx-ease), box-shadow .3s;
  transform-style: preserve-3d; overflow: hidden;
}
.slab__label {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .45rem;
  background: var(--cx-cream); color: var(--cx-navy); border-radius: 4px;
  padding: .35rem .5rem; margin-bottom: 7%; font-size: clamp(.52rem, .8vw, .66rem); line-height: 1.15;
  box-shadow: inset 0 0 0 2px #c8d7e0;
}
.slab__label b { font-weight: 900; color: var(--cx-forest); letter-spacing: .02em; }
.slab__label span { font-weight: 600; }
.slab__label strong { font-size: 1.9em; font-weight: 900; font-variant-numeric: tabular-nums; }
.slab__window { display: block; border-radius: 6px; overflow: hidden; aspect-ratio: 63 / 88; background: var(--cx-raise); box-shadow: 0 0 0 4px rgba(20,32,51,.55); }
.slab__window img { width: 100%; height: 100%; object-fit: cover; }
.auctions { padding-bottom: 2rem; }
.slab__holo {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: color-dodge; opacity: 0;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,.55), transparent 38%),
    linear-gradient(115deg, transparent 20%, rgba(100,149,174,.5) 38%, rgba(80,152,104,.5) 52%, rgba(241,233,223,.45) 64%, transparent 80%);
  background-size: 100% 100%, 220% 220%;
  background-position: center, calc(var(--mx) * 1.2) calc(var(--my) * 1.2);
  transition: opacity .3s;
}
.slab:hover .slab__holo, .slab.is-active .slab__holo { opacity: .75; }

.slab--front  { --base: translateZ(40px) scale(1.06); left: 50%; top: 50%; margin: calc(clamp(150px, 19vw, 240px) * -0.8) 0 0 calc(clamp(150px, 19vw, 240px) * -0.5); z-index: 3; }
.slab--back-l { --base: rotate(-11deg) scale(.88); left: 6%; top: 14%; z-index: 2; }
.slab--back-r { --base: rotate(10deg) scale(.88); right: 4%; top: 18%; z-index: 1; }
.slab--back-l, .slab--back-r { filter: saturate(.85) brightness(.9); }
@media (max-width: 575.98px) {
  .slab--back-l { left: -2%; }
  .slab--back-r { right: -2%; }
}

/* Entrada orquestada: el abanico se despliega una vez */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise .9s var(--cx-ease) both; }
  .hero__copy > :nth-child(2) { animation-delay: .08s; }
  .hero__copy > :nth-child(3) { animation-delay: .16s; }
  .slab--front  { animation: deal-c 1s var(--cx-ease) .15s both; }
  .slab--back-l { animation: deal-l 1s var(--cx-ease) .3s both; }
  .slab--back-r { animation: deal-r 1s var(--cx-ease) .38s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(4px); } }
@keyframes deal-c { from { opacity: 0; transform: translateY(40px) scale(.94); } }
@keyframes deal-l { from { opacity: 0; transform: translateX(110px) rotate(0); } }
@keyframes deal-r { from { opacity: 0; transform: translateX(-110px) rotate(0); } }

/* ---------- Secciones ---------- */
section { padding-block: 4rem; }
@media (min-width: 992px) { section { padding-block: 5.5rem; } }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: .75rem; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; }
.section-title--xl { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; }
.section-lead { color: var(--cx-text-2); max-width: 60ch; margin: .5rem 0 2rem; }
.link-more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--cx-steel-text); }
.link-more:hover { color: var(--cx-forest); }

/* Categorías */
.cats { padding-block: 1.5rem; background: var(--cx-ground-2); border-block: 1px solid var(--cx-line); }
.cats__rail { list-style: none; margin: 0; padding: .25rem 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(120px, 1fr); gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; }
.cat {
  scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: .5rem;
  padding: 1rem .5rem; border-radius: var(--cx-radius); font-weight: 700; font-size: .92rem;
  transition: background-color .25s, transform .25s var(--cx-ease);
}
.cat i { font-size: 2rem; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--cx-raise); color: var(--cx-steel-text); transition: background-color .25s, color .25s; }
.cat:hover { background: var(--cx-card); transform: translateY(-2px); }
.cat:hover i { background: var(--cx-green); color: var(--cx-on-green); }

/* Riel de subastas */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
@media (min-width: 1200px) { .rail { grid-auto-columns: calc((100% - 3 * 1.25rem) / 4); } }
.lot {
  scroll-snap-align: start; display: flex; flex-direction: column; background: var(--cx-card);
  border-radius: var(--cx-radius); box-shadow: inset 0 0 0 1px var(--cx-line); overflow: hidden;
  transition: transform .35s var(--cx-ease), box-shadow .35s;
}
.lot:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--cx-line-strong), var(--cx-shadow); }
.lot__media { position: relative; aspect-ratio: 4 / 4.2; background: var(--cx-raise); display: grid; place-items: center; padding: 1.25rem; }
.lot__media .slab { position: relative; width: 58%; transform: none; }
.lot .slab__label, .product .slab__label { grid-template-columns: auto auto; justify-content: space-between; }
.lot .slab__label span, .product .slab__label span { display: none; }
.lot .slab__label strong, .product .slab__label strong { font-size: 1.5em; }
.lot__timer {
  position: absolute; left: .75rem; top: .75rem; display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(20,32,51,.88); color: var(--cx-cream); padding: .3rem .65rem; border-radius: var(--cx-pill);
  font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.lot__timer.is-urgent { background: var(--cx-cream); color: var(--cx-navy); }
.lot__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.lot__meta { font-size: .8rem; color: var(--cx-text-3); font-weight: 600; }
.lot__title { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.lot__bid { display: flex; flex-wrap: wrap; gap: .25rem .75rem; justify-content: space-between; align-items: end; margin-top: auto; padding-top: .75rem; }
.lot__bid small { display: block; font-size: .75rem; color: var(--cx-text-3); }
.lot__bid strong { font-size: 1.3rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.lot__bids { font-size: .82rem; color: var(--cx-steel-text); font-weight: 600; }

/* Pestañas */
.tabs { display: flex; gap: .35rem; padding: .3rem; background: var(--cx-card); border-radius: var(--cx-pill); box-shadow: inset 0 0 0 1px var(--cx-line); overflow-x: auto; max-width: 100%; }
.tab { border: 0; background: transparent; color: var(--cx-text-2); font-weight: 700; font-size: .9rem; padding: .5rem 1rem; border-radius: var(--cx-pill); white-space: nowrap; min-height: 40px; transition: background-color .25s, color .25s; }
.tab:hover { color: var(--cx-text); }
.tab.is-active { background: var(--cx-navy); color: var(--cx-cream); }

/* Productos */
.catalog { padding-top: 3rem; background: linear-gradient(180deg, var(--cx-ground) 0%, var(--cx-ground-2) 100%); }
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.75rem; }
@media (min-width: 768px) { .products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 1200px) { .products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.product { display: flex; flex-direction: column; background: var(--cx-card); border-radius: var(--cx-radius); box-shadow: inset 0 0 0 1px var(--cx-line); overflow: hidden; transition: transform .35s var(--cx-ease), box-shadow .35s; }
.product:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--cx-line-strong), var(--cx-shadow); }
.product__media { position: relative; aspect-ratio: 1; background: var(--cx-raise); display: grid; place-items: center; overflow: hidden; }
.product__media .slab { position: relative; width: 56%; transform: none; }
.product__media > img { width: 62%; height: auto; aspect-ratio: 63 / 88; object-fit: cover; border-radius: 8px; box-shadow: var(--cx-shadow); transition: transform .5s var(--cx-ease); }
.product:hover .product__media > img { transform: scale(1.04) rotate(-1deg); }
.product__fav { position: absolute; top: .5rem; right: .5rem; width: 40px; height: 40px; font-size: 1.15rem; background: rgba(251,247,241,.88); }
.product__fav[aria-pressed="true"] i { color: var(--cx-forest); }
.product__body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.product__tags { display: flex; flex-wrap: wrap; gap: .3rem; }
.tag { font-size: .72rem; font-weight: 700; padding: .15rem .5rem; border-radius: var(--cx-pill); background: var(--cx-raise); color: var(--cx-text-2); }
.tag--grade { background: rgba(80,152,104,.18); color: var(--cx-forest); }
.product__title { font-size: .98rem; font-weight: 700; line-height: 1.3; }
.product__set { font-size: .8rem; color: var(--cx-text-3); margin: 0; }
.product__foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; padding-top: .6rem; }
.product__price { font-size: 1.2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.product__add { width: 44px; height: 44px; border-radius: var(--cx-pill); border: 0; background: var(--cx-green); color: var(--cx-on-green); font-size: 1.25rem; display: grid; place-items: center; transition: background-color .2s, transform .2s var(--cx-ease); }
.product__add:hover { background: var(--cx-green-hi); }
.product__add:active { transform: scale(.92); }
.product__add[disabled] { background: var(--cx-raise); color: var(--cx-text-3); cursor: not-allowed; }
.product__stock { font-size: .75rem; font-weight: 600; color: var(--cx-steel-text); }
.empty-state { text-align: center; color: var(--cx-text-2); padding: 3rem 1rem; }

/* Confianza */
.trust__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 992px) { .trust__grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; } }
.trust__visual { position: relative; margin: 0; display: grid; place-items: center; padding: 2.5rem 1rem 3.5rem; border-radius: 24px; background: radial-gradient(80% 70% at 50% 40%, #2c4766, var(--cx-dark)); }
.inspect { position: relative; padding: 1.5rem; }
.inspect .slab { position: relative; width: clamp(180px, 22vw, 250px); transform: none; }
.inspect__corner { position: absolute; width: 28px; height: 28px; border: 3px solid var(--cx-green-hi); transition: inset .8s var(--cx-ease); }
.inspect__corner--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.inspect__corner--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.inspect__corner--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.inspect__corner--br { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .trust__visual:not(.is-in) .inspect__corner--tl { top: -26px; left: -26px; }
  .trust__visual:not(.is-in) .inspect__corner--tr { top: -26px; right: -26px; }
  .trust__visual:not(.is-in) .inspect__corner--bl { bottom: -26px; left: -26px; }
  .trust__visual:not(.is-in) .inspect__corner--br { bottom: -26px; right: -26px; }
  .inspect__stamp { transition: opacity .5s .7s, transform .6s .7s var(--cx-ease); }
  .trust__visual:not(.is-in) .inspect__stamp { opacity: 0; transform: translate(-50%, 10px) rotate(-4deg); }
}
.inspect__stamp {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%) rotate(-4deg);
  display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap;
  background: var(--cx-green); color: var(--cx-on-green); font-weight: 800; font-size: .9rem;
  padding: .55rem 1rem; border-radius: var(--cx-pill); box-shadow: 0 12px 24px -10px rgba(0,0,0,.6);
}
.inspect__stamp i { font-size: 1.2rem; }
.process { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.5rem; }
@media (min-width: 576px) { .process { grid-template-columns: 1fr 1fr; gap: 2rem 2.5rem; } }
.process li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.process i { font-size: 1.6rem; color: var(--cx-steel-text); width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--cx-raise); }
.process h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.process p { margin: 0; color: var(--cx-text-2); font-size: .95rem; }

/* Créditos */
.credits { background: var(--cx-ground-2); }
.bento { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 768px) { .bento { grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; } .bento__cell--hero { grid-row: span 2; } }
.bento__cell { border-radius: var(--cx-radius); padding: 1.75rem; display: flex; flex-direction: column; gap: .5rem; min-height: 180px; }
.bento__cell p { margin: 0; color: var(--cx-text-2); max-width: 44ch; }
.bento__cell h3 { font-size: 1.3rem; }
.bento__cell i { font-size: 1.8rem; margin-bottom: auto; padding-bottom: 1rem; }
.bento__cell--hero { background: var(--cx-card); box-shadow: inset 0 0 0 1px var(--cx-line); color: var(--cx-navy); justify-content: flex-end; position: relative; overflow: hidden; }
.bento__cell--hero::before {
  content: ""; position: absolute; inset: -30% -20% auto auto; width: 70%; height: 140%;
  background: var(--cx-navy); opacity: .06; transform: skewX(-14deg);
}
.bento__cell--hero p { color: rgba(39,59,84,.82); font-size: 1.05rem; }
.bento__big { font-size: clamp(2.2rem, 5vw, 3.8rem) !important; font-weight: 900; letter-spacing: -.03em; line-height: 1; color: var(--cx-navy) !important; margin-bottom: .75rem !important; }
.bento__big span:not(.eq) { color: var(--cx-forest); }
.bento__big .eq { color: var(--cx-steel); }
.bento__cell--steel { background: #2f5068; }
.bento__cell--steel p { color: rgba(241,233,223,.84); }
.bento__cell--forest { background: var(--cx-forest); }
.bento__cell--forest p { color: rgba(241,233,223,.84); }

/* Consignación */
.consign { background: linear-gradient(110deg, var(--cx-forest) 0%, #234f3d 55%, var(--cx-navy) 55.1%, var(--cx-navy) 100%); }
.consign__inner { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 992px) { .consign__inner { grid-template-columns: 1.2fr 1fr; gap: 4rem; } }
@media (max-width: 991.98px) { .consign { background: var(--cx-forest); } }
.consign__lead { color: rgba(241,233,223,.86); font-size: 1.1rem; margin: 1rem 0 0; max-width: 46ch; }
.notify label { display: block; font-weight: 700; margin-bottom: .6rem; }
.notify__row { display: flex; gap: .5rem; flex-wrap: wrap; }
.notify input {
  flex: 1 1 220px; min-height: 48px; border-radius: var(--cx-pill); border: 1.5px solid var(--cx-line-strong);
  background: rgba(20,32,51,.55); color: var(--cx-cream); padding: 0 1.25rem; font: inherit;
}
.notify input::placeholder { color: var(--cx-text-3); }
.notify input:focus { outline: none; border-color: var(--cx-green-hi); }
.notify input[aria-invalid="true"] { border-color: #f0a58f; }
.notify__msg { min-height: 1.5em; margin: .6rem 0 0; font-size: .92rem; font-weight: 600; }
.notify__msg.is-error { color: #f6b8a6; }
.notify__msg.is-ok { color: #b9e6c6; }

/* Pie */
.site-footer { background: var(--cx-navy); padding-top: 4rem; font-size: .95rem; }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 992px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer__brand { grid-column: 1 / -1; }
@media (min-width: 992px) { .footer__brand { grid-column: auto; } }
.footer__brand p { color: var(--cx-text-2); margin: 1rem 0; max-width: 30ch; }
.footer__ig { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--cx-steel-text); }
.site-footer h2 { font-size: .95rem; font-weight: 800; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer ul a { color: var(--cx-text-2); }
.site-footer ul a:hover { color: var(--cx-cream); text-decoration: underline; text-underline-offset: 4px; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; border-top: 1px solid var(--cx-line); margin-top: 3rem; padding-block: 1.5rem 5rem; color: var(--cx-text-3); font-size: .85rem; }
.footer__base p { margin: 0; display: flex; align-items: center; gap: .4rem; }

/* Avisos */
.mock-flag {
  position: fixed; left: 1rem; bottom: 1rem; z-index: var(--z-flag); margin: 0;
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--cx-navy); color: var(--cx-cream); font-size: .78rem; font-weight: 700;
  padding: .45rem .8rem; border-radius: var(--cx-pill); box-shadow: inset 0 0 0 1px rgba(241,233,223,.35), var(--cx-shadow);
}
.toast-cx {
  position: fixed; left: 50%; bottom: 1.25rem; z-index: var(--z-toast);
  transform: translate(-50%, 140%); opacity: 0;
  background: var(--cx-navy); color: var(--cx-cream); font-weight: 700;
  padding: .8rem 1.2rem; border-radius: var(--cx-pill); box-shadow: var(--cx-shadow);
  display: inline-flex; align-items: center; gap: .5rem; max-width: calc(100vw - 2rem);
  transition: transform .45s var(--cx-ease), opacity .3s;
}
.toast-cx.is-on { transform: translate(-50%, 0); opacity: 1; }
.toast-cx i { color: var(--cx-green-hi); font-size: 1.2rem; }

/* Revelado al hacer scroll: visible por defecto, solo se anima si hay JS y movimiento permitido */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--cx-ease), transform .8s var(--cx-ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
