/* ============================================================
   PEPTINATOR MX — estética Terminator 2
   Paleta: negro carbón, cromo/acero, rojo óptico T-800
   ============================================================ */

:root {
  --bg: #0a0a0c;
  --bg-panel: #101014;
  --bg-card: #141419;
  --chrome-1: #e8e8ec;
  --chrome-2: #9a9aa4;
  --chrome-3: #55555e;
  --red: #ff1a1a;
  --red-deep: #a30000;
  --red-glow: rgba(255, 26, 26, 0.55);
  --text: #d8d8de;
  --text-dim: #8a8a94;
  --font-display: "Orbitron", sans-serif;
  --font-mono: "Share Tech Mono", monospace;
  --font-body: "Rajdhani", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  overflow-x: hidden;
}

.mono { font-family: var(--font-mono); }

img { max-width: 100%; display: block; }

/* ---------- Header HUD ---------- */
.hud-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 2rem;
  background: rgba(10, 10, 12, 0.92);
  border-bottom: 1px solid var(--chrome-3);
  backdrop-filter: blur(8px);
}

.hud-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

.blink-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red-glow);
  animation: blink 1.4s infinite;
  display: inline-block;
  flex: none;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  background: linear-gradient(180deg, var(--chrome-1) 0%, var(--chrome-2) 45%, #3d3d44 50%, var(--chrome-2) 60%, var(--chrome-1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.12));
}

.logo-mx { color: var(--red); -webkit-text-fill-color: var(--red); margin-left: 0.35em; filter: drop-shadow(0 0 10px var(--red-glow)); }

.main-nav { display: flex; gap: 1.6rem; }

.main-nav a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  padding: 0.3rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.main-nav a:hover { color: var(--red); border-bottom-color: var(--red); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../img/hero.jpg") center right / cover no-repeat, radial-gradient(ellipse at 75% 50%, #1a0505 0%, var(--bg) 65%);
  z-index: -2;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 8%, rgba(10, 10, 12, 0.75) 45%, rgba(10, 10, 12, 0.25) 100%);
}

.scanlines {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}

.hero-content { max-width: 720px; padding: 6rem 2rem 5rem 6vw; }

.hero-kicker {
  color: var(--red);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  margin-bottom: 1.2rem;
  text-shadow: 0 0 10px var(--red-glow);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: 0.04em;
  color: var(--chrome-1);
  margin-bottom: 1.4rem;
}

.red-glow {
  color: var(--red);
  text-shadow: 0 0 18px var(--red-glow), 0 0 46px rgba(255, 26, 26, 0.35);
}

.hero-sub {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 2.2rem;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.6rem; }

.btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 1.8rem;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: filter 0.2s, background 0.2s;
}

.btn-primary {
  background: linear-gradient(180deg, #ff2e2e, var(--red-deep));
  color: #fff;
  box-shadow: 0 0 22px var(--red-glow);
}

.btn-primary:hover { filter: brightness(1.2); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--chrome-2);
  box-shadow: inset 0 0 0 1px var(--chrome-3);
}

.btn-ghost:hover { color: var(--chrome-1); box-shadow: inset 0 0 0 1px var(--chrome-2); }

.hero-stats {
  display: flex;
  gap: 2.4rem;
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--chrome-1);
}

/* ---------- Aviso legal ---------- */
.legal-banner {
  background: repeating-linear-gradient(-45deg, #160404 0 14px, #1e0606 14px 28px);
  border-top: 1px solid var(--red-deep);
  border-bottom: 1px solid var(--red-deep);
  color: #ff7a7a;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  padding: 0.9rem 1.5rem;
}

/* ---------- Secciones ---------- */
section { padding: 5rem 6vw; }

.section-head { margin-bottom: 2.6rem; }

.section-kicker {
  color: var(--red);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  margin-bottom: 0.6rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: 0.08em;
  color: var(--chrome-1);
  border-left: 4px solid var(--red);
  padding-left: 1rem;
}

.catalog-note {
  margin-top: 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}

/* ---------- Filtros ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.4rem;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--bg-panel);
  color: var(--text-dim);
  border: 1px solid var(--chrome-3);
  padding: 0.45rem 1rem;
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: all 0.15s;
}

.filter-btn:hover { color: var(--chrome-1); border-color: var(--chrome-2); }

.filter-btn.active {
  background: var(--red-deep);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 0 14px var(--red-glow);
}

/* ---------- Grid de productos ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 1.4rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid #26262e;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--red-deep);
  box-shadow: 0 0 26px rgba(255, 26, 26, 0.18);
}

.card-img { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #0d0d10; }

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
  filter: saturate(0.85) contrast(1.05);
}

.card:hover .card-img img { transform: scale(1.06); }

.card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 3px);
  pointer-events: none;
}

.card-tag {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(10, 10, 12, 0.85);
  border: 1px solid var(--red-deep);
  color: #ff8a8a;
  padding: 0.2rem 0.55rem;
}

.card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }

.card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.05em;
  color: var(--chrome-1);
}

.card-spec { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-dim); letter-spacing: 0.1em; }

.card-note { font-size: 0.9rem; color: var(--text-dim); }

.card-meta {
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px dashed #2c2c34;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
}

.card-purity { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-dim); letter-spacing: 0.08em; }

.card-price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--red);
  text-shadow: 0 0 12px var(--red-glow);
  white-space: nowrap;
}

.card-price.pending { color: var(--chrome-2); text-shadow: none; font-size: 0.95rem; }

/* ---------- Protocolo ---------- */
.protocol { background: var(--bg-panel); }

.protocol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.protocol-card {
  border: 1px solid #26262e;
  background: var(--bg-card);
  padding: 1.6rem 1.4rem;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.protocol-card .step {
  color: var(--red);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}

.protocol-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--chrome-1);
  margin: 0.6rem 0 0.7rem;
}

.protocol-card p { font-size: 0.98rem; color: var(--text-dim); }

/* ---------- Confianza ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
  margin-bottom: 3rem;
}

.trust-item {
  border: 1px solid #26262e;
  background: var(--bg-card);
  padding: 1.5rem 1.3rem;
}

.trust-icon { color: var(--red); font-size: 1.1rem; text-shadow: 0 0 10px var(--red-glow); }

.trust-item h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--chrome-1);
  margin: 0.7rem 0 0.6rem;
}

.trust-item p { font-family: var(--font-body); font-size: 0.98rem; color: var(--text-dim); }

.coa-figure {
  border: 1px solid #26262e;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.coa-figure img { width: 100%; max-height: 420px; object-fit: cover; filter: saturate(0.9) contrast(1.05); }

.coa-figure figcaption {
  background: var(--bg-card);
  color: var(--text-dim);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  padding: 0.7rem 1.2rem;
  border-top: 1px solid #26262e;
}

/* ---------- Contacto ---------- */
.contact { background: var(--bg-panel); }

.contact-card {
  max-width: 640px;
  border: 1px solid var(--red-deep);
  background: var(--bg-card);
  padding: 2rem;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  box-shadow: 0 0 30px rgba(255, 26, 26, 0.12);
}

.contact-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--red);
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  margin-bottom: 1.1rem;
}

.contact-card p { color: var(--text-dim); margin-bottom: 1.2rem; }

.contact-pending { list-style: none; font-size: 0.9rem; letter-spacing: 0.12em; color: var(--chrome-2); margin-bottom: 1.4rem; }

.contact-pending em { color: var(--red); font-style: normal; }

.contact-note { font-size: 0.8rem; letter-spacing: 0.1em; color: var(--text-dim); }

/* ---------- Footer ---------- */
.footer {
  padding: 3rem 6vw 2.5rem;
  border-top: 1px solid #26262e;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.16em;
  color: var(--chrome-2);
  margin-bottom: 1rem;
}

.footer-brand span { color: var(--red); margin-left: 0.3em; }

.footer-legal { max-width: 720px; margin: 0 auto 1.2rem; line-height: 1.7; }

.footer-copy { color: var(--chrome-3); }

/* ---------- Responsivo ---------- */
@media (max-width: 760px) {
  .hud-header { flex-wrap: wrap; padding: 0.7rem 1.2rem; }
  .hud-status { display: none; }
  .main-nav { gap: 1rem; }
  .main-nav a { font-size: 0.72rem; }
  .hero-content { padding: 4rem 1.4rem 3.5rem; }
  .hero-stats { gap: 1.4rem; flex-wrap: wrap; }
  section { padding: 3.5rem 1.4rem; }
}

/* ---------- Modal ficha de producto ---------- */
.card { cursor: pointer; }

.card:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(5, 5, 7, 0.82);
  backdrop-filter: blur(6px);
}

.modal.open { display: flex; }

.modal-box {
  position: relative;
  width: min(920px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--red-deep);
  box-shadow: 0 0 50px rgba(255, 26, 26, 0.22);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  padding: 2.2rem;
  animation: modal-in 0.18s ease-out;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 1.1rem;
  background: none;
  border: 1px solid var(--chrome-3);
  color: var(--text-dim);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  transition: all 0.15s;
}

.modal-close:hover { color: var(--red); border-color: var(--red); }

.modal-grid {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 2rem;
  align-items: start;
}

.modal-img { position: relative; border: 1px solid #26262e; }

.modal-img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: saturate(0.85) contrast(1.05); }

.modal-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--chrome-1);
  margin-bottom: 0.4rem;
}

.modal-spec { font-size: 0.8rem; letter-spacing: 0.16em; color: var(--red); margin-bottom: 1rem; }

.modal-desc { color: var(--text-dim); margin-bottom: 1.4rem; }

.modal-sub { font-size: 0.78rem; letter-spacing: 0.2em; color: var(--chrome-2); margin-bottom: 0.6rem; }

.modal-specs {
  list-style: none;
  font-size: 0.95rem;
  color: var(--text-dim);
  margin-bottom: 1.6rem;
}

.modal-specs li { padding: 0.3rem 0 0.3rem 1.4rem; position: relative; }

.modal-specs li::before { content: "▸"; position: absolute; left: 0; color: var(--red); }

.modal-buy { border-top: 1px dashed #2c2c34; padding-top: 1.3rem; }

.qty-row { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 1.2rem; }

.qty-label { font-size: 0.78rem; letter-spacing: 0.16em; color: var(--text-dim); }

.qty-ctrl {
  display: flex;
  align-items: center;
  border: 1px solid var(--chrome-3);
}

.qty-ctrl button {
  background: var(--bg-panel);
  border: none;
  color: var(--chrome-1);
  font-size: 1.1rem;
  width: 38px;
  height: 38px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.qty-ctrl button:hover { background: var(--red-deep); color: #fff; }

.qty-ctrl span {
  min-width: 44px;
  text-align: center;
  font-size: 1.05rem;
  color: var(--chrome-1);
}

.modal-total {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--red);
  text-shadow: 0 0 14px var(--red-glow);
}

.modal-total.pending { color: var(--chrome-2); text-shadow: none; font-size: 1rem; }

.buy-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.buy-note { font-size: 0.72rem; letter-spacing: 0.1em; color: var(--text-dim); margin-top: 0.9rem; }

.buy-pending { font-size: 0.82rem; letter-spacing: 0.14em; color: var(--red); margin-bottom: 1rem; }

@media (max-width: 700px) {
  .modal-grid { grid-template-columns: 1fr; }
  .modal-box { padding: 1.6rem 1.3rem; }
}

/* ---------- Sección: Qué es un péptido ---------- */
.peptido-info { background: var(--bg-panel); }

.peptide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
}

.peptide-point {
  border: 1px solid #26262e;
  background: var(--bg-card);
  padding: 1.5rem 1.4rem 1.5rem 1.8rem;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.peptide-point::before {
  content: "▸";
  position: absolute;
  left: 0.8rem;
  top: 1.45rem;
  color: var(--red);
  text-shadow: 0 0 10px var(--red-glow);
}

.peptide-point h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  color: var(--chrome-1);
  margin-bottom: 0.6rem;
  padding-left: 1rem;
}

.peptide-point p {
  font-size: 0.98rem;
  color: var(--text-dim);
  padding-left: 1rem;
}

/* ---------- Botón carrito en nav ---------- */
.cart-open {
  background: none;
  border: 1px solid var(--chrome-3);
  color: var(--text-dim);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.15s;
  text-transform: uppercase;
}

.cart-open:hover { color: var(--red); border-color: var(--red); }

.cart-count {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: var(--red-deep);
  color: #fff;
  font-size: 0.72rem;
  box-shadow: 0 0 10px var(--red-glow);
}

/* ---------- Panel carrito ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 290;
  background: rgba(5, 5, 7, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 300;
  width: min(430px, 94vw);
  height: 100vh;
  background: var(--bg-panel);
  border-left: 1px solid var(--red-deep);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.25s ease-out;
}

.cart-drawer.open { transform: translateX(0); }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid #26262e;
}

.cart-head h3 { color: var(--red); font-size: 0.95rem; letter-spacing: 0.2em; }

.cart-close {
  background: none;
  border: 1px solid var(--chrome-3);
  color: var(--text-dim);
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.15s;
}

.cart-close:hover { color: var(--red); border-color: var(--red); }

.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; }

.cart-empty { color: var(--text-dim); font-size: 0.8rem; letter-spacing: 0.12em; padding: 2rem 0; text-align: center; }

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 0;
  border-bottom: 1px dashed #2c2c34;
}

.cart-item-info { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }

.cart-item-name { font-weight: 600; font-size: 0.95rem; color: var(--chrome-1); }

.cart-item-spec { font-size: 0.72rem; color: var(--text-dim); letter-spacing: 0.08em; }

.cart-item .qty-ctrl button { width: 28px; height: 28px; font-size: 0.95rem; }

.cart-item .qty-ctrl span { min-width: 30px; font-size: 0.9rem; }

.cart-item-price { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--red); white-space: nowrap; }

.cart-item-del {
  background: none;
  border: none;
  color: var(--chrome-3);
  cursor: pointer;
  font-size: 0.85rem;
  transition: color 0.15s;
}

.cart-item-del:hover { color: var(--red); }

.cart-foot { padding: 1.2rem 1.4rem; border-top: 1px solid #26262e; }

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  letter-spacing: 0.14em;
  color: var(--chrome-1);
  margin-bottom: 1rem;
}

.cart-total-row span:last-child {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--red);
  text-shadow: 0 0 12px var(--red-glow);
}

.cart-checkout { width: 100%; margin-bottom: 0.8rem; }

.cart-note { font-size: 0.7rem; letter-spacing: 0.1em; color: var(--text-dim); text-align: center; }

/* ---------- Métodos de pago ---------- */
.payment { background: var(--bg); }

.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.4rem;
}

.payment-card {
  border: 1px solid #26262e;
  background: var(--bg-card);
  padding: 1.6rem 1.4rem;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.payment-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--chrome-1);
  margin-bottom: 0.7rem;
}

.payment-card p { font-size: 0.97rem; color: var(--text-dim); margin-bottom: 0.9rem; }

.payment-status { font-size: 0.82rem; letter-spacing: 0.14em; color: var(--chrome-2); }

.payment-status em { color: var(--red); font-style: normal; }

.payment-note { font-size: 0.72rem; letter-spacing: 0.1em; color: var(--text-dim); }

.card-brands { display: flex; gap: 0.7rem; align-items: center; margin-bottom: 0.9rem; }

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  min-width: 58px;
  padding: 0 10px;
  background: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.brand-visa { color: #1a1f71; font-style: italic; font-family: Arial, sans-serif; }

.brand-amex { color: #2e77bc; font-family: Arial, sans-serif; font-size: 0.75rem; }

.brand-mc { position: relative; padding: 0 14px; }

.brand-mc .mc-c1, .brand-mc .mc-c2 {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: block;
}

.brand-mc .mc-c1 { background: #eb001b; }

.brand-mc .mc-c2 { background: #f79e1b; margin-left: -9px; mix-blend-mode: multiply; }

/* ---------- Responsivo carrito ---------- */
@media (max-width: 480px) {
  .cart-item { grid-template-columns: 1fr auto; }
  .cart-item-price { grid-column: 1; }
  .cart-item-del { position: absolute; right: 0; top: 0.8rem; }
  .cart-item { position: relative; }
}

/* ---------- Badge OXXO + logos en carrito ---------- */
.brand-oxxo {
  color: #d32f2f;
  font-family: Arial, sans-serif;
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.cart-brands { justify-content: center; margin-bottom: 0.9rem; }

.cart-brands .brand-badge { height: 28px; min-width: 48px; font-size: 0.72rem; }

.cart-brands .brand-mc .mc-c1, .cart-brands .brand-mc .mc-c2 { width: 18px; height: 18px; }

.cart-brands .brand-mc .mc-c2 { margin-left: -7px; }

/* ---------- Stock en ficha ---------- */
.stock-linea {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  color: #6fd66f;
  margin-bottom: 1.1rem;
}

.stock-linea.agotado { color: var(--red); }

/* ---------- Envío en carrito ---------- */
.cart-ship-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.brand-dhl {
  background: #ffcc00;
  color: #d40511;
  font-family: Arial, sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.cart-state {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--chrome-3);
  color: var(--chrome-1);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  padding: 0.55rem 0.7rem;
  cursor: pointer;
}

.cart-state:focus { outline: none; border-color: var(--red); }

.cart-sub-row { font-size: 0.82rem; color: var(--text-dim); margin-bottom: 0.45rem; }

.cart-sub-row span:last-child { font-family: var(--font-mono); font-weight: 400; color: var(--chrome-2); text-shadow: none; }
