    /* ── Reset ── */
    *, *::before, *::after {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html, body {
      height: 100%;
    }

    /* ── Slider Container ── */
    .slider {
      position: relative;
      width: 100%;
      height: clamp(320px, 72vh, calc(100vh - 100px)); /* Smaller viewport area keeps images from appearing over-zoomed */
      overflow: hidden;
      background: #fff;
    }

    /* Homepage keeps black letterbox while shared sliders remain white */
    section[data-tag="homeslider"] .slider {
      background: #000;
    }

    /* ── Individual Slide ── */
    .slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-size: contain; /* Preserve full image proportions */
      background-position: center;
      background-repeat: no-repeat;
      opacity: 0;
      transition: opacity 0.8s ease-in-out;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .slide.active {
      opacity: 1;
      z-index: 1;
    }

    /* ── Dark overlay on image for readability ── */
    .slide::before {
      content: '';
      position: absolute;
      inset: 0;
    }

    /* ── Centered Text Overlay ── */
    .slide-content {
      position: relative;
      z-index: 2;
      text-align: center;
      color: #fff;
      max-width: 800px;
      padding: 0 2rem;
    }

    .slide-content h1 {
      font-size: 25px;
      font-weight: 700;
      margin-bottom: 1rem;
      text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    }

    .slide-content p {
      font-size: 2rem;
      line-height: 2;
      text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }

    /* Resources hero: make title larger and place it higher on the image */
    section[data-tag="recursosslider"] .slide {
      align-items: flex-start;
    }

    section[data-tag="recursosslider"] .slide-content {
      padding-top: clamp(28px, 8vh, 90px);
    }

    section[data-tag="recursosslider"] .slide-content h1 {
      font-size: clamp(2.2rem, 5vw, 3.8rem);
      line-height: 1.05;
      text-shadow: 0 3px 10px rgba(0, 0, 0, 0.55);
    }

    /* Distributors page: remove header image and match Productos title style */
    section[data-tag="distribuidoresslider"] .slider {
      height: 110px;
    }

    section[data-tag="distribuidoresslider"] .slide {
      background-image: none !important;
      background-color: #fff;
      align-items: flex-start;
    }

    section[data-tag="distribuidoresslider"] .slide-content {
      color: #666;
      padding-top: 54px;
    }

    section[data-tag="distribuidoresslider"] .slide-content h1 {
      color: #666;
      font-size: 2.5rem;
      line-height: 1.2;
      font-weight: 400;
      margin-bottom: 0;
      text-shadow: none;
    }

    /* ── Navigation Arrows ── */
    .arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 10;
      background: rgba(125, 125, 125, 0.4);
      border: 2px solid rgba(255, 255, 255, 0);
      color: #fff;
      font-size: 2rem;
      width: 56px;
      height: 56px;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: left 0.3s, right 0.3s;
      user-select: none;
    }
    .arrow-left:hover { left: 24px; }
    .arrow-right:hover { right: 24px; }
    .arrow-left  { left: -20%; }
    .arrow-right { right: -20%; }
    .slide:hover ~ .arrow-left  { left: 24px; }
    .slide:hover ~ .arrow-right { right: 24px; }

    /* ── Dots Indicator ── */
    .dots {
      position: absolute;
      bottom: 32px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 10;
      display: flex;
      gap: 12px;
    }

    .dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(125, 125, 125, 0.4);
      cursor: pointer;
      transition: background 0.3s, transform 0.3s;
    }

    .dot.active {
      background: #fff;
      transform: scale(1.10);
    }

    section[data-ele="productlist"] #prodslider .dot.active {
      background: var(--wc-red);
    }

    /* ── Responsive ── */
    @media (max-width: 768px) {
      .slider { height: clamp(260px, 52vh, 520px); }
      .slide-content h1 { font-size: 2rem; }
      .slide-content p  { font-size: 1rem; }
      .arrow { width: 44px; height: 44px; font-size: 1.4rem; }
      .arrow-left  { left: 12px; }
      .arrow-right { right: 12px; }

      section[data-tag="recursosslider"] .slide-content {
        padding-top: clamp(18px, 6vh, 48px);
      }

      section[data-tag="recursosslider"] .slide-content h1 {
        font-size: clamp(1.8rem, 8vw, 2.6rem);
      }

      section[data-tag="distribuidoresslider"] .slider {
        height: 100px;
      }

      section[data-tag="distribuidoresslider"] .slide-content h1 {
        font-size: 2rem;
      }
    }