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

/* =========================================================
   MODULAR BONITO 1.4.1 · ACABADO VISUAL DE PRODUCTO
   Capa exclusivamente visual. No modifica eventos ni valores.
   ========================================================= */

/* ---------- Personalización nativa, sin degradados ---------- */
html.ubd-product-ready body#product .product-variants {
  display:grid !important;
  gap:10px !important;
  width:100% !important;
  margin:14px 0 18px !important;
}
html.ubd-product-ready body#product .product-variants-item {
  display:grid !important;
  grid-template-columns:minmax(150px,.42fr) minmax(0,1fr) !important;
  align-items:center !important;
  gap:14px !important;
  width:100% !important;
  min-height:72px !important;
  margin:0 !important;
  padding:12px 14px !important;
  border:1px solid rgba(24,51,58,.10) !important;
  border-left:5px solid var(--ubd-orange) !important;
  border-radius:17px !important;
  background:#F3B36F !important;
  background-image:none !important;
  box-shadow:0 10px 24px rgba(24,51,58,.07) !important;
}
html.ubd-product-ready body#product .product-variants-item:nth-child(3n + 2) {
  border-left-color:var(--ubd-teal) !important;
  background:#B8D58D !important;
}
html.ubd-product-ready body#product .product-variants-item:nth-child(3n + 3) {
  border-left-color:var(--ubd-coral) !important;
  background:#F2A17B !important;
}
html.ubd-product-ready body#product .product-variants-item .control-label {
  margin:0 !important;
  color:var(--ubd-ink) !important;
  font-family:Manrope,Arial,sans-serif !important;
  font-size:13px !important;
  font-weight:900 !important;
  line-height:1.25 !important;
  letter-spacing:.06em !important;
  text-transform:uppercase !important;
}
html.ubd-product-ready body#product .product-variants-item select,
html.ubd-product-ready body#product .product-variants-item .form-control-select,
html.ubd-product-ready body#product .product-variants-item input[type="text"] {
  width:100% !important;
  min-height:48px !important;
  margin:0 !important;
  padding:10px 14px !important;
  border:1px solid rgba(24,51,58,.13) !important;
  border-radius:13px !important;
  background:#fff !important;
  background-image:none !important;
  color:var(--ubd-ink) !important;
  box-shadow:0 5px 14px rgba(24,51,58,.07) !important;
  font-size:14px !important;
}

/* ---------- ETS Extra Options: tarjetas iguales, un solo tono ---------- */
html.ubd-product-ready body#product .block-product-attribute-custom {
  padding:18px !important;
  border:1px solid rgba(24,51,58,.09) !important;
  border-radius:22px !important;
  background:#fff !important;
  box-shadow:0 14px 34px rgba(24,51,58,.07) !important;
}
html.ubd-product-ready body#product .block-product-attribute-custom .form-group > h4,
html.ubd-product-ready body#product .block-product-attribute-custom h4 {
  margin:0 0 16px !important;
  color:var(--ubd-ink) !important;
  font-family:"Protest Strike",Impact,sans-serif !important;
  font-size:clamp(28px,5vw,42px) !important;
  font-weight:400 !important;
  line-height:.95 !important;
  text-align:center !important;
  text-transform:uppercase !important;
}
html.ubd-product-ready body#product .block-product-attribute-custom .from-group-option {
  align-items:stretch !important;
  gap:12px !important;
  margin-bottom:20px !important;
}
html.ubd-product-ready body#product .block-product-attribute-custom .from-group-option > h5 {
  margin:2px 0 4px !important;
  padding:9px 12px !important;
  border-radius:12px !important;
  background:var(--ubd-paper) !important;
  color:var(--ubd-ink) !important;
  font-size:13px !important;
  font-weight:900 !important;
  letter-spacing:.03em !important;
  text-align:center !important;
}
html.ubd-product-ready body#product .block-product-attribute-custom .radio,
html.ubd-product-ready body#product .block-product-attribute-custom .checkbox {
  display:flex !important;
  align-self:stretch !important;
  width:100% !important;
  height:174px !important;
  min-height:174px !important;
  margin:0 !important;
  padding:0 !important;
}
html.ubd-product-ready body#product .block-product-attribute-custom label.control-label {
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  justify-content:center !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  margin:0 !important;
  padding:12px !important;
  overflow:hidden !important;
  border:1px solid rgba(24,51,58,.12) !important;
  border-radius:17px !important;
  background:var(--ubd-paper) !important;
  background-image:none !important;
  box-shadow:none !important;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease !important;
}
html.ubd-product-ready body#product .block-product-attribute-custom label.control-label:hover {
  border-color:rgba(93,160,132,.55) !important;
  box-shadow:0 10px 22px rgba(24,51,58,.08) !important;
  transform:translateY(-1px) !important;
}
html.ubd-product-ready body#product .block-product-attribute-custom label.control-label:has(input:checked) {
  border-color:var(--ubd-teal) !important;
  box-shadow:0 0 0 3px rgba(93,160,132,.15) !important;
}
html.ubd-product-ready body#product .block-product-attribute-custom label.control-label > div:first-child {
  flex:1 1 auto !important;
  justify-content:center !important;
  gap:8px !important;
  min-height:0 !important;
}
html.ubd-product-ready body#product .block-product-attribute-custom img.ets_zoom_img {
  width:66px !important;
  min-width:66px !important;
  height:66px !important;
  max-height:66px !important;
  object-fit:contain !important;
}
html.ubd-product-ready body#product .block-product-attribute-custom .attr-text {
  display:-webkit-box !important;
  min-height:38px !important;
  max-height:42px !important;
  overflow:hidden !important;
  color:var(--ubd-ink) !important;
  font-size:12px !important;
  font-weight:900 !important;
  line-height:1.35 !important;
  text-align:center !important;
  text-transform:uppercase !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
}
html.ubd-product-ready body#product .block-product-attribute-custom .product-discount {
  min-height:18px !important;
  color:var(--ubd-coral) !important;
  font-size:11px !important;
  font-weight:800 !important;
}
html.ubd-product-ready body#product .block-product-attribute-custom .ets_attr_desc_small {
  display:none !important;
}

/* ---------- Cantidad completamente alineada ---------- */
html.ubd-product-ready body#product .product-quantity,
html.ubd-product-ready.ubd-catalog-simple body#product .product-quantity {
  display:flex !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:center !important;
  gap:14px !important;
  width:100% !important;
  margin:22px 0 12px !important;
}
html.ubd-product-ready body#product .product-quantity > .control-label,
html.ubd-product-ready.ubd-catalog-simple body#product .product-quantity > .control-label {
  display:flex !important;
  align-items:center !important;
  min-height:56px !important;
  margin:0 !important;
  color:var(--ubd-ink) !important;
  font-size:13px !important;
  font-weight:900 !important;
  letter-spacing:.06em !important;
  line-height:1 !important;
  text-transform:uppercase !important;
}
html.ubd-product-ready body#product .product-quantity .qty,
html.ubd-product-ready.ubd-catalog-simple body#product .product-quantity .qty {
  flex:0 0 142px !important;
  width:142px !important;
  height:56px !important;
  margin:0 !important;
}
html.ubd-product-ready body#product .product-quantity .bootstrap-touchspin,
html.ubd-product-ready.ubd-catalog-simple body#product .product-quantity .bootstrap-touchspin {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 46px !important;
  grid-template-rows:28px 28px !important;
  width:142px !important;
  height:56px !important;
  margin:0 !important;
  overflow:hidden !important;
  border:1px solid rgba(24,51,58,.13) !important;
  border-radius:15px !important;
  background:#fff !important;
  box-shadow:0 8px 20px rgba(24,51,58,.08) !important;
}
html.ubd-product-ready body#product .product-quantity #quantity_wanted,
html.ubd-product-ready.ubd-catalog-simple body#product .product-quantity #quantity_wanted {
  grid-column:1 !important;
  grid-row:1 / 3 !important;
  width:100% !important;
  height:56px !important;
  min-height:56px !important;
  margin:0 !important;
  padding:0 8px !important;
  border:0 !important;
  border-right:1px solid rgba(24,51,58,.10) !important;
  border-radius:0 !important;
  background:#fff !important;
  box-shadow:none !important;
  color:var(--ubd-ink) !important;
  font-size:18px !important;
  font-weight:800 !important;
  line-height:56px !important;
  text-align:center !important;
}
html.ubd-product-ready body#product .product-quantity .input-group-btn-vertical,
html.ubd-product-ready.ubd-catalog-simple body#product .product-quantity .input-group-btn-vertical {
  position:static !important;
  inset:auto !important;
  grid-column:2 !important;
  grid-row:1 / 3 !important;
  display:grid !important;
  grid-template-rows:1fr 1fr !important;
  width:46px !important;
  height:56px !important;
}
html.ubd-product-ready body#product .product-quantity .btn-touchspin,
html.ubd-product-ready.ubd-catalog-simple body#product .product-quantity .btn-touchspin {
  position:static !important;
  display:grid !important;
  place-items:center !important;
  width:46px !important;
  height:28px !important;
  min-height:28px !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:var(--ubd-paper) !important;
  box-shadow:none !important;
  color:var(--ubd-ink) !important;
}
html.ubd-product-ready body#product .product-quantity .btn-touchspin:first-child {
  border-bottom:1px solid rgba(24,51,58,.10) !important;
}
html.ubd-product-ready body#product .product-quantity .btn-touchspin:hover {
  background:var(--ubd-yellow) !important;
}

/* ---------- Separación del bloque seguro PayPal ---------- */
html.ubd-product-ready body#product #ps_checkout-payment-method-logo-block-container {
  width:100% !important;
  margin:24px 0 0 !important;
  padding:20px 12px 4px !important;
  border-top:1px solid rgba(24,51,58,.10) !important;
}
html.ubd-product-ready body#product #ps_checkout-payment-method-logo-block-title {
  margin-bottom:10px !important;
  color:var(--ubd-muted) !important;
}

/* ---------- Modal nativo de imágenes: 70% y fondo blanco ---------- */
html.ubd-product-ready body#product .tvcmsVerticalSlider img,
html.ubd-product-ready body#product .product-cover .js-qv-product-cover {
  cursor:zoom-in !important;
}
html.ubd-product-ready body#product #product-modal .modal-dialog {
  width:70vw !important;
  max-width:1100px !important;
  margin:5vh auto !important;
}
html.ubd-product-ready body#product #product-modal .modal-content {
  overflow:hidden !important;
  border:0 !important;
  border-radius:24px !important;
  background:#fff !important;
  box-shadow:0 28px 80px rgba(24,51,58,.28) !important;
}
html.ubd-product-ready body#product #product-modal .modal-body,
html.ubd-product-ready body#product #product-modal .modal-content {
  background:#fff !important;
}
html.ubd-product-ready body#product #product-modal .modal-body {
  padding:18px !important;
}
html.ubd-product-ready body#product #product-modal .product-cover-modal,
html.ubd-product-ready body#product #product-modal .js-modal-product-cover {
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  max-height:76vh !important;
  margin:auto !important;
  object-fit:contain !important;
}
html.ubd-product-ready body#product #product-modal .modal-content .modal-close,
html.ubd-product-ready body#product #product-modal .close {
  z-index:4 !important;
  width:42px !important;
  height:42px !important;
  border-radius:999px !important;
  background:var(--ubd-paper) !important;
  color:var(--ubd-ink) !important;
}

/* ---------- Descripción inferior ---------- */
html.ubd-product-ready body#product .tvproduct-description-tab {
  margin-top:26px !important;
  border:0 !important;
  border-radius:24px !important;
  background:#fff !important;
  box-shadow:0 18px 48px rgba(24,51,58,.09) !important;
}
html.ubd-product-ready body#product .tvproduct-description-tab .nav-tabs {
  gap:8px !important;
  padding:12px !important;
  background:var(--ubd-paper) !important;
}
html.ubd-product-ready body#product .tvproduct-description-tab .nav-link {
  min-height:44px !important;
  padding:10px 16px !important;
  border:1px solid rgba(24,51,58,.08) !important;
  border-radius:14px !important;
  background:#fff !important;
  color:var(--ubd-ink) !important;
  font-family:Manrope,Arial,sans-serif !important;
  font-size:12px !important;
  font-weight:900 !important;
  letter-spacing:.04em !important;
  text-transform:uppercase !important;
}
html.ubd-product-ready body#product .tvproduct-description-tab .nav-link.active {
  border-color:transparent !important;
  background:var(--ubd-teal) !important;
  color:#fff !important;
  box-shadow:0 9px 20px rgba(93,160,132,.22) !important;
}
html.ubd-product-ready body#product .tvproduct-description-tab .tab-content {
  padding:clamp(18px,4vw,34px) !important;
}
html.ubd-product-ready body#product .tvproduct-description-tab .product-description {
  color:var(--ubd-muted) !important;
  font-size:13px !important;
  line-height:1.7 !important;
}
html.ubd-product-ready body#product .tvproduct-description-tab .product-description p {
  position:relative !important;
  margin:0 0 8px !important;
  padding:10px 12px 10px 34px !important;
  border-radius:12px !important;
  background:var(--ubd-paper) !important;
}
html.ubd-product-ready body#product .tvproduct-description-tab .product-description p::before {
  content:"" !important;
  position:absolute !important;
  top:15px !important;
  left:14px !important;
  width:8px !important;
  height:8px !important;
  border-radius:50% !important;
  background:var(--ubd-orange) !important;
}
html.ubd-product-ready body#product .ubd-simple-product-description {
  border:0 !important;
  border-radius:18px !important;
  background:var(--ubd-paper) !important;
  box-shadow:0 10px 26px rgba(24,51,58,.07) !important;
}
html.ubd-product-ready body#product .ubd-simple-product-description summary {
  min-height:54px !important;
  padding:12px 16px !important;
  font-size:13px !important;
  letter-spacing:.03em !important;
  text-transform:uppercase !important;
}
html.ubd-product-ready body#product .ubd-simple-product-description > div {
  padding:0 16px 16px !important;
}

/* ---------- ETS Reviews ---------- */
html.ubd-product-ready body#product .ets_rv_wrap,
html.ubd-product-ready body#product #ets-rv-product-comments-list-header,
html.ubd-product-ready body#product .ets-rv-product-comments,
html.ubd-product-ready body#product .ets_rv_product_review {
  border:0 !important;
  border-radius:24px !important;
  background:var(--ubd-paper) !important;
  box-shadow:0 18px 48px rgba(24,51,58,.09) !important;
}
html.ubd-product-ready body#product .ets_rv_wrap {
  width:min(100% - 18px,1180px) !important;
  margin:26px auto !important;
  padding:clamp(16px,3vw,28px) !important;
  overflow:hidden !important;
}
html.ubd-product-ready body#product .ets_rv_reviews_title,
html.ubd-product-ready body#product .ets_rv_reviews_header h4 {
  margin:0 0 14px !important;
  color:var(--ubd-ink) !important;
  font-family:"Protest Strike",Impact,sans-serif !important;
  font-size:clamp(28px,5vw,44px) !important;
  font-weight:400 !important;
  line-height:.95 !important;
  text-transform:uppercase !important;
}
html.ubd-product-ready body#product .ets_rv_wrap_filter,
html.ubd-product-ready body#product .ets_rv_statistics,
html.ubd-product-ready body#product .ets_rv_wrap_content,
html.ubd-product-ready body#product .ets_rv_tab_content {
  border-radius:18px !important;
  background:#fff !important;
}
html.ubd-product-ready body#product .ets_rv_wrap_filter,
html.ubd-product-ready body#product .ets_rv_statistics {
  padding:14px !important;
}
html.ubd-product-ready body#product .ets_rv_average_rating {
  padding:16px !important;
  border-radius:16px !important;
  background:var(--ubd-yellow) !important;
  color:var(--ubd-ink) !important;
  text-align:center !important;
}
html.ubd-product-ready body#product .ets_rv_average_grade {
  color:var(--ubd-ink) !important;
  font-family:"Protest Strike",Impact,sans-serif !important;
  font-size:42px !important;
}
html.ubd-product-ready body#product .ets_rv_grade_stars_process {
  overflow:hidden !important;
  border-radius:999px !important;
  background:rgba(24,51,58,.10) !important;
}
html.ubd-product-ready body#product .ets_rv_grade_stars_percent {
  border-radius:999px !important;
  background:var(--ubd-orange) !important;
}
html.ubd-product-ready body#product .ets_rv_tabs > ul,
html.ubd-product-ready body#product ul.ets_rv_tabs {
  gap:7px !important;
  padding:7px !important;
  border:0 !important;
  border-radius:16px !important;
  background:#fff !important;
}
html.ubd-product-ready body#product .ets_rv_tab,
html.ubd-product-ready body#product .ets_rv_tab a,
html.ubd-product-ready body#product .ets-rv-btn-comment,
html.ubd-product-ready body#product .ets-rv-btn-question-big {
  border-radius:13px !important;
}
html.ubd-product-ready body#product .ets_rv_tab.active,
html.ubd-product-ready body#product .ets_rv_tab.bg1 {
  background:var(--ubd-teal) !important;
  color:#fff !important;
}
html.ubd-product-ready body#product .ets_rv_tab_content {
  margin-top:12px !important;
  padding:16px !important;
}
html.ubd-product-ready body#product .ets-rv-comment,
html.ubd-product-ready body#product .ets-rv-question,
html.ubd-product-ready body#product .ets_rv_reviews_modal > div {
  border-radius:15px !important;
}

@media (max-width:699px) {
  html.ubd-product-ready body#product .product-variants-item {
    grid-template-columns:1fr !important;
    gap:8px !important;
    padding:12px !important;
  }
  html.ubd-product-ready body#product .product-variants-item .control-label {
    font-size:11px !important;
  }
  html.ubd-product-ready body#product .block-product-attribute-custom {
    padding:12px !important;
    border-radius:18px !important;
  }
  html.ubd-product-ready body#product .block-product-attribute-custom .radio,
  html.ubd-product-ready body#product .block-product-attribute-custom .checkbox {
    height:164px !important;
    min-height:164px !important;
  }
  html.ubd-product-ready body#product .block-product-attribute-custom label.control-label {
    padding:9px !important;
    border-radius:14px !important;
  }
  html.ubd-product-ready body#product .block-product-attribute-custom img.ets_zoom_img {
    width:58px !important;
    min-width:58px !important;
    height:58px !important;
  }
  html.ubd-product-ready body#product .product-quantity,
  html.ubd-product-ready.ubd-catalog-simple body#product .product-quantity {
    gap:10px !important;
  }
  html.ubd-product-ready body#product .product-quantity .qty,
  html.ubd-product-ready.ubd-catalog-simple body#product .product-quantity .qty,
  html.ubd-product-ready body#product .product-quantity .bootstrap-touchspin,
  html.ubd-product-ready.ubd-catalog-simple body#product .product-quantity .bootstrap-touchspin {
    flex-basis:132px !important;
    width:132px !important;
  }
  html.ubd-product-ready body#product #product-modal .modal-dialog {
    width:92vw !important;
    max-width:92vw !important;
    margin:4vh auto !important;
  }
  html.ubd-product-ready body#product #product-modal .product-cover-modal,
  html.ubd-product-ready body#product #product-modal .js-modal-product-cover {
    max-height:78vh !important;
  }
  html.ubd-product-ready body#product .ets_rv_wrap {
    width:min(100% - 12px,1180px) !important;
    padding:12px !important;
    border-radius:18px !important;
  }
}
