
/* ================================================
   DISEÑO UNIFICADO - TODAS LAS CATEGORÍAS
   Igual en Niños, Calzados, Juguetes, Coches,
   Silla de carro, Cargadores, Cunas, Hogar, Accesorios
   ================================================ */

/* ── NAV: sin emoji en mesa de regalo ── */
a.gift-nav, .menu a.gift-nav, .gift-nav {
  background: transparent !important;
  background-color: transparent !important;
  color: #102a63 !important;
  border: none !important;
  box-shadow: none !important;
}
a.gift-nav:hover, .gift-nav:hover {
  background: #eef4ff !important;
  color: #2048a0 !important;
}
/* Quitar emoji del gift-nav */
a.gift-nav::before { content: none !important; display: none !important; }

/* ── CARDS: diseño unificado ── */
.product-card {
  background: #fff !important;
  border: 1px solid #e4eaf6 !important;
  border-radius: 20px !important;
  box-shadow: 0 2px 16px rgba(16,42,99,.06) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform .22s, box-shadow .22s, border-color .22s !important;
}
.product-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 14px 36px rgba(16,42,99,.13) !important;
  border-color: #b8d0f5 !important;
}
.product-card .product-img {
  background: linear-gradient(150deg,#f2f6ff,#e8effd) !important;
  border-bottom: 1px solid #eaeffa !important;
  height: 195px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 18px !important;
  overflow: hidden !important;
}
.product-card .product-img img {
  max-width: 100% !important;
  max-height: 160px !important;
  object-fit: contain !important;
  transition: transform .3s !important;
}
.product-card:hover .product-img img { transform: scale(1.05) !important; }

.product-card .product-body {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 16px !important;
}
.product-card .product-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  margin-bottom: 10px !important;
}
.product-card .product-tags span {
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 3px 9px !important;
  border-radius: 999px !important;
  background: #edf3ff !important;
  color: #2048a0 !important;
  border: 1px solid #d0dff8 !important;
}
.product-card h3 {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #0d1e4a !important;
  line-height: 1.35 !important;
  margin: 0 0 8px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 38px !important;
}
.product-card .product-card-desc {
  font-size: 12px !important;
  color: #7d8fa8 !important;
  line-height: 1.55 !important;
  margin: 0 0 10px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 36px !important;
}
.read-more-inline { color: #2048a0 !important; font-weight: 700 !important; }

/* PRECIO GRANDE */
.product-card .price,
.product-card strong.price,
.product-card .product-price {
  font-size: 28px !important;
  font-weight: 900 !important;
  color: #1a3a8f !important;
  letter-spacing: -.03em !important;
  margin: 8px 0 14px !important;
  margin-top: auto !important;
  display: block !important;
}

/* OCULTAR todo lo de color en cards */
.product-card .color-picker,
.product-card .color-swatch-group,
.product-card [data-color-picker],
.product-card .color-field,
.product-card label.color-field,
.product-card .color-swatch-btn,
.product-card select[data-card-color],
.product-card select[data-card-size],
.product-card input[data-card-qty],
.product-card input[type="hidden"],
.product-card .detail-options,
.product-card .color-label,
.product-card .product-options {
  display: none !important;
}

/* BOTONES CARDS */
.card-btn-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  width: 100% !important;
}
.card-btn-group .btn-ver,
.add-btn, .product-card .add-btn {
  width: 100% !important;
  min-height: 46px !important;
  border: 0 !important;
  border-radius: 13px !important;
  background: #1e45a0 !important;
  color: #fff !important;
  font: 700 13px/1 Poppins,Arial !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  box-shadow: 0 4px 14px rgba(30,69,160,.22) !important;
  transition: background .18s, transform .15s !important;
}
.card-btn-group .btn-ver:hover, .add-btn:hover {
  background: #163680 !important;
  transform: translateY(-1px) !important;
}
.card-btn-group .btn-regalo,
.gift-btn, .bc-gift-add,
button[data-add-gift-draft="card"] {
  width: 100% !important;
  min-height: 42px !important;
  border: 1.5px solid #dda800 !important;
  border-radius: 13px !important;
  background: #fffbea !important;
  color: #6b4a00 !important;
  font: 700 12px/1.3 Poppins,Arial !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 8px 10px !important;
  white-space: normal !important;
  text-align: center !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  transition: background .18s !important;
}
.card-btn-group .btn-regalo:hover, .gift-btn:hover {
  background: #fff0b0 !important;
}

/* ── MODAL: diseño unificado ── */
.modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(10,25,65,.62) !important;
  backdrop-filter: blur(5px) !important;
  z-index: 10000 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px !important;
  overflow-y: auto !important;
}
.modal-overlay.show { display: flex !important; }
.product-detail-modal {
  background: #fff !important;
  border-radius: 28px !important;
  padding: 28px !important;
  width: min(1100px,96vw) !important;
  max-width: 96vw !important;
  max-height: 94vh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  box-shadow: 0 24px 80px rgba(10,25,65,.28) !important;
  position: relative !important;
  box-sizing: border-box !important;
}
.product-detail-grid {
  display: grid !important;
  grid-template-columns: 1fr 1.1fr !important;
  gap: 32px !important;
  align-items: start !important;
}
.detail-image {
  background: linear-gradient(150deg,#f2f6ff,#e8effd) !important;
  border: 1px solid #dae5fb !important;
  border-radius: 22px !important;
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 14px !important;
}
#modalProductImage {
  width: 100% !important;
  height: clamp(220px,32vw,380px) !important;
  object-fit: contain !important;
  background: #fff !important;
  border-radius: 16px !important;
  padding: 12px !important;
}
.detail-info h2 {
  font-size: clamp(22px,3vw,36px) !important;
  font-weight: 900 !important;
  color: #0d1e4a !important;
  line-height: 1.1 !important;
  margin: 8px 0 10px !important;
  word-break: break-word !important;
}
.detail-lead-copy {
  font-size: 14px !important;
  color: #5a6d8a !important;
  line-height: 1.65 !important;
  margin-bottom: 14px !important;
}
.detail-price, strong.detail-price {
  font-size: 44px !important;
  font-weight: 900 !important;
  color: #1a3a8f !important;
  letter-spacing: -.03em !important;
  display: block !important;
  margin: 6px 0 10px !important;
}
.detail-tags span {
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  background: #edf3ff !important;
  color: #2048a0 !important;
  border: 1px solid #d0dff8 !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 3px 4px 0 !important;
}
/* BOTONES MODAL */
.detail-actions { display: flex !important; flex-direction: column !important; gap: 10px !important; }
.btn-confirm, button#confirmAddToCart, .add-btn.detail-add {
  width: 100% !important; min-height: 54px !important;
  border: 0 !important; border-radius: 15px !important;
  background: #1e45a0 !important; color: #fff !important;
  font: 800 16px Poppins,Arial !important; cursor: pointer !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  box-shadow: 0 6px 20px rgba(30,69,160,.25) !important;
  transition: background .18s, transform .15s !important;
}
.btn-confirm:hover, button#confirmAddToCart:hover {
  background: #163680 !important; transform: translateY(-1px) !important;
}
.btn-gift-modal, button[data-add-gift-draft="modal"], .gift-btn.detail-gift {
  width: 100% !important; min-height: 50px !important;
  border: 2px solid #dda800 !important; border-radius: 15px !important;
  background: linear-gradient(135deg,#ffd84a,#ffc000) !important; color: #3d2a00 !important;
  font: 800 15px Poppins,Arial !important; cursor: pointer !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  gap: 8px !important; transition: background .18s, transform .15s !important;
}
.btn-gift-modal:hover { background: linear-gradient(135deg,#ffc000,#f0a800) !important; transform: translateY(-1px) !important; }
.btn-wa, button#modalWhatsappBtn, .wa-btn, button.wa-btn {
  width: 100% !important; min-height: 50px !important;
  border: 0 !important; border-radius: 15px !important;
  background: linear-gradient(135deg,#22c55e,#16a34a) !important; color: #fff !important;
  font: 800 15px Poppins,Arial !important; cursor: pointer !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  gap: 8px !important; box-shadow: 0 4px 14px rgba(34,197,94,.25) !important;
  transition: background .18s, transform .15s !important;
}
.btn-wa:hover, button#modalWhatsappBtn:hover {
  background: linear-gradient(135deg,#16a34a,#0f7a38) !important; transform: translateY(-1px) !important;
}
.btn-wa img, .wa-btn img { width:20px !important; height:20px !important; filter:brightness(0) invert(1) !important; }

/* SKU */
.detail-sku, span.detail-sku {
  display: inline-flex !important; align-items: center !important; gap: 6px !important;
  padding: 5px 12px !important; background: #f0f5ff !important;
  border: 1px solid #d0dff8 !important; border-radius: 999px !important;
  font-size: 12px !important; font-weight: 700 !important; color: #2048a0 !important;
}
.detail-sku::before {
  content: "SKU" !important; background: #dce9ff !important; color: #163b8c !important;
  padding: 2px 7px !important; border-radius: 999px !important; font-size: 10px !important; font-weight: 900 !important;
}

/* Recomendados */
.recommend-box {
  background: #f8faff !important; border: 1px solid #dae5fb !important;
  border-radius: 18px !important; padding: 16px !important;
}
.recommend-title { font-size: 15px !important; font-weight: 800 !important; color: #0d1e4a !important; margin: 0 0 12px !important; }
.recommend-card {
  display: flex !important; align-items: center !important; gap: 10px !important;
  background: #fff !important; border: 1px solid #e4eaf6 !important;
  border-radius: 14px !important; padding: 10px !important; cursor: pointer !important;
  transition: border-color .15s, transform .15s !important; width: 100% !important; text-align: left !important;
}
.recommend-card:hover { border-color: #b8d0f5 !important; transform: translateY(-1px) !important; }
.recommend-card img { width:56px !important; height:56px !important; object-fit:contain !important; background:#f2f6ff !important; border-radius:10px !important; padding:5px !important; flex:0 0 56px !important; }
.rc-name { display:block !important; font-size:13px !important; font-weight:800 !important; color:#0d1e4a !important; line-height:1.2 !important; margin-bottom:2px !important; }
.rc-meta { display:block !important; font-size:11px !important; color:#7d8fa8 !important; margin-bottom:2px !important; }
.rc-price { display:block !important; font-size:14px !important; font-weight:900 !important; color:#1a3a8f !important; }

/* Nota pago flexible */
.detail-wompi-note, .detail-note {
  background: #f5f8ff !important; border: 1px solid #d8e6fb !important;
  border-radius: 13px !important; padding: 12px 14px !important;
  font-size: 13px !important; color: #5a6d8a !important; line-height: 1.55 !important; margin-top: 10px !important;
}

/* DROPDOWN limpio igual en todas las páginas */
.dropdown-menu a::before, .dropdown-menu a::after,
.dropdown-menu li::before, .dropdown-menu li::after { display: none !important; content: none !important; }
.dropdown-menu {
  background: #fff !important; border-radius: 16px !important;
  box-shadow: 0 8px 32px rgba(16,42,99,.14) !important;
  border: 1px solid #e8eef8 !important; padding: 8px !important; min-width: 180px !important;
}
.dropdown-menu a {
  font-size: 14px !important; font-weight: 600 !important; color: #102a63 !important;
  padding: 10px 16px !important; border-radius: 10px !important; display: block !important;
  transition: background .15s !important; text-decoration: none !important;
}
.dropdown-menu a:hover { background: #eef4ff !important; color: #2048a0 !important; font-weight: 700 !important; }

/* RESPONSIVE MÓVIL */
@media(max-width:860px){
  .product-detail-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
  #modalProductImage { height: clamp(180px,45vw,280px) !important; }
  .recommend-grid { grid-template-columns: 1fr 1fr !important; }
  .detail-options { grid-template-columns: 1fr !important; }
}
@media(max-width:640px){
  .product-card .product-img { height: 155px !important; }
  .product-card .price { font-size: 23px !important; }
  .product-card h3 { font-size: 13px !important; }
  .card-btn-group .btn-ver { min-height: 42px !important; font-size: 12px !important; }
  .card-btn-group .btn-regalo { min-height: 38px !important; font-size: 11px !important; }
  .product-detail-modal { padding: 14px !important; border-radius: 20px !important; }
  .detail-price { font-size: 34px !important; }
  .detail-info h2 { font-size: 22px !important; }
}

/* ── OCULTAR "COLOR" EN CARDS - TODAS LAS CATEGORÍAS ── */
.product-card .color-field > span,
.product-card .color-picker > span,
.product-card [data-color-picker] > span,
.product-card .color-label,
.product-card label > span.color-label,
/* ninos.html specific */
.product-card .detail-options > label > span,
.ninos-product-grid .color-field span,
/* Generic COLOR text */
.product-card span[style*="text-transform: uppercase"],
.product-card label span:first-child {
  display: none !important;
}
.product-card .color-picker,
.product-card .color-swatch-group,
.product-card [data-color-picker],
.product-card .color-field,
.product-card label.color-field,
.product-card .color-swatch-btn,
.product-card select[data-card-color],
.product-card select[data-card-size],
.product-card input[data-card-qty],
.product-card input[type="hidden"],
.product-card .detail-options,
.product-card .color-label,
.product-card .product-options,
/* The COLOR: label text in ninos cards */
.product-card .color-field,
.product-card label[class*="color"] {
  display: none !important;
}

/* ── MODAL UNIFICADO IGUAL EN TODAS LAS CATEGORÍAS ── */
/* Basado en imagen 2 aprobada */
.modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(10,25,65,.62) !important;
  backdrop-filter: blur(5px) !important;
  z-index: 10000 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px !important;
}
.modal-overlay.show { display: flex !important; }

.product-detail-modal {
  background: #fff !important;
  border-radius: 28px !important;
  padding: 28px !important;
  width: min(860px, 94vw) !important;
  max-width: 94vw !important;
  max-height: 94vh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  box-shadow: 0 24px 80px rgba(10,25,65,.28) !important;
  position: relative !important;
  box-sizing: border-box !important;
}
.product-detail-grid {
  display: grid !important;
  grid-template-columns: 1fr 1.1fr !important;
  gap: 28px !important;
  align-items: start !important;
  min-width: 0 !important;
}
/* Imagen izquierda */
.detail-image {
  background: linear-gradient(150deg,#f2f6ff,#e8effd) !important;
  border: 1px solid #dae5fb !important;
  border-radius: 20px !important;
  padding: 18px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 14px !important;
  min-width: 0 !important;
}
#modalProductImage {
  width: 100% !important;
  height: 260px !important;
  object-fit: contain !important;
  background: #fff !important;
  border-radius: 14px !important;
  padding: 10px !important;
  box-sizing: border-box !important;
}
/* Galería miniaturas */
.detail-gallery-wrap {
  position: relative !important;
  width: 100% !important;
  padding: 0 44px !important;
}
.detail-gallery {
  display: flex !important;
  gap: 8px !important;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  scrollbar-width: none !important;
  padding: 4px 0 6px !important;
  min-height: 72px !important;
  justify-content: center !important;
}
.detail-gallery::-webkit-scrollbar { display: none !important; }
.detail-gallery button {
  flex: 0 0 64px !important;
  width: 64px !important;
  height: 64px !important;
  border-radius: 12px !important;
  border: 2px solid #d8e5fb !important;
  background: #fff !important;
  padding: 4px !important;
  cursor: pointer !important;
  transition: border-color .15s !important;
}
.detail-gallery button.active {
  border-color: #2048a0 !important;
  box-shadow: 0 0 0 2px rgba(32,72,160,.12) !important;
}
.detail-gallery img { width:100% !important; height:100% !important; object-fit:contain !important; border-radius:8px !important; }
.detail-gallery-nav {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 36px !important;
  height: 36px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #2048a0 !important;
  font: 900 22px/1 Poppins,Arial !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(14,47,120,.14) !important;
  z-index: 4 !important;
}
.detail-gallery-nav.prev { left: 0 !important; }
.detail-gallery-nav.next { right: 0 !important; }

/* Info derecha */
.detail-info {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  overflow: hidden !important;
}
.detail-tags, .product-tags.detail-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
  margin-bottom: 10px !important;
}
.detail-tags span, .product-tags.detail-tags span {
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  background: #edf3ff !important;
  color: #2048a0 !important;
  border: 1px solid #d0dff8 !important;
  display: inline-flex !important;
}
.detail-info h2 {
  font-size: clamp(22px,2.8vw,34px) !important;
  font-weight: 900 !important;
  color: #0d1e4a !important;
  line-height: 1.1 !important;
  margin: 8px 0 10px !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
}
.detail-lead-copy {
  font-size: 14px !important;
  color: #5a6d8a !important;
  line-height: 1.65 !important;
  margin-bottom: 12px !important;
}
.detail-price, strong.detail-price {
  font-size: 44px !important;
  font-weight: 900 !important;
  color: #1a3a8f !important;
  letter-spacing: -.03em !important;
  display: block !important;
  margin: 4px 0 10px !important;
}
.detail-meta-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-bottom: 14px !important;
}
.detail-sku, span.detail-sku {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 4px 11px !important;
  background: #f0f5ff !important;
  border: 1px solid #d0dff8 !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #2048a0 !important;
}
.detail-sku::before {
  content: "SKU" !important;
  background: #dce9ff !important;
  color: #163b8c !important;
  padding: 2px 6px !important;
  border-radius: 999px !important;
  font-size: 10px !important;
  font-weight: 900 !important;
}
/* Opciones cantidad/talla */
.detail-options {
  display: grid !important;
  grid-template-columns: 90px 1fr !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
  align-items: end !important;
}
.detail-options label > span {
  display: block !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  color: #2048a0 !important;
  letter-spacing: .04em !important;
  margin-bottom: 6px !important;
}
.detail-options input,
.detail-options select {
  width: 100% !important;
  min-height: 48px !important;
  border: 1px solid #d8e5fb !important;
  border-radius: 13px !important;
  padding: 0 12px !important;
  font: 700 13px Poppins,Arial !important;
  color: #0d1e4a !important;
  background: #fbfdff !important;
  box-sizing: border-box !important;
}
/* Acciones botones */
.detail-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
.btn-confirm, button#confirmAddToCart, .add-btn.detail-add {
  width: 100% !important; min-height: 52px !important;
  border: 0 !important; border-radius: 14px !important;
  background: #1e45a0 !important; color: #fff !important;
  font: 800 15px Poppins,Arial !important; cursor: pointer !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  box-shadow: 0 4px 16px rgba(30,69,160,.25) !important;
  transition: background .18s, transform .15s !important;
}
.btn-confirm:hover, button#confirmAddToCart:hover {
  background: #163680 !important; transform: translateY(-1px) !important;
}
.btn-gift-modal, button[data-add-gift-draft="modal"], .gift-btn.detail-gift {
  width: 100% !important; min-height: 48px !important;
  border: 2px solid #dda800 !important; border-radius: 14px !important;
  background: linear-gradient(135deg,#ffd84a,#ffc000) !important;
  color: #3d2a00 !important; font: 800 14px Poppins,Arial !important;
  cursor: pointer !important; display: flex !important;
  align-items: center !important; justify-content: center !important;
  gap: 7px !important; transition: background .18s, transform .15s !important;
}
.btn-gift-modal:hover { background: linear-gradient(135deg,#ffc000,#f0a800) !important; transform: translateY(-1px) !important; }
.btn-wa, button#modalWhatsappBtn, .wa-btn, button.wa-btn, .wa-btn.detail-wa {
  width: 100% !important; min-height: 48px !important;
  border: 0 !important; border-radius: 14px !important;
  background: linear-gradient(135deg,#22c55e,#16a34a) !important;
  color: #fff !important; font: 800 14px Poppins,Arial !important;
  cursor: pointer !important; display: flex !important;
  align-items: center !important; justify-content: center !important;
  gap: 8px !important; box-shadow: 0 4px 14px rgba(34,197,94,.22) !important;
  transition: background .18s, transform .15s !important;
}
.btn-wa:hover, button#modalWhatsappBtn:hover {
  background: linear-gradient(135deg,#16a34a,#0f7a38) !important; transform: translateY(-1px) !important;
}
.btn-wa img, .wa-btn img {
  width: 20px !important; height: 20px !important;
  filter: brightness(0) invert(1) !important;
}
/* Nota pago flexible */
.detail-wompi-note, .detail-note {
  background: #f5f8ff !important; border: 1px solid #d8e6fb !important;
  border-radius: 13px !important; padding: 12px 14px !important;
  font-size: 12px !important; color: #5a6d8a !important;
  line-height: 1.55 !important; margin-top: 8px !important;
}
/* Recomendados */
.modal-side-extra { width: 100% !important; margin-top: 14px !important; }
.recommend-box {
  background: #f8faff !important; border: 1px solid #dae5fb !important;
  border-radius: 18px !important; padding: 14px !important;
}
.recommend-title {
  font-size: 14px !important; font-weight: 800 !important;
  color: #0d1e4a !important; margin: 0 0 10px !important;
  display: flex !important; align-items: center !important; gap: 6px !important;
}
.recommend-grid {
  display: grid !important; grid-template-columns: 1fr 1fr !important;
  gap: 8px !important; max-height: 280px !important; overflow-y: auto !important;
}
.recommend-card {
  display: flex !important; align-items: center !important; gap: 9px !important;
  background: #fff !important; border: 1px solid #e4eaf6 !important;
  border-radius: 13px !important; padding: 9px !important;
  cursor: pointer !important; transition: border-color .15s, transform .15s !important;
  width: 100% !important; text-align: left !important; min-height: 72px !important;
}
.recommend-card:hover { border-color: #b8d0f5 !important; transform: translateY(-1px) !important; }
.recommend-card img {
  width: 52px !important; height: 52px !important; object-fit: contain !important;
  background: #f2f6ff !important; border-radius: 10px !important;
  padding: 4px !important; flex: 0 0 52px !important;
}
.rc-name { display:block !important; font-size:12px !important; font-weight:800 !important; color:#0d1e4a !important; line-height:1.2 !important; margin-bottom:2px !important; }
.rc-meta { display:block !important; font-size:11px !important; color:#7d8fa8 !important; margin-bottom:2px !important; }
.rc-price { display:block !important; font-size:13px !important; font-weight:900 !important; color:#1a3a8f !important; }
/* Botón cerrar */
.modal-close {
  position: absolute !important; top: 14px !important; right: 14px !important;
  width: 38px !important; height: 38px !important; border: 0 !important;
  border-radius: 50% !important; background: #edf3ff !important; color: #2048a0 !important;
  font-size: 20px !important; font-weight: 900 !important; cursor: pointer !important;
  z-index: 10 !important; display: flex !important;
  align-items: center !important; justify-content: center !important;
}
/* RESPONSIVE */
@media(max-width:860px){
  .product-detail-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  #modalProductImage { height: 220px !important; }
  .recommend-grid { grid-template-columns: 1fr 1fr !important; }
  .detail-options { grid-template-columns: 1fr !important; }
  .product-detail-modal { padding: 16px !important; }
}
@media(max-width:580px){
  .product-detail-modal { width: 96vw !important; padding: 14px !important; border-radius: 20px !important; }
  .detail-price { font-size: 34px !important; }
  .detail-info h2 { font-size: 21px !important; }
}


/* ── GIFT NAV/LINK: sin fondo amarillo ni emoji en TODAS las páginas ── */
a.gift-nav, .menu a.gift-nav,
a.gift-link, .menu a.gift-link,
nav a[href*="mesa-de-regalo"],
.nav a[href*="mesa-de-regalo"],
header a[href*="mesa-de-regalo"],
.menu a[href*="mesa"] {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: #102a63 !important;
  border: none !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
}
a.gift-nav:hover, a.gift-link:hover,
nav a[href*="mesa-de-regalo"]:hover {
  background: #eef4ff !important;
  color: #2048a0 !important;
  box-shadow: none !important;
}


/* === FIX WhatsApp icon visible en modal de producto — 2026-06-22 === */
button#modalWhatsappBtn,
.wa-btn.detail-wa,
.btn-wa{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
}
button#modalWhatsappBtn::before,
.wa-btn.detail-wa::before,
.btn-wa::before{
  content:""!important;
  display:inline-block!important;
  width:24px!important;
  height:24px!important;
  flex:0 0 24px!important;
  background:transparent url('../img/whatsapp-glyph-white.svg') center/contain no-repeat!important;
  -webkit-mask:none!important;
  mask:none!important;
}
button#modalWhatsappBtn img.wa-icon,
.wa-btn.detail-wa img.wa-icon,
.wa-btn img.wa-icon,
.btn-wa img{
  display:none!important;
}



/* === FIX FINAL: mostrar nombres completos de productos en tarjetas === */
.product-card h3,
.product-card .product-body h3,
.product-card .product-title,
.product-card .product-name,
.product-card-title,
.product-card .name,
.product-name-card {
  display: block !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
}

.product-card,
.product-card .product-body,
.product-card .card-body {
  height: auto !important;
  min-height: 0 !important;
}

.recommend-card .name,
.recommend-card .rc-name,
.rc-name,
.similar-card .name,
.related-card .name {
  display: block !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  height: auto !important;
  max-height: none !important;
}

.recommend-card,
.similar-card,
.related-card {
  height: auto !important;
  align-items: flex-start !important;
}




/* === FIX FINAL: precios de oferta en tarjetas === */
.product-card .price.price-offer,
.product-card strong.price.price-offer,
.price.price-offer {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 5px !important;
  align-items: start !important;
  justify-content: start !important;
  color: inherit !important;
  font-size: 14px !important;
  line-height: 1.1 !important;
  letter-spacing: normal !important;
  white-space: normal !important;
  margin-top: auto !important;
  margin-bottom: 16px !important;
}

.product-card .price.price-offer .price-before,
.product-card .price.price-offer .price-current,
.price.price-offer .price-before,
.price.price-offer .price-current {
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  line-height: 1.05 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.product-card .price.price-offer .price-label,
.price.price-offer .price-label {
  display: inline-block !important;
  min-width: 72px !important;
  max-width: 72px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: .05em !important;
  text-transform: uppercase !important;
  color: #8b98b7 !important;
  white-space: nowrap !important;
}

.product-card .price.price-offer .old-price,
.price.price-offer .old-price {
  display: inline-block !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  color: #8b98b7 !important;
  text-decoration: line-through !important;
  opacity: .9 !important;
  margin: 0 !important;
}

.product-card .price.price-offer .price-now-value,
.price.price-offer .price-now-value {
  display: inline-block !important;
  font-size: 22px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  color: var(--bc-blue, var(--blue, #2048a0)) !important;
  letter-spacing: -.03em !important;
  margin: 0 !important;
}

.product-card .price.price-offer br,
.price.price-offer br {
  display: none !important;
}

/* Precio de oferta dentro del modal/detalle */
.detail-price.price-offer {
  display: grid !important;
  gap: 6px !important;
  align-items: start !important;
  color: inherit !important;
  line-height: 1.1 !important;
}
.detail-price.price-offer .price-before,
.detail-price.price-offer .price-current {
  display: flex !important;
  align-items: baseline !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
}
.detail-price.price-offer .price-label {
  min-width: 86px !important;
  max-width: 86px !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: .05em !important;
  text-transform: uppercase !important;
  color: #8b98b7 !important;
}
.detail-price.price-offer .old-price {
  font-size: 20px !important;
  line-height: 1 !important;
  color: #8b98b7 !important;
  text-decoration: line-through !important;
  font-weight: 900 !important;
}
.detail-price.price-offer .price-now-value {
  font-size: 36px !important;
  line-height: 1 !important;
  color: var(--bc-blue, var(--blue, #2048a0)) !important;
  font-weight: 950 !important;
}


/* FIX ULTRA FINAL: etiquetas Antes/Descuento pequeñas en todo el sitio */
.price-offer .price-label{font-size:11px !important;line-height:1 !important;font-weight:900 !important;letter-spacing:.05em !important;text-transform:uppercase !important;color:#8b98b7 !important;white-space:nowrap !important;display:inline-block !important;min-width:72px !important;max-width:72px !important;}
.price-offer .old-price{font-size:13px !important;line-height:1 !important;font-weight:900 !important;color:#8b98b7 !important;text-decoration:line-through !important;margin:0 !important;}
.price-offer .price-now-value{font-size:22px !important;line-height:1 !important;font-weight:950 !important;color:var(--bc-blue, var(--blue, #2048a0)) !important;margin:0 !important;}
.price-offer .price-before,.price-offer .price-current{display:flex !important;align-items:baseline !important;gap:8px !important;flex-wrap:nowrap !important;line-height:1.05 !important;}



/* FIX ULTRA FINAL: títulos completos de productos sin corte */
body .product-card h3,
body .product-grid .product-card h3,
body #productsGrid .product-card h3,
body .products-grid .product-card h3,
body .product-card .product-body h3,
body .product-card .product-title,
body .product-card .product-name,
body .product-name-card,
body .recommend-card .name,
body .similar-card .name,
body .related-card .name {
  display: block !important;
  -webkit-box-orient: initial !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  hyphens: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin-bottom: 10px !important;
}

body .product-card .product-body,
body .product-card,
body .recommend-card,
body .similar-card,
body .related-card {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

@media (max-width: 768px){
  body .product-card h3,
  body .product-grid .product-card h3,
  body #productsGrid .product-card h3,
  body .products-grid .product-card h3,
  body .product-card .product-body h3,
  body .product-card .product-title,
  body .product-card .product-name,
  body .product-name-card,
  body .recommend-card .name,
  body .similar-card .name,
  body .related-card .name {
    font-size: 14px !important;
    line-height: 1.15 !important;
  }
}

