/* Skipped (covered by shared chunk CSS): ../../sub-components/ProductCard/styles.css */

.cc_jtahuabn_PoFWjv1T8d .product-listing {
  width: 100%;
  padding: 48px 24px;
  font-family: var(--font-family, system-ui, -apple-system, sans-serif);
}

/* Opt-in only (enableStickyReveal prop) — the special pairing with a
   sticky-reveal Banner placed right before this section. margin-top:
   -own height pulls this section up to overlap exactly the tail portion of
   Banner's tall spacer (which reserved own-height + this section's height,
   see Banner/styles.css) instead of adding that same height again as extra
   empty page space. Combined with the higher z-index, this is what makes
   it slide over and cover the still-sticky Banner beneath it with zero gap
   on either side. backgroundColor is already applied inline (defaults to
   #ffffff) so it's always opaque — never see-through to the banner
   underneath. The rounded top corners reinforce the "sliding panel" read.
   Other ProductListing placements (enableStickyReveal off) skip all of
   this and behave as a plain, standalone section. */
.cc_jtahuabn_PoFWjv1T8d .product-listing.product-listing-sticky-reveal {
  position: relative;
  z-index: 10;
  margin-top: calc(-1 * var(--product-listing-height, 0px));
  border-radius: 20px 20px 0 0;
}

.cc_jtahuabn_PoFWjv1T8d .product-listing-inner {
  max-width: 1600px;
  margin: 0 auto;
}

.cc_jtahuabn_PoFWjv1T8d .product-listing-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.cc_jtahuabn_PoFWjv1T8d .product-listing-title {
  margin: 0;
  font-size: 20px;
  font-weight: var(--font-weight-base, 500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #000000;
}

.cc_jtahuabn_PoFWjv1T8d .product-listing-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: var(--font-weight-base, 500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #000000;
  text-decoration: underline;
  white-space: nowrap;
}

.cc_jtahuabn_PoFWjv1T8d .product-listing-tabs {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cc_jtahuabn_PoFWjv1T8d .product-listing-tabs::-webkit-scrollbar {
  display: none;
}

.cc_jtahuabn_PoFWjv1T8d .product-listing-tab {
  font-size: 13px;
  font-weight: var(--font-weight-base, 500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #9c9c9c;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cc_jtahuabn_PoFWjv1T8d .product-listing-tab:not(.product-listing-tab-active):hover {
  color: #333333;
  border-bottom-color: #333333;
}

.cc_jtahuabn_PoFWjv1T8d .product-listing-tab-active {
  font-weight: var(--font-weight-base, 500);
  color: #000000;
}

.cc_jtahuabn_PoFWjv1T8d .product-listing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px 16px;
}

/* Slider layout — same responsive per-card width as the grid at each
   breakpoint, but as a free-scrolling flex row instead of hard-wrapping
   rows, so extra products beyond the visible count are reachable by
   scroll/swipe instead of being cut off. */
.cc_jtahuabn_PoFWjv1T8d .product-listing-grid-slider {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  gap: 24px 16px;
}

.cc_jtahuabn_PoFWjv1T8d .product-listing-grid-slider::-webkit-scrollbar {
  display: none;
}

.cc_jtahuabn_PoFWjv1T8d .product-listing-grid-slider .product-card {
  flex: 0 0 auto;
  width: calc((100% - 4 * 16px) / 5);
  scroll-snap-align: start;
}

/* Visible scroll affordance for the slider layout — the native scrollbar
   is hidden (scrollbar-width: none above), so without this the row gives
   no visual hint that it scrolls sideways. Thumb width/position are driven
   by inline styles set in index.tsx from the row's real scroll metrics. */
.cc_jtahuabn_PoFWjv1T8d .product-listing-scrollbar-track {
  position: relative;
  height: 3px;
  margin-top: 16px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.cc_jtahuabn_PoFWjv1T8d .product-listing-scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #000000;
  border-radius: 2px;
}

.cc_jtahuabn_PoFWjv1T8d .product-listing-view-all-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* Now provided entirely by the shared .cta-button class (src/global.css) —
   this file already matched it almost exactly. */

/* Theme breakpoint: "Tablet/Mobile (1024px)" — tablet: 3 columns */
@media (max-width: 1024px) {
  .cc_jtahuabn_PoFWjv1T8d .product-listing {
    padding: 32px 16px;
  }

  .cc_jtahuabn_PoFWjv1T8d .product-listing-title {
    font-size: 17px;
  }

  .cc_jtahuabn_PoFWjv1T8d .product-listing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 12px;
  }

  .cc_jtahuabn_PoFWjv1T8d .product-listing-grid-slider {
    gap: 20px 12px;
  }

  .cc_jtahuabn_PoFWjv1T8d .product-listing-grid-slider .product-card {
    width: calc((100% - 2 * 12px) / 3);
  }
}

/* Theme breakpoint: "Tablet/Mobile (768px)" — mobile: 2 columns */
@media (max-width: 768px) {
  .cc_jtahuabn_PoFWjv1T8d .product-listing-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .cc_jtahuabn_PoFWjv1T8d .product-listing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 10px;
  }

  /* Mobile slider: exactly 2 cards fill the screen at a time (sized off the
     container's own width, not the viewport, so the section's own side
     padding is accounted for) — swiping right snaps to reveal the next 2,
     never wrapping into a new row underneath. */
  .cc_jtahuabn_PoFWjv1T8d .product-listing-grid-slider {
    gap: 12px;
  }

  .cc_jtahuabn_PoFWjv1T8d .product-listing-grid-slider .product-card {
    width: calc((100% - 12px) / 2);
  }
}
