/* ==========================================================================
   CATEGORY SLIDER
   ========================================================================== */

  /* Frontpage - Cat-Slider */
  .swiper_catart-card {
      display:block;
      position:relative;
      overflow:hidden;
      border-radius:15px;
      background-position:center center;
      background-size:cover;
      background-repeat:no-repeat;
      width:100%;
      height:450px;
      border-radius:5px;
      text-decoration: none;
  }
  .swiper_catart-card::before {
      content:"";
      position:absolute;
      inset:0;
      background-image:inherit;
      background-size:inherit;
      background-repeat:inherit;
      background-position:inherit;
      transition:transform .8s ease, filter .8s ease;
      transform-origin:center;
      z-index:0;
  }
  .swiper_catart-card > * {
      position:relative;
      z-index:1;
  }
  .swiper_catart .swiper-slide:hover .swiper_catart-card::before {
      transform:scale(1.1);
      filter:brightness(1.05);
  }
  .swiper_catart .swiper-slide {
      will-change:transform;
  }
  .swiper_catart-card-inner {
      padding:15px;
      height:100%;
      display:flex;
      flex-direction:column;
      align-items:flex-start;
      background:linear-gradient(0deg,rgba(0, 0, 0, 0) 33%, var(--brand-overlay-scrim-strong) 100%);
  }
  .swiper_catart-card-cta {
      margin-top:auto;
      align-self:flex-end;
      color:var(--brand-text-inverse);
      display:inline-flex;
      align-items:center;
      gap:6px;
      white-space:nowrap;
      opacity:0;
      transform:translateY(10px);
      transition:opacity .25s ease, transform .25s ease;
  }
  .swiper_catart-card:hover .swiper_catart-card-cta {
      opacity:1;
      transform:translateY(0);
  }

  .sliderswiper .main-slider-image-column-bg {
      position: relative;
      overflow: hidden;
  }
  .sliderswiper .main-slider-image-column-bg > .topix-slider-video,
  .swiper_catart-card > .topix-slider-video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
      border-radius: inherit;
      z-index: 0;
      opacity: 0;
      pointer-events: none;
  }
  .sliderswiper .main-slider-image-column-bg > .topix-slider-video.is-playing {
      opacity: 1;
  }
  .swiper_catart .swiper-slide > a.swiper_catart-card > video.topix-slider-video.is-playing {
      opacity: 1;
  }
  @media (prefers-reduced-motion: reduce) {
      .topix-slider-video {
          display: none;
      }
  }

/* ==========================================================================
   POPULAR PRODUCTS
   ========================================================================== */

  /* Frontpage - Popular Products Category Slider */
  .popular-products-in-category__wrapper {
    background-size:cover;
    background-position:center center;
    border-radius:5px;
  }
  .prdswiper_smallwimage {
    padding-left:15px;
    height:450px;
  }
  .popular-products-in-category__outer {
  height:100%; width:100%; backdrop-filter:blur(250px) contrast(1.75) !important;
    -webkit-backdrop-filter:blur(250px) contrast(1.75) !important;
    overflow:hidden;
    border-radius:5px;
  }
  .popular-products-heading {
    position:relative;
    height:180px;
    background-size:cover;
    background-position:center center;
  }
  .popular-products-heading::before {
    content:"";
    position:absolute;
    inset:0;
    background:var(--brand-overlay-scrim);
    z-index:0;
  }
  .popular-products-heading::after {
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:-50px;
    height:45%;
    background-image:var(--popular-category-bg);
    background-size:cover;
    background-position:center bottom;
    filter:blur(25px);
    -webkit-filter:blur(25px);
    transform:translateY(0%) scale(1.5);
    opacity:1;
    pointer-events:none;
  }
  .popular-products-heading__content {
    position:absolute;
    padding:15px;
    bottom:5px;
    color:var(--brand-text-inverse);
    z-index:1;
    width:100%;
  }
  .popular-products-heading__header {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
    width:100%;
  }
  .popular-products-heading__link {
    color:var(--brand-text-inverse);
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    gap:6px;
    font-weight:600;
    position:absolute;
    top:15px;
    right:15px;
    transform:none;
    z-index:2;
  }
  .popular-products-heading__link i {
    font-size:.9em;
  }

  @media (max-width: 991.98px) {
    /* iOS paints filter:blur() sharp when the same layer also has transform/translateZ.
       Chrome's visible fade is .popular-products-heading::after (blur + scale). Keep that
       layer, drop the transform, and do not leave a sharp wrapper image underneath. */
    @supports (-webkit-touch-callout: none) {
      .popular-products-in-category__wrapper {
        background-size:0 0;
      }
      .popular-products-in-category__wrapper::before {
        content:none;
      }
      .popular-products-in-category__outer {
        background-color:var(--brand-page-bg);
        background-image:none;
        backdrop-filter:none !important;
        -webkit-backdrop-filter:none !important;
      }
      .popular-products-heading::after {
        opacity:1;
        visibility:visible;
        left:-25%;
        right:-25%;
        height:68%;
        bottom:-70px;
        -webkit-filter:blur(25px);
        filter:blur(25px);
        -webkit-transform:none;
        transform:none;
      }
    }
    @media not all and (min-resolution: 0.001dpcm) {
      @supports (-webkit-appearance: none) and (stroke-color: transparent) {
        .popular-products-in-category__wrapper {
          background-size:0 0;
        }
        .popular-products-in-category__wrapper::before {
          content:none;
        }
        .popular-products-in-category__outer {
          background-color:var(--brand-page-bg);
          background-image:none;
          backdrop-filter:none !important;
          -webkit-backdrop-filter:none !important;
        }
        .popular-products-heading::after {
          opacity:1;
          visibility:visible;
          left:-25%;
          right:-25%;
          height:68%;
          bottom:-70px;
          -webkit-filter:blur(25px);
          filter:blur(25px);
          -webkit-transform:none;
          transform:none;
        }
      }
    }
  }

  @media (min-width: 992px) {
    .popular-products-in-category__wrapper {
      background-image:unset !important;
    }
    .popular-products-in-category__outer {
      overflow:visible;
      border-radius:0px;
    }
    .prdswiper_smallwimage {
      height:auto;
      padding-left:0px;
    }
    .prdswiper_smallwimage .swiper-wrapper,
    .prdswiper_smallwimage .swiper-slide {
      height:auto;
    }
    .popular-products-heading {
      position:relative;
      height:auto;
      background:none !important;
    }
    .popular-products-heading::after {
      background-image:unset;
      filter:unset;
      transform:unset;
    }
    .popular-products-heading::before {
      display:none;
    }
    .popular-products-heading__content {
      position:relative;
      padding:0px 0px 15px 0px;
      color:unset;
      width:auto;
    }
    .popular-products-heading__header {
      flex-direction:row;
      align-items:center;
    }
    .popular-products-heading__link {
      top:50%;
      right:30px;
      transform:translateY(-50%);
      color:var(--brand-text-subtle);
    }
    .popular-products-heading__link:hover {
      color:var(--brand-text);
    }
  }

/* ==========================================================================
   BRAND MARQUEE (Frontpage)
   ========================================================================== */

.topix-brand-marquee {
  --topix-brand-marquee-logo-height: 1.75rem;
  --topix-brand-marquee-gap: 2.5rem;
  --topix-brand-marquee-duration: 55s;
  width: 100%;
  padding-top: 2rem;
  padding-bottom: 0;
  background-color: var(--brand-surface);
}

.topix-brand-marquee__viewport {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.topix-brand-marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: topix-brand-marquee-scroll var(--topix-brand-marquee-duration) linear infinite;
}

.topix-brand-marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: var(--topix-brand-marquee-gap);
  padding-right: var(--topix-brand-marquee-gap);
}

.topix-brand-marquee__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.topix-brand-marquee__logo {
  display: block;
  max-height: 50px;
  width: auto;
  max-width: none;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.25;
}

@keyframes topix-brand-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (min-width: 992px) {
  .topix-brand-marquee {
    --topix-brand-marquee-logo-height: 2rem;
    --topix-brand-marquee-gap: 5rem;
    --topix-brand-marquee-duration: 65s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .topix-brand-marquee__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .topix-brand-marquee__viewport::-webkit-scrollbar {
    display: none;
  }

  .topix-brand-marquee__track {
    animation: none;
    width: auto;
    will-change: auto;
  }

  .topix-brand-marquee__group[aria-hidden="true"] {
    display: none;
  }
}


