/* Fuentes alojadas en el propio dominio (antes Google Fonts: una hoja CSS externa + otro dominio
   para los archivos retrasaban ~1 s el LCP en móvil). Fuentes variables, subconjunto latino
   (incluye tildes, ñ, ¿ ¡ y €). Licencia SIL OFL, que permite alojarlas. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/space-grotesk-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/instrument-serif-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/instrument-serif-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #0b0b14;
  --bg-soft: #12121f;
  --card: #171728;
  --card-border: #262640;
  --text: #f2f2f7;
  --text-muted: #a0a0b8;
  --accent: #2563eb;
  --accent-2: #06b6d4;
  --accent-gradient: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --success: #22c55e;
  --danger: #ef4444;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Sin flechitas nativas de subir/bajar en los campos numéricos, en todo el sistema. */
input[type="number"] { -moz-appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}

.site-header .bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  background: linear-gradient(135deg, #fff 30%, #c7d2fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-mark {
  width: 32px; height: 32px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 5px 12px rgba(37, 99, 235, 0.45));
}
.logo-mark svg { width: 100%; height: 100%; }

.nav-links {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 0.86rem;
}

.nav-links a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
  padding: 8px 17px;
  line-height: 1.25;
  transition: color 0.18s ease;
}
.nav-links a:not(:last-child)::after {
  content: "";
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 14px; background: var(--card-border);
}
.nav-links a::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent-gradient);
  opacity: 0; transform: scale(0.4);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::before { opacity: 1; transform: scale(1); }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.cart-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.cart-pill:hover { border-color: var(--accent); transform: translateY(-1px); }
.cart-pill svg { flex-shrink: 0; color: var(--accent-2); }

.cart-pill .badge {
  background: var(--accent-gradient);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 0.76rem;
  font-weight: 700;
}

.btn-ghost svg { color: var(--accent-2); }

/* Barra inferior fija (celular) y hoja de categorías — ocultas en escritorio */
.mobile-tabbar, .mobile-category-sheet, .mobile-sheet-backdrop { display: none; }

@media (max-width: 860px) {
  .cart-pill-label { display: none; }
  .cart-pill { padding: 9px 12px; }
  .nav-links { display: none; }
  .header-actions .btn-ghost { display: none; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }

  .mobile-tabbar {
    display: flex; justify-content: center; align-items: stretch; gap: clamp(4px, 6vw, 32px);
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-top: 1px solid var(--card-border);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  }
  /* Antes cada pestaña tenía flex:1 (25% del ancho c/u), lo que las estiraba borde a borde con
     huecos enormes entre ícono y texto. Ahora cada una mide lo que su contenido necesita y el
     "gap" del contenedor las agrupa juntas y centradas -- más compacto, no desparramado. */
  .mobile-tab {
    flex: 0 1 auto; min-width: 0; max-width: 84px; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 7px 6px 5px;
    border: none; background: none; font-family: inherit; cursor: pointer;
    color: var(--text-muted); font-size: 0.64rem; font-weight: 600;
  }
  .mobile-tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-tab svg { color: inherit; flex-shrink: 0; }
  .mobile-tab[aria-expanded="true"] { color: var(--text); }
  .mobile-tab[aria-expanded="true"] svg { color: var(--accent-2); }

  .mobile-category-sheet {
    position: fixed; left: 12px; right: 12px; bottom: 0; z-index: 62;
    display: flex; flex-direction: column;
    background: var(--card); border: 1px solid var(--card-border);
    border-radius: 16px 16px 0 0;
    padding: 10px 8px calc(14px + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
    transition: transform 0.25s ease;
    max-height: 70vh; overflow-y: auto;
  }
  .mobile-category-sheet.open { transform: translateY(0); }
  .mobile-category-sheet a { padding: 13px 12px; border-bottom: 1px solid var(--card-border); color: var(--text); font-weight: 500; }
  .mobile-category-sheet a:last-child { border-bottom: none; }

  .mobile-sheet-backdrop {
    display: block;
    position: fixed; inset: 0; z-index: 61;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s ease;
  }
  .mobile-sheet-backdrop.open { opacity: 1; pointer-events: auto; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.btn[hidden] { display: none; }

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(37, 99, 235, 0.45); }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--accent); }

.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-danger { background: var(--danger); color: #fff; }

/* Encabezados de sección */
.section-head-title { display: flex; align-items: center; gap: 12px; }

/* Reseñas */
.review-card { width: 300px; flex-shrink: 0; }

/* Section titles */
/* padding-top/bottom nomás -- mismo motivo que .product-detail: "padding: 60px 0" pisaba el
   padding-left/right de .container (con quien esta clase siempre va combinada) y en mobile,
   sin el centrado por max-width para disimularlo, el contenido quedaba pegado al borde. */
.section { padding-top: 60px; padding-bottom: 60px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
/* h1 se suma acá porque catalogo.php usa este mismo bloque como título principal de la página
   (no un subtítulo de sección como en el home) -- necesita un <h1> real para SEO, con la misma
   apariencia que el <h2> que ya usan el resto de secciones. */
.section-head h2, .section-head h1 { font-size: 1.7rem; margin: 0; letter-spacing: -0.02em; }
.section-head a { color: var(--accent); font-weight: 600; font-size: 0.9rem; }

@media (max-width: 640px) {
  .section-head { flex-direction: column; align-items: stretch; }
  .section-head form { width: 100%; }
  .section-head form input[type="search"] { flex: 1; min-width: 0; }
  .section { padding-top: 34px; padding-bottom: 34px; }
  .section-head { margin-bottom: 18px; }
  .section-head h2, .section-head h1 { font-size: 1.32rem; }
}

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
@media (max-width: 480px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* Reseñas de clientes */
.review-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px;
}
.review-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 10px; letter-spacing: 2px; }
.review-comment { color: var(--text); font-size: 0.92rem; line-height: 1.5; margin-bottom: 12px; }
.review-author { color: var(--text-muted); font-size: 0.82rem; font-weight: 600; }

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover { transform: translateY(-4px); border-color: var(--accent); }

.card-wrap { position: relative; height: 100%; }
.card-wrap .card { display: block; height: 100%; }

.wishlist-btn {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(11, 11, 20, 0.65); border: 1px solid var(--card-border);
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; backdrop-filter: blur(4px);
  transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.wishlist-btn:hover { transform: scale(1.08); border-color: #f43f5e; }
.wishlist-btn.active { color: #f43f5e; border-color: #f43f5e; }

.wishlist-btn-lg {
  position: static; width: 48px; height: 48px; flex-shrink: 0;
  background: var(--card); border-color: var(--card-border);
}

.card-media {
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-media img { width: 100%; height: 100%; object-fit: contain; }
.product-detail .card-media img { transition: transform 0.1s ease-out; cursor: zoom-in; }
.card-media svg {
  height: 100%; width: auto; max-width: 78%;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,0.4));
  transition: transform 0.35s ease, filter 0.35s ease;
}
.card:hover .card-media svg, .product-detail .card-media:hover svg {
  transform: translateY(-6px) scale(1.035);
  filter: drop-shadow(0 20px 26px rgba(0,0,0,0.5)) drop-shadow(0 0 24px rgba(6,182,212,0.55));
}

.card-body { padding: 16px; }

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.tag-digital { background: rgba(37, 99, 235, 0.18); color: #93c5fd; }
.tag-fisico { background: rgba(6, 182, 212, 0.18); color: #67e8f9; }

.card-body h3 { margin: 0 0 6px; font-size: 1.05rem; }
.card-price { font-weight: 700; font-size: 1.15rem; margin: 8px 0 14px; }

@media (max-width: 480px) {
  .card-body { padding: 10px; }
  .card-body h3 { font-size: 0.86rem; line-height: 1.3; }
  .card-price { font-size: 0.95rem; margin: 6px 0 10px; }
  .tag { font-size: 0.62rem; padding: 2px 7px; margin-bottom: 6px; }
}

/* Product detail */
/* padding-top/bottom nomás -- el horizontal lo pone .container; con el shorthand "padding: 50px 0"
   se pisaba ese padding-left/right (misma especificidad, esta regla va después) y en mobile,
   donde el centrado por max-width no genera aire propio, el contenido quedaba pegado al borde. */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-top: 50px; padding-bottom: 50px; align-items: start; }
.product-detail .card-media { border-radius: var(--radius); border: 1px solid var(--card-border); }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumb { width: 68px; height: 68px; border-radius: 10px; overflow: hidden; border: 1.5px solid var(--card-border); cursor: pointer; padding: 0; background: var(--bg-soft); opacity: 0.65; transition: opacity .15s ease, border-color .15s ease; }
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumb:hover { opacity: 0.9; }
.pd-thumb.active { opacity: 1; border-color: var(--accent); }
.product-detail h1 { font-size: 2rem; margin: 10px 0; letter-spacing: -0.02em; }
.product-price { font-size: 2rem; font-weight: 800; margin: 18px 0; }
.product-desc { color: var(--text-muted); margin-bottom: 26px; white-space: pre-line; }
.qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.qty-row input { width: 70px; padding: 10px; border-radius: 8px; border: 1px solid var(--card-border); background: var(--bg-soft); color: var(--text); text-align: center; }

.pd-trust { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 16px; }
.pd-trust span { display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.pd-trust svg { color: var(--accent-2); flex-shrink: 0; }

.pd-signals { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 18px; }
.pd-signals span { display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; color: var(--text-muted); }
.pd-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); position: relative; flex-shrink: 0; }
.pd-live-dot::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--success); animation: eyebrowPulse 1.8s var(--ease-out) infinite;
}
@keyframes eyebrowPulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pd-live-dot::after { animation: none; } }

.plan-picker { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.plan-option {
  display: flex; flex-direction: column; gap: 3px;
  padding: 10px 16px; border-radius: 10px;
  background: var(--card); border: 1px solid var(--card-border);
  text-decoration: none; transition: border-color 0.2s ease;
}
.plan-option:hover { border-color: var(--accent); }
.plan-option.active { border-color: var(--accent); background: rgba(37, 99, 235, 0.1); }
.plan-option-label { font-weight: 700; font-size: 0.86rem; color: var(--text); }
.plan-option-price { font-size: 0.78rem; color: var(--text-muted); }
.plan-option-permonth { color: var(--accent-2); }

.delivery-note { display: flex; align-items: flex-start; gap: 12px; background: var(--bg-soft); border: 1px solid var(--card-border); border-radius: 10px; padding: 14px 16px; font-size: 0.85rem; }
.delivery-note svg { flex-shrink: 0; margin-top: 2px; }
.delivery-note strong { font-size: 0.88rem; }
.delivery-note .desc { color: var(--text-muted); }
.delivery-note.auto { border-left: 3px solid var(--accent-2); }
.delivery-note.manual { border-left: 3px solid var(--accent); }

@media (max-width: 800px) {
  .product-detail { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; padding-bottom: 28px; }
}

@media (max-width: 480px) {
  .product-detail h1 { font-size: 1.4rem; margin: 8px 0; }
  .product-price { font-size: 1.5rem; margin: 12px 0; }
  .pd-thumb { width: 54px; height: 54px; }
}

/* Forms */
.form-card {
  max-width: 440px;
  margin: 60px auto;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px;
}

.form-card h1 { font-size: 1.5rem; margin-top: 0; }

@media (max-width: 520px) {
  .form-card { margin: 32px 16px; padding: 26px 22px; }
}

.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-size: 0.9rem; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 0.95rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }

.form-foot { margin-top: 18px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }
.form-foot a { color: var(--accent); font-weight: 600; }

/* Cart */
.cart-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 24px; }
.cart-title { font-family: 'Space Grotesk', 'Inter', sans-serif; font-size: 1.9rem; font-weight: 700; margin: 0; }
.cart-subtitle { color: var(--text-muted); font-size: 0.9rem; margin-top: 6px; }
.cart-clear-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px;
  border-radius: 9px;
  border: 1px solid var(--card-border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.cart-clear-btn:hover { border-color: var(--danger); color: var(--danger); background: rgba(239, 68, 68, 0.08); }

.cart-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }

.cart-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px;
}

.cart-media { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: var(--bg-soft); }
.cart-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-media svg { width: 100%; height: 100%; }

.cart-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cart-info-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cart-name { font-weight: 600; font-size: 1rem; }

.cart-qty-form { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cart-stepper { display: flex; align-items: center; background: var(--bg-soft); border: 1px solid var(--card-border); border-radius: 10px; overflow: hidden; }
.cart-step-btn { width: 34px; height: 34px; border: none; background: none; color: var(--text); font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cart-step-btn:hover { background: var(--card-border); }
.cart-stepper input[type="number"] { width: 40px; text-align: center; border: none; background: none; color: var(--text); font-weight: 600; font-size: 0.92rem; padding: 0; }
.cart-unit-price { color: var(--text-muted); font-size: 0.82rem; }

.cart-subtotal-block { text-align: right; flex-shrink: 0; padding-right: 40px; }
.cart-subtotal-label { display: block; color: var(--text-muted); font-size: 0.74rem; }
.cart-subtotal-value { display: block; font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700; font-size: 1.15rem; margin-top: 2px; }

.cart-remove-form { position: absolute; top: 12px; right: 12px; }
.cart-remove-btn { width: 32px; height: 32px; border-radius: 8px; border: none; background: none; color: var(--text-muted); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.cart-remove-btn:hover { background: var(--bg-soft); color: var(--text); }

.cart-summary-bar {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cart-summary-totals { font-size: 1rem; color: var(--text-muted); }
.cart-summary-totals strong { font-family: 'Space Grotesk', 'Inter', sans-serif; font-size: 1.4rem; color: var(--text); margin-left: 8px; }

@media (max-width: 700px) {
  .cart-head { margin: 0 0 18px; }
  .cart-card { flex-wrap: wrap; padding: 16px; padding-right: 52px; }
  .cart-media { width: 60px; height: 60px; }
  .cart-subtotal-block {
    width: 100%; text-align: left; padding: 10px 0 0; margin-top: 4px; border-top: 1px solid var(--card-border);
    display: flex; align-items: center; justify-content: space-between;
  }
  .cart-summary-bar { flex-direction: column; align-items: stretch; text-align: center; }
  .cart-checkout-btn { width: 100%; text-align: center; }
}

/* ===== Portal de pago Binnox — diseño propio, no reusa componentes del resto del sitio ===== */
.pay-wrap { max-width: 640px; margin: 0 auto; }

.pay-hero {
  position: relative;
  text-align: center;
  padding: 36px 24px 32px;
  margin-bottom: 24px;
  border-radius: 20px;
  background: radial-gradient(120% 160% at 85% -20%, rgba(255,255,255,0.16), transparent 55%), var(--accent-gradient);
  color: #fff;
  overflow: hidden;
}
.pay-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.16) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  mask-image: radial-gradient(70% 90% at 50% 30%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 90% at 50% 30%, black, transparent 75%);
  pointer-events: none;
}
.pay-hero-eyebrow {
  position: relative;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.76rem; font-weight: 700;
  padding: 7px 14px 7px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.32);
  backdrop-filter: blur(6px);
  margin-bottom: 14px;
}
.pay-hero-eyebrow svg { background: #fff; color: var(--accent); border-radius: 50%; padding: 2px; width: 14px; height: 14px; flex-shrink: 0; }
.pay-hero h1 {
  position: relative;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.pay-hero p { position: relative; color: rgba(255,255,255,0.92); font-size: 0.9rem; margin: 0; }

/* Indicador de pasos */
.pay-steps { display: flex; align-items: flex-start; justify-content: space-between; gap: 4px; margin-bottom: 24px; }
.pay-step { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; min-width: 0; }
.pay-step:not(:last-child)::after {
  content: ""; position: absolute; top: 15px; left: 50%; width: 100%; height: 2px;
  background: var(--card-border); z-index: 0;
}
.pay-step.done:not(:last-child)::after { background: var(--accent-gradient); }
.pay-step-node {
  position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: var(--card); border: 2px solid var(--card-border); color: var(--text-muted);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.pay-step.active .pay-step-node { background: var(--accent-gradient); border-color: transparent; color: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,0.16); }
.pay-step.done .pay-step-node { background: var(--accent); border-color: transparent; color: #fff; }
.pay-step-label { font-size: 0.7rem; font-weight: 600; color: var(--text-muted); max-width: 92px; line-height: 1.25; }
.pay-step.active .pay-step-label, .pay-step.done .pay-step-label { color: var(--text); font-weight: 700; }
.pay-steps.compact { margin-bottom: 0; }
.pay-steps.compact .pay-step-node { width: 24px; height: 24px; }
.pay-steps.compact .pay-step-node svg { width: 11px; height: 11px; }
.pay-steps.compact .pay-step:not(:last-child)::after { top: 12px; }
.pay-steps.compact .pay-step-label { font-size: 0.64rem; }

/* Resumen del pedido */
.pay-ticket {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  margin-bottom: 24px;
  overflow: hidden;
}
.pay-ticket-head { padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pay-ticket-head .code { font-family: 'Space Grotesk', monospace; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.02em; }

.pay-ticket-items { padding: 0 24px; display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.pay-ticket-items .item {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-soft); border: 1px solid var(--card-border); border-radius: 12px;
  padding: 11px 14px;
}
.pay-ticket-items .item .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.pay-ticket-items .item .dot-digital { background: #6699ff; }
.pay-ticket-items .item .dot-fisico { background: var(--accent-2); }
.pay-ticket-items .item .name { flex: 1; min-width: 0; font-size: 0.86rem; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pay-ticket-items .item .qty { background: #1c1c33; color: var(--text-muted); font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; flex-shrink: 0; }
.pay-ticket-items .item .price { font-weight: 700; font-size: 0.88rem; color: var(--text); flex-shrink: 0; white-space: nowrap; }

.pay-ticket-total {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 16px 24px; background: var(--bg-soft); border-top: 1px solid var(--card-border); border-left: 3px solid var(--accent);
}
.pay-ticket-total .label { color: var(--text-muted); font-size: 0.8rem; }
.pay-ticket-total .sub { color: #6d6d8a; font-size: 0.72rem; margin-top: 2px; }
.pay-ticket-total .amount { font-size: 1.4rem; font-weight: 800; font-family: 'Space Grotesk', 'Inter', sans-serif; }

/* Grilla de medios de pago */
.pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 12px; }
.pay-card { position: relative; cursor: pointer; animation: payCardIn 0.4s cubic-bezier(.2,.8,.2,1) both; }
.pay-card:nth-child(1) { animation-delay: 0.03s; }
.pay-card:nth-child(2) { animation-delay: 0.08s; }
.pay-card:nth-child(3) { animation-delay: 0.13s; }
.pay-card:nth-child(n+4) { animation-delay: 0.16s; }
@keyframes payCardIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.pay-card input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pay-card-face {
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1.5px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pay-card:hover .pay-card-face { transform: translateY(-3px); box-shadow: 0 14px 28px -14px rgba(37,99,235,0.4); }
.pay-card.selected .pay-card-face { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.18), 0 14px 28px -14px rgba(37,99,235,0.45); }
.pay-card-band {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 20px 10px 24px;
  background: var(--accent-gradient);
}
.pay-card-band.alt { background: linear-gradient(150deg, #0891b2, #2563eb); }
.pay-card-logo {
  width: 50px; height: 50px; border-radius: 14px;
  background: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 22px -8px rgba(0,0,0,0.4);
  color: var(--accent); overflow: hidden; flex-shrink: 0;
}
.pay-card-logo img { width: 74%; height: 74%; object-fit: contain; }
.pay-card-badge {
  position: absolute; top: 9px; left: 9px;
  font-size: 0.58rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  color: #fff; background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.4);
  padding: 3px 7px; border-radius: 999px; backdrop-filter: blur(4px);
}
.pay-card-check {
  position: absolute; top: 9px; right: 9px;
  width: 19px; height: 19px; border-radius: 50%;
  background: rgba(255,255,255,0.18); border: 1.5px solid rgba(255,255,255,0.55);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.pay-card.selected .pay-card-check { background: #fff; border-color: #fff; }
.pay-card.selected .pay-card-check::after {
  content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--accent);
}
.pay-card-body { padding: 11px 10px 14px; text-align: center; }
.pay-card-name { font-weight: 700; font-size: 0.86rem; }
.pay-card-sub { color: var(--text-muted); font-size: 0.7rem; margin-top: 2px; }

.pay-detail {
  display: none;
  margin-top: 16px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  animation: payDetailIn 0.25s ease both;
}
.pay-detail.active { display: block; }
@keyframes payDetailIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

.pay-account {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.pay-account-info p { color: var(--text-muted); font-size: 0.82rem; margin: 6px 0 0; }
.pay-copy-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border: none;
  border-radius: 7px;
  padding: 8px 12px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.pay-copy-btn:hover { background: color-mix(in srgb, var(--accent) 26%, transparent); }
.pay-copy-btn.copied { background: color-mix(in srgb, var(--success) 20%, transparent); color: var(--success); }

.proof-upload {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  border: 1px dashed var(--card-border);
  border-radius: 10px;
  padding: 24px 16px;
  background: var(--bg-soft);
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.proof-upload:hover, .proof-upload:focus-within { border-color: var(--accent); }
.proof-upload-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; margin: 0; }
.proof-upload-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--card);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--accent-2);
}
.proof-upload-text { max-width: 100%; }
.proof-upload-title { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.proof-upload-hint { display: block; font-size: 0.76rem; color: var(--text-muted); margin-top: 3px; }
.proof-upload.has-file .proof-upload-icon { color: var(--success); }

.pay-guarantee {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 22px;
}
.pay-guarantee-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: rgba(34,197,94,0.14); color: #4ade80;
  display: flex; align-items: center; justify-content: center;
}
.pay-guarantee h3 { margin: 0 0 3px; font-size: 0.86rem; }
.pay-guarantee p { margin: 0; color: var(--text-muted); font-size: 0.8rem; line-height: 1.5; }

.pay-trust {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: var(--text-muted); font-size: 0.78rem;
  margin-top: 22px;
}
.pay-trust svg { flex-shrink: 0; opacity: 0.8; }

/* Cuenta dentro del checkout (crear cuenta / iniciar sesión sin salir de la página) */
.auth-tabs { display: flex; gap: 8px; margin-bottom: 18px; padding: 4px; background: var(--bg-soft); border-radius: 10px; }
.auth-tab {
  flex: 1; padding: 9px; border: none; border-radius: 7px; background: none; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: 0.86rem; color: var(--text-muted);
  transition: background 0.15s ease, color 0.15s ease;
}
.auth-tab.active { background: var(--card); color: var(--text); box-shadow: var(--shadow); }

/* Resultado del pago — tarjeta con banda de color arriba (pagado/en revisión/fallido/esperando) */
.result-wrap { max-width: 460px; margin: 0 auto; }
.result-card { background: var(--card); border: 1px solid var(--card-border); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.result-band { position: relative; padding: 36px 30px 44px; text-align: center; overflow: hidden; }
.result-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.12) 1.4px, transparent 1.4px);
  background-size: 20px 20px; opacity: 0.5;
}
.result-band.success { background: linear-gradient(135deg, #22c55e, #0d9488); }
.result-band.error { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.result-band.info { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.result-icon {
  position: relative; width: 64px; height: 64px; margin: 0 auto 14px;
  border-radius: 50%; background: rgba(255,255,255,0.18); border: 2px solid rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center;
}
.result-band h1 { position: relative; font-family: 'Space Grotesk', 'Inter', sans-serif; font-size: 1.3rem; font-weight: 800; margin: 0; color: #fff; }
.result-body { padding: 30px; text-align: center; }
.result-body p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.55; margin: 0 0 18px; }
.result-body code { color: var(--text); font-family: 'Space Grotesk', monospace; }
.result-items { background: var(--bg-soft); border: 1px solid var(--card-border); border-radius: 12px; padding: 12px 16px; margin-bottom: 22px; text-align: left; }
.result-items .item { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-muted); padding: 4px 0; }
.result-items .item span:last-child { color: var(--text); font-weight: 700; }
.result-body .btn-block { margin-bottom: 10px; }
.result-secondary-link { display: block; color: var(--text-muted); font-size: 0.85rem; }
.result-secondary-link:hover { color: var(--text); }

/* Autocompletado del buscador del catálogo */
.search-suggestions {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40;
  background: var(--card); border: 1px solid var(--card-border); border-radius: 10px;
  box-shadow: var(--shadow); overflow: hidden;
}
.search-suggestion {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 14px; color: var(--text); font-size: 0.86rem;
  border-bottom: 1px solid var(--card-border); cursor: pointer;
}
.search-suggestion:last-child { border-bottom: none; }
.search-suggestion:hover, .search-suggestion.active { background: var(--bg-soft); }
.search-suggestion .price { color: var(--text-muted); font-size: 0.8rem; flex-shrink: 0; }

/* Modal de confirmación propio (reemplaza confirm() nativo del navegador) */
.confirm-modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(5, 5, 11, 0.72);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: confirmOverlayIn 0.15s ease;
}
@keyframes confirmOverlayIn { from { opacity: 0; } to { opacity: 1; } }
.confirm-modal {
  width: 100%; max-width: 380px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 26px 24px 22px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: confirmModalIn 0.18s cubic-bezier(.2,.8,.2,1);
}
@keyframes confirmModalIn { from { opacity: 0; transform: translateY(8px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.confirm-modal-icon {
  width: 44px; height: 44px; margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.14);
  color: var(--danger);
  display: flex; align-items: center; justify-content: center;
}
.confirm-modal-message { margin: 0 0 22px; color: var(--text); font-size: 0.94rem; line-height: 1.5; }
.confirm-modal-actions { display: flex; gap: 10px; }
.confirm-modal-actions .btn { flex: 1; }

/* Alerts */
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-size: 0.92rem; }
.alert-success { background: rgba(34, 197, 94, 0.12); color: #86efac; border: 1px solid rgba(34, 197, 94, 0.3); }
.alert-error { background: rgba(239, 68, 68, 0.12); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }
.alert-info { background: rgba(37, 99, 235, 0.12); color: #93c5fd; border: 1px solid rgba(37, 99, 235, 0.3); }

.badge-status { padding: 4px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; }
.status-pendiente, .status-en_revision { background: rgba(234, 179, 8, 0.15); color: #fde047; }
.status-pagado, .status-entregado { background: rgba(34, 197, 94, 0.15); color: #86efac; }
.status-fallido, .status-cancelado { background: rgba(239, 68, 68, 0.15); color: #fca5a5; }

/* Tarjeta de pedido — Mi cuenta */
.order-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--card-border);
  border-radius: 14px;
  margin-bottom: 18px;
  overflow: hidden;
}
.order-card.accent-green { border-left-color: #22c55e; }
.order-card.accent-amber { border-left-color: #eab308; }
.order-card.accent-red { border-left-color: #ef4444; }

.order-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--card-border); }
.order-head .meta { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.order-head .code { font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700; font-size: 0.95rem; }
.order-head .date { color: var(--text-muted); font-size: 0.78rem; }
.order-head .right { display: flex; align-items: center; gap: 12px; }
.order-head .right .price { font-weight: 700; font-size: 0.95rem; }

.order-items { padding: 6px 20px 4px; }
.order-item-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: 0.85rem; border-bottom: 1px solid #1c1c30; }
.order-item-row:last-child { border-bottom: none; }
.order-item-row .name { color: var(--text-muted); }
.order-item-row .name .qty { color: #6d6d8a; }
.order-item-row .price { font-weight: 600; color: var(--text); flex-shrink: 0; white-space: nowrap; }

.order-creds { margin: 12px 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--card-border); }
.order-creds-bar { background: #1c1c2e; padding: 8px 14px; display: flex; align-items: center; gap: 6px; }
.order-creds-dot { width: 9px; height: 9px; border-radius: 50%; }
.order-creds-label { color: var(--text-muted); font-size: 0.72rem; margin-left: 6px; }
.order-creds-body { background: #0d0d16; padding: 14px 16px; font-family: monospace; font-size: 0.8rem; line-height: 1.9; color: #86efac; }
.order-creds-body .val { color: var(--text); }
.order-creds-row { display: flex; align-items: center; gap: 8px; }
.order-creds-copy {
  border: none; background: none; padding: 3px; margin: 0; border-radius: 5px;
  color: #6d6d8a; cursor: pointer; display: inline-flex; align-items: center; flex-shrink: 0;
}
.order-creds-copy:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.order-creds-copy.copied { color: #86efac; }

.order-report { padding: 10px 0 0; }

.order-foot { padding: 12px 20px 18px; }
.order-foot.align-right { text-align: right; }
.order-review-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border: 1px solid var(--card-border); border-radius: 9px;
  color: var(--text); font-size: 0.82rem; font-weight: 600; cursor: pointer; list-style: none;
}
.order-review-btn::-webkit-details-marker { display: none; }
.order-review-btn:hover { border-color: var(--accent); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--card-border);
  margin-top: 80px;
  padding: 46px 0 30px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.site-footer .cols { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; margin-bottom: 24px; }
/* Títulos del pie como <p>: eran <h4> sin h3 previo (orden de encabezados roto para lectores y Lighthouse). */
.site-footer .footer-heading { color: var(--text); margin: 0 0 12px; font-size: 0.95rem; font-weight: 700; }
.site-footer li { margin-bottom: 8px; }
.site-footer a:hover { color: var(--text); }
.site-footer .bottom { border-top: 1px solid var(--card-border); padding-top: 20px; text-align: center; font-size: 0.82rem; }

.empty-state { text-align: center; padding: 70px 20px; color: var(--text-muted); }

table.admin-table { width: 100%; border-collapse: collapse; }
table.admin-table th, table.admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--card-border); text-align: left; font-size: 0.9rem; }
table.admin-table th { color: var(--text-muted); font-size: 0.78rem; text-transform: uppercase; }

.drag-handle { width: 20px; color: var(--text-muted); cursor: grab; }
.drag-handle:active { cursor: grabbing; }
table.admin-table tr.dragging { opacity: 0.4; background: rgba(37, 99, 235, 0.08); }
table.admin-table tr[draggable="true"] { transition: opacity 0.15s ease; }
.admin-shell { display: block; min-height: 100vh; }
.admin-main { padding: 32px; }

/* Reaparición al hacer scroll -- un solo tratamiento reutilizado en toda la página */
/* Solo se oculta cuando main.js ya armó el observador (.reveal-ready): si el JS no carga o falla
   antes, el contenido queda visible en vez de quedar en blanco para el cliente y para Google. */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(26px); }
.reveal-ready [data-reveal].is-revealed {
  opacity: 1; transform: none;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

.admin-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; flex-wrap: wrap; gap: 12px; }

/* Producto agotado en las tarjetas: se ve atenuado y con etiqueta; la ficha ofrece "Avísame cuando vuelva". */
.card-soldout {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  padding: 4px 10px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase;
  color: #fff; background: rgba(15, 23, 42, 0.82);
  pointer-events: none;
}
.card-wrap.is-soldout .card-media { opacity: 0.5; filter: grayscale(0.6); }
