/* =========================================================
   CTRL+W — DESIGN SYSTEM
   Colores: #FFD700 oro | #0b0b0b negro | #111 texto | #1faf5a verde
   Fuente: Inter (Google Fonts)
   ========================================================= */

/* ── Fuente global Inter ── */
*, *::before, *::after { box-sizing: border-box; }
body, input, select, textarea, button {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', Arial Black, Arial, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -.3px;
}

/* =========================================================
   CTRL+W : REDISEÑO MODO JEFE (CARRITO Y CHECKOUT)
   ========================================================= */

/* 1. BOTONES PRIMARIOS — Brand CTRL+W amarillo */
.btn-primary {
    background-color: #f4c400 !important;
    border-color: #f4c400 !important;
    color: #111 !important;
    border-radius: 8px !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(244,196,0,0.3) !important;
    letter-spacing: 0.5px;
    transition: all 0.2s ease !important;
}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    background-color: #dfb300 !important;
    border-color: #dfb300 !important;
    color: #111 !important;
    box-shadow: 0 6px 20px rgba(244,196,0,0.45) !important;
    transform: translateY(-1px);
}

/* 2. PASOS DEL CHECKOUT (Cajas limpias y modernas) */
.checkout-step { 
    border-radius: 12px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.04); 
    border: 1px solid #f0f0f0 !important; 
    margin-bottom: 20px; 
    overflow: hidden; 
    background: #fff; 
}
.checkout-step .step-title { 
    font-weight: 900 !important; 
    color: #111 !important; 
    text-transform: uppercase; 
    padding: 18px 20px; 
    border-bottom: 3px solid #FFD700; 
    background: #fdfdfd; 
    font-size: 16px !important;
}
.checkout-step .step-number { 
    background: #0b0b0b !important; 
    color: #FFD700 !important; 
    font-weight: 900;
}
.checkout-step.-current .step-title {
    background: #fff;
    color: #111 !important;
    border-bottom-color: #f4c400 !important;
}

/* 3. CAMPOS DE TEXTO Y FORMULARIOS */
.form-control { 
    border: 2px solid #eaeaea !important; 
    border-radius: 8px !important; 
    padding: 12px 15px !important; 
    font-size: 14px; 
    color: #333 !important;
    background: #fcfcfc !important;
    transition: 0.2s; 
}
.form-control:focus { 
    background: #fff !important;
    border-color: #FFD700 !important; 
    box-shadow: 0 0 0 4px rgba(255,215,0,0.15) !important; 
    outline: none; 
}

/* 4. CHECKBOXES Y RADIOS — brand amarillo */
.custom-checkbox input[type="checkbox"]:checked + span {
    background-color: #f4c400 !important;
    border-color: #f4c400 !important;
}
.custom-radio input[type="radio"]:checked + span {
    border-color: #f4c400 !important;
}
.custom-radio input[type="radio"]:checked + span::after {
    background-color: #f4c400 !important;
}

/* 5. CAJAS DE SELECCIÓN (Direcciones y Envíos) */
.address-item.selected, .delivery-option.selected {
    border: 2px solid #f4c400 !important;
    background: #fffdf0 !important;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(244,196,0,0.15);
}
.address-item, .delivery-option { 
    border: 1px solid #ddd; 
    border-radius: 10px; 
    margin-bottom: 12px; 
    transition: 0.2s; 
}

/* 6. RESUMEN DEL CARRITO (Columna Derecha) */
.cart-summary {
    border-radius: 16px !important;
    box-shadow: 0 4px 24px rgba(0,0,0,.07) !important;
    border: 1px solid #eaeaea !important;
    background: #fff;
    position: sticky !important;
    top: 20px !important;
}
.cart-summary .cart-summary-line { 
    font-size: 14px; 
    color: #555; 
}
.cart-summary .cart-summary-totals .cart-summary-line.cart-total .value { 
    font-weight: 900 !important; 
    color: #2cb367 !important; /* Verde dinero */
    font-size: 24px !important; 
}
.cart-summary .cart-summary-totals .cart-summary-line.cart-total .label {
    font-weight: 800;
    color: #333;
    text-transform: uppercase;
}

/* 7. ALERTAS Y MENSAJES (Estilo Profesional) */
.alert-danger { 
    background-color: #fff5f5 !important; 
    border: 1px solid #ffebeb !important;
    border-left: 4px solid #d9534f !important; 
    color: #c9302c !important; 
    border-radius: 8px; 
    font-weight: 600;
}




/* ── Tarjeta de producto en carrito: modo claro (igual que iPhone) ── */
body#cart .cwc-card { background:#ffffff !important; border:1px solid #e9e9e9 !important; }
body#cart .cwc-name { color:#232323 !important; }
body#cart .cwc-label, body#cart .cwc-ref, body#cart .cwc-attr { color:#7a7a7a !important; }
body#cart .cwc-unit, body#cart .cwc-unit strong { color:#232323 !important; }
body#cart .cwc-total, body#cart .cwc-total strong { color:#1faf5a !important; }
body#cart .cwc-qty { background:#f4f7fb !important; border-color:#e3e8ef !important; }
body#cart .cwc-qty-btn, body#cart .cwc-qty-input { background:#f4f7fb !important; color:#232323 !important; }


/* =========================================================
   CTRL+W CARRITO — Paleta del sitio aplicada
   Fondo: blanco | Acento: #FFD700 | Verde: #22a85a
========================================================= */

/* Body y wrapper: blanco limpio (igual que la sección de productos del home) */
body#cart,
#cart #wrapper,
#cart #content-wrapper,
#cart #main {
  background: #ffffff !important;
}

/* ── Cart Grid — flex respeta Bootstrap col-lg-8/col-lg-4 ── */
#cart .cart-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 32px 8px !important;
  gap: 0 !important;
}

/* Tarjetas: blancas con borde sutil */
#cart .card {
  background: #ffffff !important;
  border: 1px solid #eaeaea !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.05) !important;
  overflow: hidden !important;
}

/* Header del carrito con padding más generoso */
#cart .card.cart-container .card-block {
  padding: 20px 24px 16px !important;
}

/* Título "Carrito" */
#cart h1.h1 {
  font-size: 22px !important;
  font-weight: 900 !important;
  color: #111111 !important;
  margin-bottom: 4px !important;
}
#cart h1.h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #FFD700;
  border-radius: 99px;
  margin-top: 8px;
}

/* Separador bajo el título */
#cart hr.separator {
  border: none !important;
  border-top: 1px solid #f0f0f0 !important;
  margin: 0 !important;
}

/* "No hay más artículos" */
#cart .cart-overview .no-items {
  display: block;
  padding: 32px 20px;
  text-align: center;
  color: #555555 !important;
  font-size: 15px !important;
}

/* Líneas de producto */
#cart .cart-item {
  border-bottom: 1px solid #f0f0f0 !important;
  padding: 16px 20px !important;
}
#cart .cart-item:last-child { border-bottom: none !important; }

/* Resumen — líneas */
#cart .cart-summary-line {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 10px 20px !important;
}
#cart .cart-summary-line .label {
  color: #555555 !important;
  font-size: 14px !important;
}
#cart .cart-summary-line .value {
  color: #111111 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
}

/* Total */
#cart .cart-summary-line.cart-total {
  border-top: 2px solid #FFD700 !important;
  margin-top: 8px !important;
  padding-top: 14px !important;
}
#cart .cart-summary-line.cart-total .label {
  color: #111111 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}
#cart .cart-summary-line.cart-total .value {
  color: #22a85a !important;
  font-size: 22px !important;
  font-weight: 900 !important;
}

/* Sub-textos (impuestos) */
#cart .label.sub, #cart .value.sub {
  color: #888888 !important;
  font-size: 12px !important;
}

/* Botón pago */
#cart .checkout { padding: 16px 20px 20px !important; }
#cart .checkout a,
#cart .checkout .btn,
#cart a.btn-primary {
  display: block !important;
  background: #FFD700 !important;
  color: #111111 !important;
  text-align: center !important;
  padding: 14px 16px !important;
  border-radius: 12px !important;
  font-weight: 900 !important;
  font-size: 15px !important;
  text-transform: uppercase !important;
  border: none !important;
  box-shadow: 0 6px 16px rgba(255,215,0,.35) !important;
  text-decoration: none !important;
  transition: .2s !important;
}
#cart .checkout a:hover,
#cart a.btn-primary:hover {
  background: #e6c000 !important;
  transform: translateY(-2px) !important;
}
#cart .btn-primary.disabled,
#cart .btn-primary:disabled {
  background: #e0e0e0 !important;
  color: #999 !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Seguir comprando — queda sobre fondo blanco */
#cart a.label,
#cart .cart-grid-body > a.label {
  color: #888888 !important;
  font-size: 13px !important;
  text-decoration: none !important;
}
#cart a.label:hover { color: #FFD700 !important; }

/* cwc-card (tarjeta producto personalizada) */
#cart .cwc-card { background: #ffffff !important; border: 1px solid #ebebeb !important; }
#cart .cwc-name { color: #111111 !important; font-weight: 800 !important; }
#cart .cwc-ref, #cart .cwc-attr { color: #888888 !important; font-size: 12px !important; }
#cart .cwc-label { color: #888888 !important; font-size: 11px !important; }
#cart .cwc-unit strong { color: #333333 !important; }
#cart .cwc-total strong { color: #22a85a !important; font-weight: 900 !important; }
#cart .cwc-qty { background: #f7f8fa !important; border-color: #e0e0e0 !important; }
#cart .cwc-qty-btn, #cart .cwc-qty-input { background: #f7f8fa !important; color: #111111 !important; }
#cart .cwc-remove { color: #bbbbbb !important; }
#cart .cwc-remove:hover { color: #e53e3e !important; }

/* Mobile */
@media (max-width: 767px) {
  #cart .cart-grid {
    padding: 12px 4px !important;
  }
  #cart .card.cart-container .card-block { padding: 16px !important; }
}

/* ====== ARREGLO HUECO BLANCO (footer ↔ barra inferior) ====== */
html body#cart #wrapper,
html body#cart main,
html body#cart #main,
html body#cart #content-wrapper { padding-bottom:0 !important; }
html body#cart { padding-bottom:62px !important; }
html body#cart .js-footer { margin-bottom:0 !important; }

/* ====== CATEGORÍAS TOP - GRID UNIFORME ====== */
.ctrlw-topcats { display:grid !important; grid-template-columns:1fr 1fr !important; gap:12px !important; align-items:stretch !important; }
.ctrlw-topcats .ctrlw-topcat {
  display:flex !important; flex-direction:column !important; align-items:center !important; justify-content:flex-start !important;
  height:185px !important; min-height:185px !important; background:#fff !important; border:1px solid #ececec !important;
  border-radius:16px !important; padding:14px 12px 16px !important; box-shadow:0 4px 14px rgba(0,0,0,.05) !important;
  text-decoration:none !important; overflow:hidden !important; transition:transform .15s ease, box-shadow .15s ease !important;
}
.ctrlw-topcats .ctrlw-topcat:hover { transform:translateY(-3px) !important; box-shadow:0 8px 22px rgba(0,0,0,.10) !important; }
.ctrlw-topcats .ctrlw-topcat img { width:100% !important; height:100px !important; max-height:100px !important; object-fit:contain !important; object-position:center !important; margin:0 0 8px 0 !important; display:block !important; }
.ctrlw-topcats .ctrlw-topcat b { display:-webkit-box !important; -webkit-line-clamp:2 !important; -webkit-box-orient:vertical !important; overflow:hidden !important; margin-top:auto !important; text-align:center !important; font-size:13px !important; line-height:1.3 !important; font-weight:700 !important; color:#1d1d1f !important; }

@media (min-width: 768px) {
  .ctrlw-topcats { grid-template-columns:repeat(3,1fr) !important; }
}
@media (min-width: 1100px) {
  .ctrlw-topcats { grid-template-columns:repeat(5,1fr) !important; }
}

/* ====================================================
   CHECKOUT CTRLW — diseño completo
   ==================================================== */

/* Layout general */
body#checkout #wrapper { background: radial-gradient(circle at top right,rgba(255,212,0,.07),transparent 30%),#f4f5f7 !important; }
body#checkout #content { max-width:1140px; margin:0 auto; padding:24px 16px 40px; }
body#checkout .cart-grid-body { padding-right:12px; }
body#checkout .cart-grid-right { padding-left:12px; }

/* Pasos — contenedores */
body#checkout .checkout-step {
  background:#fff !important;
  border:1px solid #e8e8e8 !important;
  border-radius:16px !important;
  box-shadow:0 4px 16px rgba(0,0,0,.05) !important;
  margin-bottom:16px !important;
  overflow:hidden !important;
}
body#checkout .checkout-step.-current {
  border-color:#FFD700 !important;
  box-shadow:0 6px 24px rgba(255,212,0,.15) !important;
}

/* Título de paso — MODO CLARO: card blanca, texto negro #111 (no azul PS) */
body#checkout .step-title {
  display:flex !important;
  align-items:center !important;
  gap:13px !important;
  padding:17px 24px !important;
  font-size:15px !important;
  font-weight:900 !important;
  color:#111 !important;
  background:#fff !important;
  border-bottom:1px solid #f0f0f0 !important;
  cursor:pointer !important;
}
/* Número del paso ACTIVO: badge amarillo, número negro */
body#checkout .step-title .step-number {
  background:#FFD700 !important;
  color:#111 !important;
  border-radius:50% !important;
  width:30px !important; height:30px !important;
  min-width:30px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:14px !important;
  font-weight:900 !important;
}
/* Pasos INACTIVOS (no actual, no completado): número gris claro, título gris */
body#checkout .checkout-step:not(.-current):not(.-complete) .step-title { color:#999 !important; }
body#checkout .checkout-step:not(.-current):not(.-complete) .step-title .step-number {
  background:#ededed !important;
  color:#b5b5b5 !important;
}
/* Paso COMPLETADO: título gris suave, número verde con palomita */
body#checkout .checkout-step.-complete .step-title { color:#888 !important; }
body#checkout .checkout-step.-complete .step-title .step-number {
  background:#1faf5a !important;
  color:#fff !important;
}
body#checkout .step-edit { color:#b89100 !important; font-size:12px !important; font-weight:800 !important; margin-left:auto !important; text-decoration:none !important; text-transform:none !important; }
body#checkout .step-edit:hover { text-decoration:underline !important; }

/* Contenido del paso */
body#checkout .step-content { padding:22px !important; }

/* Campos de formulario */
body#checkout .form-control,
body#checkout input[type="text"],
body#checkout input[type="email"],
body#checkout input[type="tel"],
body#checkout input[type="password"],
body#checkout select,
body#checkout textarea {
  border:2px solid #e4e4e4 !important;
  border-radius:10px !important;
  padding:11px 14px !important;
  font-size:14px !important;
  background:#fafafa !important;
  color:#111 !important;
  box-shadow:none !important;
  transition:.15s !important;
  height:auto !important;
}
body#checkout .form-control:focus,
body#checkout input:focus,
body#checkout select:focus,
body#checkout textarea:focus {
  border-color:#FFD700 !important;
  box-shadow:0 0 0 3px rgba(255,212,0,.15) !important;
  outline:none !important;
  background:#fff !important;
}

/* Labels */
body#checkout .form-control-label,
body#checkout label.form-control-label {
  font-size:12px !important;
  font-weight:700 !important;
  color:#555 !important;
  margin-bottom:5px !important;
  display:block !important;
}

/* Botón continuar */
body#checkout button.continue,
body#checkout .continue,
body#checkout .btn-primary {
  background:#FFD700 !important;
  color:#111 !important;
  border:none !important;
  border-radius:12px !important;
  font-weight:900 !important;
  font-size:14px !important;
  padding:13px 28px !important;
  text-transform:uppercase !important;
  letter-spacing:.3px !important;
  box-shadow:0 6px 16px rgba(255,212,0,.3) !important;
  transition:.2s !important;
  cursor:pointer !important;
}
body#checkout button.continue:hover,
body#checkout .btn-primary:hover {
  background:#e6c000 !important;
  transform:translateY(-1px) !important;
}

/* Direcciones */
body#checkout .address-item {
  border:2px solid #e8e8e8 !important;
  border-radius:14px !important;
  padding:16px !important;
  margin-bottom:12px !important;
  background:#fff !important;
  transition:.2s !important;
  cursor:pointer !important;
}
body#checkout .address-item:hover { border-color:#FFD700 !important; }
body#checkout .address-item.selected {
  border-color:#FFD700 !important;
  background:#fffbea !important;
  box-shadow:0 4px 14px rgba(255,212,0,.15) !important;
}
body#checkout .address-item h4,
body#checkout .address-item .address-alias { font-weight:900 !important; color:#111 !important; font-size:14px !important; }
body#checkout .address-item address { font-size:13px !important; color:#666 !important; margin:4px 0 0 !important; }

/* Opciones de pago */
/* Opción de pago — tarjeta selector */
body#checkout .payment-option {
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
  border:2px solid #e8e8e8 !important;
  border-radius:14px !important;
  padding:14px 18px !important;
  margin-bottom:10px !important;
  background:#fff !important;
  cursor:pointer !important;
  transition:.2s !important;
}
body#checkout .payment-option:has(input:checked),
body#checkout .payment-option.selected {
  border-color:#FFD700 !important;
  background:#fffdf0 !important;
  box-shadow:0 4px 14px rgba(255,212,0,.12) !important;
}
body#checkout .payment-option > label {
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  font-weight:700 !important;
  font-size:14px !important;
  color:#111 !important;
  cursor:pointer !important;
  margin:0 !important;
  flex:1 !important;
}
body#checkout .payment-option > label img { max-height:30px !important; max-width:110px !important; object-fit:contain !important; }
body#checkout .custom-radio { flex-shrink:0 !important; }
body#checkout .custom-radio input[type="radio"] { accent-color:#FFD700 !important; }
body#checkout .custom-radio span {
  width:18px !important; height:18px !important;
  border:2px solid #ddd !important;
  border-radius:50% !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  transition:.15s !important;
}
body#checkout .custom-radio input:checked + span {
  border-color:#FFD700 !important;
  background:#FFD700 !important;
}

/* Botón CONFIRMAR PEDIDO */
body#checkout #payment-confirmation button[type="submit"],
body#checkout #payment-confirmation .btn {
  background:#FFD700 !important;
  color:#111 !important;
  border:none !important;
  border-radius:14px !important;
  font-weight:900 !important;
  font-size:16px !important;
  padding:16px 32px !important;
  width:100% !important;
  text-transform:uppercase !important;
  letter-spacing:.5px !important;
  box-shadow:0 8px 24px rgba(255,212,0,.35) !important;
  transition:.2s !important;
  cursor:pointer !important;
  margin-top:16px !important;
}
body#checkout #payment-confirmation button:hover { background:#e6c000 !important; transform:translateY(-2px) !important; }
body#checkout #payment-confirmation button.disabled { background:#e0e0e0 !important; color:#999 !important; box-shadow:none !important; }

/* Términos y condiciones */
body#checkout .condition-label label { font-size:13px !important; color:#555 !important; }
body#checkout .condition-label label a { color:#b8860b !important; font-weight:700 !important; }
body#checkout .custom-checkbox span {
  width:18px !important; height:18px !important;
  border:2px solid #ddd !important;
  border-radius:4px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  transition:.15s !important;
}
body#checkout .custom-checkbox input:checked + span {
  background:#FFD700 !important;
  border-color:#FFD700 !important;
}
body#checkout .custom-checkbox input:checked + span i { color:#111 !important; font-size:14px !important; }

/* Resumen lateral */
body#checkout #js-checkout-summary {
  background:#fff !important;
  border:1px solid #e8e8e8 !important;
  border-radius:16px !important;
  box-shadow:0 4px 16px rgba(0,0,0,.05) !important;
  position:sticky !important;
  top:20px !important;
  overflow:hidden !important;
}
body#checkout #js-checkout-summary .card-block { padding:20px !important; }
body#checkout .cart-summary-line {
  display:flex !important;
  justify-content:space-between !important;
  align-items:center !important;
  padding:8px 0 !important;
  border-bottom:1px solid #f5f5f5 !important;
  font-size:13px !important;
}
body#checkout .cart-summary-line .label { color:#666 !important; margin:0 !important; }
body#checkout .cart-summary-line .value { font-weight:700 !important; color:#111 !important; }
body#checkout .cart-summary-line.cart-total {
  border-top:2px solid #f0f0f0 !important;
  border-bottom:none !important;
  padding:14px 0 0 !important;
  margin-top:6px !important;
}
body#checkout .cart-summary-line.cart-total .label { font-weight:900 !important; color:#111 !important; font-size:14px !important; }
body#checkout .cart-summary-line.cart-total .value { font-size:22px !important; font-weight:900 !important; color:#111 !important; }

/* Producto en resumen lateral */
body#checkout .cart-summary-product-list li {
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  padding:8px 0 !important;
  border-bottom:1px solid #f5f5f5 !important;
  font-size:12px !important;
}
body#checkout .cart-summary-product-list li:last-child { border-bottom:none !important; }
body#checkout .media-body .product-name { font-weight:700 !important; color:#111 !important; font-size:13px !important; }

/* Alerta de error */
body#checkout .alert-danger {
  background:#fff5f5 !important;
  border:1px solid #ffd5d5 !important;
  border-left:4px solid #e53e3e !important;
  border-radius:10px !important;
  color:#c53030 !important;
  font-size:13px !important;
}

/* Mobile checkout */
@media (max-width:767px) {
  body#checkout #content { padding:12px 10px 80px !important; }
  body#checkout .cart-grid-body,
  body#checkout .cart-grid-right { padding:0 !important; }
  body#checkout .step-content { padding:16px !important; }
  body#checkout .payment-option { padding:12px 14px !important; }
  body#checkout #js-checkout-summary { position:static !important; margin-top:16px !important; }
  body#checkout #payment-confirmation button[type="submit"] { font-size:15px !important; padding:15px !important; }
  html body#checkout #wrapper,
  html body#checkout main,
  html body#checkout #main { padding-bottom:0 !important; }
  html body#checkout { padding-bottom:62px !important; }
}

/* ====================================================
   MERCADOPAGO — Integración con diseño CTRL+W
   ==================================================== */

/* Formulario de tarjeta */
body#checkout .mp-checkout-form { padding:4px 0 0 !important; }
body#checkout .mp-frame-checkout-custom-seven { margin:0 !important; }

/* Inputs de MercadoPago */
body#checkout .mp-form-control,
body#checkout input.mp-form-control,
body#checkout select.mp-form-control {
  border:2px solid #e4e4e4 !important;
  border-radius:10px !important;
  padding:11px 14px !important;
  font-size:14px !important;
  background:#fafafa !important;
  font-family:'Inter',Arial,sans-serif !important;
  color:#111 !important;
  box-shadow:none !important;
  height:auto !important;
  transition:.15s !important;
}
body#checkout .mp-form-control:focus {
  border-color:#FFD700 !important;
  box-shadow:0 0 0 3px rgba(255,212,0,.15) !important;
  outline:none !important;
  background:#fff !important;
}

/* Labels MP */
body#checkout .mp-frame-checkout-custom-seven label {
  font-size:12px !important;
  font-weight:600 !important;
  color:#555 !important;
  font-family:'Inter',Arial,sans-serif !important;
}
body#checkout .mp-title-custom-checkout {
  font-size:14px !important;
  font-weight:800 !important;
  color:#111 !important;
  margin:16px 0 12px !important;
  font-family:'Inter',Arial,sans-serif !important;
  letter-spacing:-.2px !important;
}

/* Opciones de pago en efectivo */
body#checkout .mp-form-item {
  border:2px solid #e8e8e8 !important;
  border-radius:12px !important;
  padding:12px 16px !important;
  margin-bottom:8px !important;
  background:#fff !important;
  transition:.2s !important;
  cursor:pointer !important;
}
body#checkout .mp-form-item:has(input:checked) {
  border-color:#FFD700 !important;
  background:#fffdf0 !important;
}
body#checkout .mp-ticket-option-label {
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  cursor:pointer !important;
  margin:0 !important;
  padding:0 !important;
  font-size:13px !important;
  font-weight:700 !important;
  color:#111 !important;
}
body#checkout .mp-payment-method-logo-container {
  width:50px !important;
  height:36px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#f5f5f5 !important;
  border-radius:8px !important;
  padding:4px !important;
  flex-shrink:0 !important;
}
body#checkout .mp-payment-method-logo-image {
  max-height:28px !important;
  max-width:44px !important;
  object-fit:contain !important;
}
body#checkout .mp-text-ticket-tarjeta {
  font-weight:700 !important;
  font-size:13px !important;
  color:#111 !important;
}
body#checkout .mp-checkbox {
  accent-color:#FFD700 !important;
  width:16px !important;
  height:16px !important;
  cursor:pointer !important;
  flex-shrink:0 !important;
}
body#checkout .mp-form-check {
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  padding:0 !important;
}

/* Subtítulos tarjetas aceptadas */
body#checkout .mp-subtitle-payments {
  font-size:11px !important;
  font-weight:700 !important;
  color:#aaa !important;
  text-transform:uppercase !important;
  letter-spacing:.5px !important;
  margin:8px 0 6px !important;
}
body#checkout .mp-payment-methods-container {
  display:flex !important;
  flex-wrap:wrap !important;
  gap:6px !important;
  margin-bottom:8px !important;
}
/* Caja "¿con qué tarjetas puedo pagar?" — antes era gris plano, los logos se
   perdían por tener el mismo fondo que el contenedor */
body#checkout .mp-frame-payments {
  background:#fafafa !important;
  border:1px solid #ececec !important;
  border-radius:12px !important;
  padding:14px 14px 6px !important;
  margin-top:10px !important;
}
body#checkout .mp-payment-method-logo-container {
  background:#fff !important;
  border:1px solid #e6e6e6 !important;
  box-shadow:0 1px 3px rgba(0,0,0,.05) !important;
}
body#checkout .mp-link-checkout-custom {
  color:#b8860b !important;
  font-weight:600 !important;
  font-size:13px !important;
  cursor:pointer !important;
  text-decoration:none !important;
}
body#checkout .mp-link-checkout-custom:hover { text-decoration:underline !important; }
body#checkout .mp-required { color:#e53e3e !important; }
body#checkout .mp-erro-form {
  color:#e53e3e !important;
  font-size:11px !important;
  margin-top:4px !important;
  display:none !important;
}
body#checkout .mp-erro-form.mp-error-active { display:block !important; }
body#checkout .mp-small { color:#aaa !important; font-size:11px !important; }


/* ====================================================
   OCULTAR BREADCRUMB Y PAGE-HEADER PS (redundantes)
   Las páginas tienen sus propios heroes y encabezados
   ==================================================== */

/* Breadcrumb: oculto globalmente */
.breadcrumb { display: none !important; }

/* Page-header PS (h1 "Mi Cuenta", "Tu cuenta", etc.) */
/* Oculto en páginas de cuenta, módulo y páginas genéricas */
body#my-account .page-header,
body#authentication .page-header,
body#history .page-header,
body#order-detail .page-header,
body#identity .page-header,
body#addresses .page-header,
body#address .page-header,
body#order-follow .page-header,
body#order-slip .page-header,
body#discount .page-header,
body#module-ctrlwcatalog-buscador .page-header,
body#module-ctrlwcatalog-producto .page-header,
body#module-ctrlwcatalog-categoria .page-header,
body#module-ctrlwcatalog-marca .page-header,
body#module-ctrlwcatalog-negocio .page-header,
body#module-ctrlwcatalog-contacto .page-header,
body#module-ctrlwcatalog-confianza .page-header,
body#module-ctrlwcatalog-terminos .page-header,
body#module-ctrlwcatalog-privacidad .page-header,
body#module-ctrlwcatalog-envios .page-header,
body#module-ctrlwcatalog-devoluciones .page-header,
body#module-ctrlwcatalog-garantiasinfo .page-header,
body#module-ctrlwcatalog-cancelaciones .page-header,
body#module-ctrlwcatalog-facturacioninfo .page-header,
body#module-ctrlwcatalog-cookies .page-header,
body#module-ctrlwcatalog-todasmarcas .page-header,
body#module-ctrlwcatalog-herramientas .page-header,
body#module-ctrlwcatalog-nuevos .page-header,
body#module-ctrlwcatalog-masvendidos .page-header,
body#module-ctrlwcatalog-promociones .page-header,
body#module-ctrlwcatalog-cotizacion .page-header,
body#module-ctrlwcatalog-wishlist .page-header,
body#module-ctrlwcatalog-seguimiento .page-header,
body#module-ctrlwcatalog-facturacion .page-header,
body#module-ctrlwcatalog-facturar .page-header,
body#module-ctrlwcatalog-garantias .page-header,
body#module-ctrlwcatalog-soporte .page-header,
body#module-ctrlwcatalog-tecnico .page-header,
body#module-ctrlwcatalog-negocio .page-header,
body#cms .page-header,
body#pagenotfound .page-header { display: none !important; }


/* ====================================================
   MODO CLARO / OSCURO — Toggle
   ==================================================== */

/* Botón toggle */
.cw-theme-btn {
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  border-radius: 8px !important;
  padding: 6px 10px !important;
  cursor: pointer !important;
  font-size: 16px !important;
  line-height: 1 !important;
  transition: background .2s !important;
  min-width: auto !important;
  gap: 0 !important;
}
.cw-theme-btn:hover {
  background: rgba(255,215,0,.15) !important;
  border-color: rgba(255,215,0,.3) !important;
}

/* ═══════════════════════════════════════════════
   MODO CLARO — cobertura completa del sitio
═══════════════════════════════════════════════ */

/* Base */
body.cw-light,
html.cw-light body { background: #f2f3f7 !important; color: #111 !important; }

/* ── PÁGINAS OSCURAS DE MÓDULO ── */
/* Fondos principales */
body.cw-light .qn-page,
body.cw-light .ct-page,
body.cw-light .cc-page,
body.cw-light .cwl-page,
body.cw-light .tm-page { background: #f2f3f7 !important; }

/* Heros — se mantienen oscuros para contrastar (igual que header) */
body.cw-light .qn-hero,
body.cw-light .ct-hero,
body.cw-light .cc-hero,
body.cw-light .cwl-hero,
body.cw-light .tm-hero { background: linear-gradient(135deg,#0b0b0b,#1a1a1a) !important; }

/* Cards y bloques → blancos */
body.cw-light .qn-valor,
body.cw-light .qn-dif,
body.cw-light .qn-cat,
body.cw-light .qn-stat-box,
body.cw-light .qn-story-visual,
body.cw-light .ct-canal,
body.cw-light .ct-horario,
body.cw-light .ct-zona,
body.cw-light .ct-legal-link,
body.cw-light .ct-faq-item,
body.cw-light .ct-faq-q,
body.cw-light .cc-paso,
body.cw-light .cc-pay-card,
body.cw-light .cc-garantia,
body.cw-light .cc-testi,
body.cw-light .cc-politica-link,
body.cw-light .cwl-card,
body.cw-light .tm-card { background: #fff !important; border-color: #dde1e7 !important; }

/* Textos en cards */
body.cw-light .qn-valor h3,
body.cw-light .qn-dif-title,
body.cw-light .ct-canal h3,
body.cw-light .ct-horario-hrs,
body.cw-light .cc-paso h3,
body.cw-light .cc-garantia b,
body.cw-light .tm-card-name,
body.cw-light .cwl-card h2 { color: #111 !important; }

body.cw-light .qn-valor p,
body.cw-light .qn-dif-desc,
body.cw-light .ct-canal-desc,
body.cw-light .cc-paso p,
body.cw-light .cc-garantia span,
body.cw-light .ct-horario-sub,
body.cw-light .cwl-card p { color: #555 !important; }

/* CTA y quote */
body.cw-light .qn-cta { background: #1a1a1a !important; border-color: #FFD700 !important; }
body.cw-light .qn-quote-section { background: rgba(255,215,0,.05) !important; border-color: rgba(255,215,0,.2) !important; }

/* FAQ modo claro */
body.cw-light .ct-faq-q { background: #f8f9fb !important; color: #111 !important; }
body.cw-light .ct-faq-a { background: #fff !important; color: #555 !important; }
body.cw-light .ct-faq-item { border-color: #dde1e7 !important; }

/* Legal pages shell */
body.cw-light #ofs-card,
body.cw-light .cwl-card,
body.cw-light .cwl-arco-card,
body.cw-light .cwl-dato,
body.cw-light .cwl-cookie-tipo { background: #fff !important; border-color: #dde1e7 !important; }
body.cw-light .cwl-card-header,
body.cw-light .cwl-card h2 { color: #111 !important; }
body.cw-light .cwl-card p,
body.cw-light .cwl-item { color: #444 !important; }

/* ── GALERÍA MARCAS ── */
body.cw-light .tm-page { background: #f2f3f7 !important; }
body.cw-light .tm-card { background: #fff !important; border-color: #dde1e7 !important; }
body.cw-light .tm-card:hover { border-color: #FFD700 !important; }
body.cw-light .tm-card-logo-wrap { background: #f8f9fb !important; border-color: #eee !important; }
body.cw-light .tm-card-name { color: #111 !important; }
body.cw-light .tm-count { color: #666 !important; }
body.cw-light .tm-letra { background: #fff !important; border-color: #dde1e7 !important; color: #666 !important; }
body.cw-light .tm-letra.act { background: #FFD700 !important; color: #111 !important; }
body.cw-light .tm-search { background: #fff !important; border-color: #dde1e7 !important; color: #111 !important; }

/* ── MI CUENTA ── */
body.cw-light .da-wrap { background: #f2f3f7 !important; }
body.cw-light .da-topbar { background: #fff !important; border-color: #dde1e7 !important; }
body.cw-light .da-topbar-logo { color: #111 !important; }
body.cw-light .da-topbar-greeting { color: #555 !important; }
body.cw-light .da-topbar-avatar { border-color: rgba(255,215,0,.4) !important; }
body.cw-light .da-nav { background: #fff !important; border-color: #dde1e7 !important; }
body.cw-light .da-nav-label { color: #aaa !important; }
body.cw-light .da-nav-item { color: #555 !important; }
body.cw-light .da-nav-item:hover { background: rgba(255,215,0,.08) !important; color: #111 !important; }
body.cw-light .da-nav-item.active { color: #b8860b !important; background: rgba(255,215,0,.08) !important; }
body.cw-light .da-content { background: #f2f3f7 !important; }
body.cw-light .da-stat { background: #fff !important; border-color: #dde1e7 !important; }
body.cw-light .da-stat-num { color: #111 !important; }
body.cw-light .da-stat-label { color: #888 !important; }
body.cw-light .da-widget,
body.cw-light .da-quick { background: #fff !important; border-color: #dde1e7 !important; }
body.cw-light .da-widget-title { color: #111 !important; }
body.cw-light .da-quick-item { color: #111 !important; }
body.cw-light .da-quick-item:hover { background: #f8f9fb !important; color: #b8860b !important; }
body.cw-light .da-section-card { background: #fff !important; border-color: #dde1e7 !important; }
body.cw-light .da-section-name { color: #111 !important; }
body.cw-light .da-section-desc { color: #888 !important; }
body.cw-light .da-section-icon { background: #f4f5f8 !important; border-color: #eee !important; }
body.cw-light #ofs-grand { background: #0b0b0b !important; }

/* ── BUSCADOR ── */
body.cw-light .cw-bus-wrap { background: #f2f3f7 !important; }
body.cw-light .cw-bus-sidebar .cw-sid-box { background: #fff !important; border-color: #dde1e7 !important; }
body.cw-light .cw-chk-item { color: #444 !important; }
body.cw-light .cw-bus-main { background: #f2f3f7 !important; }
body.cw-light .cw-bus-title { color: #111 !important; }

/* ── HOME ── */
body.cw-light .ctrlw-home { background: #f2f3f7 !important; }
body.cw-light .ctrlw-trust-card { background: #fff !important; border-color: #dde1e7 !important; color: #111 !important; }
body.cw-light .ctrlw-trust-card b { color: #111 !important; }
body.cw-light .ctrlw-trust-card span { color: #555 !important; }
body.cw-light .ctrlw-trust-link:hover .ctrlw-trust-card { border-color: #FFD700 !important; }
body.cw-light .ctrlw-brand-wrap { background: #fff !important; border-color: #dde1e7 !important; }
body.cw-light .ctrlw-brand-title { color: #111 !important; }
body.cw-light .ctrlw-section-title h2 { color: #111 !important; }
body.cw-light .ctrlw-topcat { background: #fff !important; border-color: #dde1e7 !important; color: #111 !important; }

/* ── CARRITO ── */
body.cw-light #cart,
body.cw-light #cart #wrapper,
body.cw-light #cart #main { background: #f2f3f7 !important; }
body.cw-light #cart .card { background: #fff !important; border-color: #dde1e7 !important; }

/* ── WRAPPER GLOBAL ── */
body.cw-light #wrapper { background: #f2f3f7 !important; }


/* ════════════════════════════════════════════════════════════
   REGISTRO — formulario limpio (18-jun-2026)
   Acotado a #customer-form / .rg-form-box: no afecta otras páginas
   ════════════════════════════════════════════════════════════ */
/* Tratamiento (Sr./Sra.) en línea */
.js-input-column .radio-inline {
  display: inline-flex !important;
  align-items: center;
  margin-right: 16px;
  width: auto !important;
  margin-bottom: 0 !important;
}
/* Labels de campo más compactos */
.rg-form-box .form-control-label {
  font-size: 11px !important;
  font-weight: 600;
  color: #666;
  letter-spacing: 0.05em;
}
/* Texto helper pequeño */
#customer-form .js-input-column > div {
  font-size: 10px !important;
  color: #aaa;
  margin-top: 3px;
  line-height: 1.35;
}
/* Labels de checkbox: sin mayúsculas, texto normal */
#customer-form .custom-checkbox label {
  font-size: 12px !important;
  text-transform: none !important;
  font-style: normal !important;
  font-weight: 400;
  color: #333;
}
/* Textos <em> dentro de checkboxes */
#customer-form .custom-checkbox label em {
  font-size: 10px !important;
  color: #999;
  text-transform: none !important;
  font-weight: 400;
  line-height: 1.4;
}

/* ===== CTRLW · UNIFORMIDAD CHECKOUT (spec Wilberth 23-jun) ===== */
/* Botón Facebook: de azul brillante → negro elegante con borde sutil (como Google) */
body#checkout .cko-facebook,
body#checkout a.cko-facebook,
body#checkout .cko-social-btn.cko-facebook,
#checkout .btn-facebook,
#checkout .facebook,
#checkout a[href*="facebook"].btn {
  background:#111 !important;
  color:#fff !important;
  border:1px solid #2a2a2a !important;
  box-shadow:none !important;
  font-weight:800 !important;
}
body#checkout .cko-facebook:hover,
#checkout .btn-facebook:hover { background:#000 !important; }

/* Links del panel lateral y enlaces de texto → dorado de marca #b89100 (no azul) */
body#checkout .cart-grid-right a:not(.btn):not(.continue):not(.cko-social-btn),
body#checkout .block-reassurance a:not(.btn),
body#checkout .forgot-password a,
body#checkout a.forgot-password,
body#checkout .promo-code a,
body#checkout .js-show-coupon {
  color:#b89100 !important;
  text-decoration:none !important;
  font-weight:700 !important;
}
body#checkout .cart-grid-right a:not(.btn):hover,
body#checkout .forgot-password a:hover { text-decoration:underline !important; }

/* ===== TIPO DE ENVÍO - CARRIERS (permanente, aprobado por Wilberth) ===== */
.delivery-options { display:flex !important; flex-direction:column !important; gap:12px !important; }
.cw-carrier {
  position:relative !important; display:flex !important; flex-direction:row !important; align-items:center !important;
  gap:14px !important; background:#fff !important; border-radius:14px !important; padding:16px 18px !important;
  border:2px solid #e5e5e5 !important; box-shadow:0 1px 5px rgba(0,0,0,0.07) !important; cursor:pointer !important;
  transition:border-color .2s, box-shadow .2s !important; margin-bottom:0 !important; float:none !important;
}
.cw-carrier:hover { border-color:#f0d100 !important; }
.cw-carrier:has(input[type=radio]:checked) { border-color:#f0d100 !important; box-shadow:0 2px 10px rgba(240,209,0,0.18) !important; }
.cw-carrier > .cw-radio {
  position:static !important; display:flex !important; align-items:center !important; justify-content:center !important;
  float:none !important; width:22px !important; min-width:22px !important; height:22px !important; flex-shrink:0 !important; order:0 !important;
}
.cw-carrier > .cw-radio > span { display:none !important; }
.cw-carrier > .cw-radio input[type=radio] {
  position:relative !important; top:auto !important; left:auto !important; appearance:none !important; -webkit-appearance:none !important;
  width:22px !important; height:22px !important; border-radius:50% !important; border:2px solid #cccccc !important; background:#fff !important;
  margin:0 !important; padding:0 !important; cursor:pointer !important; flex-shrink:0 !important; opacity:1 !important; transition:border-color .2s !important;
}
.cw-carrier > .cw-radio input[type=radio]:checked { border-color:#f0d100 !important; background:#fff !important; }
.cw-carrier > .cw-radio input[type=radio]:checked::after {
  content:'' !important; position:absolute !important; top:50% !important; left:50% !important; transform:translate(-50%,-50%) !important;
  width:11px !important; height:11px !important; background:#f0d100 !important; border-radius:50% !important; display:block !important;
}
.cw-carrier > .cw-carrier-label {
  position:static !important; display:flex !important; flex-direction:row !important; align-items:center !important;
  gap:14px !important; flex:1 !important; margin:0 !important; padding:0 !important; float:none !important; order:1 !important;
}
.cw-carrier-badge {
  position:static !important; 1a1a1a#1a1a1a !important;
  border-radius:11px !important; display:flex !important; align-items:center !important; justify-content:center !important; font-size:21px !important; flex-shrink:0 !important;
}
.cw-carrier-text { display:flex !important; flex-direction:column !important; flex:1 !important; gap:3px !important; }
.carrier-name { font-weight:700 !important; font-size:15px !important; color:#1a1a1a !important; line-height:1.3 !important; display:block !important; }
.carrier-delay { font-size:12.5px !important; color:#888888 !important; line-height:1.4 !important; display:-webkit-box !important; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.cw-carrier-label > .carrier-price { font-weight:700 !important; font-size:16px !important; color:#28a745 !important; white-space:nowrap !important; margin-left:auto !important; flex-shrink:0 !important; }
/* ===== FIN CARRIERS ===== */
