/* ===== Social / editorial gallery =====
   Full-bleed swipeable row of social imagery. Deliberately NOT inside
   kombos-container: the reference runs the imagery close to the edges. */
.cc_zOOmHq7o96_N3CY5rEo9m .kombos-social-gallery {
  /* Horizontal inset of the section, also the track's scroll padding */
  --section-px: 0.75rem;
  /* Tiles visible at this breakpoint — the fraction leaves the next one
     peeking so the row reads as swipeable */
  --cols: 1.5;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding-top: var(--section-pt, 3rem);
  padding-bottom: var(--section-pb, 3rem);
}

/* ===== Header ===== */
.cc_zOOmHq7o96_N3CY5rEo9m .kombos-social-gallery__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-inline: var(--section-px);
  padding-bottom: 1rem;
}

.cc_zOOmHq7o96_N3CY5rEo9m .kombos-social-gallery__headings {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.cc_zOOmHq7o96_N3CY5rEo9m .kombos-social-gallery__title {
  margin: 0;
  color: var(--kombos-gray-900);
  letter-spacing: 0.01em;
}

.cc_zOOmHq7o96_N3CY5rEo9m .kombos-social-gallery__subtitle {
  margin: 0;
  color: var(--kombos-gray-500);
}

.cc_zOOmHq7o96_N3CY5rEo9m .kombos-social-gallery__handle {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  align-self: flex-start;
  color: var(--kombos-gray-900);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.cc_zOOmHq7o96_N3CY5rEo9m a.kombos-social-gallery__handle:hover {
  opacity: 0.6;
}

.cc_zOOmHq7o96_N3CY5rEo9m a.kombos-social-gallery__handle:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 2px;
}

/* Icon sizing is done with font-size, per the design system */
.cc_zOOmHq7o96_N3CY5rEo9m .kombos-social-gallery__icon {
  flex-shrink: 0;
  font-size: 1rem;
}

/* ===== Gallery row =====
   The arrows are siblings of the scrolling track inside this wrapper, so the
   track's overflow-x never clips them. They are positioned and the track is
   not, so they paint above the images without needing a z-index. */
.cc_zOOmHq7o96_N3CY5rEo9m .kombos-social-gallery__viewport {
  position: relative;
  /* The horizontal inset lives here, not on the track, so the track's
     overflow clips exactly at the last visible column — on desktop that
     means N full tiles and no fractional peek. */
  padding-inline: var(--section-px);
}

/* ===== Arrows =====
   Same language as the product slider: bare chevrons, no circle, border,
   shadow, fill or blend mode, over a transparent hit target.
   Desktop only — phones and tablets swipe. */
.cc_zOOmHq7o96_N3CY5rEo9m .kombos-social-gallery .kombos-social-gallery__arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-size: 1.125rem;
  color: var(--kombos-gray-900);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.cc_zOOmHq7o96_N3CY5rEo9m .kombos-social-gallery .kombos-social-gallery__arrow:hover:not(:disabled) {
  background: none;
  opacity: 0.55;
}

/* Muted, not removed — both controls stay in place at either end. */
.cc_zOOmHq7o96_N3CY5rEo9m .kombos-social-gallery .kombos-social-gallery__arrow:disabled {
  color: var(--kombos-gray-900);
  opacity: 0.25;
  cursor: default;
}

.cc_zOOmHq7o96_N3CY5rEo9m .kombos-social-gallery .kombos-social-gallery__arrow:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: -2px;
}

.cc_zOOmHq7o96_N3CY5rEo9m .kombos-social-gallery .kombos-social-gallery__arrow--prev {
  left: 0;
}

.cc_zOOmHq7o96_N3CY5rEo9m .kombos-social-gallery .kombos-social-gallery__arrow--next {
  right: 0;
}

/* ===== Track ===== */
.cc_zOOmHq7o96_N3CY5rEo9m .kombos-social-gallery__track {
  display: flex;
  gap: var(--tile-gap, 4px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.cc_zOOmHq7o96_N3CY5rEo9m .kombos-social-gallery__track::-webkit-scrollbar {
  display: none;
}

/* IkasComponentRenderer emits display:contents wrappers, so the real flex
   items are the grandchild wrappers — the same selector shape HeroSlider and
   MenuPanel already rely on. */
.cc_zOOmHq7o96_N3CY5rEo9m .kombos-social-gallery__track > * > * > * {
  flex: 0 0
    calc((100% - (var(--cols) - 1) * var(--tile-gap, 4px)) / var(--cols));
  min-width: 0;
  scroll-snap-align: start;
}

/* ===== Breakpoints ===== */
@media (min-width: 640px) {
  .cc_zOOmHq7o96_N3CY5rEo9m .kombos-social-gallery {
    --section-px: 1.25rem;
    --cols: 2.4;
  }
}

@media (min-width: 768px) {
  .cc_zOOmHq7o96_N3CY5rEo9m .kombos-social-gallery {
    --cols: 3.2;
  }

  .cc_zOOmHq7o96_N3CY5rEo9m .kombos-social-gallery__header {
    padding-bottom: 1.25rem;
  }
}

/* Desktop: exactly the chosen number of full columns — a whole number, so
   the row fills the width with no fractional peek. Extra items continue
   along the same track and are reached with the arrows. */
@media (min-width: 1024px) {
  .cc_zOOmHq7o96_N3CY5rEo9m .kombos-social-gallery {
    --section-px: 1.5rem;
    --cols: var(--desktop-cols, 4);
  }

  .cc_zOOmHq7o96_N3CY5rEo9m .kombos-social-gallery .kombos-social-gallery__arrow {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_zOOmHq7o96_N3CY5rEo9m .kombos-social-gallery__track {
    scroll-behavior: auto;
  }
}
