/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

/*MODSYS 10-03-25*/
.estimateddelivery .title-delivery:before {
    font-family: "FontAwesome";
    font-size: 19px;
    line-height: 24px;
    font-weight: 400;
    content: "\f0d1";
    margin-right: 7px;
}

.estimateddelivery .title-delivery{
    margin-bottom: .5rem;
    font-family: inherit;
    font-weight: 700;
    line-height: 1.2;
    color: inherit;
    font-size: 1.125rem;
}

.product-description h2, .product-description h3, 
.category-description h2, .category-description h3  {
    margin-top: 2%;
}
.product-description p, .category-description p {
    margin-bottom: 1%;
}

@media only screen and (max-width: 767px) {
	.product-description h2, .product-description h3, 
	.category-description h2, .category-description h3  {
	    margin-top: 7%;
	}
	.product-description p, .category-description p {
	    margin-bottom: 5%;
	}
	.category-description.category-description-bottom.hidden-sm-down {
	    display: block !important;
	}
}
/* LTDE checkout — métodos de pago alineados (jun 2026) */
.payment-options .payment-option-row {
    margin-bottom: 0.35rem;
}

.payment-options .payment-option {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 40px;
}

.payment-options .payment-option .custom-radio {
    flex: 0 0 auto;
    margin: 0;
    align-self: center;
}

.payment-options .payment-option__label {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    max-width: none !important;
    width: auto !important;
    margin: 0;
    gap: 0.75rem;
    cursor: pointer;
    flex-wrap: nowrap;
}

.payment-options .payment-option__logo {
    flex: 0 0 56px;
    width: 56px;
    height: 32px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.payment-options .payment-option__logo-img {
    display: block;
    width: 56px !important;
    height: 32px !important;
    max-width: 56px !important;
    max-height: 32px !important;
    object-fit: contain;
    object-position: center;
}

.payment-options .payment-option__logo-placeholder {
    display: block;
    width: 56px;
    height: 32px;
}

.payment-options .payment-option__text {
    flex: 1 1 auto;
    line-height: 1.35;
    align-self: center;
}

/* Evita que el tema limite el ancho del label y rompa la fila */
#checkout-payment-step .payment-options label.payment-option__label {
    max-width: none !important;
}

.payment-options .payment-option-row .additional-information,
.payment-options .payment-option-row .js-payment-option-form {
    margin-left: calc(1.25rem + 56px + 0.75rem);
    margin-top: 0.35rem;
}

/* PayPal: ocultar icono info suelto del bloque extra (el logo va en la fila) */
.payment-options .payment-option-row--paypal .additional-information [data-paypal-info] {
    display: none !important;
}

.payment-options .payment-option-row .additional-information .pp-info img {
    max-width: 32px;
    max-height: 32px;
}

@media (max-width: 575px) {
    .payment-options .payment-option-row .additional-information,
    .payment-options .payment-option-row .js-payment-option-form {
        margin-left: calc(1rem + 48px + 0.5rem);
    }

    .payment-options .payment-option__logo {
        flex-basis: 48px;
        width: 48px;
        height: 28px;
    }

    .payment-options .payment-option__logo-img {
        width: 48px !important;
        height: 28px !important;
        max-width: 48px !important;
        max-height: 28px !important;
    }

    .payment-options .payment-option__logo-placeholder {
        width: 48px;
        height: 28px;
    }
}

/* LTDE — pestañas y títulos de ficha producto (jun 2026) */
#product .product-tabs {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

#product .product-tabs > .nav-tabs,
#product #product-infos-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.4rem;
    padding: 0.4rem;
    margin-bottom: 1.75rem;
    border: none;
    border-radius: 12px;
    background: #f3f4f6;
}

#product .product-tabs .nav-tabs .nav-item {
    margin: 0;
}

#product .product-tabs .nav-tabs .nav-link {
    opacity: 1 !important;
    padding: 0.8rem 1.35rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.01em;
    color: #4b5563 !important;
    background: transparent;
    border: none !important;
    border-radius: 9px;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

#product .product-tabs .nav-tabs .nav-link:hover,
#product .product-tabs .nav-tabs .nav-link:focus {
    color: #111827 !important;
    background: rgba(255, 255, 255, 0.72);
    border: none !important;
}

#product .product-tabs .nav-tabs .nav-link.active {
    color: #111827 !important;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 14px rgba(0, 0, 0, 0.08);
    border: none !important;
}

#product .product-tabs .nav-tabs .nav-link.active::before {
    content: '';
    display: block;
    width: 1.75rem;
    height: 3px;
    margin: 0 auto 0.45rem;
    border-radius: 999px;
    background: #ca5058;
}

#product #product-infos-tabs-content.tab-content {
    padding-top: 0.25rem;
}

#product .product-sections .section-title,
#product .block-section > .section-title {
    position: relative;
    margin-bottom: 1rem;
    padding-bottom: 0.65rem;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    color: #111827 !important;
    border-bottom: 2px solid #e5e7eb;
}

#product .product-sections .section-title::after,
#product .block-section > .section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 2.75rem;
    height: 2px;
    border-radius: 999px;
    background: #ca5058;
}

#product .product-sections .section-title span,
#product .block-section > .section-title span {
    display: inline-block;
}

#product .iqit-accordion .title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    border-bottom: 1px solid #e5e7eb;
}

#product .iqit-accordion .title a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
    color: inherit;
    text-decoration: none;
}

#product .iqit-accordion .nav-tabs .nav-link {
    opacity: 1 !important;
    font-weight: 600;
    border-radius: 8px;
}

@media (max-width: 767px) {
    #product .product-tabs > .nav-tabs,
    #product #product-infos-tabs {
        flex-direction: column;
        gap: 0.35rem;
    }

    #product .product-tabs .nav-tabs .nav-link {
        width: 100%;
        text-align: left;
        white-space: normal;
    }

    #product .product-tabs .nav-tabs .nav-link.active::before {
        margin-left: 0;
        margin-right: auto;
    }

    #product .product-sections .section-title,
    #product .block-section > .section-title {
        font-size: 1.2rem;
    }
}

/* LTDE — newsletter footer (displayFooterBefore, jun 2026) */
#footer-container-main.footer-style-1 .ps-emailsubscription-block .ps-emailsubscription-conditions,
#footer-container-main.footer-style-1 .ps-emailsubscription-block .gdpr_module {
    max-width: none !important;
}

#footer .ltde-footer-newsletter {
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid #e5e7eb;
}

#footer .ltde-footer-newsletter__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 2rem;
}

#footer .ltde-footer-newsletter__text {
    flex: 1 1 220px;
    max-width: 36rem;
}

#footer .ltde-footer-newsletter__title {
    margin: 0 0 0.35rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: #111827;
}

#footer .ltde-footer-newsletter__desc {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #6b7280;
}

#footer .ltde-footer-newsletter__form {
    flex: 1 1 280px;
    max-width: 34rem;
}

#footer .ltde-footer-newsletter .newsletter-input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 3rem;
    overflow: visible;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #fff;
}

#footer .ltde-footer-newsletter .input-subscription {
    flex: 1 1 auto;
    min-width: 0;
    width: 1%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    line-height: 1.4;
    border: none;
    background: transparent;
}

#footer .ltde-footer-newsletter .btn-subscribe {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex: 0 0 auto;
    margin: 0;
    padding: 0 1.1rem;
    min-width: 3rem;
    border: none;
    border-left: 1px solid #e5e7eb;
    border-radius: 0 9px 9px 0;
    background: #111827 !important;
    color: #fff !important;
    box-shadow: none;
}

#footer .ltde-footer-newsletter .btn-subscribe:hover,
#footer .ltde-footer-newsletter .btn-subscribe:focus {
    background: #333 !important;
    color: #fff !important;
}

#footer .ltde-footer-newsletter__btn-label {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

#footer .ltde-footer-newsletter__gdpr:empty {
    display: none;
}

#footer .ltde-footer-newsletter__gdpr {
    margin-top: 0.65rem;
    font-size: 0.82rem;
    line-height: 1.4;
    color: #6b7280;
}

@media (max-width: 767px) {
    #footer .ltde-footer-newsletter {
        margin-bottom: 1.25rem;
        padding-bottom: 1.25rem;
    }

    #footer .ltde-footer-newsletter__inner {
        flex-direction: column;
        align-items: stretch;
    }

    #footer .ltde-footer-newsletter__form,
    #footer .ltde-footer-newsletter__text {
        max-width: none;
    }

    #footer .ltde-footer-newsletter__btn-label {
        display: none;
    }
}

/* === LTDE Megamenu harmony (fase 1) === */
@media (min-width: 992px) {
  #cbp-hrmenu .cbp-hrsub-inner > .container > .menu_row.first_rows,
  #cbp-hrmenu .cbp-hrsub-inner .menu_row.first_rows {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-left: -12px;
    margin-right: -12px;
  }

  #cbp-hrmenu .cbp-menu-column {
    padding-left: 12px;
    padding-right: 12px;
    margin-bottom: 0.75rem;
  }

  #cbp-hrmenu .cbp-menu-column.cbp-empty-column {
    display: none !important;
  }

  #cbp-hrmenu .cbp-menu-column-inner {
    min-height: 100%;
  }

  #cbp-hrmenu .cbp-column-title,
  #cbp-hrmenu .cbp-category-title {
    margin-bottom: 0.4rem;
    line-height: 1.25;
  }

  #cbp-hrmenu .cbp-links li,
  #cbp-hrmenu .cbp-category-tree > li {
    margin-bottom: 0.15rem;
  }

  #cbp-hrmenu .cbp-links a,
  #cbp-hrmenu .cbp-category-tree a {
    line-height: 1.35;
  }

  /* Listas largas: flujo en columnas dentro del bloque para equilibrar altura */
  #cbp-hrmenu .cbp-category-link-w > ul.cbp-links.cbp-category-tree {
    column-count: 1;
    column-gap: 1rem;
  }

  #cbp-hrmenu .cbp-menu-column.col-6 .cbp-category-link-w > ul.cbp-links.cbp-category-tree,
  #cbp-hrmenu .cbp-menu-column.col-12 .cbp-category-link-w > ul.cbp-links.cbp-category-tree {
    column-count: 2;
  }

  #cbp-hrmenu .cbp-category-link-w > ul.cbp-links.cbp-category-tree > li {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
  }

  #cbp-hrmenu .cbp-categories-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -8px;
    margin-right: -8px;
  }

  #cbp-hrmenu .cbp-categories-row > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 0.65rem;
  }
}


/* === LTDE FAQ acordeón (categorías) === */
.ltde-faq {
  margin: 1.75rem 0 0.5rem;
  padding: 1.35rem 1.25rem 0.85rem;
  background: #fff;
  border: 1px solid #e3e6eb;
  border-radius: 12px;
}
.ltde-faq__head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid #e3e6eb;
}
.ltde-faq__badge {
  flex: 0 0 auto;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a5a88;
  background: #e8f4fb;
  border: 1px solid #b8d9ec;
  border-radius: 6px;
  padding: 0.35rem 0.55rem;
  line-height: 1;
}
.ltde-faq__titles h2 {
  margin: 0 0 0.2rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #243447;
  letter-spacing: -0.02em;
}
.ltde-faq__titles p {
  margin: 0;
  font-size: 0.92rem;
  color: #5c6570;
}
.ltde-faq details { border-bottom: 1px solid #e3e6eb; }
.ltde-faq details:last-of-type { border-bottom: 0; }
.ltde-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 0.95rem 1.75rem 0.95rem 0;
  font-weight: 600;
  font-size: 1rem;
  color: #243447;
  position: relative;
}
.ltde-faq summary::-webkit-details-marker { display: none; }
.ltde-faq summary::after {
  content: "";
  position: absolute;
  right: 0.15rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid #5c6570;
  border-bottom: 2px solid #5c6570;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.18s ease;
}
.ltde-faq details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}
.ltde-faq summary:hover { color: #0080c7; }
.ltde-faq__ans {
  padding: 0 0 1rem;
  color: #5c6570;
  font-size: 0.95rem;
  line-height: 1.55;
}
.ltde-faq__ans p { margin: 0 0 0.55rem; }
.ltde-faq__ans p:last-child { margin-bottom: 0; }
@media (max-width: 575px) {
  .ltde-faq { padding: 1.1rem 1rem 0.7rem; }
  .ltde-faq__titles h2 { font-size: 1.2rem; }
}

/* LTDE-PAGESPEED-CLS */
/* Stabilize content shell without breaking header/megamenu (no contain on #wrapper/#header). */
#content-wrapper,
main#content,
#main {
  min-height: 40vh;
}
/* Banner images: do NOT force 3:1 — square category tiles (1024x1024) were cropped.
   Only constrain max width; keep natural aspect ratio. */
.elementor-iqit-banner img {
  max-width: 100%;
  height: auto;
}
/* Wide top banners only (Fermax / Herramientas strip) */
.elementor-iqit-banner img[width="1200"],
.elementor-iqit-banner img[height="400"] {
  aspect-ratio: 3 / 1;
  object-fit: cover;
}
.elementor-iqit-banner,
.elementor-iqit-banner figure {
  min-height: 0;
}

/**
 * LTDE PageSpeed — CLS / layout stability
 * Product thumbs, badges, ProductsListTabs reservation.
 */

/* Reserve space for Warehouse product miniatures (SVG placeholder → real image) */
article.product-miniature .thumbnail-container,
article.product-miniature .thumbnail,
.product-miniature .thumbnail-container .thumbnail {
  aspect-ratio: 236 / 305;
  display: block;
  overflow: hidden;
}

article.product-miniature img.product-thumbnail-first,
article.product-miniature img.lazy-product-image,
article.product-miniature img.js-lazy-product-image,
article.product-miniature .thumbnail img.img-fluid {
  width: 100%;
  height: auto;
  aspect-ratio: 236 / 305;
  object-fit: contain;
  vertical-align: middle;
}

/* Elementor ProductsListTabs: reserve height only (no CSS contain — can clip UI) */
.elementor-widget[data-element_type="prestashop-widget-ProductsListTabs"],
.elementor-widget-prestashop-widget-ProductsListTabs {
  min-height: 320px;
}

/* Rating badges topbar: restore natural size (do NOT shrink Google/Trustpilot).
   Override any stale cached rules from v1.0.0. */
img[alt="Trustpilot rating"],
img[alt="Google rating"],
img[alt="Valoraciones Trustpilot"],
img[alt="Valoraciones Google"],
img[src*="valoraciones_badge"],
img[src*="valoraciones_google_badge"],
.topbar-envio-google img,
.topbar-envio-trustpilot img,
a.topbar-envio-google img,
a[class*="topbar-envio"] img[src*="valoraciones_"] {
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain;
  vertical-align: middle;
}

/* Keep Revi untouched / consistent */
.topbar-envio-revi img,
img[alt="Valoraciones Revi"],
img[alt="Revi rating"],
img[src*="valoraciones_revi"] {
  width: auto !important;
  height: auto !important;
  max-height: none !important;
  vertical-align: middle;
}

/* Font Awesome: prefer swap if @font-face is redefined later */
@font-face {
  font-family: "FontAwesome";
  font-display: swap;
}

/* --- Accessibility (PSI color-contrast / heading visuals) --- */
#search_widget input.form-control,
#mobile_search input.form-control,
.header-top input[name="s"],
input.form-control[name="s"] {
  color: #1a1a1a !important;
}
#search_widget input.form-control::placeholder,
#mobile_search input.form-control::placeholder,
input.form-control[name="s"]::placeholder {
  color: #444444 !important;
  opacity: 1;
}
#iqitmegamenu-horizontal .cbp-tab-title,
#iqitmegamenu-horizontal .cbp-tabs-names .cbp-tab-title,
#iqitmegamenu-horizontal a .cbp-tab-title {
  /* Restored: do not force black on blue mega-menu bar (broke brand look). */
  color: inherit;
}
h1.elementor-heading-title,
h1.elementor-heading-title span {
  color: #1a1a1a !important;
}
/* Product card / footer: gray text often fails WCAG AA (~4.5) */
article.product-miniature .product-description h2 a,
article.product-miniature .product-title a,
article.product-miniature .h3 a {
  color: #222222 !important;
}
article.product-miniature input.input-qty {
  color: #1a1a1a !important;
}
#footer .block-title span,
#footer .block-content a,
#footer .contact-rich,
#footer .contact-rich a,
#footer .copyright-txt,
.footer-container a {
  color: #1f1f1f !important;
}
#footer .block-social-links a {
  color: #1f1f1f !important;
}
/* Soften only slightly — keep brand button look but push over 4.5 when possible */
.btn-product-list,
.btn.btn-product-list.add-to-cart {
  filter: none;
}
.product-flag.on-sale {
  text-shadow: none;
  background-color: #9b1c1c !important;
  color: #ffffff !important;
}

/**
 * Stock badges — modelo D (chip + punto de estado).
 * Pure CSS; hide FA icons (dot replaces them). Override Bootstrap d-none on last items.
 */
.badge.product-available,
.badge.product-unavailable,
.badge.product-last-items,
.badge.badge-success.product-available,
.badge.badge-danger.product-unavailable,
.badge.badge-warning.product-last-items {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5em;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.25;
  padding: 0.4em 0.75em 0.4em 0.65em;
  border-radius: 6px;
  border: 1px solid #e0e6ed;
  background: #f3f5f8 !important;
  background-image: none !important;
  text-shadow: none;
  box-shadow: none;
  vertical-align: middle;
}
.badge.product-available i,
.badge.product-unavailable i,
.badge.product-last-items i {
  display: none !important;
}
.badge.product-available::before,
.badge.product-unavailable::before,
.badge.product-last-items::before {
  content: "";
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  flex-shrink: 0;
}
.badge.product-available,
.badge.badge-success.product-available {
  color: #14532d !important;
}
.badge.product-available::before {
  background: #16a34a;
}
.badge.product-last-items,
.badge.badge-warning.product-last-items {
  color: #713f12 !important;
}
.badge.product-last-items::before {
  background: #eab308;
}
.badge.product-unavailable,
.badge.badge-danger.product-unavailable {
  color: #7f1d1d !important;
}
.badge.product-unavailable::before {
  background: #dc2626;
}
/* Banner titles demoted h4→p for heading-order; keep visual weight */
p.elementor-iqit-banner-title,
.elementor-iqit-banner-title {
  display: block;
  margin: 0;
  font-weight: 700;
  line-height: 1.25;
  color: inherit;
}

/* Light mobile CLS reserve (safe; no theme-CSS async) */
@media (max-width: 767px) {
  .elementor-widget[data-element_type="prestashop-widget-ProductsListTabs"],
  .elementor-widget-prestashop-widget-ProductsListTabs {
    min-height: 420px;
  }
  .elementor-iqit-banner,
  .elementor-iqit-banner figure {
    min-height: 0;
  }
  article.product-miniature .product-description,
  article.product-miniature .highlighted-informations {
    min-height: 3.2em;
  }
}

/* LTDE-CATMAP-COMPACT LTDE-CATMAP-V=2 */
/* Compact catalog map — seasonal tiles untouched */
.ltde-borrador-catmap-head {
  padding-top: 20px !important;
  padding-bottom: 2px !important;
}
.ltde-borrador-catmap-head .elementor-heading-title {
  font-size: 22px !important;
  margin: 0 !important;
}
.ltde-borrador-catmap {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.ltde-borrador-catmap .elementor-column {
  padding: 0 !important;
}
.ltde-borrador-catmap .elementor-widget-banner,
.ltde-borrador-catmap .elementor-widget-banner .elementor-widget-container {
  margin: 0 !important;
}
/* All known Iqit/Elementor banner image wrappers */
.ltde-borrador-catmap .elementor-iqit-banner,
.ltde-borrador-catmap .elementor-banner,
.ltde-borrador-catmap .elementor-banner-wrapper {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  min-height: 0 !important;
  height: 96px !important;
  max-height: 96px !important;
}
.ltde-borrador-catmap .elementor-iqit-banner-img,
.ltde-borrador-catmap .elementor-banner-img,
.ltde-borrador-catmap .elementor-iqit-banner figure,
.ltde-borrador-catmap .elementor-banner figure {
  height: 96px !important;
  max-height: 96px !important;
  margin: 0 !important;
  overflow: hidden !important;
}
.ltde-borrador-catmap .elementor-iqit-banner-img img,
.ltde-borrador-catmap .elementor-banner-img img,
.ltde-borrador-catmap .elementor-widget-banner img,
.ltde-borrador-catmap .elementor-iqit-banner img,
.ltde-borrador-catmap .elementor-banner img {
  width: 100% !important;
  height: 96px !important;
  max-height: 96px !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}
/* Readable centered label */
.ltde-borrador-catmap .elementor-iqit-banner-content,
.ltde-borrador-catmap .elementor-banner-content,
.ltde-borrador-catmap .elementor-iqit-banner .elementor-banner-content {
  padding: 8px 10px !important;
  background: linear-gradient(to top, rgba(0, 40, 70, 0.82) 0%, rgba(0, 62, 101, 0.35) 55%, rgba(0, 62, 101, 0.05) 100%) !important;
}
.ltde-borrador-catmap .elementor-iqit-banner-title,
.ltde-borrador-catmap .elementor-banner-title,
.ltde-borrador-catmap .elementor-iqit-banner .elementor-heading-title,
.ltde-borrador-catmap .elementor-widget-banner h3,
.ltde-borrador-catmap .elementor-widget-banner h4,
.ltde-borrador-catmap .elementor-widget-banner .elementor-iqit-banner-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  margin: 0 !important;
}
.ltde-borrador-catmap .elementor-iqit-banner-description,
.ltde-borrador-catmap .elementor-banner-description,
.ltde-borrador-catmap .elementor-widget-banner .elementor-iqit-banner-description {
  display: none !important; /* keep label only, like Efectoled quick cats */
}
.ltde-borrador-catmap .elementor-button,
.ltde-borrador-catmap .elementor-iqit-banner .elementor-button {
  display: none !important;
}
@media (max-width: 991px) {
  .ltde-borrador-catmap .elementor-iqit-banner,
  .ltde-borrador-catmap .elementor-banner,
  .ltde-borrador-catmap .elementor-banner-wrapper,
  .ltde-borrador-catmap .elementor-iqit-banner-img,
  .ltde-borrador-catmap .elementor-banner-img,
  .ltde-borrador-catmap .elementor-iqit-banner-img img,
  .ltde-borrador-catmap .elementor-banner-img img,
  .ltde-borrador-catmap .elementor-widget-banner img,
  .ltde-borrador-catmap .elementor-iqit-banner img,
  .ltde-borrador-catmap .elementor-banner img {
    height: 88px !important;
    max-height: 88px !important;
  }
  .ltde-borrador-catmap .elementor-iqit-banner-title,
  .ltde-borrador-catmap .elementor-banner-title,
  .ltde-borrador-catmap .elementor-widget-banner h3,
  .ltde-borrador-catmap .elementor-widget-banner h4 {
    font-size: 12px !important;
  }
}
@media (max-width: 767px) {
  .ltde-borrador-catmap .elementor-iqit-banner,
  .ltde-borrador-catmap .elementor-banner,
  .ltde-borrador-catmap .elementor-banner-wrapper,
  .ltde-borrador-catmap .elementor-iqit-banner-img,
  .ltde-borrador-catmap .elementor-banner-img,
  .ltde-borrador-catmap .elementor-iqit-banner-img img,
  .ltde-borrador-catmap .elementor-banner-img img,
  .ltde-borrador-catmap .elementor-widget-banner img,
  .ltde-borrador-catmap .elementor-iqit-banner img,
  .ltde-borrador-catmap .elementor-banner img {
    height: 78px !important;
    max-height: 78px !important;
  }
  .ltde-borrador-catmap .elementor-iqit-banner-title,
  .ltde-borrador-catmap .elementor-banner-title,
  .ltde-borrador-catmap .elementor-widget-banner h3,
  .ltde-borrador-catmap .elementor-widget-banner h4 {
    font-size: 11px !important;
  }
}

/* LTDE-PRO-BLOCK */
.ltde-borrador-pro {
  background-color: #003E65 !important;
}
.ltde-borrador-pro > .elementor-container {
  max-width: none !important;
}
.ltde-borrador-pro .ltde-pro-visual {
  min-height: 420px;
  width: 100%;
}
.ltde-borrador-pro .ltde-pro-sub {
  color: #d5e6f2;
  margin: 0 0 1.2rem;
  line-height: 1.45;
}
.ltde-borrador-pro .ltde-pro-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.55rem;
}
.ltde-borrador-pro .ltde-pro-bullets li {
  position: relative;
  padding-left: 1.1rem;
  color: #eef5fa;
  margin: 0;
  line-height: 1.4;
}
.ltde-borrador-pro .ltde-pro-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  background: #DB702D;
}
.ltde-borrador-pro .ltde-pro-cta {
  display: inline-block;
  background: #DB702D;
  color: #fff !important;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 4px;
  text-decoration: none !important;
  line-height: 1.2;
}
.ltde-borrador-pro .ltde-pro-cta:hover,
.ltde-borrador-pro .ltde-pro-cta:focus {
  filter: brightness(1.06);
  color: #fff !important;
}
@media (max-width: 991px) {
  .ltde-borrador-pro .ltde-pro-visual {
    min-height: 260px;
  }
}
@media (max-width: 767px) {
  .ltde-borrador-pro .ltde-pro-visual {
    min-height: 220px;
  }
}
/* /LTDE-PRO-BLOCK */

/* LTDE-DESTACADOS-COMPACT */
.ltde-borrador-destacados .elementor-container {
  align-items: stretch !important;
}
.ltde-borrador-destacados .elementor-row {
  display: flex !important;
  align-items: stretch !important;
}
.ltde-borrador-destacados .ltde-feat-col-xl,
.ltde-borrador-destacados .ltde-feat-col-m {
  display: flex !important;
  flex-direction: column;
}
.ltde-borrador-destacados .ltde-feat-col-xl .elementor-column-wrap,
.ltde-borrador-destacados .ltde-feat-col-xl .elementor-widget-wrap,
.ltde-borrador-destacados .ltde-feat-col-m .elementor-column-wrap,
.ltde-borrador-destacados .ltde-feat-col-m .elementor-widget-wrap {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  width: 100%;
}
.ltde-borrador-destacados .ltde-feat-xl {
  flex: 1 1 auto;
  height: 100%;
}
.ltde-borrador-destacados .ltde-feat-xl .elementor-widget-container,
.ltde-borrador-destacados .ltde-feat-xl .elementor-banner,
.ltde-borrador-destacados .ltde-feat-xl .elementor-banner-wrapper,
.ltde-borrador-destacados .ltde-feat-xl .elementor-banner-img {
  height: 100% !important;
  min-height: 420px;
}
.ltde-borrador-destacados .ltde-feat-xl .elementor-banner-img img {
  width: 100% !important;
  height: 100% !important;
  min-height: 420px;
  object-fit: cover !important;
  object-position: right center !important;
  display: block;
}
.ltde-borrador-destacados .ltde-feat-m {
  flex: 1 1 0;
}
.ltde-borrador-destacados .ltde-feat-m .elementor-banner,
.ltde-borrador-destacados .ltde-feat-m .elementor-banner-wrapper,
.ltde-borrador-destacados .ltde-feat-m .elementor-banner-img {
  height: 200px !important;
  max-height: 200px !important;
}
.ltde-borrador-destacados .ltde-feat-m .elementor-banner-img img {
  width: 100% !important;
  height: 200px !important;
  max-height: 200px !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block;
}
@media (max-width: 991px) {
  .ltde-borrador-destacados .ltde-feat-xl .elementor-banner-img,
  .ltde-borrador-destacados .ltde-feat-xl .elementor-banner-img img {
    min-height: 280px;
  }
  .ltde-borrador-destacados .ltde-feat-m .elementor-banner,
  .ltde-borrador-destacados .ltde-feat-m .elementor-banner-wrapper,
  .ltde-borrador-destacados .ltde-feat-m .elementor-banner-img,
  .ltde-borrador-destacados .ltde-feat-m .elementor-banner-img img {
    height: 180px !important;
    max-height: 180px !important;
  }
}
@media (max-width: 767px) {
  .ltde-borrador-destacados .ltde-feat-xl .elementor-banner-img,
  .ltde-borrador-destacados .ltde-feat-xl .elementor-banner-img img {
    min-height: 220px;
  }
  .ltde-borrador-destacados .ltde-feat-m .elementor-banner,
  .ltde-borrador-destacados .ltde-feat-m .elementor-banner-wrapper,
  .ltde-borrador-destacados .ltde-feat-m .elementor-banner-img,
  .ltde-borrador-destacados .ltde-feat-m .elementor-banner-img img {
    height: 170px !important;
    max-height: 170px !important;
  }
}

/* Suscripciones stock (hioutofstocknotification): misma escala que FA del menú Mi cuenta */
.my-account-side-links .hi-oosn-account-link__icon,
.my-account-side-links .hi-oosn-account-link svg {
  width: 1.15em !important;
  height: 1.15em !important;
  margin: 0 0.35em 0 0 !important;
  display: inline-block !important;
  vertical-align: -0.1em;
}
.my-account-side-links .hi-oosn-account-link .link-item {
  display: flex;
  align-items: center;
}
/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

/*MODSYS 10-03-25*/
.estimateddelivery .title-delivery:before {
    font-family: "FontAwesome";
    font-size: 19px;
    line-height: 24px;
    font-weight: 400;
    content: "\f0d1";
    margin-right: 7px;
}

.estimateddelivery .title-delivery{
    margin-bottom: .5rem;
    font-family: inherit;
    font-weight: 700;
    line-height: 1.2;
    color: inherit;
    font-size: 1.125rem;
}

.product-description h2, .product-description h3, 
.category-description h2, .category-description h3  {
    margin-top: 2%;
}
.product-description p, .category-description p {
    margin-bottom: 1%;
}

@media only screen and (max-width: 767px) {
	.product-description h2, .product-description h3, 
	.category-description h2, .category-description h3  {
	    margin-top: 7%;
	}
	.product-description p, .category-description p {
	    margin-bottom: 5%;
	}
	.category-description.category-description-bottom.hidden-sm-down {
	    display: block !important;
	}
}
/* LTDE checkout — métodos de pago alineados (jun 2026) */
.payment-options .payment-option-row {
    margin-bottom: 0.35rem;
}

.payment-options .payment-option {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 40px;
}

.payment-options .payment-option .custom-radio {
    flex: 0 0 auto;
    margin: 0;
    align-self: center;
}

.payment-options .payment-option__label {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    max-width: none !important;
    width: auto !important;
    margin: 0;
    gap: 0.75rem;
    cursor: pointer;
    flex-wrap: nowrap;
}

.payment-options .payment-option__logo {
    flex: 0 0 56px;
    width: 56px;
    height: 32px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.payment-options .payment-option__logo-img {
    display: block;
    width: 56px !important;
    height: 32px !important;
    max-width: 56px !important;
    max-height: 32px !important;
    object-fit: contain;
    object-position: center;
}

.payment-options .payment-option__logo-placeholder {
    display: block;
    width: 56px;
    height: 32px;
}

.payment-options .payment-option__text {
    flex: 1 1 auto;
    line-height: 1.35;
    align-self: center;
}

/* Evita que el tema limite el ancho del label y rompa la fila */
#checkout-payment-step .payment-options label.payment-option__label {
    max-width: none !important;
}

.payment-options .payment-option-row .additional-information,
.payment-options .payment-option-row .js-payment-option-form {
    margin-left: calc(1.25rem + 56px + 0.75rem);
    margin-top: 0.35rem;
}

/* PayPal: ocultar icono info suelto del bloque extra (el logo va en la fila) */
.payment-options .payment-option-row--paypal .additional-information [data-paypal-info] {
    display: none !important;
}

.payment-options .payment-option-row .additional-information .pp-info img {
    max-width: 32px;
    max-height: 32px;
}

@media (max-width: 575px) {
    .payment-options .payment-option-row .additional-information,
    .payment-options .payment-option-row .js-payment-option-form {
        margin-left: calc(1rem + 48px + 0.5rem);
    }

    .payment-options .payment-option__logo {
        flex-basis: 48px;
        width: 48px;
        height: 28px;
    }

    .payment-options .payment-option__logo-img {
        width: 48px !important;
        height: 28px !important;
        max-width: 48px !important;
        max-height: 28px !important;
    }

    .payment-options .payment-option__logo-placeholder {
        width: 48px;
        height: 28px;
    }
}

/* LTDE — pestañas y títulos de ficha producto (jun 2026) */
#product .product-tabs {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

#product .product-tabs > .nav-tabs,
#product #product-infos-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.4rem;
    padding: 0.4rem;
    margin-bottom: 1.75rem;
    border: none;
    border-radius: 12px;
    background: #f3f4f6;
}

#product .product-tabs .nav-tabs .nav-item {
    margin: 0;
}

#product .product-tabs .nav-tabs .nav-link {
    opacity: 1 !important;
    padding: 0.8rem 1.35rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.01em;
    color: #4b5563 !important;
    background: transparent;
    border: none !important;
    border-radius: 9px;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

#product .product-tabs .nav-tabs .nav-link:hover,
#product .product-tabs .nav-tabs .nav-link:focus {
    color: #111827 !important;
    background: rgba(255, 255, 255, 0.72);
    border: none !important;
}

#product .product-tabs .nav-tabs .nav-link.active {
    color: #111827 !important;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 14px rgba(0, 0, 0, 0.08);
    border: none !important;
}

#product .product-tabs .nav-tabs .nav-link.active::before {
    content: '';
    display: block;
    width: 1.75rem;
    height: 3px;
    margin: 0 auto 0.45rem;
    border-radius: 999px;
    background: #ca5058;
}

#product #product-infos-tabs-content.tab-content {
    padding-top: 0.25rem;
}

#product .product-sections .section-title,
#product .block-section > .section-title {
    position: relative;
    margin-bottom: 1rem;
    padding-bottom: 0.65rem;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    color: #111827 !important;
    border-bottom: 2px solid #e5e7eb;
}

#product .product-sections .section-title::after,
#product .block-section > .section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 2.75rem;
    height: 2px;
    border-radius: 999px;
    background: #ca5058;
}

#product .product-sections .section-title span,
#product .block-section > .section-title span {
    display: inline-block;
}

#product .iqit-accordion .title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    border-bottom: 1px solid #e5e7eb;
}

#product .iqit-accordion .title a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
    color: inherit;
    text-decoration: none;
}

#product .iqit-accordion .nav-tabs .nav-link {
    opacity: 1 !important;
    font-weight: 600;
    border-radius: 8px;
}

@media (max-width: 767px) {
    #product .product-tabs > .nav-tabs,
    #product #product-infos-tabs {
        flex-direction: column;
        gap: 0.35rem;
    }

    #product .product-tabs .nav-tabs .nav-link {
        width: 100%;
        text-align: left;
        white-space: normal;
    }

    #product .product-tabs .nav-tabs .nav-link.active::before {
        margin-left: 0;
        margin-right: auto;
    }

    #product .product-sections .section-title,
    #product .block-section > .section-title {
        font-size: 1.2rem;
    }
}

/* LTDE — newsletter footer (displayFooterBefore, jun 2026) */
#footer-container-main.footer-style-1 .ps-emailsubscription-block .ps-emailsubscription-conditions,
#footer-container-main.footer-style-1 .ps-emailsubscription-block .gdpr_module {
    max-width: none !important;
}

#footer .ltde-footer-newsletter {
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid #e5e7eb;
}

#footer .ltde-footer-newsletter__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 2rem;
}

#footer .ltde-footer-newsletter__text {
    flex: 1 1 220px;
    max-width: 36rem;
}

#footer .ltde-footer-newsletter__title {
    margin: 0 0 0.35rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: #111827;
}

#footer .ltde-footer-newsletter__desc {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #6b7280;
}

#footer .ltde-footer-newsletter__form {
    flex: 1 1 280px;
    max-width: 34rem;
}

#footer .ltde-footer-newsletter .newsletter-input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 3rem;
    overflow: visible;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #fff;
}

#footer .ltde-footer-newsletter .input-subscription {
    flex: 1 1 auto;
    min-width: 0;
    width: 1%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    line-height: 1.4;
    border: none;
    background: transparent;
}

#footer .ltde-footer-newsletter .btn-subscribe {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex: 0 0 auto;
    margin: 0;
    padding: 0 1.1rem;
    min-width: 3rem;
    border: none;
    border-left: 1px solid #e5e7eb;
    border-radius: 0 9px 9px 0;
    background: #111827 !important;
    color: #fff !important;
    box-shadow: none;
}

#footer .ltde-footer-newsletter .btn-subscribe:hover,
#footer .ltde-footer-newsletter .btn-subscribe:focus {
    background: #333 !important;
    color: #fff !important;
}

#footer .ltde-footer-newsletter__btn-label {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

#footer .ltde-footer-newsletter__gdpr:empty {
    display: none;
}

#footer .ltde-footer-newsletter__gdpr {
    margin-top: 0.65rem;
    font-size: 0.82rem;
    line-height: 1.4;
    color: #6b7280;
}

@media (max-width: 767px) {
    #footer .ltde-footer-newsletter {
        margin-bottom: 1.25rem;
        padding-bottom: 1.25rem;
    }

    #footer .ltde-footer-newsletter__inner {
        flex-direction: column;
        align-items: stretch;
    }

    #footer .ltde-footer-newsletter__form,
    #footer .ltde-footer-newsletter__text {
        max-width: none;
    }

    #footer .ltde-footer-newsletter__btn-label {
        display: none;
    }
}

/* === LTDE Megamenu harmony (fase 1) === */
@media (min-width: 992px) {
  #cbp-hrmenu .cbp-hrsub-inner > .container > .menu_row.first_rows,
  #cbp-hrmenu .cbp-hrsub-inner .menu_row.first_rows {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-left: -12px;
    margin-right: -12px;
  }

  #cbp-hrmenu .cbp-menu-column {
    padding-left: 12px;
    padding-right: 12px;
    margin-bottom: 0.75rem;
  }

  #cbp-hrmenu .cbp-menu-column.cbp-empty-column {
    display: none !important;
  }

  #cbp-hrmenu .cbp-menu-column-inner {
    min-height: 100%;
  }

  #cbp-hrmenu .cbp-column-title,
  #cbp-hrmenu .cbp-category-title {
    margin-bottom: 0.4rem;
    line-height: 1.25;
  }

  #cbp-hrmenu .cbp-links li,
  #cbp-hrmenu .cbp-category-tree > li {
    margin-bottom: 0.15rem;
  }

  #cbp-hrmenu .cbp-links a,
  #cbp-hrmenu .cbp-category-tree a {
    line-height: 1.35;
  }

  /* Listas largas: flujo en columnas dentro del bloque para equilibrar altura */
  #cbp-hrmenu .cbp-category-link-w > ul.cbp-links.cbp-category-tree {
    column-count: 1;
    column-gap: 1rem;
  }

  #cbp-hrmenu .cbp-menu-column.col-6 .cbp-category-link-w > ul.cbp-links.cbp-category-tree,
  #cbp-hrmenu .cbp-menu-column.col-12 .cbp-category-link-w > ul.cbp-links.cbp-category-tree {
    column-count: 2;
  }

  #cbp-hrmenu .cbp-category-link-w > ul.cbp-links.cbp-category-tree > li {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
  }

  #cbp-hrmenu .cbp-categories-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -8px;
    margin-right: -8px;
  }

  #cbp-hrmenu .cbp-categories-row > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 0.65rem;
  }
}


/* === LTDE FAQ acordeón (categorías) === */
.ltde-faq {
  margin: 1.75rem 0 0.5rem;
  padding: 1.35rem 1.25rem 0.85rem;
  background: #fff;
  border: 1px solid #e3e6eb;
  border-radius: 12px;
}
.ltde-faq__head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid #e3e6eb;
}
.ltde-faq__badge {
  flex: 0 0 auto;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a5a88;
  background: #e8f4fb;
  border: 1px solid #b8d9ec;
  border-radius: 6px;
  padding: 0.35rem 0.55rem;
  line-height: 1;
}
.ltde-faq__titles h2 {
  margin: 0 0 0.2rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #243447;
  letter-spacing: -0.02em;
}
.ltde-faq__titles p {
  margin: 0;
  font-size: 0.92rem;
  color: #5c6570;
}
.ltde-faq details { border-bottom: 1px solid #e3e6eb; }
.ltde-faq details:last-of-type { border-bottom: 0; }
.ltde-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 0.95rem 1.75rem 0.95rem 0;
  font-weight: 600;
  font-size: 1rem;
  color: #243447;
  position: relative;
}
.ltde-faq summary::-webkit-details-marker { display: none; }
.ltde-faq summary::after {
  content: "";
  position: absolute;
  right: 0.15rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid #5c6570;
  border-bottom: 2px solid #5c6570;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.18s ease;
}
.ltde-faq details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}
.ltde-faq summary:hover { color: #0080c7; }
.ltde-faq__ans {
  padding: 0 0 1rem;
  color: #5c6570;
  font-size: 0.95rem;
  line-height: 1.55;
}
.ltde-faq__ans p { margin: 0 0 0.55rem; }
.ltde-faq__ans p:last-child { margin-bottom: 0; }
@media (max-width: 575px) {
  .ltde-faq { padding: 1.1rem 1rem 0.7rem; }
  .ltde-faq__titles h2 { font-size: 1.2rem; }
}

/* LTDE-PAGESPEED-CLS */
/* Stabilize content shell without breaking header/megamenu (no contain on #wrapper/#header). */
#content-wrapper,
main#content,
#main {
  min-height: 40vh;
}
/* Banner images: do NOT force 3:1 — square category tiles (1024x1024) were cropped.
   Only constrain max width; keep natural aspect ratio. */
.elementor-iqit-banner img {
  max-width: 100%;
  height: auto;
}
/* Wide top banners only (Fermax / Herramientas strip) */
.elementor-iqit-banner img[width="1200"],
.elementor-iqit-banner img[height="400"] {
  aspect-ratio: 3 / 1;
  object-fit: cover;
}
.elementor-iqit-banner,
.elementor-iqit-banner figure {
  min-height: 0;
}

/**
 * LTDE PageSpeed — CLS / layout stability
 * Product thumbs, badges, ProductsListTabs reservation.
 */

/* Reserve space for Warehouse product miniatures (SVG placeholder → real image) */
article.product-miniature .thumbnail-container,
article.product-miniature .thumbnail,
.product-miniature .thumbnail-container .thumbnail {
  aspect-ratio: 236 / 305;
  display: block;
  overflow: hidden;
}

article.product-miniature img.product-thumbnail-first,
article.product-miniature img.lazy-product-image,
article.product-miniature img.js-lazy-product-image,
article.product-miniature .thumbnail img.img-fluid {
  width: 100%;
  height: auto;
  aspect-ratio: 236 / 305;
  object-fit: contain;
  vertical-align: middle;
}

/* Elementor ProductsListTabs: reserve height only (no CSS contain — can clip UI) */
.elementor-widget[data-element_type="prestashop-widget-ProductsListTabs"],
.elementor-widget-prestashop-widget-ProductsListTabs {
  min-height: 320px;
}

/* Rating badges topbar: restore natural size (do NOT shrink Google/Trustpilot).
   Override any stale cached rules from v1.0.0. */
img[alt="Trustpilot rating"],
img[alt="Google rating"],
img[alt="Valoraciones Trustpilot"],
img[alt="Valoraciones Google"],
img[src*="valoraciones_badge"],
img[src*="valoraciones_google_badge"],
.topbar-envio-google img,
.topbar-envio-trustpilot img,
a.topbar-envio-google img,
a[class*="topbar-envio"] img[src*="valoraciones_"] {
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain;
  vertical-align: middle;
}

/* Keep Revi untouched / consistent */
.topbar-envio-revi img,
img[alt="Valoraciones Revi"],
img[alt="Revi rating"],
img[src*="valoraciones_revi"] {
  width: auto !important;
  height: auto !important;
  max-height: none !important;
  vertical-align: middle;
}

/* Font Awesome: prefer swap if @font-face is redefined later */
@font-face {
  font-family: "FontAwesome";
  font-display: swap;
}

/* --- Accessibility (PSI color-contrast / heading visuals) --- */
#search_widget input.form-control,
#mobile_search input.form-control,
.header-top input[name="s"],
input.form-control[name="s"] {
  color: #1a1a1a !important;
}
#search_widget input.form-control::placeholder,
#mobile_search input.form-control::placeholder,
input.form-control[name="s"]::placeholder {
  color: #444444 !important;
  opacity: 1;
}
#iqitmegamenu-horizontal .cbp-tab-title,
#iqitmegamenu-horizontal .cbp-tabs-names .cbp-tab-title,
#iqitmegamenu-horizontal a .cbp-tab-title {
  /* Restored: do not force black on blue mega-menu bar (broke brand look). */
  color: inherit;
}
h1.elementor-heading-title,
h1.elementor-heading-title span {
  color: #1a1a1a !important;
}
/* Product card / footer: gray text often fails WCAG AA (~4.5) */
article.product-miniature .product-description h2 a,
article.product-miniature .product-title a,
article.product-miniature .h3 a {
  color: #222222 !important;
}
article.product-miniature input.input-qty {
  color: #1a1a1a !important;
}
#footer .block-title span,
#footer .block-content a,
#footer .contact-rich,
#footer .contact-rich a,
#footer .copyright-txt,
.footer-container a {
  color: #1f1f1f !important;
}
#footer .block-social-links a {
  color: #1f1f1f !important;
}
/* Soften only slightly — keep brand button look but push over 4.5 when possible */
.btn-product-list,
.btn.btn-product-list.add-to-cart {
  filter: none;
}
.product-flag.on-sale {
  text-shadow: none;
  background-color: #9b1c1c !important;
  color: #ffffff !important;
}

/**
 * Stock badges — modelo D (chip + punto de estado).
 * Pure CSS; hide FA icons (dot replaces them). Override Bootstrap d-none on last items.
 */
.badge.product-available,
.badge.product-unavailable,
.badge.product-last-items,
.badge.badge-success.product-available,
.badge.badge-danger.product-unavailable,
.badge.badge-warning.product-last-items {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5em;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.25;
  padding: 0.4em 0.75em 0.4em 0.65em;
  border-radius: 6px;
  border: 1px solid #e0e6ed;
  background: #f3f5f8 !important;
  background-image: none !important;
  text-shadow: none;
  box-shadow: none;
  vertical-align: middle;
}
.badge.product-available i,
.badge.product-unavailable i,
.badge.product-last-items i {
  display: none !important;
}
.badge.product-available::before,
.badge.product-unavailable::before,
.badge.product-last-items::before {
  content: "";
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  flex-shrink: 0;
}
.badge.product-available,
.badge.badge-success.product-available {
  color: #14532d !important;
}
.badge.product-available::before {
  background: #16a34a;
}
.badge.product-last-items,
.badge.badge-warning.product-last-items {
  color: #713f12 !important;
}
.badge.product-last-items::before {
  background: #eab308;
}
.badge.product-unavailable,
.badge.badge-danger.product-unavailable {
  color: #7f1d1d !important;
}
.badge.product-unavailable::before {
  background: #dc2626;
}
/* Banner titles demoted h4→p for heading-order; keep visual weight */
p.elementor-iqit-banner-title,
.elementor-iqit-banner-title {
  display: block;
  margin: 0;
  font-weight: 700;
  line-height: 1.25;
  color: inherit;
}

/* Light mobile CLS reserve (safe; no theme-CSS async) */
@media (max-width: 767px) {
  .elementor-widget[data-element_type="prestashop-widget-ProductsListTabs"],
  .elementor-widget-prestashop-widget-ProductsListTabs {
    min-height: 420px;
  }
  .elementor-iqit-banner,
  .elementor-iqit-banner figure {
    min-height: 0;
  }
  article.product-miniature .product-description,
  article.product-miniature .highlighted-informations {
    min-height: 3.2em;
  }
}

/* LTDE-CATMAP-COMPACT LTDE-CATMAP-V=2 */
/* Compact catalog map — seasonal tiles untouched */
.ltde-borrador-catmap-head {
  padding-top: 20px !important;
  padding-bottom: 2px !important;
}
.ltde-borrador-catmap-head .elementor-heading-title {
  font-size: 22px !important;
  margin: 0 !important;
}
.ltde-borrador-catmap {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.ltde-borrador-catmap .elementor-column {
  padding: 0 !important;
}
.ltde-borrador-catmap .elementor-widget-banner,
.ltde-borrador-catmap .elementor-widget-banner .elementor-widget-container {
  margin: 0 !important;
}
/* All known Iqit/Elementor banner image wrappers */
.ltde-borrador-catmap .elementor-iqit-banner,
.ltde-borrador-catmap .elementor-banner,
.ltde-borrador-catmap .elementor-banner-wrapper {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  min-height: 0 !important;
  height: 96px !important;
  max-height: 96px !important;
}
.ltde-borrador-catmap .elementor-iqit-banner-img,
.ltde-borrador-catmap .elementor-banner-img,
.ltde-borrador-catmap .elementor-iqit-banner figure,
.ltde-borrador-catmap .elementor-banner figure {
  height: 96px !important;
  max-height: 96px !important;
  margin: 0 !important;
  overflow: hidden !important;
}
.ltde-borrador-catmap .elementor-iqit-banner-img img,
.ltde-borrador-catmap .elementor-banner-img img,
.ltde-borrador-catmap .elementor-widget-banner img,
.ltde-borrador-catmap .elementor-iqit-banner img,
.ltde-borrador-catmap .elementor-banner img {
  width: 100% !important;
  height: 96px !important;
  max-height: 96px !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}
/* Readable centered label */
.ltde-borrador-catmap .elementor-iqit-banner-content,
.ltde-borrador-catmap .elementor-banner-content,
.ltde-borrador-catmap .elementor-iqit-banner .elementor-banner-content {
  padding: 8px 10px !important;
  background: linear-gradient(to top, rgba(0, 40, 70, 0.82) 0%, rgba(0, 62, 101, 0.35) 55%, rgba(0, 62, 101, 0.05) 100%) !important;
}
.ltde-borrador-catmap .elementor-iqit-banner-title,
.ltde-borrador-catmap .elementor-banner-title,
.ltde-borrador-catmap .elementor-iqit-banner .elementor-heading-title,
.ltde-borrador-catmap .elementor-widget-banner h3,
.ltde-borrador-catmap .elementor-widget-banner h4,
.ltde-borrador-catmap .elementor-widget-banner .elementor-iqit-banner-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  margin: 0 !important;
}
.ltde-borrador-catmap .elementor-iqit-banner-description,
.ltde-borrador-catmap .elementor-banner-description,
.ltde-borrador-catmap .elementor-widget-banner .elementor-iqit-banner-description {
  display: none !important; /* keep label only, like Efectoled quick cats */
}
.ltde-borrador-catmap .elementor-button,
.ltde-borrador-catmap .elementor-iqit-banner .elementor-button {
  display: none !important;
}
@media (max-width: 991px) {
  .ltde-borrador-catmap .elementor-iqit-banner,
  .ltde-borrador-catmap .elementor-banner,
  .ltde-borrador-catmap .elementor-banner-wrapper,
  .ltde-borrador-catmap .elementor-iqit-banner-img,
  .ltde-borrador-catmap .elementor-banner-img,
  .ltde-borrador-catmap .elementor-iqit-banner-img img,
  .ltde-borrador-catmap .elementor-banner-img img,
  .ltde-borrador-catmap .elementor-widget-banner img,
  .ltde-borrador-catmap .elementor-iqit-banner img,
  .ltde-borrador-catmap .elementor-banner img {
    height: 88px !important;
    max-height: 88px !important;
  }
  .ltde-borrador-catmap .elementor-iqit-banner-title,
  .ltde-borrador-catmap .elementor-banner-title,
  .ltde-borrador-catmap .elementor-widget-banner h3,
  .ltde-borrador-catmap .elementor-widget-banner h4 {
    font-size: 12px !important;
  }
}
@media (max-width: 767px) {
  .ltde-borrador-catmap .elementor-iqit-banner,
  .ltde-borrador-catmap .elementor-banner,
  .ltde-borrador-catmap .elementor-banner-wrapper,
  .ltde-borrador-catmap .elementor-iqit-banner-img,
  .ltde-borrador-catmap .elementor-banner-img,
  .ltde-borrador-catmap .elementor-iqit-banner-img img,
  .ltde-borrador-catmap .elementor-banner-img img,
  .ltde-borrador-catmap .elementor-widget-banner img,
  .ltde-borrador-catmap .elementor-iqit-banner img,
  .ltde-borrador-catmap .elementor-banner img {
    height: 78px !important;
    max-height: 78px !important;
  }
  .ltde-borrador-catmap .elementor-iqit-banner-title,
  .ltde-borrador-catmap .elementor-banner-title,
  .ltde-borrador-catmap .elementor-widget-banner h3,
  .ltde-borrador-catmap .elementor-widget-banner h4 {
    font-size: 11px !important;
  }
}

/* LTDE-PRO-BLOCK */
.ltde-borrador-pro {
  background-color: #003E65 !important;
}
.ltde-borrador-pro > .elementor-container {
  max-width: none !important;
}
.ltde-borrador-pro .ltde-pro-visual {
  min-height: 420px;
  width: 100%;
}
.ltde-borrador-pro .ltde-pro-sub {
  color: #d5e6f2;
  margin: 0 0 1.2rem;
  line-height: 1.45;
}
.ltde-borrador-pro .ltde-pro-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.55rem;
}
.ltde-borrador-pro .ltde-pro-bullets li {
  position: relative;
  padding-left: 1.1rem;
  color: #eef5fa;
  margin: 0;
  line-height: 1.4;
}
.ltde-borrador-pro .ltde-pro-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  background: #DB702D;
}
.ltde-borrador-pro .ltde-pro-cta {
  display: inline-block;
  background: #DB702D;
  color: #fff !important;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 4px;
  text-decoration: none !important;
  line-height: 1.2;
}
.ltde-borrador-pro .ltde-pro-cta:hover,
.ltde-borrador-pro .ltde-pro-cta:focus {
  filter: brightness(1.06);
  color: #fff !important;
}
@media (max-width: 991px) {
  .ltde-borrador-pro .ltde-pro-visual {
    min-height: 260px;
  }
}
@media (max-width: 767px) {
  .ltde-borrador-pro .ltde-pro-visual {
    min-height: 220px;
  }
}
/* /LTDE-PRO-BLOCK */

/* LTDE-DESTACADOS-COMPACT */
.ltde-borrador-destacados .elementor-container {
  align-items: stretch !important;
}
.ltde-borrador-destacados .elementor-row {
  display: flex !important;
  align-items: stretch !important;
}
.ltde-borrador-destacados .ltde-feat-col-xl,
.ltde-borrador-destacados .ltde-feat-col-m {
  display: flex !important;
  flex-direction: column;
}
.ltde-borrador-destacados .ltde-feat-col-xl .elementor-column-wrap,
.ltde-borrador-destacados .ltde-feat-col-xl .elementor-widget-wrap,
.ltde-borrador-destacados .ltde-feat-col-m .elementor-column-wrap,
.ltde-borrador-destacados .ltde-feat-col-m .elementor-widget-wrap {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  width: 100%;
}
.ltde-borrador-destacados .ltde-feat-xl {
  flex: 1 1 auto;
  height: 100%;
}
.ltde-borrador-destacados .ltde-feat-xl .elementor-widget-container,
.ltde-borrador-destacados .ltde-feat-xl .elementor-banner,
.ltde-borrador-destacados .ltde-feat-xl .elementor-banner-wrapper,
.ltde-borrador-destacados .ltde-feat-xl .elementor-banner-img {
  height: 100% !important;
  min-height: 420px;
}
.ltde-borrador-destacados .ltde-feat-xl .elementor-banner-img img {
  width: 100% !important;
  height: 100% !important;
  min-height: 420px;
  object-fit: cover !important;
  object-position: right center !important;
  display: block;
}
.ltde-borrador-destacados .ltde-feat-m {
  flex: 1 1 0;
}
.ltde-borrador-destacados .ltde-feat-m .elementor-banner,
.ltde-borrador-destacados .ltde-feat-m .elementor-banner-wrapper,
.ltde-borrador-destacados .ltde-feat-m .elementor-banner-img {
  height: 200px !important;
  max-height: 200px !important;
}
.ltde-borrador-destacados .ltde-feat-m .elementor-banner-img img {
  width: 100% !important;
  height: 200px !important;
  max-height: 200px !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block;
}
@media (max-width: 991px) {
  .ltde-borrador-destacados .ltde-feat-xl .elementor-banner-img,
  .ltde-borrador-destacados .ltde-feat-xl .elementor-banner-img img {
    min-height: 280px;
  }
  .ltde-borrador-destacados .ltde-feat-m .elementor-banner,
  .ltde-borrador-destacados .ltde-feat-m .elementor-banner-wrapper,
  .ltde-borrador-destacados .ltde-feat-m .elementor-banner-img,
  .ltde-borrador-destacados .ltde-feat-m .elementor-banner-img img {
    height: 180px !important;
    max-height: 180px !important;
  }
}
@media (max-width: 767px) {
  .ltde-borrador-destacados .ltde-feat-xl .elementor-banner-img,
  .ltde-borrador-destacados .ltde-feat-xl .elementor-banner-img img {
    min-height: 220px;
  }
  .ltde-borrador-destacados .ltde-feat-m .elementor-banner,
  .ltde-borrador-destacados .ltde-feat-m .elementor-banner-wrapper,
  .ltde-borrador-destacados .ltde-feat-m .elementor-banner-img,
  .ltde-borrador-destacados .ltde-feat-m .elementor-banner-img img {
    height: 170px !important;
    max-height: 170px !important;
  }
}

/* Suscripciones stock (hioutofstocknotification): misma escala que FA del menú Mi cuenta */
.my-account-side-links .hi-oosn-account-link__icon,
.my-account-side-links .hi-oosn-account-link svg {
  width: 1.15em !important;
  height: 1.15em !important;
  margin: 0 0.35em 0 0 !important;
  display: inline-block !important;
  vertical-align: -0.1em;
}
.my-account-side-links .hi-oosn-account-link .link-item {
  display: flex;
  align-items: center;
}


/* LTDE Redsys error/cancel payment page */
.ltde-redsys-result {
  max-width: 560px;
  margin: 2.5rem auto 3.5rem;
  padding: 2.25rem 1.5rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, #f4f8fb 0%, #ffffff 55%);
  border: 1px solid #d7e3ec;
  border-radius: 6px;
}
.ltde-redsys-result__icon {
  width: 4.25rem;
  height: 4.25rem;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff4f4;
  color: #c0392b;
  font-size: 2.25rem;
  line-height: 1;
}
.ltde-redsys-result__title {
  margin: 0 0 0.85rem;
  color: #003E65;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.3;
}
.ltde-redsys-result__lead {
  margin: 0 auto 1.35rem;
  max-width: 34rem;
  color: #445566;
  font-size: 1.05rem;
  line-height: 1.55;
}
.ltde-redsys-result__cause {
  margin: 0 auto 1.5rem;
  max-width: 34rem;
  padding: 0.85rem 1rem;
  text-align: left;
  background: #fff8f0;
  border-left: 3px solid #e67e22;
  color: #5a4630;
  font-size: 0.95rem;
  line-height: 1.45;
}
.ltde-redsys-result__cause-label {
  font-weight: 700;
  margin-right: 0.25rem;
}
.ltde-redsys-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.25rem;
}
.ltde-redsys-result__actions .btn {
  min-width: 11rem;
}
.ltde-redsys-result__home {
  margin: 0;
  font-size: 0.95rem;
}
.ltde-redsys-result__home a {
  color: #0080c7;
  text-decoration: underline;
}
.ltde-redsys-result__home a:hover {
  color: #003E65;
}
@media (max-width: 575px) {
  .ltde-redsys-result {
    margin: 1.25rem 0 2rem;
    padding: 1.75rem 1rem 1.5rem;
  }
  .ltde-redsys-result__actions .btn {
    width: 100%;
  }
}


/* === LTDE language flag size match header icons (ago 2026) ===
   Header user/cart icons: .header-btn > .icon { font-size: 1.42857rem } (14px root → 20px)
*/
#header .col-header-right #language_selector {
  display: inline-flex;
  align-items: center;
  align-self: center;
  margin-right: 0.35rem;
}
#header .col-header-right #language_selector .language-selector > a.expand-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  line-height: 1;
  min-height: 1.42857rem;
  padding: 0;
  color: inherit;
  text-decoration: none;
}
#header .col-header-right #language_selector .language-selector > a.expand-more .lang-flag {
  width: auto;
  height: 1.42857rem;
  max-width: none;
  object-fit: cover;
  vertical-align: middle;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}
#header .col-header-right #language_selector .language-selector > a.expand-more > .fa-angle-down {
  font-size: 0.85rem;
  line-height: 1;
  opacity: 0.75;
}
#header .col-header-right #language_selector .dropdown-menu .lang-flag {
  height: 1rem;
  width: auto;
  max-width: none;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
