.cc_gkRgx1Vjxz_rE2hEr1plW .nx-cats {
  background: var(--nx-cats-bg, var(--nx-bg));
  color: var(--nx-ink);
}

.cc_gkRgx1Vjxz_rE2hEr1plW .nx-cats__inner {
  padding-block: 40px 16px;
}

.cc_gkRgx1Vjxz_rE2hEr1plW .nx-cats .nx-head {
  margin-bottom: 16px;
}

/* Phones: eyebrow and title above the strip; the "see all" link drops below,
   where a shopper lands after swiping through. The strip itself (scroll, snap,
   edge-bleed, item width) is the shared .nx-slider layer in global.css; the
   section only owns ordering and the card height. */
@media (max-width: 767px) {
  .cc_gkRgx1Vjxz_rE2hEr1plW .nx-cats__inner {
    display: flex;
    flex-direction: column;
    padding-bottom: 28px;
  }

  .cc_gkRgx1Vjxz_rE2hEr1plW .nx-cats .nx-head {
    display: contents;
  }

  .cc_gkRgx1Vjxz_rE2hEr1plW .nx-cats .nx-head__main {
    margin-bottom: 16px;
  }

  .cc_gkRgx1Vjxz_rE2hEr1plW .nx-cats__sliderwrap {
    order: 2;
  }

  .cc_gkRgx1Vjxz_rE2hEr1plW .nx-cats .nx-head__aside {
    order: 3;
    margin-top: 12px;
  }

  /* Slider ON (default): portrait cards for the swipe strip. */
  .cc_gkRgx1Vjxz_rE2hEr1plW .nx-cats__grid[data-m-slider="true"] {
    --nx-tile-h: clamp(340px, 112vw, 460px);
    list-style: none;
  }

  /* Slider OFF: a plain two-up grid. */
  .cc_gkRgx1Vjxz_rE2hEr1plW .nx-cats__grid[data-m-slider="false"] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    --nx-tile-h: clamp(180px, 46vw, 240px);
  }
}

@media (min-width: 768px) {
  .cc_gkRgx1Vjxz_rE2hEr1plW .nx-cats__inner {
    padding-block: 96px 80px;
  }

  .cc_gkRgx1Vjxz_rE2hEr1plW .nx-cats .nx-head {
    margin-bottom: 40px;
  }

  /* Slider OFF (default on desktop): the signature row of alternating-height
     tiles. --nx-tile-h is set once and inherits to every depth; declaring it
     per wrapper would also hit the tile and cancel the shorter even cells. */
  .cc_gkRgx1Vjxz_rE2hEr1plW .nx-cats__grid[data-d-slider="false"] {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    --nx-tile-h: clamp(360px, 39vw, 560px);
  }

  .cc_gkRgx1Vjxz_rE2hEr1plW .nx-cats__grid[data-d-slider="false"] > *, .cc_gkRgx1Vjxz_rE2hEr1plW .nx-cats__grid[data-d-slider="false"] > * > *, .cc_gkRgx1Vjxz_rE2hEr1plW .nx-cats__grid[data-d-slider="false"] > * > * > * {
    flex: 1 1 0;
    max-width: none;
  }

  .cc_gkRgx1Vjxz_rE2hEr1plW .nx-cats__grid[data-d-slider="false"] > * > *:nth-child(even), .cc_gkRgx1Vjxz_rE2hEr1plW .nx-cats__grid[data-d-slider="false"] > * > * > *:nth-child(even) {
    --nx-tile-h: clamp(310px, 33.4vw, 480px);
  }

  /* Slider ON: uniform-height cards (per-view width + scroll come from the
     shared .nx-slider layer). */
  .cc_gkRgx1Vjxz_rE2hEr1plW .nx-cats__grid[data-d-slider="true"] {
    align-items: stretch;
    --nx-tile-h: clamp(360px, 39vw, 560px);
  }
}

@media (min-width: 1024px) {
  .cc_gkRgx1Vjxz_rE2hEr1plW .nx-cats__inner {
    padding-block: 120px 100px;
  }
}

/* CategoryTile visuals. Kept in the PARENT stylesheet (not the child's), because
 * IkasComponentRenderer injects the child as raw innerHTML with no .cc_<child>
 * scope wrapper, so the child's own scoped rules never match. These rules are in
 * the parent scope, which wraps the rendered tiles in the DOM; the descendant
 * selector reaches them at whatever depth they land. */
.cc_gkRgx1Vjxz_rE2hEr1plW .nx-ctile {
  position: relative;
  display: block;
  width: 100%;
  height: var(--nx-tile-h, 190px);
  overflow: hidden;
  border-radius: var(--nx-radius-sm);
  background: var(--nx-raised);
  color: var(--nx-ink);
  text-decoration: none;
  isolation: isolate;
}

.cc_gkRgx1Vjxz_rE2hEr1plW .nx-ctile__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: transform var(--nx-dur-slow) var(--nx-ease);
}

.cc_gkRgx1Vjxz_rE2hEr1plW .nx-ctile {
  /* On a photograph: the picture does not change with the palette, so the
     colours drawn on it are pinned to the night values in every palette.
     Otherwise a light palette lays a milky veil over a dark photo. */
  --nx-bg: #0b0a09;
  --nx-surface: #141210;
  --nx-raised: #1d1a17;
  --nx-ink: #f3ede4;
  --nx-ink-2: #c9c0b4;
  --nx-muted: #ada397;
  --nx-line: #403a34;
  --nx-accent: var(--nx-photo-accent, #e0b47a);
  --nx-on-accent: var(--nx-photo-on-accent, #1a1208);
  --nx-edge: #7f7c76;
}

.cc_gkRgx1Vjxz_rE2hEr1plW .nx-ctile__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, color-mix(in srgb, var(--nx-bg) 85%, transparent) 100%);
}

.cc_gkRgx1Vjxz_rE2hEr1plW .nx-ctile__label {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.cc_gkRgx1Vjxz_rE2hEr1plW .nx-ctile__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.cc_gkRgx1Vjxz_rE2hEr1plW .nx-ctile__note {
  color: var(--nx-ink-2);
  font-size: 12px;
  line-height: 1.3;
}

.cc_gkRgx1Vjxz_rE2hEr1plW .nx-ctile__name {
  font-size: 18px;
  line-height: 1.1;
}

.cc_gkRgx1Vjxz_rE2hEr1plW .nx-ctile__arrow {
  display: none;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid color-mix(in srgb, var(--nx-ink) 33%, transparent);
  border-radius: 50%;
  transition: transform var(--nx-dur-mid) var(--nx-ease);
}

.cc_gkRgx1Vjxz_rE2hEr1plW .nx-ctile:focus-visible {
  outline: 2px solid var(--nx-accent);
  outline-offset: 3px;
}

@media (hover: hover) {
  .cc_gkRgx1Vjxz_rE2hEr1plW .nx-ctile:hover .nx-ctile__media {
    transform: scale(1.04);
  }

  .cc_gkRgx1Vjxz_rE2hEr1plW .nx-ctile:hover .nx-ctile__arrow {
    transform: rotate(45deg);
  }
}

@media (min-width: 768px) {
  .cc_gkRgx1Vjxz_rE2hEr1plW .nx-ctile {
    border-radius: var(--nx-radius-xs);
  }

  .cc_gkRgx1Vjxz_rE2hEr1plW .nx-ctile__label {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }

  .cc_gkRgx1Vjxz_rE2hEr1plW .nx-ctile__name {
    font-size: clamp(22px, 2.1vw, 30px);
  }

  .cc_gkRgx1Vjxz_rE2hEr1plW .nx-ctile__note {
    font-size: 13px;
  }

  .cc_gkRgx1Vjxz_rE2hEr1plW .nx-ctile__arrow {
    display: grid;
  }
}

/* Merchant-picked ratio replaces the fixed tile height. */
.cc_gkRgx1Vjxz_rE2hEr1plW [data-nx-ar] .nx-ctile {
  height: auto;
  aspect-ratio: var(--nx-ar);
}
