
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Protest+Strike&display=swap');

/* =========================================================
   MODULAR BONITO 1.4.2 · CARRITO Y CONFIANZA
   Capa visual. No modifica eventos, formularios ni validaciones.
   ========================================================= */

/* ---------- Popup nativo de producto añadido ---------- */
html.ubd-product-ready body#product #blockcart-modal {
  padding: 12px !important;
}
html.ubd-product-ready body#product #blockcart-modal .modal-dialog {
  width: min(1120px, calc(100vw - 32px)) !important;
  max-width: 1120px !important;
  margin: 7vh auto !important;
}
html.ubd-product-ready body#product #blockcart-modal .modal-content {
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 30px !important;
  background: #fff !important;
  box-shadow: 0 30px 90px rgba(24,51,58,.28) !important;
}
html.ubd-product-ready body#product #blockcart-modal .modal-header {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 76px !important;
  padding: 18px 64px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(24,51,58,.08) !important;
  background: #FBF8F3 !important;
}
html.ubd-product-ready body#product #blockcart-modal .modal-title {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 11px !important;
  margin: 0 !important;
  color: var(--ubd-ink) !important;
  font-family: "Protest Strike", Impact, sans-serif !important;
  font-size: clamp(25px,3vw,38px) !important;
  font-weight: 400 !important;
  line-height: .95 !important;
  letter-spacing: .01em !important;
  text-align: center !important;
  text-transform: uppercase !important;
}
html.ubd-product-ready body#product #blockcart-modal .modal-title i {
  display: grid !important;
  place-items: center !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 12px !important;
  background: var(--ubd-green) !important;
  color: #fff !important;
  font-size: 24px !important;
}
html.ubd-product-ready body#product #blockcart-modal .close {
  position: absolute !important;
  top: 16px !important;
  right: 18px !important;
  display: grid !important;
  place-items: center !important;
  width: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--ubd-ink) !important;
  box-shadow: 0 8px 20px rgba(24,51,58,.10) !important;
  opacity: 1 !important;
  font-size: 28px !important;
  line-height: 1 !important;
}
html.ubd-product-ready body#product #blockcart-modal .modal-body {
  padding: 18px !important;
  background: #fff !important;
}
html.ubd-product-ready body#product #blockcart-modal .modal-body > .row {
  display: grid !important;
  grid-template-columns: minmax(0,1.16fr) minmax(310px,.84fr) !important;
  gap: 16px !important;
  margin: 0 !important;
}
html.ubd-product-ready body#product #blockcart-modal .divide-right,
html.ubd-product-ready body#product #blockcart-modal .tv-addtocart-content {
  width: 100% !important;
  max-width: none !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 18px !important;
  border: 1px solid rgba(24,51,58,.08) !important;
  border-radius: 22px !important;
  background: #FBF8F3 !important;
}
html.ubd-product-ready body#product #blockcart-modal .tv-addtocart-content {
  background: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(93,160,132,.18) !important;
}
html.ubd-product-ready body#product #blockcart-modal .tv-addtocart-image-name-wrapper {
  display: grid !important;
  grid-template-columns: 168px minmax(0,1fr) !important;
  align-items: center !important;
  gap: 20px !important;
  margin: 0 !important;
}
html.ubd-product-ready body#product #blockcart-modal .tv-addtocart-product-image,
html.ubd-product-ready body#product #blockcart-modal .tv-addtocart-product-name {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}
html.ubd-product-ready body#product #blockcart-modal .product-image {
  display: block !important;
  width: 100% !important;
  max-width: 168px !important;
  height: 168px !important;
  margin: 0 auto !important;
  padding: 10px !important;
  border-radius: 20px !important;
  background: #fff !important;
  object-fit: contain !important;
  box-shadow: 0 12px 28px rgba(24,51,58,.10) !important;
}
html.ubd-product-ready body#product #blockcart-modal .product-name {
  margin: 0 0 8px !important;
  color: var(--ubd-ink) !important;
  font-family: "Protest Strike",Impact,sans-serif !important;
  font-size: clamp(25px,3vw,38px) !important;
  font-weight: 400 !important;
  line-height: .94 !important;
  text-transform: uppercase !important;
}
html.ubd-product-ready body#product #blockcart-modal .tv-addtocart-price,
html.ubd-product-ready body#product #blockcart-modal .product-price {
  margin: 4px 0 10px !important;
  color: var(--ubd-orange) !important;
  font-size: 26px !important;
  font-weight: 900 !important;
}
html.ubd-product-ready body#product #blockcart-modal .tv-addtocart-product-name span,
html.ubd-product-ready body#product #blockcart-modal .tv-addtocart-product-name p {
  color: var(--ubd-muted) !important;
  font-family: Manrope,Arial,sans-serif !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}
html.ubd-product-ready body#product #blockcart-modal .cart-content {
  display: grid !important;
  align-content: center !important;
  gap: 7px !important;
  height: 100% !important;
}
html.ubd-product-ready body#product #blockcart-modal .cart-content p {
  margin: 0 !important;
  padding: 9px 11px !important;
  border-radius: 12px !important;
  background: var(--ubd-paper) !important;
  color: var(--ubd-muted) !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}
html.ubd-product-ready body#product #blockcart-modal .cart-content p strong {
  color: var(--ubd-ink) !important;
  font-weight: 900 !important;
}
html.ubd-product-ready body#product #blockcart-modal .cart-products-count {
  background: rgba(239,194,94,.27) !important;
  color: var(--ubd-ink) !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}
html.ubd-product-ready body#product #blockcart-modal .cart-content-btn {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 9px !important;
  margin-top: 8px !important;
  padding: 0 !important;
  background: transparent !important;
}
html.ubd-product-ready body#product #blockcart-modal .cart-content-btn .tvall-inner-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  width: 100% !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 10px 13px !important;
  border: 0 !important;
  border-radius: 15px !important;
  background: var(--ubd-paper) !important;
  color: var(--ubd-ink) !important;
  box-shadow: none !important;
  font-family: Manrope,Arial,sans-serif !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .04em !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
}
html.ubd-product-ready body#product #blockcart-modal .cart-content-btn a.tvall-inner-btn {
  background: var(--ubd-teal) !important;
  color: #fff !important;
  box-shadow: 0 12px 25px rgba(93,160,132,.22) !important;
}
html.ubd-product-ready body#product #blockcart-modal .cart-content-btn .tvall-inner-btn:hover {
  transform: translateY(-1px) !important;
}

/* ---------- Puntos, Kueski y PayPal como fichas landing ---------- */
html.ubd-product-ready body#product .ubd-commerce-trust {
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 28px 0 10px !important;
}
html.ubd-product-ready body#product .ubd-commerce-trust-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-width: 0 !important;
  min-height: 170px !important;
  padding: 17px !important;
  overflow: hidden !important;
  border: 1px solid rgba(24,51,58,.08) !important;
  border-radius: 21px !important;
  background: #fff !important;
  box-shadow: 0 14px 34px rgba(24,51,58,.08) !important;
}
html.ubd-product-ready body#product .ubd-commerce-trust-points { background: rgba(239,194,94,.18) !important; }
html.ubd-product-ready body#product .ubd-commerce-trust-kueski { background: rgba(93,160,132,.13) !important; }
html.ubd-product-ready body#product .ubd-commerce-trust-payments { background: rgba(231,130,82,.12) !important; }
html.ubd-product-ready body#product .ubd-commerce-trust-label {
  margin: 0 0 12px !important;
  color: var(--ubd-ink) !important;
  font-family: "Protest Strike",Impact,sans-serif !important;
  font-size: 23px !important;
  font-weight: 400 !important;
  line-height: .95 !important;
  text-align: center !important;
  text-transform: uppercase !important;
}
html.ubd-product-ready body#product .ubd-commerce-trust #loyalty_product_wrapper,
html.ubd-product-ready body#product .ubd-commerce-trust #ps_checkout-payment-method-logo-block-container,
html.ubd-product-ready body#product .ubd-commerce-trust .row,
html.ubd-product-ready body#product .ubd-commerce-trust .col-md-12 {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html.ubd-product-ready body#product .ubd-commerce-trust .loyalty-card-modern {
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html.ubd-product-ready body#product .ubd-commerce-trust .loyalty-icon-container {
  flex: 0 0 48px !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 15px !important;
}
html.ubd-product-ready body#product .ubd-commerce-trust .loyalty-main-msg,
html.ubd-product-ready body#product .ubd-commerce-trust .loyalty-sub-msg {
  margin: 0 !important;
  color: var(--ubd-muted) !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}
html.ubd-product-ready body#product .ubd-commerce-trust .loyalty-main-msg {
  color: var(--ubd-ink) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}
html.ubd-product-ready body#product .ubd-commerce-trust kueskipay-widget {
  display: block !important;
  width: 100% !important;
  --kp-text-align: center;
  --kp-padding-y: 4;
}
html.ubd-product-ready body#product .ubd-commerce-trust #ps_checkout-payment-method-logo-block-container {
  display: grid !important;
  place-items: center !important;
}
html.ubd-product-ready body#product .ubd-commerce-trust #ps_checkout-payment-method-logo-block-title {
  margin: 0 0 10px !important;
  color: var(--ubd-muted) !important;
  font-size: 12px !important;
  text-align: center !important;
}
html.ubd-product-ready body#product .ubd-commerce-trust #ps_checkout-payment-method-logos-container {
  justify-content: center !important;
  gap: 4px !important;
}

@media (max-width: 799px) {
  html.ubd-product-ready body#product #blockcart-modal {
    padding: 8px !important;
  }
  html.ubd-product-ready body#product #blockcart-modal .modal-dialog {
    width: calc(100vw - 16px) !important;
    margin: 12px auto 76px !important;
  }
  html.ubd-product-ready body#product #blockcart-modal .modal-content {
    max-height: calc(100vh - 94px) !important;
    overflow-y: auto !important;
    border-radius: 24px !important;
  }
  html.ubd-product-ready body#product #blockcart-modal .modal-header {
    min-height: 66px !important;
    padding: 15px 52px 15px 16px !important;
  }
  html.ubd-product-ready body#product #blockcart-modal .modal-title {
    justify-content: flex-start !important;
    font-size: 23px !important;
    text-align: left !important;
  }
  html.ubd-product-ready body#product #blockcart-modal .modal-title i {
    width: 34px !important;
    height: 34px !important;
    font-size: 21px !important;
  }
  html.ubd-product-ready body#product #blockcart-modal .close {
    top: 12px !important;
    right: 12px !important;
    width: 38px !important;
    height: 38px !important;
  }
  html.ubd-product-ready body#product #blockcart-modal .modal-body {
    padding: 10px !important;
  }
  html.ubd-product-ready body#product #blockcart-modal .modal-body > .row {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }
  html.ubd-product-ready body#product #blockcart-modal .divide-right,
  html.ubd-product-ready body#product #blockcart-modal .tv-addtocart-content {
    padding: 13px !important;
    border-radius: 18px !important;
  }
  html.ubd-product-ready body#product #blockcart-modal .tv-addtocart-image-name-wrapper {
    grid-template-columns: 94px minmax(0,1fr) !important;
    gap: 12px !important;
  }
  html.ubd-product-ready body#product #blockcart-modal .product-image {
    width: 94px !important;
    height: 94px !important;
    padding: 6px !important;
    border-radius: 15px !important;
  }
  html.ubd-product-ready body#product #blockcart-modal .product-name {
    font-size: 23px !important;
  }
  html.ubd-product-ready body#product #blockcart-modal .tv-addtocart-price,
  html.ubd-product-ready body#product #blockcart-modal .product-price {
    font-size: 20px !important;
  }
  html.ubd-product-ready body#product #blockcart-modal .cart-content p {
    padding: 7px 9px !important;
    font-size: 11px !important;
  }
  html.ubd-product-ready body#product #blockcart-modal .cart-content-btn {
    grid-template-columns: 1fr !important;
  }
  html.ubd-product-ready body#product .ubd-commerce-trust {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
    margin-top: 20px !important;
  }
  html.ubd-product-ready body#product .ubd-commerce-trust-card {
    min-height: 0 !important;
    padding: 15px !important;
    border-radius: 18px !important;
  }
  html.ubd-product-ready body#product .ubd-commerce-trust-label {
    margin-bottom: 9px !important;
    font-size: 21px !important;
  }
}
