/* ===========================================
   FXR STORYTELLING - Complete Stylesheet
   ===========================================

   Table of Contents:
   1. RESET (normalize.css)
   2. WEBFLOW BASE
   3. VIEWPORT GATE
   4. UTILITIES & TYPOGRAPHY
   5. HERO SECTION
   6. BRAINS SECTION (Team Cards)
   7. FRAME SECTION (Lottie Animation)
   8. ENGINE SECTION (Stacked Cards)
   9. MODELS SECTION (Timeline Carousel)
   10. CONFIGURATOR SECTION
   =========================================== */

/* ===========================================
   1. RESET (normalize.css v3.0.3)
   =========================================== */
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

audio, canvas, progress, video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden], template {
  display: none;
}

a {
  background-color: transparent;
}

a:active, a:hover {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b, strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 40px;
}

hr {
  box-sizing: content-box;
  height: 0;
}

pre {
  overflow: auto;
}

code, kbd, pre, samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

button, input, optgroup, select, textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button, html input[type="button"], input[type="reset"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled], html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type='checkbox'], input[type='radio'] {
  box-sizing: border-box;
  padding: 0;
}

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  height: auto;
}

input[type='search'] {
  -webkit-appearance: none;
}

input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td, th {
  padding: 0;
}

/* ===========================================
   2. WEBFLOW BASE
   =========================================== */
@font-face {
  font-family: 'webflow-icons';
  src: url("data:application/x-font-ttf;charset=utf-8;base64,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") format('truetype');
  font-weight: normal;
  font-style: normal;
}

[class^="w-icon-"], [class*=" w-icon-"] {
  font-family: 'webflow-icons' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.w-icon-slider-right:before { content: "\e600"; }
.w-icon-slider-left:before { content: "\e601"; }
.w-icon-nav-menu:before { content: "\e602"; }
.w-icon-arrow-down:before, .w-icon-dropdown-toggle:before { content: "\e603"; }

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-snap-type: y proximity;
}

body {
  margin: 0;
  min-height: 100%;
  background-color: #fff;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #333;
}

img {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
}

html.w-mod-touch * {
  background-attachment: scroll !important;
}

.w-block { display: block; }

.w-inline-block {
  max-width: 100%;
  display: inline-block;
}

.w-clearfix:before, .w-clearfix:after {
  content: " ";
  display: table;
  grid-column-start: 1;
  grid-row-start: 1;
  grid-column-end: 2;
  grid-row-end: 2;
}

.w-clearfix:after { clear: both; }

.w-hidden { display: none; }

.w-button {
  display: inline-block;
  padding: 9px 15px;
  background-color: #3898EC;
  color: white;
  border: 0;
  line-height: inherit;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
}

input.w-button {
  -webkit-appearance: button;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  margin-bottom: 10px;
}

h1 { font-size: 38px; line-height: 44px; margin-top: 20px; }
h2 { font-size: 32px; line-height: 36px; margin-top: 20px; }
h3 { font-size: 24px; line-height: 30px; margin-top: 20px; }
h4 { font-size: 18px; line-height: 24px; margin-top: 10px; }
h5 { font-size: 14px; line-height: 20px; margin-top: 10px; }
h6 { font-size: 12px; line-height: 18px; margin-top: 10px; }

p {
  margin-top: 0;
  margin-bottom: 10px;
}

blockquote {
  margin: 0 0 10px 0;
  padding: 10px 20px;
  border-left: 5px solid #E2E2E2;
  font-size: 18px;
  line-height: 22px;
}

figure {
  margin: 0;
  margin-bottom: 10px;
}

figcaption {
  margin-top: 5px;
  text-align: center;
}

ul, ol {
  margin-top: 0px;
  margin-bottom: 10px;
  padding-left: 40px;
}

.w-list-unstyled {
  padding-left: 0;
  list-style: none;
}

.w-embed:before, .w-embed:after {
  content: " ";
  display: table;
  grid-column-start: 1;
  grid-row-start: 1;
  grid-column-end: 2;
  grid-row-end: 2;
}

.w-embed:after { clear: both; }

.w-video {
  width: 100%;
  position: relative;
  padding: 0;
}

.w-video iframe, .w-video object, .w-video embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.w-background-video {
  position: relative;
  overflow: hidden;
  height: 500px;
  color: white;
}

.w-background-video > video {
  background-size: cover;
  background-position: 50% 50%;
  position: absolute;
  margin: auto;
  width: 100%;
  height: 100%;
  right: -100%;
  bottom: -100%;
  top: -100%;
  left: -100%;
  object-fit: cover;
  z-index: -100;
}

.w-background-video > video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

/* Webflow Layout Utilities */
.w-layout-vflex {
  flex-direction: column;
  align-items: flex-start;
  display: flex;
}

.w-layout-hflex {
  flex-direction: row;
  align-items: flex-start;
  display: flex;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===========================================
   3. EXPERIENCE GATE
   Requires fullscreen + audio on desktop,
   blocks access on small viewports
   =========================================== */
.experience-gate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #000;
  color: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  font-family: prohibition, sans-serif;
}

.experience-gate.is-visible {
  display: flex;
}

.experience-gate__content {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.experience-gate__title {
  font-size: 48px;
  color: #c33b37;
  margin: 0;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.experience-gate__message {
  font-size: 24px;
  font-family: "Bebas Neue", sans-serif;
  opacity: 0.8;
  max-width: 400px;
  margin: 0;
  line-height: 1.4;
}

.experience-gate__message--mobile {
  display: none;
}

.experience-gate__message--desktop {
  display: block;
}

.experience-gate.is-mobile .experience-gate__message--mobile {
  display: block;
}

.experience-gate.is-mobile .experience-gate__message--desktop {
  display: none;
}

.experience-gate__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: #c33b37;
  color: #fff;
  border: none;
  font-family: prohibition, sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.experience-gate__btn:hover {
  background: #a52f2c;
  transform: scale(1.05);
}

.experience-gate__btn:active {
  transform: scale(0.98);
}

.experience-gate__btn-icon {
  font-size: 16px;
}

html.is-scroll-locked {
  overflow: hidden !important;
}

html.is-scroll-locked body {
  overflow: hidden !important;
  height: 100vh !important;
}

/* Webflow interaction visibility fix */
html.w-mod-js:not(.w-mod-ix3) :is(.hero__title, .hero__subtitle, .hero__cta-text, .hero__scroll-bar--lg, .hero__scroll-bar--md, .hero__scroll-bar--sm, .brains-section > *) {
  visibility: hidden !important;
}

/* ===========================================
   4. UTILITIES & TYPOGRAPHY
   =========================================== */
.container {
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  position: relative;
}

.text-accent {
  color: #c33b37;
}

.divider {
  color: #c33b37;
  background-color: #c33b37;
  border-radius: 20px;
  width: 100%;
  height: 4px;
  font-size: 3px;
}

.body-text {
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.5;
}

.section-title {
  color: #fff;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  font-family: prohibition, sans-serif;
  font-size: 64px;
  line-height: 1;
}

.section-subtitle {
  color: #fff;
  margin-top: 0;
  margin-bottom: 0;
  font-family: prohibition, sans-serif;
  font-size: 32px;
  line-height: 1;
}

.card-subtitle {
  font-family: Bebas Neue, sans-serif;
  font-size: 24px;
  font-weight: 400;
}

/* ===========================================
   5. HERO SECTION
   =========================================== */
.hero {
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
}

.hero__video {
  filter: grayscale();
  -webkit-text-fill-color: inherit;
  object-fit: fill;
  background-color: #00000080;
  background-clip: border-box;
  height: 100vh;
}

.hero__content {
  z-index: 100;
  grid-column-gap: 60px;
  grid-row-gap: 60px;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 64px;
  display: flex;
  position: absolute;
  inset: 0%;
}

.hero__title {
  color: #c33b37;
  font-family: prohibition, sans-serif;
  font-size: 220px;
  line-height: 1;
}

.hero__subtitle {
  color: #fff;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  font-family: prohibition, sans-serif;
  font-size: 64px;
  line-height: 1;
}

.hero__cta {
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  display: flex;
  position: absolute;
  inset: auto 0% 6%;
}

.hero__cta-text {
  color: #fff;
  font-family: prohibition, sans-serif;
  font-size: 24px;
  line-height: 1;
}

.hero__scroll-bars {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  flex-flow: column;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.hero__scroll-bar--lg {
  color: #c33b37;
  background-color: #c33b37;
  border-radius: 20px;
  width: 60px;
  height: 6px;
}

.hero__scroll-bar--md {
  color: #c33b37;
  background-color: #c33b37;
  border-radius: 20px;
  width: 48px;
  height: 6px;
  font-size: 3px;
}

.hero__scroll-bar--sm {
  background-color: #c33b37;
  border-radius: 20px;
  width: 36px;
  height: 6px;
}

/* ===========================================
   6. BRAINS SECTION (Team Cards)
   =========================================== */
.brains-section {
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  position: relative;
  background-image: radial-gradient(circle closest-side at 70%, #fff, #000);
  padding: 2rem 0 2rem 0;
  scroll-snap-align: start;
}

.brains-section__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brains-carousel {
  position: relative;
  width: 100%;
  height: 546px;
}

.brains-card {
  width: 420px;
  height: 546px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.35s ease, opacity 0.35s ease;
  opacity: 0.3;
}

.brains-card--center {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 3;
}

.brains-card--left {
  transform: translate(calc(-50% - 100%), -50%) scale(0.9);
  opacity: 0.3;
  z-index: 2;
}

.brains-card--right {
  transform: translate(calc(-50% + 100%), -50%) scale(0.9);
  opacity: 0.3;
  z-index: 2;
}

.brains-card__image {
  height: 300px;
}

.brains-card__image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.brains-card__content {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  background-color: #fff;
  flex-flow: column;
  height: 246px;
  padding: 20px;
  display: flex;
}

.brains-card__title {
  color: #000;
  margin-top: 0;
  margin-bottom: 0;
  font-family: prohibition, sans-serif;
  font-size: 32px;
  line-height: 1;
}

.carousel-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ===========================================
   7. FRAME SECTION (Lottie Animation)
   =========================================== */
.frame-section {
  grid-column-gap: 80px;
  grid-row-gap: 80px;
  background-image: url('../images/grid.png'), radial-gradient(circle at 50% -100%, #505050, #171717 76%);
  background-position: 50%, 0 0;
  background-size: cover, auto;
  flex-flow: column;
  justify-content: space-between;
  align-items: center;
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  box-sizing: border-box;
  padding: 80px 120px;
  line-height: 1;
  display: flex;
  scroll-snap-align: start;
}

.frame-section__content {
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  flex: auto;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 500px;
  max-height: calc(100vh - 200px);
  position: relative;
  overflow: hidden;
}

.frame-section__details {
  opacity: 0;
  flex: none;
  width: 0;
  min-width: auto;
  min-height: auto;
  display: flex;
  position: relative;
  left: auto;
  overflow: hidden;
  gap: 24px;
}

.frame-section__details .section-subtitle {
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.frame-animation {
  object-fit: fill;
  flex: 1;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  max-height: 500px;
  display: block;
}

.frame-animation svg {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
  display: block;
}

.feature-item {
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
}

.feature-item .body-text {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.feature-item img {
  flex-shrink: 0;
  align-self: center;
}

/* ===========================================
   8. POWERTRAIN SECTION
   =========================================== */
.powertrain-wrap {
  height: 160vh;
  position: relative;
  scroll-snap-align: start;
}

.powertrain {
  background-image: url('../images/background-engine.jpg');
  background-position: center;
  background-size: cover;
  background-color: #111;
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.powertrain-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 0 calc((100% - 1200px) / 2);
  box-sizing: border-box;
}

.powertrain-text {
  display: flex;
  flex-direction: column;
  gap: 52px;
  max-width: 500px;
}

.powertrain-text__body {
  color: rgba(255, 255, 255, 0.8);
  width: 400px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.5;
}

.powertrain-pointer {
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 45%;
  left: 49%;
  transition: none;
  will-change: transform, opacity;
}

.powertrain-text .section-title {
  text-align: left;
}

.powertrain-text .section-title .text-accent {
  display: block;
}

.powertrain-card {
  width: 526px;
  height: 560px;
  position: relative;
  flex-shrink: 0;
}

.powertrain-card__img {
  z-index: 10;
  width: 450px;
  max-width: none;
  position: absolute;
  inset: 4% -8% 0% auto;
}

.powertrain-card__bg {
  position: relative;
}

.powertrain-card__grid {
  background-image: url('../images/engine-card-background.png');
  background-position: 0 0;
  background-size: auto;
  height: 380px;
}

.powertrain-card__meta {
  gap: 12px;
  background-color: #dfdfdf;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.powertrain-card__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.powertrain-card__name {
  color: #000;
  margin: 0;
  font-family: prohibition, sans-serif;
  font-size: 32px;
  line-height: 1;
  text-transform: uppercase;
}

.powertrain-card__tags {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.powertrain-tag {
  color: #cfcfcf;
  background-color: #171717;
  border-radius: 60px;
  flex: none;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 16px 8px;
  font-family: Bebas Neue, sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.powertrain-snap-midpoint {
  position: absolute;
  top: 60vh;
  left: 0;
  width: 1px;
  height: 1px;
  scroll-snap-align: start;
  pointer-events: none;
}

/* ===========================================
   9. MODELS SECTION (Timeline Carousel)
   =========================================== */
.models-section {
  background-image: url('../images/modelsbackground.jpg');
  background-position: 50%;
  background-size: cover;
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  position: relative;
  padding-top: 60px;
  padding-bottom: 60px;
  scroll-snap-align: start;
}

.models-carousel {
  grid-column-gap: 80px;
  grid-row-gap: 80px;
  flex-flow: column;
  justify-content: space-between;
  align-items: center;
  display: flex;
  position: relative;
}

.models-nav {
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  flex-flow: row;
  justify-content: center;
  align-items: center;
}

.models-year {
  color: #c33b37;
}

.models-section__content {
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  height: 600px;
  min-height: auto;
}

.models-info {
  width: 30%;
  max-width: none;
  position: relative;
}

.model-info {
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  flex-flow: column;
  width: auto;
  max-width: none;
  display: flex;
  position: absolute;
}

.model-title {
  color: #ececec;
  margin-top: 0;
  margin-bottom: 0;
  font-family: prohibition, sans-serif;
  font-size: 32px;
  line-height: 1;
}

.model-description {
  color: rgba(255, 255, 255, 0.8);
  width: auto;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.5;
}

.models-gallery {
  width: 60%;
  height: 100%;
  position: relative;
}

.model-bike {
  max-width: 100%;
  position: absolute;
  inset: auto 0% 0%;
}

.smoke-overlay--light {
  z-index: 1000;
  opacity: .52;
  pointer-events: none;
  width: 100%;
  max-width: none;
  position: absolute;
  inset: auto 0% -7%;
}

.smoke-overlay--dark {
  z-index: 0;
  pointer-events: none;
  position: absolute;
  inset: auto 0% 0%;
}

/* Models button states */
.models-btn--prev.is-disabled,
.models-btn--next.is-disabled {
  opacity: 0.25;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* ===========================================
   10. CONFIGURATOR SECTION
   =========================================== */
.configurator-section {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: #000;
  scroll-snap-align: start;
}

/* Background */
.configurator-bg {
  position: absolute;
  top: -17.2%;
  left: -16.7%;
  width: 135%;
  height: 117.2%;
}

.configurator-bg__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.configurator-bg__overlay {
  position: absolute;
  top: 14.7%;
  left: 12.4%;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent);
  pointer-events: none;
}

/* Smoke */
.configurator-smoke {
  position: absolute;
  top: 25.5%;
  left: 14.2%;
  width: 75.3%;
  height: 63.4%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  pointer-events: none;
}

.configurator-smoke__img {
  width: 95.6%;
  height: 85.4%;
  object-fit: cover;
  opacity: 0.65;
  transform: rotate(5.43deg);
}

/* Header */
.configurator-header {
  position: absolute;
  top: 9.6%;
  left: 4.8%;
  z-index: 10;
}

.configurator-header__text {
  width: 410px;
  height: auto;
}

/* Action buttons */
.configurator-actions {
  position: absolute;
  top: 9.6%;
  right: 6.9%;
  display: flex;
  gap: 24px;
  z-index: 10;
}

.configurator-action-btn {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  padding: 8px 16px;
  background: transparent;
  border: 2px solid rgba(0, 0, 0, 0.6);
  border-radius: 9999px;
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: 24px;
  cursor: pointer;
  backdrop-filter: blur(2px);
  transition: all 0.2s ease;
}

.configurator-action-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.configurator-action-btn__icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* Bike display */
.configurator-bike {
  position: absolute;
  top: 20.5%;
  left: 19%;
  width: 71.7%;
  height: 65.9%;
  z-index: 5;
}

.configurator-bike__layers {
  position: relative;
  width: 100%;
  height: 100%;
}

.bike-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.bike-layer.active {
  opacity: 1;
}

.paint-layer { z-index: 1; }
.upholstery-layer { z-index: 2; }
.badge-layer { z-index: 3; }

/* Category buttons */
.configurator-categories {
  position: absolute;
  top: 34.2%;
  left: 4.8%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 10;
}

.configurator-category {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 110px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
  padding: 0;
}

.configurator-category:hover {
  transform: scale(1.05);
}

.configurator-category__icon {
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.configurator-category__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.configurator-category.active .configurator-category__icon img,
.configurator-category:hover .configurator-category__icon img {
  opacity: 1;
}

.configurator-category__label {
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: 24px;
}

.configurator-category__indicator {
  width: 100%;
  height: 2px;
  background: #c33b37;
  opacity: 0;
  transition: opacity 0.2s ease;
  margin-top: 2px;
}

.configurator-category.active .configurator-category__indicator {
  opacity: 1;
}

/* Selector panel */
.configurator-selector {
  position: absolute;
  bottom: 6.9%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  z-index: 10;
}

.configurator-selector__title {
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: 36px;
  text-align: center;
  margin: 0;
}

.configurator-selector__swatches {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Swatches */
.config-swatch {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
  position: relative;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.25);
  padding: 0;
}

.config-swatch:hover {
  transform: scale(1.1);
}

.config-swatch.selected {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.config-swatch.selected::after {
  content: '\2713';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 24px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.texture-swatch {
  background-size: cover;
  background-position: center;
}

.badge-swatch {
  background: rgba(107, 114, 128, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-swatch.selected::after {
  display: none;
}

.badge-swatch__icon {
  width: 48px;
  height: 40px;
  object-fit: contain;
}
