/* LTDE ficha producto — rediseño (no tocar Warehouse core) */
#product #inner-wrapper.container {
  max-width: 1400px;
}
@media (min-width: 1600px) {
  #product #inner-wrapper.container {
    max-width: 1520px;
  }
}
@media (min-width: 1100px) {
  #product #wrapper {
    font-size: 118.75%;
  }
}

#product .col-product-info .page-title {
  font-size: 1.32rem;
  line-height: 1.35;
  font-weight: 700;
  color: #243041;
  margin-bottom: 0.45rem;
}

#product .ltde-pp-buy {
  margin: 0 0 1.35rem;
  padding: 1.1rem 1.15rem 1.05rem;
  background: #fff;
  border: 1px solid #e5e9ef;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}
#product .ltde-pp-buy .product_header_container {
  margin: 0 0 0.85rem;
}
#product .ltde-pp-buy .page-title {
  margin-bottom: 0.35rem;
}

#product .ltde-pp-buy .product-prices {
  margin-bottom: 0.35rem;
}
#product .ltde-pp-buy .current-price,
#product .ltde-pp-buy .current-price-value {
  font-size: 1.85rem;
  font-weight: 700;
  color: #0080c7;
  letter-spacing: -0.02em;
}

#product .product-add-to-cart.pt-3 {
  padding-top: 0.35rem !important;
}
/* Cantidad en la fila meta (.ltde-pm). Ocultar duplicado de Detalles. */
#product #product-details .product-quantities {
  display: none !important;
}
#product .ltde-pm .product-quantities,
#product .ltde-pm .product-quantities:hover {
  color: inherit;
  text-align: left;
  background: transparent !important;
  box-shadow: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  align-items: center;
  justify-content: flex-start;
}
#product .ltde-pm .ltde-pm__item:has(#product-availability) + .product-quantities {
  margin-left: 1.2rem;
  padding-left: 1.15rem;
}
#product .ltde-pm .product-quantities .ltde-pm__label,
#product .ltde-pm .product-quantities .ltde-pm__qty,
#product .ltde-pm .product-quantities span {
  padding-top: 0 !important;
}
#product .ltde-pm .product-quantities .ltde-pm__qty {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}
#product .ltde-pm .ltde-pm__qty-lvl--ok .ltde-pm__qty {
  color: #157347;
}
#product .ltde-pm .ltde-pm__qty-lvl--mid .ltde-pm__qty {
  color: #a86105;
}
#product .ltde-pm .ltde-pm__qty-lvl--low .ltde-pm__qty {
  color: #b42318;
}
#product .ltde-pm #product-availability.product-last-items {
  background: #fff8e6;
  color: #a86105;
  border: 1px solid #f5d08a;
}

#product .product-quantity {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}
#product .ltde-pp-qty {
  --ltde-cta-h: 48px;
  display: inline-flex;
  align-items: stretch;
  box-sizing: border-box;
  height: var(--ltde-cta-h);
  border: 1px solid #e5e9ef;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  flex: 0 0 auto;
  width: auto !important;
  max-width: none !important;
  min-width: 132px;
}
#product .ltde-pp-qty .bootstrap-touchspin {
  display: contents;
}
#product .ltde-pp-qty__btn {
  flex: 0 0 44px;
  width: 44px;
  height: auto;
  border: 0;
  background: #fff;
  font-size: 1.15rem;
  color: #1f2937;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
#product .ltde-pp-qty input#quantity_wanted {
  width: 44px;
  height: 100% !important;
  min-height: 0;
  margin: 0;
  padding: 0 !important;
  border: 0;
  border-left: 1px solid #e5e9ef;
  border-right: 1px solid #e5e9ef;
  border-radius: 0;
  text-align: center;
  font-weight: 700;
  box-shadow: none;
  line-height: 1;
}
#product .col-add-btn .add-to-cart,
#product .col-add-wishlist .btn-iqitwishlist-add {
  box-sizing: border-box;
  height: 48px !important;
  min-height: 48px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-radius: 8px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
#product .col-add-btn .add-to-cart {
  font-size: 1rem;
  font-weight: 700;
  padding-left: 1.1rem;
  padding-right: 1.1rem;
}
#product .col-add-wishlist .btn-iqitwishlist-add {
  width: 48px;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

#product .ltde-pp-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 0.7rem;
  margin: 0.55rem 0 0;
  padding: 0;
  border-top: 0;
  list-style: none;
}
#product .ltde-pp-trust li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #4b5563;
}
#product .ltde-pp-trust i {
  color: #0080c7;
  width: 1rem;
  text-align: center;
}

#product #col-product-info .ltde-pf-highlights {
  margin-top: 0.35rem;
}
#product .ltde-pf-highlights__label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.72rem;
}
#product .ltde-pf-highlights__value {
  font-size: 0.95rem;
}

#product #col-product-info .js-product-actions > .product-description {
  margin-top: 1.85rem;
  margin-bottom: 0 !important;
  color: #374151;
}

#product #estimateddelivery.estimateddelivery-product,
#product #col-product-info #estimateddelivery.estimateddelivery-product {
  margin: 0.35rem 0 0.85rem !important;
  padding: 0.7rem 0.8rem;
  background: #f4fbf6;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
}
#product #estimateddelivery h4,
#product #estimateddelivery .title-delivery {
  margin: 0 0 0.2rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #15803d;
}
#product #estimateddelivery h4:before,
#product #estimateddelivery .title-delivery:before {
  display: none;
}
#product #estimateddelivery p,
#product #estimateddelivery .ed_delivery_text {
  margin: 0;
  font-size: 0.86rem;
  color: #374151;
}

#product .ltde-pp-nav {
  position: sticky;
  top: var(--ltde-header-stuck, 0px);
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem;
  margin: 2.1rem 0 0.35rem;
  padding: 0.45rem;
  background: #eef4fb;
  border-radius: 10px;
}
#product .ltde-pp-nav a {
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  color: #374151;
  font-weight: 600;
  text-decoration: none;
}
#product .ltde-pp-nav a:hover,
#product .ltde-pp-nav a.is-on {
  background: #fff;
  color: #0080c7;
  text-decoration: none;
}
#product .ltde-pp-nav__buy {
  margin-left: auto;
  background: #0080c7 !important;
  color: #fff !important;
  font-weight: 700;
}
#product .product-sections .block-section {
  scroll-margin-top: calc(var(--ltde-header-stuck, 0px) + 4.5rem);
}
#product .product-sections .section-title {
  display: inline-block;
  border-bottom: 2px solid #0080c7;
  padding-bottom: 0.35rem;
}
#product .product-sections .section-title::after {
  display: none;
}

#product .ltde-pf-group {
  border: 1px solid #e5e9ef;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  margin: 0.85rem 0 0;
}
#product .ltde-pf-group__title {
  margin: 0;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  background: #f8fafc;
  border-bottom: 1px solid #e5e9ef;
}
#product .ltde-pf-group .ltde-pf-specs {
  border: 0;
  border-radius: 0;
}

#product .ltde-pp-sticky {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: #fff;
  border-top: 1px solid #e5e9ef;
  padding: 0.55rem 0.85rem calc(0.55rem + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 16px rgba(17, 24, 39, 0.08);
}
#product .ltde-pp-sticky__row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
#product .ltde-pp-sticky__price {
  font-weight: 700;
  color: #0080c7;
  font-size: 1.1rem;
  white-space: nowrap;
}
#product .ltde-pp-sticky .btn {
  flex: 1;
  min-height: 44px;
  font-weight: 700;
}

@media (max-width: 991px) {
  #product .ltde-pp-nav__buy { display: none; }
  #product .ltde-pp-sticky { display: block; }
  #product #wrapper { font-size: 100%; }
  #product .ltde-pp-trust { grid-template-columns: 1fr; }
  #product #main-page-content {
    padding-bottom: 4.5rem;
  }
}
@media (min-width: 1100px) {
  #product .col-product-info .page-title { font-size: 1.38rem; }
  #product .ltde-pp-buy .current-price-value { font-size: 2.05rem; }
}

#product .ltde-pp-qty .input-group-btn-vertical,
#product .ltde-pp-qty .bootstrap-touchspin-up,
#product .ltde-pp-qty .bootstrap-touchspin-down {
  display: none !important;
}
#product .ltde-pp-qty .bootstrap-touchspin {
  display: contents;
}
#product .ltde-pp-qty input#quantity_wanted::-webkit-inner-spin-button,
#product .ltde-pp-qty input#quantity_wanted::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
#product .ltde-pp-qty input#quantity_wanted {
  -moz-appearance: textfield;
  appearance: textfield;
}

#product #estimateddelivery .ed_item {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
#product #estimateddelivery.ed_orange,
#product #estimateddelivery.estimateddelivery-product {
  background: #f4fbf6 !important;
  border: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 575px) {
  #product .col-add-qty { flex: 0 0 auto; width: auto; }
  #product .ltde-pp-qty { width: auto; }
  #product .col-add-btn { flex: 1 1 100%; }
}

/* Recuadro de compra: sin rayas decorativas de Warehouse (precio / additional-info / confianza) */
#product .ltde-pp-buy .product_p_price_container {
  border: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}
#product .ltde-pp-buy .js-product-additional-info {
  border: 0 !important;
  margin-top: 0.4rem !important;
  padding-top: 0 !important;
}
#product .ltde-pp-buy .hi-oosn--hidden {
  display: none !important;
}
#product .ltde-pp-buy .product-discounts:not(:has(*:not(:empty))) {
  display: none;
}
#product .ltde-pp-trust {
  border-top: 0;
  margin-top: 0.55rem;
  padding-top: 0;
}

