/* ============================================================
   MasterLED — estilos del layout (extraídos de layout-both-columns.tpl)
   Cargado globalmente desde head.tpl (tras las stylesheets).
   ============================================================ */

.grecaptcha-badge {
      z-index: -1;
    }

    iframe#trustbadge-iframe+div>div>div {
      position: fixed;
      bottom: 10px !important;
      right: 10px !important;
    }

    .products.row {
      margin-left: 0 !important;
      margin-right: 0 !important;
    }

    #products {
      container-type: inline-size;
      container-name: product-list;
    }

    @container product-list (width > 539) and (width < 1080px) {
      .products.row {
        grid-template-columns: repeat(auto-fit, minmax(min(264px, 100%), 1fr)) !important;
      }

    }

    #products .products .product-miniature {
      margin: 0 !important;
    }

    @media(max-width:575px) {
      body#index {
        overflow-x: visible !important;
      }

      #content-wrapper:has(.parallax-container) {
        margin-inline: -10px !important;
      }

      .container-fluid:has(.review-container) {
        overflow-x: hidden !important;
        /* 20/11/2026: clip recorta igual pero no convierte el contenedor en zona de scroll; con hidden, la barra de
           «Cómo trabajamos» (animation-timeline) se enganchaba a este contenedor, que no se mueve, y se quedaba a medias */
        overflow-x: clip !important;

      }

    }

.category_footer-description {
          width: 100%;
          padding: 2rem 3rem;
          background: #495057;
          color: #fff !important;
          position: relative;
        }

        .category_footer-description a {
          color: #FFDD00 !important;
        }

        .category_footer-description-inner p {
          margin-bottom: 1rem;
          line-height: 1.4;
        }

        .category_footer-description-inner h2 {
          font-size: clamp(1.3rem, 0.5rem + 3.65vw, 1.7rem);
          margin-top: 2ch;
        }

        .category_footer-description-inner ul {
          margin-left: 1.5rem;
          margin-bottom: 1rem;
        }

        .category_footer-description-inner ul li {
          margin-bottom: 0.5rem;
        }

        .category_footer-description-inner {
          max-width: 1200px;
          margin: auto;
          position: relative;
        }

        .category_footer-description-inner {
          max-height: 200px;
          overflow: hidden;
          transition: max-height 0.4s ease-in-out;
          margin-bottom: 1.5rem;
        }

        .category_footer-description-inner.expanded {
          max-height: 200vh;
        }

        .btn-read-more {
          position: absolute;
          left: 50%;
          bottom: 0;
          color: #333;
          text-decoration: underline;
          font-weight: 500;
          transform: translate(-50%, 0%);
        }

#mlcp-modal {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, .5);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 99999
    }

    #mlcp-modal .box {
      width: min(900px, 95vw);
      height: min(640px, 90vh);
      background: #fff;
      border-radius: 14px;
      overflow: hidden;
      position: relative
    }

    #mlcp-close {
      position: absolute;
      right: 10px;
      top: 8px;
      border: 0;
      background: transparent;
      font-size: 28px;
      cursor: pointer;
      line-height: 1
    }

    #mlcp-frame {
      width: 100%;
      height: 100%;
      border: 0
    }

/* Estado de carga suave */
      #sumario_carrito.is-loading,
      .modern-products-list-integrated.is-loading,
      .modern-products-header.mobile-only.is-loading,
      #shipping_container_mobile.is-loading,
      .modern-cart-wrapper.is-loading,
      .products_in_cart.is-loading {
        opacity: .6;
        pointer-events: none;
        transition: opacity .15s ease-in-out;
      }

/* 2026-10-14: modales cerrados (login/registro y contacto) nunca capturan clics,
   aunque algún hijo quede con visibility:visible o pointer-events propio */
#authentication-modal:not(.shown),
#authentication-modal:not(.shown) *,
#contact-modal:not(.shown),
#contact-modal:not(.shown) * {
  pointer-events: none !important;
}
