/* Category strip — circular thumbnails under the slider, the quick way into
 * the catalogue. The square cards further down the page stay: this is the
 * shortcut, that is the full list.
 */

.cc_vt72n7bb_IJOQXFij4V .ofs-strip-section {
  /* The top is 14px short because .ofs-strip carries those 14px itself. */
  padding-block: calc(var(--ofs-space-6) - 0.875rem) var(--ofs-space-6);
  background: var(--ofs-bg);
}

/* Placed directly under the header on the category and search pages: tighter
 * above, nothing below, because the page section that follows opens with its
 * own 48/32. */
.cc_vt72n7bb_IJOQXFij4V .ofs-strip-section--under-header {
  padding-top: calc(var(--ofs-space-4) - 0.875rem);
  padding-bottom: 0;
}

/* The scroll container. Manual scrolling always works — the automatic
 * movement is a transform on the track inside, so the two never fight. */
.cc_vt72n7bb_IJOQXFij4V .ofs-strip {
  overflow-x: auto;
  /* overflow-x: auto clips the other axis too. Without this room the disc's
   * 6px lift and its outer ring were cut off at the top on hover and tap. */
  padding-top: 0.875rem;
  scroll-snap-type: x proximity;
  /* A horizontal flick must not hand the gesture to the browser's
   * back-navigation once the strip reaches its end. */
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.cc_vt72n7bb_IJOQXFij4V .ofs-strip::-webkit-scrollbar {
  display: none;
}

.cc_vt72n7bb_IJOQXFij4V .ofs-strip__track {
  display: flex;
  width: max-content;
  min-width: 100%;
  /* Centred while the items fit, left-aligned once they overflow — the strip
   * should not sit lopsided on a wide screen with four categories. */
  justify-content: center;
}

.cc_vt72n7bb_IJOQXFij4V .ofs-strip__row {
  display: flex;
  flex: none;
  gap: var(--ofs-space-4);
  padding-inline: var(--ofs-gutter);
}

/* Two identical rows, translated by half the track: the second copy is over
 * the first's starting point at the end of the cycle, so it repeats without
 * a jump. Only `transform` animates. */
.cc_vt72n7bb_IJOQXFij4V .ofs-strip__track--auto {
  justify-content: flex-start;
  animation-name: cc_vt72n7bb_IJOQXFij4V_ofs-strip-scroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.cc_vt72n7bb_IJOQXFij4V .ofs-strip__track--auto:hover {
  animation-play-state: paused;
}

@keyframes cc_vt72n7bb_IJOQXFij4V_ofs-strip-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.cc_vt72n7bb_IJOQXFij4V .ofs-strip__item {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  width: 8.75rem;
  scroll-snap-align: center;
  color: var(--ofs-text);
  text-decoration: none;
}

/* The outer half of the pair: it carries the second ring and the hover lift.
 * Its transform is separate from the disc's, which is the whole reason the
 * two elements exist. */
.cc_vt72n7bb_IJOQXFij4V .ofs-strip__ring {
  position: relative;
  display: block;
  transition: transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* The second ring, 4px clear of the disc's own 3px border. Depth without a
 * shadow — a flat circle reads as a sticker. */
.cc_vt72n7bb_IJOQXFij4V .ofs-strip__ring::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid var(--ofs-line);
  border-radius: 50%;
  transition: border-color 200ms ease-out;
  pointer-events: none;
}

.cc_vt72n7bb_IJOQXFij4V .ofs-strip__disc {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7.5rem;
  height: 7.5rem;
  border: 3px solid var(--ofs-dark);
  border-radius: 50%;
  /* Holds the circle's shape while the photo is still loading. */
  background: var(--ofs-surface-2);
  overflow: hidden;
  transition: border-color 200ms ease-out;
  /* Barely visible on its own; together the row looks alive rather than
   * printed. The negative delay staggers the phase per item. */
  animation: ofs-strip-breathe 4s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -0.5s);
}

@keyframes cc_vt72n7bb_IJOQXFij4V_ofs-strip-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.cc_vt72n7bb_IJOQXFij4V .ofs-strip__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease-out;
}

.cc_vt72n7bb_IJOQXFij4V .ofs-strip__initial {
  transition: transform 400ms ease-out;
}

.cc_vt72n7bb_IJOQXFij4V .ofs-strip__initial {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--ofs-text-faint);
}

.cc_vt72n7bb_IJOQXFij4V .ofs-strip__label {
  margin-top: var(--ofs-space-2);
  width: 100%;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  transition: color var(--ofs-duration-ui) var(--ofs-ease);
}

/* Four layers start together and finish apart: the outer ring and the label
 * turn first, the disc springs up just after, and the picture keeps growing
 * long enough to read as a slow push-in rather than a snap. */
.cc_vt72n7bb_IJOQXFij4V .ofs-strip__item:hover .ofs-strip__ring::before, .cc_vt72n7bb_IJOQXFij4V .ofs-strip__item:focus-visible .ofs-strip__ring::before {
  border-color: var(--ofs-accent);
}

.cc_vt72n7bb_IJOQXFij4V .ofs-strip__item:hover .ofs-strip__ring, .cc_vt72n7bb_IJOQXFij4V .ofs-strip__item:focus-visible .ofs-strip__ring {
  transform: translateY(-6px);
}

.cc_vt72n7bb_IJOQXFij4V .ofs-strip__item:hover .ofs-strip__img, .cc_vt72n7bb_IJOQXFij4V .ofs-strip__item:hover .ofs-strip__initial, .cc_vt72n7bb_IJOQXFij4V .ofs-strip__item:focus-visible .ofs-strip__img, .cc_vt72n7bb_IJOQXFij4V .ofs-strip__item:focus-visible .ofs-strip__initial {
  transform: scale(1.1);
}

.cc_vt72n7bb_IJOQXFij4V .ofs-strip__item:hover .ofs-strip__label, .cc_vt72n7bb_IJOQXFij4V .ofs-strip__item:focus-visible .ofs-strip__label {
  color: var(--ofs-accent);
}

/* The ring belongs around the circle, not the text below it. */
.cc_vt72n7bb_IJOQXFij4V .ofs-strip__item:focus-visible {
  outline: none;
}

.cc_vt72n7bb_IJOQXFij4V .ofs-strip__item:focus-visible .ofs-strip__disc {
  outline: 2px solid var(--ofs-accent);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .cc_vt72n7bb_IJOQXFij4V .ofs-strip-section {
    padding-block: calc(var(--ofs-space-4) - 0.875rem) var(--ofs-space-4);
  }

  .cc_vt72n7bb_IJOQXFij4V .ofs-strip-section--under-header {
    padding-top: calc(var(--ofs-space-3) - 0.875rem);
    padding-bottom: 0;
  }

  /* Phone sizes are a quarter smaller than they were: the strip took 210px of
   * an 812px screen, and three and a bit items was all that fit. */
  .cc_vt72n7bb_IJOQXFij4V .ofs-strip__row {
    gap: 1rem;
  }

  .cc_vt72n7bb_IJOQXFij4V .ofs-strip__item {
    width: 5.5rem;
  }

  .cc_vt72n7bb_IJOQXFij4V .ofs-strip__disc {
    width: 4.5rem;
    height: 4.5rem;
  }

  .cc_vt72n7bb_IJOQXFij4V .ofs-strip__ring::before {
    inset: -5px;
  }

  .cc_vt72n7bb_IJOQXFij4V .ofs-strip__initial {
    font-size: 1.5rem;
  }

  .cc_vt72n7bb_IJOQXFij4V .ofs-strip__label {
    font-size: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_vt72n7bb_IJOQXFij4V .ofs-strip__track--auto {
    animation: none;
  }

  /* No breathing, and hover keeps only the colour change — the lift and the
   * zoom are exactly the movement the setting asks us to drop. */
  .cc_vt72n7bb_IJOQXFij4V .ofs-strip__disc {
    animation: none;
  }

  .cc_vt72n7bb_IJOQXFij4V .ofs-strip__ring, .cc_vt72n7bb_IJOQXFij4V .ofs-strip__ring::before, .cc_vt72n7bb_IJOQXFij4V .ofs-strip__disc, .cc_vt72n7bb_IJOQXFij4V .ofs-strip__img, .cc_vt72n7bb_IJOQXFij4V .ofs-strip__initial, .cc_vt72n7bb_IJOQXFij4V .ofs-strip__label {
    transition: none;
  }

  .cc_vt72n7bb_IJOQXFij4V .ofs-strip__item:hover .ofs-strip__ring, .cc_vt72n7bb_IJOQXFij4V .ofs-strip__item:focus-visible .ofs-strip__ring, .cc_vt72n7bb_IJOQXFij4V .ofs-strip__item:hover .ofs-strip__img, .cc_vt72n7bb_IJOQXFij4V .ofs-strip__item:hover .ofs-strip__initial, .cc_vt72n7bb_IJOQXFij4V .ofs-strip__item:focus-visible .ofs-strip__img, .cc_vt72n7bb_IJOQXFij4V .ofs-strip__item:focus-visible .ofs-strip__initial {
    transform: none;
  }
}
