/*============================================================================
  QUANTUM HARDSTORE — qh-cards.css
  Subir a /css/qh-cards.css vía FTP
  Linkear en layout.tpl ANTES del cierre de </head>:
  <link rel="stylesheet" href="{{ 'css/qh-cards.css' | static_url }}">
==============================================================================*/

/* ─── Variables ─────────────────────────────────────────────── */
:root {
  --qh-magenta: #ff007f;
  --qh-black: #1c1c1c;
  --qh-dark: #141414;
  --qh-border: #2a2a2a;
  --qh-text: #ccc;
  --qh-text-light: #888;
}

/* ─── Keyframes ─────────────────────────────────────────────── */
@keyframes qhCardIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes qhPriceBreathe {
  0%, 100% { text-shadow: 0 0 6px rgba(255,0,127,0.1); }
  50%       { text-shadow: 0 0 18px rgba(255,0,127,0.28); }
}

@keyframes qhDotPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}


/*============================================================================
  #PRODUCT CARD — qh-card
==============================================================================*/

.qh-card {
  background: #fff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: qhCardIn 0.45s ease forwards;
  opacity: 0;
}

/* Stagger animación por posición */
.qh-card:nth-child(1) { animation-delay: 0.05s; }
.qh-card:nth-child(2) { animation-delay: 0.10s; }
.qh-card:nth-child(3) { animation-delay: 0.15s; }
.qh-card:nth-child(4) { animation-delay: 0.20s; }
.qh-card:nth-child(5) { animation-delay: 0.25s; }
.qh-card:nth-child(6) { animation-delay: 0.30s; }
.qh-card:nth-child(7) { animation-delay: 0.35s; }
.qh-card:nth-child(8) { animation-delay: 0.40s; }

@media (hover: hover) {
  .qh-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.11);
  }
}

.qh-card:active { transform: scale(0.97); }


/* ─── Imagen ─────────────────────────────────────────────────── */

.qh-card .js-product-item-image-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-sizing: border-box;
  background: #fff;
}

.qh-card .js-product-item-image-container img {
  width: 100%;
  height: 100%;
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s ease;
}

@media (hover: hover) {
  .qh-card:hover .js-product-item-image-container img {
    transform: scale(1.04);
  }
}


/* ─── Info ───────────────────────────────────────────────────── */

.qh-card-info {
  padding: 0 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.qh-card-name {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--qh-black);
  line-height: 1.35;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
  min-height: 28px;
}


/* ─── Precio ─────────────────────────────────────────────────── */

.qh-card .product-item-price-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 8px;
  position: relative;
  margin-top: auto;
}

/* Separador magenta sutil */
.qh-card .product-item-price-container::before {
  content: "";
  display: block;
  width: 70%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--qh-magenta), transparent);
  opacity: 0.3;
  margin: 0 auto 8px;
}

/* Precio tachado */
.qh-price-compare,
.qh-card .price-compare {
  font-size: 11px;
  font-weight: 500;
  color: #aaa;
  text-decoration: line-through;
  margin-bottom: 2px;
  order: 0;
}

/* Precio principal */
.qh-price-main,
.qh-card .js-price-display {
  font-weight: 900;
  font-size: 22px;
  color: var(--qh-magenta);
  line-height: 1.1;
  letter-spacing: -0.3px;
  text-align: center;
  animation: qhPriceBreathe 3s ease-in-out infinite;
}

/* Cuotas */
.qh-card .item-installments,
.qh-card .js-max-installments-container,
.qh-card .custom-installments,
.qh-installments {
  display: block;
  visibility: visible;
  opacity: 1;
  height: auto;
  overflow: visible;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--qh-text-light);
  text-align: center;
  margin-top: 4px;
  line-height: 1.4;
  width: auto;
  padding: 0;
}

.qh-card .item-installments strong,
.qh-card .custom-installments strong,
.qh-installments strong {
  color: var(--qh-magenta);
  font-weight: 800;
}


/* ─── Badges ─────────────────────────────────────────────────── */

.qh-badge-outlet {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  background: var(--qh-black);
  color: #fff;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 3px 8px;
  border-radius: 0 6px 0 6px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

.qh-badge-discount {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  background: var(--qh-magenta);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  padding: 5px 10px;
  border-radius: 0 12px 0 12px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.3px;
  line-height: 1;
}


/* ─── Stock badge ────────────────────────────────────────────── */

.qh-stock-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--qh-text-light);
  margin-top: 6px;
  width: 100%;
  text-align: center;
}

.qh-stock-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #00c853;
  animation: qhDotPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.qh-stock-low .qh-stock-dot { background: #ff9800; }


/* ─── Botón COMPRAR ──────────────────────────────────────────── */

.qh-card .btn-primary,
.qh-card input[type="submit"].btn-primary {
  background: var(--qh-magenta);
  border: none;
  border-color: var(--qh-magenta);
  color: #fff;
  font-weight: 800;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-radius: 8px;
  padding: 10px 8px;
  width: 100%;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  /* ícono carrito via SVG inline */
}

/* Shimmer hover */
.qh-card .btn-primary::after,
.qh-card input[type="submit"].btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.5s ease;
}

@media (hover: hover) {
  .qh-card .btn-primary:hover {
    background: #d11f75;
    border-color: #d11f75;
    box-shadow: 0 3px 14px rgba(255,0,127,0.3);
  }
  .qh-card .btn-primary:hover::after { left: 100%; }
}

.qh-card .btn-primary:active { transform: scale(0.96); }

/* Ocultar el discount nativo (ya lo hacemos con badge) */
.qh-card .product-item-discount,
.qh-card .js-offer-percentage { display: none; }

/* Ocultar estrellas de reviews */
.qh-card .cont-star-revie { display: none; }


/*============================================================================
  #GRID CATÁLOGO — layout con CSS Grid
==============================================================================*/

.js-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  padding: 0;
  box-sizing: border-box;
  align-items: start;
}

/* Las cards en la grilla no necesitan margin manual */
.js-product-grid .qh-card {
  width: 100%;
  margin: 0;
  height: 100%;
}


/*============================================================================
  #SWIPER HOMEPAGE — cards en el carrusel
==============================================================================*/

.section-featured-home .js-swiper-featured .swiper-wrapper {
  align-items: stretch;
}

.section-featured-home .js-swiper-featured .swiper-slide {
  height: auto;
  display: flex;
  align-items: stretch;
}

.section-featured-home .swiper-slide .qh-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* En el swiper la imagen puede ser un poco más chica */
.section-featured-home .qh-card .js-product-item-image-container {
  padding: 10px 8px 6px;
}


/*============================================================================
  #MEDIA QUERIES
==============================================================================*/

/* ── Mobile ── */
@media (max-width: 767px) {

  /* Grilla 2 columnas */
  .js-product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 8px;
  }

  /* Nombre truncado a 2 líneas */
  .qh-card-name { font-size: 10px; }

  /* Precio */
  .qh-price-main,
  .qh-card .js-price-display { font-size: 17px; }

  /* Cuotas */
  .qh-card .item-installments,
  .qh-installments { font-size: 8px; }

  /* Botón */
  .qh-card .btn-primary { font-size: 8.5px; padding: 8px 6px; }

  /* Badges */
  .qh-badge-outlet { font-size: 6px; padding: 2px 5px; }
  .qh-badge-discount { font-size: 8px; padding: 3px 7px; }

  /* Stock */
  .qh-stock-badge { font-size: 7px; }

  /* ── Swiper home en mobile ── */
  .section-featured-home .qh-card .js-product-item-image-container {
    padding: 8px 6px 4px;
  }

  .section-featured-home .qh-price-main,
  .section-featured-home .qh-card .js-price-display { font-size: 15px; }

  .section-featured-home .qh-card-name { font-size: 9px; }

  .section-featured-home .qh-card .item-installments,
  .section-featured-home .qh-installments { font-size: 7.5px; margin-top: 2px; }

  .section-featured-home .qh-stock-badge { font-size: 6.5px; }

  .section-featured-home .qh-card .btn-primary { 
    font-size: 8px; padding: 7px 4px; margin-top: 6px; 
  }

  .section-featured-home .qh-badge-outlet { font-size: 5.5px; padding: 2px 5px; }
  .section-featured-home .qh-badge-discount { font-size: 8px; padding: 3px 7px; }
}

/* ── Desktop ── */
@media (min-width: 768px) {

  .qh-price-main,
  .qh-card .js-price-display { font-size: 22px; }

  /* En el swiper del home imagen un poco más grande */
  .section-featured-home .qh-card .js-product-item-image-container {
    padding: 12px 10px 8px;
  }

  /* Featured home cards más anchas */
  .section-featured-home .swiper-slide {
    width: 210px;
  }
}


/*============================================================================
  #QUICKSHOP MODAL — dark theme
==============================================================================*/

/* Backdrop negro, no rosa */
.modal-backdrop,
.modal-backdrop.fade,
.modal-backdrop.in,
.modal-backdrop.fade.in {
  background: #000;
  opacity: 0.72;
}

/* Modal wrapper */
#quickshop-modal {
  background: transparent;
}

/* El modal bottom */
#quickshop-modal .modal-bottom {
  background: transparent;
  padding: 0;
}

/* Body del modal */
#quickshop-modal .modal-body {
  background: #1c1c1c;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border-top: none;
}

/* Header / barra superior */
#quickshop-modal .modal-header,
#quickshop-modal .modal-header-close-only {
  background: #242424;
  border-bottom: 1px solid #2a2a2a;
  padding: 10px 14px;
  position: relative;
}

/* Línea magenta decorativa */
#quickshop-modal .modal-header::after,
#quickshop-modal .modal-header-close-only::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: #ff007f;
  box-shadow: 0 0 10px rgba(255,0,127,0.5);
}

/* Botón X */
#quickshop-modal .modal-header svg,
#quickshop-modal .modal-header-close-only svg {
  fill: #ff007f;
  color: #ff007f;
}

/* Contenedor del producto */
#quickshop-modal .js-product-item-private,
#quickshop-modal .js-quickshop-container,
#quickshop-modal .js-product-container {
  background: #1c1c1c;
  border: none;
  box-shadow: none;
  padding: 12px;
}

/* Imagen */
#quickshop-modal .quickshop-image-container,
#quickshop-modal .js-product-item-image-container {
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  min-height: 180px;
  box-sizing: border-box;
}

#quickshop-modal .quickshop-image-container::before,
#quickshop-modal .js-product-item-image-container::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: #ff007f;
  box-shadow: 0 0 8px rgba(255,0,127,0.4);
  border-radius: 12px 0 0 12px;
}

#quickshop-modal .quickshop-image-container img,
#quickshop-modal .js-product-item-image-container img {
  max-width: 90%;
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Nombre */
#quickshop-modal .js-item-name,
#quickshop-modal .product-item-name {
  color: #e0e0e0;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  margin: 14px 0 10px;
}

/* Precio */
#quickshop-modal .js-price-display,
#quickshop-modal .product-item-price {
  color: #ff007f;
  font-weight: 900;
  font-size: 26px;
  text-align: center;
  text-shadow: 0 0 12px rgba(255,0,127,0.25);
  animation: qhPriceBreathe 3s ease-in-out infinite;
}

/* Precio tachado */
#quickshop-modal .price-compare { color: #555; text-decoration: line-through; font-size: 12px; }

/* Cuotas */
#quickshop-modal .item-installments,
#quickshop-modal .js-max-installments-container {
  color: #888;
  font-size: 10px;
  text-align: center;
}
#quickshop-modal .item-installments strong { color: #ff007f; }

/* Separadores */
#quickshop-modal .js-price-container,
#quickshop-modal .product-item-price-container {
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
  padding: 10px 0;
  margin: 10px 0;
  text-align: center;
}

/* Select variante */
#quickshop-modal select {
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  color: #ccc;
  padding: 10px 14px;
  width: 100%;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.2s;
}
#quickshop-modal select:focus {
  border-color: #ff007f;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,0,127,0.1);
}

/* Labels */
#quickshop-modal label {
  color: #888;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

/* Cantidad */
#quickshop-modal .js-quantity,
#quickshop-modal .form-quantity {
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

#quickshop-modal input[type="number"] {
  background: transparent;
  border: none;
  border-left: 1px solid #2a2a2a;
  border-right: 1px solid #2a2a2a;
  color: #fff;
  font-weight: 700;
  text-align: center;
  font-size: 14px;
}

#quickshop-modal .js-quantity-up,
#quickshop-modal .js-quantity-down {
  color: #ff007f;
  background: transparent;
  border: none;
  transition: background 0.2s;
}
#quickshop-modal .js-quantity-up:hover,
#quickshop-modal .js-quantity-down:hover { background: rgba(255,0,127,0.1); }
#quickshop-modal .js-quantity-up svg,
#quickshop-modal .js-quantity-down svg { fill: #ff007f; }

/* Botón agregar al carrito */
#quickshop-modal .btn-primary,
#quickshop-modal button[type="submit"] {
  background: #ff007f;
  border: none;
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: 8px;
  padding: 14px 20px;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(255,0,127,0.2);
  margin-top: 12px;
  display: block;
}
#quickshop-modal .btn-primary:hover {
  background: #d11f75;
  box-shadow: 0 0 30px rgba(255,0,127,0.4);
  transform: translateY(-2px);
}

/* Ocultar botón duplicado */
#quickshop-modal .js-addtocart-placeholder,
#quickshop-modal .btn-transition.disabled {
  display: none;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Textos generales */
#quickshop-modal span,
#quickshop-modal div,
#quickshop-modal p { color: #ccc; }
#quickshop-modal a { color: #ff007f; }

/* Form */
#quickshop-modal form,
#quickshop-modal .js-product-form {
  background: #1c1c1c;
  padding: 0 12px 16px;
}

/* Spinner */
#quickshop-modal .icon-spin { fill: #ff007f; }

/* Mobile */
@media (max-width: 767px) {
  #quickshop-modal .modal-body {
    border-radius: 12px 12px 0 0;
    margin: 0;
  }
  #quickshop-modal .js-price-display { font-size: 22px; }
  #quickshop-modal .btn-primary { padding: 12px 16px; font-size: 10px; }

  #quickshop-modal .quickshop-image-container,
  #quickshop-modal .js-product-item-image-container {
    min-height: 140px;
    margin: 10px;
    width: calc(100% - 20px);
    box-sizing: border-box;
  }
}


/*============================================================================
  #CART MODAL (panel lateral)
==============================================================================*/

#modal-cart .modal-body,
#modal-cart .modal-content {
  background: #1c1c1c;
}

#modal-cart .modal-header {
  background: linear-gradient(180deg, #242424 0%, #1c1c1c 100%);
  border-bottom: 1px solid #2a2a2a;
  padding: 18px 20px 16px;
  position: relative;
}

#modal-cart .modal-header::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 2px;
  background: #ff007f;
  box-shadow: 0 0 10px rgba(255,0,127,0.5);
}

#modal-cart .modal-header h2,
#modal-cart .modal-header .modal-title {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
}

#modal-cart .js-modal-close svg,
#modal-cart .modal-close svg { fill: #ff007f; }

/* Items */
#modal-cart .js-cart-item {
  background: #222;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

#modal-cart .js-cart-item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: #ff007f;
  box-shadow: 0 0 8px rgba(255,0,127,0.4);
  opacity: 0;
  transition: opacity 0.3s;
}
#modal-cart .js-cart-item:hover::before { opacity: 1; }

#modal-cart .cart-item-image-container {
  background: #181818;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  overflow: hidden;
}

#modal-cart a.cart-item-name {
  color: #e0e0e0;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
}
#modal-cart a.cart-item-name:hover { color: #ff007f; }

#modal-cart .cart-item-variant {
  color: #555;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#modal-cart .js-cart-item-subtotal {
  color: #ff007f;
  font-weight: 800;
  font-size: 15px;
}

#modal-cart .cart-item-delete .btn-link,
#modal-cart .cart-item-delete-button {
  color: #444;
  font-size: 11px;
  text-decoration: none;
  transition: color 0.2s;
  background: transparent;
}
#modal-cart .cart-item-delete .btn-link:hover,
#modal-cart .cart-item-delete-button:hover { color: #f44; }

/* Cantidad */
#modal-cart .js-quantity { background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 8px; overflow: hidden; }
#modal-cart .js-cart-quantity-input { background: transparent; color: #fff; border: none; border-left: 1px solid #2a2a2a; border-right: 1px solid #2a2a2a; font-weight: 700; text-align: center; }
#modal-cart .js-cart-quantity-btn { color: #ff007f; background: transparent; transition: background 0.2s; }
#modal-cart .js-cart-quantity-btn:hover { background: rgba(255,0,127,0.1); }
#modal-cart .js-cart-quantity-btn svg { fill: #ff007f; }

/* Etiqueta envío gratis */
#modal-cart .cart-item-label { color: #ff007f; font-size: 10px; background: rgba(255,0,127,0.08); border: 1px solid rgba(255,0,127,0.15); border-radius: 4px; padding: 2px 7px; }

/* Totales */
#modal-cart .cart-row { background: #1c1c1c; border-top: 1px solid #2a2a2a; padding: 14px 16px; }
#modal-cart .js-cart-total { color: #ff007f; font-weight: 900; font-size: 22px; text-shadow: 0 0 10px rgba(255,0,127,0.3); }
#modal-cart .font-big { color: #888; font-size: 12px; }

/* Alerta vacío */
#modal-cart .alert-info {
  background: rgba(255,0,127,0.05);
  border: 1px solid rgba(255,0,127,0.15);
  color: #888;
  border-radius: 10px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  padding: 30px 20px;
}

/* Botón checkout */
#modal-cart input[type="submit"].btn-primary,
#modal-cart .btn.btn-primary.btn-big {
  background: #ff007f;
  border: none;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: 8px;
  padding: 14px 20px;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(255,0,127,0.2);
  margin-bottom: 8px;
}
#modal-cart input[type="submit"].btn-primary:hover,
#modal-cart .btn.btn-primary.btn-big:hover {
  background: #d11f75;
  box-shadow: 0 0 30px rgba(255,0,127,0.4);
  transform: translateY(-2px);
}

#modal-cart .btn-link {
  color: #555;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  text-align: center;
  transition: color 0.2s;
}
#modal-cart .btn-link:hover { color: #ff007f; }

/* Textos generales */
#modal-cart span,
#modal-cart div,
#modal-cart p,
#modal-cart label { color: #ccc; }
#modal-cart a.cart-item-name { color: #e0e0e0; }
#modal-cart .cart-item-variant { color: #555; }
#modal-cart .js-cart-item-subtotal,
#modal-cart .text-accent,
#modal-cart .cart-item-label { color: #ff007f; }
#modal-cart .icon-spin { fill: #ff007f; }

@media (max-width: 767px) {
  #modal-cart .modal-body { border-radius: 12px 12px 0 0; }
  #modal-cart .js-cart-total { font-size: 20px; }
}


/*============================================================================
  #CUOTAS EN PÁGINA DE PRODUCTO
==============================================================================*/

.js-product-payments-container {
  background: linear-gradient(135deg, #1a1a1a 0%, #1e1e1e 100%);
  border: 1px solid #2a2a2a;
  border-left: 3px solid #ff007f;
  border-radius: 10px;
  padding: 14px 40px 14px 16px;
  margin: 16px 0;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s;
}

.js-product-payments-container:hover {
  box-shadow: 0 0 16px rgba(255,0,127,0.1);
}

.js-product-payments-container .js-max-installments,
.js-product-payments-container .item-installments {
  color: #e0e0e0;
  font-size: 13px;
  font-weight: 600;
  display: block;
  text-align: left;
}
.js-product-payments-container .js-max-installments strong,
.js-product-payments-container .item-installments strong {
  color: #ff007f;
  font-weight: 900;
  font-size: 15px;
}

#btn-installments {
  color: #888;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  margin-top: 6px;
  transition: color 0.2s;
}
#btn-installments:hover { color: #ff007f; }
