/* ═══════════════════════════════════════════════════
   Holy Haus — Custom CSS (unified)
   Todo el CSS custom en un solo archivo via FTP.
   ═══════════════════════════════════════════════════ */


/* ═══ TOCHOS — MATERIAL ALERT ═══ */

.hh-tochos-alert {
  background: #DC2626;
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.hh-tochos-alert strong {
  font-weight: 700;
}

.hh-tochos-alert-icon {
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}


/* ═══ PRODUCT GRID / CARDS ═══ */

.js-item-product .item {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow .2s ease, transform .2s ease;
}

.js-item-product .item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  transform: translateY(-2px);
}

.product-item-image-container {
  border-radius: 14px;
  overflow: hidden;
}

/* ═══ GRID BUTTONS — Unified ═══ */
.js-item-product .js-quickshop-modal-open,
.js-item-product .js-addtocart.js-prod-submit-form,
.js-item-product .btn-add-to-cart {
  background: #5371FF !important;
  border-color: #5371FF !important;
  color: #fff !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 10px 16px !important;
  height: auto !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
}

.js-item-product .js-quickshop-modal-open:hover,
.js-item-product .js-addtocart.js-prod-submit-form:hover,
.js-item-product .btn-add-to-cart:hover {
  background: #3a52cc !important;
  border-color: #3a52cc !important;
}

.item-price.js-price-display {
  font-size: 18px !important;
}

.js-item-product .js-payment-discount-price-product {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #16a34a !important;
}

.js-item-product .js-payment-discount-price-product-container {
  font-size: 11px !important;
  font-weight: 400 !important;
}

.labels-absolute {
  top: 8px !important;
  left: 8px !important;
}

.js-free-shipping-minimum-label {
  padding: 3px 8px !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  letter-spacing: .5px !important;
  text-transform: uppercase !important;
  border-radius: 6px !important;
}

.label.label-accent, .label.label-default {
  border-radius: 4px !important;
}


/* ═══ BANNERS ═══ */

.js-banner-row .js-textbanner-image-container {
  border-radius: 14px;
  overflow: hidden;
}

.js-banner-row .js-textbanner-image,
.js-banner-row .placeholder-banner,
.js-banner-row .js-textbanner-text,
.js-banner-row .overlay {
  border-radius: inherit;
}

.js-banner-row .js-textbanner-image {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: center;
}


/* ═══ PRODUCT PAGE — HEADER ═══ */

/* Product title inside price container — ExtraBold uppercase */
.hh-product-title-inside {
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  color: #111 !important;
  margin-bottom: 14px !important;
  margin-top: 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

/* Reviews — sutil */
.price-container .js-product-reviews-summary {
  font-size: 13px !important;
  color: #666 !important;
  margin-bottom: 6px !important;
}

.breadcrumbs {
  font-size: 13px !important;
  color: #666 !important;
  margin-bottom: 6px !important;
}

.breadcrumbs a {
  color: #666 !important;
}

.js-product-name, .page-header h1 {
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #111 !important;
  margin-bottom: 8px !important;
}

.page-header {
  margin-bottom: 0 !important;
}


/* ═══ PRODUCT PAGE — PRICE CONTAINER ═══ */

.price-container {
  background: #f8f9fa;
  padding: 12px 18px !important;
  border-radius: 14px !important;
  margin-bottom: 6px !important;
}

/* Precio — Medium 24px */
.price-container .js-price-display {
  font-size: 24px !important;
  font-weight: 500 !important;
  color: #111 !important;
  letter-spacing: -.3px !important;
}

.price-container .js-price-container.mb-3 {
  margin-bottom: 6px !important;
}

.label-offer-percentage {
  background: #dcfce7 !important;
  color: #16a34a !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  margin-left: 8px !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.price-compare {
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #999 !important;
}

/* Transferencia — terciario verde */
.price-container .js-payment-discount-price-product {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #16a34a !important;
}

.price-container .js-payment-discount-price-product-container {
  font-size: 13px !important;
  color: #555 !important;
  margin-top: 8px !important;
}

.js-product-payments-container > .col-12 {
  padding-left: 0 !important;
}

/* Cuotas — secundario */
.price-container .js-max-installments {
  font-size: 13px !important;
  color: #555 !important;
  font-weight: 400 !important;
  margin-bottom: 0 !important;
}

.price-container .js-installment-amount,
.price-container .js-installment-price {
  font-weight: 600 !important;
}

/* Descuento % — pequeño */
.price-container .js-product-discount-container {
  font-size: 12px !important;
  color: #16a34a !important;
  font-weight: 500 !important;
}

/* GOcuotas — sutil */
.price-container .gocuotas-info-container-cart {
  font-size: 13px !important;
  padding-bottom: 8px !important;
}

/* ═══ SEPARADORES ═══ */

/* Separador después de cuotas */
.js-price-container .mt-1.mb-2 {
  padding-bottom: 12px !important;
  margin-bottom: 12px !important;
  border-bottom: 1px solid #e5e7eb !important;
}

/* Separador después de descuento transferencia */
.price-container .js-product-discount-container {
  padding-bottom: 12px !important;
  margin-bottom: 12px !important;
  border-bottom: 1px solid #e5e7eb !important;
}

/* Envío gratis — separador arriba */
.price-container .free-shipping-message {
  padding-top: 10px !important;
  margin-top: 10px !important;
  border-top: 1px solid #e5e7eb !important;
  margin-bottom: 0 !important;
  font-size: 13px !important;
  color: #16a34a !important;
  font-weight: 500 !important;
}


/* ═══ PRODUCT PAGE — FORM (Color, Quantity, CTA) ═══ */

.js-product-form {
  padding-top: 12px !important;
  margin-top: 10px !important;
}

.js-product-form .variant-label {
  font-size: 13px !important;
  color: #555 !important;
}

.js-product-form .js-product-variants.mb-2 {
  margin-bottom: 4px !important;
}

.js-product-form .row.no-gutters.mb-4 {
  margin-bottom: 8px !important;
}

.js-product-form .col-8, .js-product-form .col-md-9 {
  padding-left: 12px !important;
}

.js-product-form .btn-add-to-cart {
  background: #5371FF !important;
  border-color: #5371FF !important;
  border-radius: 15px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  height: 48px !important;
}

.js-product-form .btn-add-to-cart:hover {
  background: #3a52cc !important;
  border-color: #3a52cc !important;
}

.js-quantity {
  border-radius: 10px !important;
  border: 1px solid #e5e7eb !important;
}


/* ═══ PRODUCT PAGE — TRUST BADGES ═══ */

.hh-trust-section {
  margin-top: 4px !important;
}

.hh-trust-badges {
  gap: 6px !important;
  margin-bottom: 8px !important;
}


/* ═══ PRODUCT PAGE — INTEGRATIONS ═══ */

/* GOcuotas: prepend "3" */
.gocuotas-info-container-cart span::before {
  content: "3 ";
}


/* ═══ PRODUCT PAGE — MOBILE ═══ */

@media (max-width: 767px) {
  .product-thumb {
    height: 80px !important;
    width: 80px !important;
  }
}


/* ═══ PRODUCT DESCRIPTION — MOBILE ═══ */

@media only screen and (max-width: 768px) {
  .hh-desc .hh-two-col, .hh-desc .hh-three-col {
    display: block;
  }

  .hh-desc .hh-pad-lg, .hh-desc .hh-pad-md, .hh-desc .hh-pad-cta, .hh-desc .hh-faq-pad {
    padding: 32px 20px;
  }

  .hh-desc .hh-title-product {
    font-size: 34px;
    line-height: 40px;
  }

  .hh-desc .hh-title-section {
    font-size: 26px;
    line-height: 32px;
    margin-bottom: 28px;
  }

  .hh-desc .hh-body {
    margin: 0 0 24px 0;
  }

  .hh-desc .hh-body-inline, .hh-desc .hh-body-no-margin {
    margin: 0;
  }

  .hh-desc .hh-dim-item {
    padding: 14px 8px;
  }

  .hh-desc .hh-dim-number {
    font-size: 26px;
  }

  .hh-desc .hh-dim-number span {
    font-size: 13px;
  }

  .hh-desc .hh-img-contain {
    min-height: auto;
    height: auto;
    padding: 20px;
  }

  .hh-desc .hh-img-cover {
    min-height: auto;
    height: auto;
  }

  .hh-desc .hh-showcase-img {
    height: auto;
    min-height: auto;
  }

  .hh-desc .hh-trust-wrap, .hh-desc .hh-cta-wrap {
    margin: 24px 16px;
  }

  .hh-desc .hh-trust-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    padding: 24px 20px;
  }

  .hh-desc .hh-trust-item:last-child {
    border-bottom: none;
  }

  .hh-desc .hh-btn {
    padding: 14px 28px;
    max-width: none;
  }

  .hh-desc .hh-video-col {
    padding: 32px 20px;
  }

  .hh-desc .hh-video-col iframe {
    width: 260px;
    height: 462px;
  }
}
