:root {
  --catalog-orange: #ff5a1f;
  --catalog-ink: #242424;
  --catalog-muted: #66676b;
  --catalog-line: rgba(20, 20, 20, 0.1);
  --catalog-shell: min(1680px, calc(100% - 64px));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.catalog-page {
  margin: 0;
  color: var(--catalog-ink);
  background: #fff;
  font-family: Arial, "Helvetica Neue", sans-serif;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #fff;
  background: #111;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.catalog-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
}

.catalog-shell {
  width: var(--catalog-shell);
  margin: 0 auto;
}

.catalog-primary {
  border-bottom: 1px solid var(--catalog-line);
}

.catalog-primary__inner {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.catalog-wordmark {
  color: var(--catalog-orange);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.022em;
  text-decoration: none;
}

.catalog-context {
  color: var(--catalog-muted);
  font-size: 14px;
}

.catalog-secondary {
  border-bottom: 1px solid var(--catalog-line);
}

.catalog-secondary__inner {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3.4vw, 58px);
  overflow-x: auto;
  scrollbar-width: none;
}

.catalog-secondary__inner::-webkit-scrollbar { display: none; }

.catalog-product-link {
  flex: 0 0 auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  color: var(--catalog-ink);
  font-size: 16px;
  text-decoration: none;
  transition-property: color, transform;
  transition-duration: 180ms;
}

.catalog-product-link:first-child { color: var(--catalog-orange); }
.catalog-product-link:active { transform: scale(0.96); }
.catalog-product-link:focus-visible,
.catalog-wordmark:focus-visible { outline: 2px solid var(--catalog-orange); outline-offset: 4px; }

body.catalog-page > main { margin-top: 0 !important; }

.catalog-carousel {
  position: relative;
  width: 100%;
  height: 378px;
  overflow: hidden;
  color: #fff;
  background: #111;
}

.catalog-carousel__viewport,
.catalog-carousel__slides,
.catalog-carousel__slide {
  position: absolute;
  inset: 0;
}

.catalog-carousel__slide {
  visibility: hidden;
  opacity: 0;
  cursor: pointer;
  transition: opacity 520ms ease, visibility 520ms ease;
}

.catalog-carousel__slide.is-active {
  visibility: visible;
  opacity: 1;
}

.catalog-carousel__slide:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -6px;
}

.catalog-carousel__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.012);
  transition: transform 5.5s linear;
}

.catalog-carousel__slide.is-active .catalog-carousel__image {
  transform: scale(1);
}

.catalog-carousel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .4) 32%, transparent 62%);
}

.catalog-carousel__content {
  width: min(1200px, calc(100% - 64px));
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.catalog-carousel__eyebrow {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.catalog-carousel__title {
  margin: 0;
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.catalog-carousel__description {
  width: min(470px, 48vw);
  margin: 12px 0 18px;
  color: rgba(255, 255, 255, .74);
  font-size: 14px;
  line-height: 1.6;
}

.catalog-carousel__links {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-carousel__product-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, .18);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.catalog-carousel__product-link:hover,
.catalog-carousel__product-link:focus-visible {
  border-color: #fff;
  color: #111;
  background: #fff;
  outline: none;
}

.catalog-carousel__controls {
  position: absolute;
  z-index: 4;
  right: max(32px, calc((100% - 1200px) / 2));
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.catalog-carousel__arrow {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, .22);
  font: 24px/1 Arial, sans-serif;
  cursor: pointer;
}

.catalog-carousel__dots {
  display: flex;
  gap: 7px;
}

.catalog-carousel__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .44);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.catalog-carousel__dot.is-active {
  width: 24px;
  background: #fff;
}

body.catalog-page .ProductSection_category-container__3guHt {
  min-height: 0;
}

body.catalog-page .ProductSection_series-container__3HQKn {
  padding-top: clamp(44px, 5vw, 88px);
  padding-bottom: clamp(68px, 7vw, 120px);
}

body.catalog-page .ProductSection_product-list__Gjy0u > a {
  scroll-margin-top: 156px;
}

body.catalog-page .ProductSection_product-box__l_dqU {
  overflow: hidden;
}

body.catalog-page .ProductSection_product-box__l_dqU img {
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) {
  .catalog-product-link:hover { color: var(--catalog-orange); }
  body.catalog-page .ProductSection_product-box__l_dqU:hover img { transform: scale(1.025); }
}

@media (max-width: 760px) {
  :root { --catalog-shell: calc(100% - 32px); }

  .catalog-primary__inner { min-height: 58px; }
  .catalog-wordmark { font-size: 24px; }
  .catalog-context { font-size: 14px; }

  .catalog-secondary__inner {
    justify-content: flex-start;
    min-height: 52px;
    gap: 28px;
    padding-right: 16px;
  }

  .catalog-product-link { font-size: 14px; }
  .catalog-carousel { height: 330px; }
  .catalog-carousel__content { width: calc(100% - 40px); }
  .catalog-carousel__title { font-size: 28px; }
  .catalog-carousel__description { width: min(310px, 82vw); margin: 8px 0 14px; }
  .catalog-carousel__overlay { background: linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .18)); }
  .catalog-carousel__controls { right: 20px; bottom: 16px; }
  .catalog-carousel__arrow { display: none; }
  body.catalog-page .ProductSection_category-container__3guHt { min-height: 0; }
  body.catalog-page .ProductSection_product-list__Gjy0u > a { scroll-margin-top: 124px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .catalog-product-link,
  body.catalog-page .ProductSection_product-box__l_dqU img { transition: none; }
  .catalog-carousel__slide,
  .catalog-carousel__image,
  .catalog-carousel__dot { transition: none; }
}
