/* ============================================================
   CABUB STORE — Hoja de estilos
   Paleta:  negro #0A0A0A · blanco #FFFFFF · rojo-ticket #E63950
   ============================================================ */

:root {
  --negro:      #0A0A0A;
  --blanco:     #FFFFFF;
  --rojo:       #E63950;
  --rojo-osc:   #C22A3E;
  --gris-txt:   #6B6B68;
  --gris-borde: #E4E2DC;
  --superficie: #F4F3EF;
  --max: 1180px;
  --radio: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  color: var(--negro);
  background: var(--blanco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.mono { font-family: 'IBM Plex Mono', monospace; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Íconos SVG */
.ic { width: 1.1em; height: 1.1em; vertical-align: -0.18em; display: inline-block; }
.ic-lg { width: 30px; height: 30px; vertical-align: middle; }
.ic-ph { width: 42px; height: 42px; color: #C7C5BE; }

a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
}
/* Barra de promoción (envío / mínimo) */
.header-promo { background: var(--rojo); color: #fff; }
.header-promo .wrap {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 8px 18px; padding-top: 7px; padding-bottom: 7px;
  font-family: 'Manrope', sans-serif; font-size: 12.5px;
}
.header-promo span { display: inline-flex; align-items: center; gap: 6px; }
.header-promo b { font-weight: 800; }
.header-promo .ic { width: 15px; height: 15px; }
.promo-sep { width: 1px; height: 13px; background: rgba(255,255,255,.45); }
/* Fila principal (crema cálida) */
.header-main { background: var(--superficie); border-bottom: 1px solid var(--gris-borde); }
.header-main .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
}
.brand-logo { height: 34px; display: block; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a {
  color: #2C2C2A; font-size: 14px; font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover { color: var(--rojo); }
.nav-wa {
  background: var(--rojo); color: #fff !important;
  padding: 8px 16px; border-radius: 6px; font-size: 13px;
}
.nav-wa:hover { background: var(--rojo-osc); }
.menu-toggle { display: none; background: none; border: 0; color: var(--negro); font-size: 26px; cursor: pointer; }
@media (max-width: 600px) {
  .header-promo .wrap { font-size: 11.5px; gap: 4px 12px; }
  .promo-sep { display: none; }
}

/* ---------- Hero (panel dividido) ---------- */
.hero {
  display: flex; align-items: stretch;
  background: #fff; min-height: 460px;
}
.hero-panel {
  flex: 1 1 46%; background: #fff;
  display: flex; align-items: center;
}
.hero-panel-inner {
  width: 100%; max-width: 560px; margin-left: auto;
  padding: 48px clamp(24px, 4vw, 56px);
}
.hero-logo { width: min(320px, 80%); height: auto; display: block; }
.hero .sub {
  color: #4A4A48; font-size: clamp(15px, 2vw, 19px);
  margin: 24px 0 30px; max-width: 400px;
}
.hero .btn-linea { color: var(--negro); border-color: var(--negro); }
.hero .btn-linea:hover { background: var(--negro); color: #fff; border-color: var(--negro); }
.hero-photo {
  flex: 1 1 54%;
  position: relative; overflow: hidden;
  background: #1a1a1a;
  min-height: 320px;
}
/* Slides */
.hero-slide {
  position: absolute; inset: 0;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  opacity: 0; transition: opacity .8s ease;
  pointer-events: none;
  display: flex; align-items: flex-end;
}
.hero-slide.activo { opacity: 1; pointer-events: auto; }
.hero-slide-cap {
  width: 100%; padding: 14px 18px;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  color: #fff; font-family: 'Manrope', sans-serif; font-weight: 800;
  font-size: clamp(15px, 2vw, 20px);
}
/* Puntos de navegación */
.hero-dots {
  position: absolute; bottom: 12px; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: center; gap: 8px;
}
.hero-dot {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.55); cursor: pointer; transition: all .2s;
}
.hero-dot.activo { background: #fff; width: 22px; border-radius: 5px; }
@media (max-width: 860px) {
  .hero { flex-direction: column; }
  .hero-photo { order: -1; min-height: 240px; flex-basis: auto; }
  .hero-panel-inner { max-width: none; margin: 0 auto; text-align: center; padding: 40px 24px; }
  .hero-logo { margin: 0 auto; }
  .hero .sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
/* Aviso de condiciones de envío en el hero */
.hero-envio {
  list-style: none; margin: 0 0 6px; padding: 14px 16px;
  max-width: 400px; display: grid; gap: 8px;
  background: var(--superficie); border: 1px solid var(--gris-borde);
  border-radius: var(--radio);
}
.hero-envio li {
  display: flex; align-items: center; gap: 9px;
  font-family: 'Manrope', sans-serif; font-size: 14px; color: #4A4A48;
}
.hero-envio li b { color: var(--negro); font-weight: 800; }
.hero-envio .ic { width: 17px; height: 17px; color: var(--rojo); flex: 0 0 auto; }
@media (max-width: 860px) {
  .hero-envio { margin-left: auto; margin-right: auto; text-align: left; }
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 8px; font-size: 15px; font-weight: 500;
  cursor: pointer; border: 1px solid transparent; transition: all .15s;
}
.btn-rojo { background: var(--rojo); color: #fff; }
.btn-rojo:hover { background: var(--rojo-osc); }
.btn-linea { background: transparent; color: #fff; border-color: #4A4A48; }
.btn-linea:hover { border-color: #fff; }

/* ---------- Rail de marcas ---------- */
.marcas {
  background: var(--superficie);
  border-bottom: 1px solid var(--gris-borde);
  padding: 16px 0;
}
.marcas .wrap { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.marcas .wrap::-webkit-scrollbar { display: none; }
.chip-marca {
  flex: 0 0 auto; font-family: 'IBM Plex Mono', monospace;
  font-size: 13px; letter-spacing: .5px;
  background: #fff; border: 1px solid var(--gris-borde);
  padding: 8px 18px; border-radius: 40px; cursor: pointer;
  transition: all .15s; color: var(--negro);
}
.chip-marca:hover { border-color: var(--negro); }
.chip-marca.activo { background: var(--negro); color: #fff; border-color: var(--negro); }

/* Chips con logo de marca */
.chip-con-logo {
  padding: 7px 16px; background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px;
}
.chip-logo {
  height: 24px; width: auto; max-width: 110px;
  object-fit: contain; display: block;
}
/* los logos cuadrados/circulares necesitan más alto para igualar peso visual */
.chip-logo[alt="Anyeluz"] { height: 34px; }
.chip-logo[alt="Garnier"] { height: 28px; }
.chip-con-logo:hover { border-color: var(--negro); }
/* al estar activo NO invertimos a negro (ocultaría logos oscuros); resaltamos con borde rojo */
.chip-con-logo.activo {
  background: #fff; border-color: var(--rojo);
  box-shadow: 0 0 0 1px var(--rojo);
}

/* ---------- Secciones ---------- */
.section { padding: 60px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 28px; }
.section-head h2 {
  font-family: 'IBM Plex Sans', sans-serif; font-weight: 600;
  font-size: 26px; letter-spacing: -.5px;
}
.section-head .count { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--gris-txt); }

/* ---------- Categorías ---------- */
.cat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px;
}
.cat-card {
  background: var(--superficie); border: 1px solid var(--gris-borde);
  border-radius: var(--radio); padding: 22px 16px; text-align: center;
  cursor: pointer; transition: all .15s;
}
.cat-card:hover { border-color: var(--negro); transform: translateY(-2px); }
.cat-card i { font-size: 30px; }
.cat-card p { margin-top: 10px; font-weight: 500; font-size: 14px; }
.cat-card.activo { background: var(--negro); color: #fff; border-color: var(--negro); }

/* ---------- Fichas de producto ---------- */
.prod-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px;
}
.ficha {
  position: relative; background: #fff;
  border: 1px solid var(--gris-borde); border-radius: var(--radio);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .15s, transform .15s;
}
.ficha:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
/* muesca tipo etiqueta */
.ficha::before, .ficha::after {
  content: ''; position: absolute; top: 188px; width: 14px; height: 14px;
  background: var(--blanco); border: 1px solid var(--gris-borde); border-radius: 50%;
  z-index: 2;
}
.ficha::before { left: -8px; }
.ficha::after  { right: -8px; }
.ficha-img {
  position: relative; height: 200px; background: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 14px; overflow: hidden; cursor: zoom-in;
  border-bottom: 1px dashed var(--gris-borde);
}
.ficha-img img {
  max-height: 100%; max-width: 100%; object-fit: contain;
  transition: transform .25s ease;
}
.ficha:hover .ficha-img img { transform: scale(1.12); }
.ficha-img .ph { color: #C7C5BE; font-size: 40px; }
/* botón de lupa sobre la imagen */
.ficha-zoom {
  position: absolute; bottom: 10px; right: 10px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.9); border: 1px solid var(--gris-borde);
  color: var(--negro); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .15s, background .15s;
}
.ficha-img:hover .ficha-zoom { opacity: 1; }
.ficha-zoom:hover { background: var(--rojo); color: #fff; border-color: var(--rojo); }
.ficha-zoom .ic { width: 18px; height: 18px; }
.ficha-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ficha-ref { font-family: 'Manrope', sans-serif; font-weight: 500; font-size: 11px; color: var(--gris-txt); }
.ficha-marca {
  font-family: 'Manrope', sans-serif; font-size: 10px; letter-spacing: 1px;
  color: var(--rojo); font-weight: 700;
}
.ficha-nombre { font-family: 'Manrope', sans-serif; font-size: 15px; font-weight: 600; line-height: 1.3; }
.ficha-precios { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.ficha-precio { font-family: 'Manrope', sans-serif; font-size: 18px; font-weight: 800; }
.ficha-antes { font-family: 'Manrope', sans-serif; font-weight: 500; font-size: 13px; color: var(--gris-txt); text-decoration: line-through; }
.badge-dcto {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--rojo); color: #fff; font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; font-weight: 500; padding: 4px 8px; border-radius: 4px;
}
.badge-agotado {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  background: var(--negro); color: #fff; font-size: 11px; font-weight: 500;
  padding: 4px 9px; border-radius: 4px; letter-spacing: .3px;
}
.ficha--agotado .ficha-img img { opacity: .5; filter: grayscale(.6); }
.ficha-btn--off { background: #6B6B68; }
.ficha-btn--off:hover { background: var(--negro); }
.ficha-btn {
  margin-top: auto; background: var(--negro); color: #fff;
  border: 0; padding: 11px; border-radius: 6px; font-size: 13px; font-weight: 500;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px;
  transition: background .15s;
}
.ficha-btn:hover { background: var(--rojo); }
.vacio { text-align: center; padding: 50px 0; color: var(--gris-txt); font-size: 15px; }

/* ---------- Cómo comprar ---------- */
.pasos { background: var(--superficie); }
.pasos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.paso { display: flex; gap: 14px; align-items: start; }
.paso-num {
  font-family: 'IBM Plex Sans', sans-serif; font-weight: 600; font-size: 30px; color: var(--rojo);
  line-height: 1; flex: 0 0 auto;
}
.paso h3 { font-size: 16px; margin-bottom: 4px; }
.paso p { font-size: 14px; color: var(--gris-txt); }

/* ---------- Footer ---------- */
.site-footer { background: var(--superficie); color: #4A4A48; padding: 46px 0 30px; border-top: 1px solid var(--gris-borde); }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-bottom: 32px; }
.footer-logo { height: 40px; }
.footer-col h4 { color: var(--rojo); font-size: 13px; margin-bottom: 10px; letter-spacing: .5px; }
.footer-col a, .footer-col p { display: block; font-size: 13px; margin-bottom: 6px; }
.footer-col b { color: var(--negro); font-weight: 700; }
.footer-col a:hover { color: var(--rojo); }
.footer-bottom {
  border-top: 1px solid var(--gris-borde); padding-top: 18px; color: #8A8A86;
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; text-align: center;
}

/* ---------- FAB WhatsApp ---------- */
.fab-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  background: #25D366; color: #fff; width: 54px; height: 54px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 28px; box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: transform .15s;
}
.fab-wa:hover { transform: scale(1.08); }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .nav-links a:not(.nav-wa) { display: none; }
  .menu-toggle { display: block; }
  .section-head h2 { font-size: 22px; }
}

/* ---------- Visor con lupa (modal zoom) ---------- */
.zoom-modal {
  position: fixed; inset: 0; z-index: 100;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.zoom-modal.abierto { display: flex; }
.zoom-backdrop { position: absolute; inset: 0; background: rgba(10,10,10,.62); backdrop-filter: blur(2px); }
.zoom-dialog {
  position: relative; z-index: 1; background: #fff; border-radius: 14px;
  width: min(680px, 100%); max-height: 92vh; overflow: auto;
  padding: 22px 24px 24px; box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.zoom-close {
  position: absolute; top: 12px; right: 14px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--gris-borde);
  background: #fff; font-size: 22px; line-height: 1; color: var(--negro); cursor: pointer;
}
.zoom-close:hover { background: var(--superficie); }
.zoom-head { margin-bottom: 14px; padding-right: 40px; }
.zoom-marca { font-family: 'Manrope', sans-serif; font-size: 11px; letter-spacing: 1px; color: var(--rojo); font-weight: 700; }
.zoom-nombre { font-family: 'Manrope', sans-serif; font-size: 18px; font-weight: 600; margin: 2px 0; color: var(--negro); }
.zoom-ref { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--gris-txt); }
.zoom-stage {
  position: relative; width: 100%; height: 380px; background: #fff;
  border: 1px solid var(--gris-borde); border-radius: 10px; overflow: hidden;
  cursor: crosshair;
}
.zoom-img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .12s ease-out;
}
.zoom-hint {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(10,10,10,.72); color: #fff; font-size: 12px;
  padding: 6px 12px; border-radius: 20px; pointer-events: none;
}
.zoom-stage:hover .zoom-hint { opacity: 0; transition: opacity .2s; }
.zoom-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.zoom-thumb {
  width: 66px; height: 66px; border: 1px solid var(--gris-borde); border-radius: 8px;
  background: #fff; cursor: pointer; padding: 5px; overflow: hidden;
}
.zoom-thumb.activo { border-color: var(--rojo); box-shadow: 0 0 0 1px var(--rojo); }
.zoom-thumb img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 560px) {
  .zoom-stage { height: 300px; }
}

/* ================= CARRITO (botón header) ================= */
.nav-cart {
  position: relative; background: none; border: 0; color: #2C2C2A;
  cursor: pointer; padding: 6px; display: flex; align-items: center;
}
.nav-cart:hover { color: var(--rojo); }
.nav-cart .ic { width: 24px; height: 24px; }
.cart-count {
  position: absolute; top: -2px; right: -4px; min-width: 18px; height: 18px;
  background: var(--rojo); color: #fff; font-family: 'Manrope', sans-serif;
  font-size: 11px; font-weight: 700; border-radius: 10px; padding: 0 5px;
  display: flex; align-items: center; justify-content: center;
}

/* ================= CARRITO (panel lateral) ================= */
.cart-drawer { position: fixed; inset: 0; z-index: 90; display: none; }
.cart-drawer.abierto { display: block; }
.cart-backdrop { position: absolute; inset: 0; background: rgba(10,10,10,.5); }
.cart-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(400px, 100%);
  background: #fff; display: flex; flex-direction: column;
  box-shadow: -8px 0 30px rgba(0,0,0,.2); animation: slideIn .25s ease;
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--gris-borde);
}
.cart-head h3 { font-family: 'Manrope', sans-serif; font-size: 18px; font-weight: 700; }
.cart-x { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--negro); }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 16px; }
.cart-vacio { text-align: center; color: var(--gris-txt); font-size: 14px; padding: 40px 10px; line-height: 1.7; }
.cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--gris-borde); }
.cart-item-img {
  flex: 0 0 60px; height: 60px; background: #fff; border: 1px solid var(--gris-borde);
  border-radius: 8px; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.cart-item-img img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 4px; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-marca { font-family: 'Manrope', sans-serif; font-size: 9px; font-weight: 700; letter-spacing: 1px; color: var(--rojo); }
.cart-item-nom { font-family: 'Manrope', sans-serif; font-size: 13px; font-weight: 600; margin: 1px 0 3px; line-height: 1.25; }
.cart-item-precio { font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 800; }
.cart-item-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cart-item-del { background: none; border: 0; color: var(--gris-txt); cursor: pointer; padding: 2px; }
.cart-item-del:hover { color: var(--rojo); }
.cart-item-del .ic { width: 18px; height: 18px; }
.qty { display: flex; align-items: center; gap: 6px; border: 1px solid var(--gris-borde); border-radius: 20px; padding: 2px; }
.qty button { width: 24px; height: 24px; border: 0; background: var(--superficie); border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.qty button:hover { background: var(--negro); color: #fff; }
.qty button .ic { width: 14px; height: 14px; }
.qty span { font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 700; min-width: 18px; text-align: center; }
.cart-foot { padding: 16px 20px; border-top: 1px solid var(--gris-borde); }
.cart-total-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-family: 'Manrope', sans-serif; }
.cart-total-row span:first-child { font-size: 14px; color: var(--gris-txt); }
.cart-total-row span:last-child { font-size: 22px; font-weight: 800; }
/* Jerarquía: subtotal y envío pequeños, total grande */
.cart-sub-row, .cart-envio-row { margin-bottom: 6px; }
.cart-sub-row span:last-child, .cart-envio-row span:last-child { font-size: 15px; font-weight: 700; }
.cart-envio-row span:last-child { color: var(--rojo); }
.cart-grand-row { padding-top: 10px; border-top: 1px dashed var(--gris-borde); }
/* Aviso de mínimo / envío gratis */
.cart-aviso { font-size: 13px; line-height: 1.4; margin: 0 0 12px; padding: 9px 11px; border-radius: 8px; }
.cart-aviso:empty { display: none; }
.cart-aviso.alerta { background: #FDECEF; color: var(--rojo-osc); border: 1px solid #F6C9D1; }
.cart-aviso.info   { background: var(--superficie); color: #4A4A48; border: 1px solid var(--gris-borde); }
.cart-aviso.ok     { background: #E9F7EE; color: #1B7A3D; border: 1px solid #BFE6CC; }
.cart-checkout { width: 100%; justify-content: center; }
.cart-checkout:disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.cart-clear { width: 100%; background: none; border: 0; color: var(--gris-txt); font-size: 13px; margin-top: 8px; cursor: pointer; }
.cart-clear:hover { color: var(--rojo); }

/* ================= CHECKOUT ================= */
.co-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.co-modal.abierto { display: flex; }
.co-backdrop { position: absolute; inset: 0; background: rgba(10,10,10,.6); backdrop-filter: blur(2px); }
.co-dialog {
  position: relative; z-index: 1; background: #fff; border-radius: 16px;
  width: min(460px, 100%); max-height: 92vh; overflow-y: auto; padding: 26px 26px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.co-close { position: absolute; top: 14px; right: 16px; background: none; border: 0; font-size: 24px; line-height: 1; cursor: pointer; color: var(--negro); }
.co-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.co-step { font-family: 'Manrope', sans-serif; font-size: 12px; font-weight: 700; color: #B4B2A9; }
.co-step.activo { color: var(--negro); }
.co-step-line { flex: 1; height: 1px; background: var(--gris-borde); }
.co-paso h3 { font-family: 'Manrope', sans-serif; font-size: 19px; font-weight: 700; margin-bottom: 16px; }
.co-form { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.co-form label { font-family: 'IBM Plex Sans', sans-serif; font-size: 12px; font-weight: 500; color: #4A4A48; display: flex; flex-direction: column; gap: 4px; }
.co-form input, .co-form textarea {
  font-family: 'IBM Plex Sans', sans-serif; font-size: 14px; color: var(--negro);
  border: 1px solid var(--gris-borde); border-radius: 8px; padding: 10px 12px; width: 100%;
}
.co-form input:focus, .co-form textarea:focus { outline: none; border-color: var(--negro); }
.co-row { display: flex; gap: 10px; }
.co-row label { flex: 1; }
.co-error { color: var(--rojo); font-size: 13px; min-height: 16px; margin: 0; }
.co-next, .co-enviar { width: 100%; justify-content: center; }

/* Pago */
.co-pago { display: flex; flex-direction: column; align-items: center; text-align: center; }
.co-pago-total { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.co-pago-total span { font-size: 13px; color: var(--gris-txt); }
.co-pago-total strong { font-family: 'Manrope', sans-serif; font-size: 28px; font-weight: 800; }
.co-qr { width: 210px; max-width: 70%; border-radius: 14px; display: block; }
.co-nombre { font-family: 'Manrope', sans-serif; font-size: 15px; font-weight: 700; margin: 12px 0 4px; }
.co-llaves { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 4px; width: 100%; }
.co-llave-item {
  background: var(--superficie); border: 1px solid var(--gris-borde); border-radius: 10px;
  padding: 10px 14px; display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.co-llave-lbl { font-size: 12px; color: var(--gris-txt); }
.co-llave-val { display: flex; align-items: center; gap: 8px; justify-content: center; margin: 2px 0; }
.co-llave-val span { font-family: 'Manrope', sans-serif; font-size: 20px; font-weight: 800; letter-spacing: .5px; }
.co-copy { background: #fff; border: 1px solid var(--gris-borde); border-radius: 8px; width: 32px; height: 32px; cursor: pointer; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.co-copy .ic { width: 16px; height: 16px; }
.co-copy.ok { background: #2e7d32; color: #fff; border-color: #2e7d32; }
.co-pasos-pago { text-align: left; font-size: 13px; color: #4A4A48; margin: 16px 0 18px; padding-left: 18px; line-height: 1.7; }
.co-volver { background: none; border: 0; color: var(--gris-txt); font-size: 13px; margin-top: 12px; cursor: pointer; }
.co-volver:hover { color: var(--negro); }
@media (max-width: 480px) { .co-row { flex-direction: column; } }

/* ---------- Checkout: paso de datos de envío ---------- */
.co-intro { font-size: 13px; color: var(--gris-txt); margin: 0 0 14px; }

/* ---------- Checkout: candado de confirmación del formulario ---------- */
.co-confirm {
  display: flex; align-items: flex-start; gap: 9px; cursor: pointer;
  font-size: 13px; color: #4A4A48; margin: 0 0 14px; line-height: 1.4;
}
.co-confirm input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--rojo); cursor: pointer; flex: 0 0 auto; }
.co-next:disabled {
  opacity: .45; cursor: not-allowed; filter: grayscale(.3);
}
.co-next:disabled:hover { background: var(--rojo); }

/* ---------- Pago: barra morada con logos (Nequi + Bre-B) ---------- */
.co-paga-bar {
  background: #2E035A; border-radius: 12px;
  padding: 16px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; gap: 18px;
}
.co-bar-nequi { height: 46px; width: auto; background: #fff; border-radius: 8px; padding: 5px 8px; display: block; }
.co-bar-sep { width: 1px; height: 40px; background: rgba(255,255,255,.3); }
.co-bar-breb { height: 34px; width: auto; display: block; }

/* ---------- Footer: enlace legal ---------- */
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between; }
.footer-legal { color: inherit; text-decoration: underline; opacity: .85; }
.footer-legal:hover { opacity: 1; color: var(--rojo); }

/* ---------- Modal Política de Privacidad ---------- */
.pol-modal { position: fixed; inset: 0; z-index: 110; display: none; align-items: center; justify-content: center; padding: 20px; }
.pol-modal.abierto { display: flex; }
.pol-backdrop { position: absolute; inset: 0; background: rgba(10,10,10,.62); backdrop-filter: blur(2px); }
.pol-dialog {
  position: relative; z-index: 1; background: #fff; border-radius: 14px;
  width: min(680px, 100%); max-height: 88vh; overflow-y: auto;
  padding: 28px 30px 30px; box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.pol-close { position: absolute; top: 12px; right: 16px; background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--negro); }
.pol-title { font-family: 'Manrope', sans-serif; font-size: 20px; font-weight: 800; line-height: 1.25; margin: 0 34px 16px 0; }
.pol-body { font-size: 14px; color: #3a3a38; line-height: 1.6; }
.pol-body h3 { font-family: 'Manrope', sans-serif; font-size: 15px; font-weight: 700; color: var(--negro); margin: 18px 0 6px; }
.pol-body p { margin: 0 0 8px; }
.pol-body ul { margin: 4px 0 10px; padding-left: 20px; }
.pol-body li { margin-bottom: 4px; }
.pol-fecha { margin-top: 16px; font-size: 12px; color: var(--gris-txt); font-style: italic; }

/* enlace dentro de las casillas de checkout */
.co-confirm a { color: var(--rojo); text-decoration: underline; }
