* {
  box-sizing: border-box;
}

:root {
  --bg: #f3f4f6;
  --surface: #ffffff;
  --surface-2: #e9edf1;
  --text: #11161b;
  --muted: #68727d;
  --line: #d9dee3;

  --accent: #00dbdb;
  --accent-2: #2ff8ff;

  --dark: #0c1014;

  --shadow: 0 18px 50px rgba(10, 18, 25, 0.10);
  --radius: 22px;
}

body.dark {
  --bg: #090c0f;
  --surface: #11161b;
  --surface-2: #1a2026;
  --text: #f4f6f7;
  --muted: #9da8b2;
  --line: #293139;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.38);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.55;
  transition: background 0.3s, color 0.3s;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 5%;

  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);

  border-bottom: 1px solid var(--line);

  position: sticky;
  top: 0;
  z-index: 100;
}

body.dark .site-header {
  background: rgba(9, 12, 15, 0.82);
}

/* LOGO */

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 220px;
}

.logo img {
  width: 180px;
  height: auto;
  max-height: 60px;
  display: block;
  object-fit: contain;
}

/* DESKTOP NAV */

.desktop-nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a {
  transition: 0.2s;
}

.desktop-nav a:hover {
  color: var(--accent);
}

/* HEADER BUTTONS */

.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.icon-btn,
.menu-btn {
  position: relative;

  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);

  width: 42px;
  height: 42px;

  border-radius: 12px;
}

.icon-btn:hover,
.menu-btn:hover {
  border-color: var(--accent);
}

.count {
  position: absolute;
  right: -5px;
  top: -5px;

  min-width: 18px;
  height: 18px;

  padding: 0 4px;

  border-radius: 99px;

  background: var(--accent);
  color: white;

  font-size: 10px;

  display: grid;
  place-items: center;
}

.menu-btn {
  display: none;
}

/* MOBILE MENU */

.mobile-menu {
  display: none;
}

/* =========================================================
   HERO
========================================================= */

.hero {
  background: var(--dark);
  color: white;
  min-height: 670px;
  overflow: hidden;
}

.hero-grid {
  width: min(1200px, 90%);
  margin: auto;

  min-height: 670px;

  display: grid;
  grid-template-columns: 1fr 1fr;

  align-items: center;

  gap: 30px;
}

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--accent);

  margin: 0 0 12px;
}

.hero h1 {
  font-family: Oswald, sans-serif;

  font-size: clamp(58px, 8vw, 104px);

  line-height: 0.88;

  margin: 0 0 25px;

  letter-spacing: -0.025em;
}

.hero h1 span {
  color: var(--accent);
}

.hero-text {
  max-width: 570px;

  color: #bac3ca;

  font-size: 17px;
}

.hero-buttons {
  display: flex;
  gap: 12px;

  margin: 30px 0;
}

/* BUTTONS */

.btn {
  border: 0;

  border-radius: 13px;

  padding: 13px 19px;

  font-weight: 800;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 8px;

  transition: 0.25s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid #39434c;
  color: #fff;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
}

/* HERO STATS */

.hero-stats {
  display: flex;
  gap: 32px;
}

.hero-stats div {
  display: grid;
}

.hero-stats strong {
  font-family: Oswald;
  font-size: 24px;
}

.hero-stats span {
  font-size: 11px;

  color: #8d99a3;

  text-transform: uppercase;

  letter-spacing: 0.1em;
}

/* HERO GRAPHIC */

.hero-visual {
  height: 540px;

  position: relative;

  display: grid;
  place-items: center;
}

.glow {
  position: absolute;

  width: 420px;
  height: 420px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(255, 90, 31, 0.24),
      transparent 65%
    );

  filter: blur(10px);
}

.hero-ring {
  position: absolute;

  width: 420px;
  height: 420px;

  border: 1px solid rgba(255, 255, 255, 0.12);

  border-radius: 50%;
}

.exhaust-graphic {
  position: relative;

  width: 390px;
  height: 250px;

  transform: rotate(-9deg);

  filter: drop-shadow(
    0 30px 25px rgba(0, 0, 0, 0.5)
  );
}

.pipe {
  position: absolute;

  height: 42px;

  background:
    linear-gradient(
      #777,
      #d5d9dc 45%,
      #53585c
    );

  border-radius: 22px;
}

.pipe-a {
  width: 150px;
  left: 0;
  top: 92px;
}

.pipe-b {
  width: 110px;
  right: 0;
  top: 112px;
}

.muffler {
  position: absolute;

  left: 95px;
  top: 65px;

  width: 220px;
  height: 100px;

  border-radius: 50px;

  background:
    linear-gradient(
      145deg,
      #3b4247,
      #c2c7ca 45%,
      #4a5054
    );

  border: 3px solid #252a2e;
}

.tail-pipe {
  position: absolute;

  right: -10px;
  top: 105px;

  width: 75px;
  height: 55px;

  border: 15px solid #8f969a;

  border-left: 0;

  border-radius: 0 35px 35px 0;
}

.floating-tag {
  position: absolute;

  border: 1px solid rgba(255, 255, 255, 0.15);

  background: rgba(255, 255, 255, 0.06);

  padding: 9px 13px;

  border-radius: 99px;

  font-size: 10px;

  letter-spacing: 0.15em;
}

.tag-top {
  top: 18%;
  right: 5%;
}

.tag-bottom {
  bottom: 18%;
  left: 4%;
}

/* =========================================================
   CATEGORY STRIP
========================================================= */

.category-strip {
  width: min(1200px, 90%);

  margin: -55px auto 0;

  position: relative;

  z-index: 5;

  display: grid;

  /* SIX CATEGORIES */
  grid-template-columns: repeat(6, 1fr);

  background: var(--surface);

  box-shadow: var(--shadow);

  border-radius: 22px;

  overflow: hidden;
}

.category-card {
  border: 0;

  border-right: 1px solid var(--line);

  background: var(--surface);

  color: var(--text);

  padding: 22px;

  text-align: left;

  transition: 0.25s;
}

.category-card:last-child {
  border-right: 0;
}

.category-card span {
  display: block;

  font-size: 23px;

  margin-bottom: 12px;
}

.category-card b {
  display: block;
}

.category-card small {
  color: var(--muted);
}

.category-card.active,
.category-card:hover {
  background: var(--accent);

  color: white;
}

.category-card.active small,
.category-card:hover small {
  color: #ffffff;
}

/* =========================================================
   PRODUCTS
========================================================= */

.products-section,
.about-section,
.contact-section {
  width: min(1200px, 90%);

  margin: 100px auto;
}

.section-heading {
  display: flex;

  justify-content: space-between;

  align-items: end;

  gap: 30px;
}

.section-heading h2,
.about-copy h2,
.contact-section h2 {
  font-family: Oswald;

  font-size: clamp(38px, 5vw, 64px);

  line-height: 0.95;

  margin: 0;
}

.section-note {
  max-width: 400px;

  color: var(--muted);
}

/* TOOLBAR */

.toolbar {
  display: grid;

  grid-template-columns:
    1fr
    210px
    220px;

  gap: 12px;

  margin: 35px 0 20px;
}

.search-box {
  display: flex;

  align-items: center;

  gap: 10px;

  background: var(--surface);

  border: 1px solid var(--line);

  border-radius: 14px;

  padding: 0 15px;
}

.search-box input {
  border: 0;

  outline: 0;

  background: transparent;

  color: var(--text);

  width: 100%;

  padding: 14px;
}

.toolbar select {
  border: 1px solid var(--line);

  background: var(--surface);

  color: var(--text);

  border-radius: 14px;

  padding: 0 14px;

  outline: none;
}

/* ACTIVE FILTERS */

.active-filters {
  min-height: 10px;

  margin-bottom: 20px;
}

.filter-chip {
  display: inline-flex;

  gap: 7px;

  padding: 6px 10px;

  background: var(--surface-2);

  border-radius: 99px;

  font-size: 12px;

  margin-right: 5px;
}

/* PRODUCT GRID */

.product-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 22px;
}

.product-card {
  background: var(--surface);

  border: 1px solid var(--line);

  border-radius: var(--radius);

  overflow: hidden;

  transition: 0.3s;

  box-shadow:
    0 5px 18px rgba(0, 0, 0, 0.03);
}

.product-card:hover {
  transform: translateY(-7px);

  box-shadow: var(--shadow);
}

.product-image {
  height: 260px;

  background: var(--surface-2);

  position: relative;

  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: 0.45s;
}

.product-card:hover .product-image img {
  transform: scale(1.06);
}

.wish {
  position: absolute;

  right: 14px;
  top: 14px;

  width: 40px;
  height: 40px;

  border-radius: 50%;

  border: 0;

  background: rgba(255, 255, 255, 0.9);

  font-size: 20px;
}

.wish.active {
  color: var(--accent);
}

.product-info {
  padding: 18px;
}

.product-meta {
  display: flex;

  justify-content: space-between;

  gap: 10px;

  color: var(--muted);

  font-size: 11px;

  text-transform: uppercase;

  letter-spacing: 0.08em;
}

.product-info h3 {
  margin: 7px 0;

  font-size: 18px;
}

.product-info p {
  font-size: 13px;

  color: var(--muted);

  min-height: 42px;
}

.price {
  font-family: Oswald;

  font-size: 27px;

  margin: 12px 0;
}

.card-actions {
  display: grid;

  grid-template-columns: 1fr auto;

  gap: 8px;
}

.sound-mini {
  border: 1px solid var(--line);

  background: var(--surface);

  color: var(--text);

  border-radius: 11px;

  width: 46px;
}

.sound-mini:hover {
  background: var(--accent);

  color: #fff;

  border-color: var(--accent);
}

/* EMPTY */

.hidden {
  display: none !important;
}

.empty-state {
  text-align: center;

  padding: 80px;

  background: var(--surface);

  border-radius: 20px;
}

.empty-state div {
  font-size: 40px;
}

.empty-state h3 {
  margin-bottom: 5px;
}

/* =========================================================
   FEATURE BAND
========================================================= */

.feature-band {
  background: var(--dark);

  color: #fff;

  padding: 70px 5%;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 50px;
}

.feature-band span {
  color: var(--accent);

  font-family: Oswald;

  font-size: 30px;
}

.feature-band h3 {
  font-family: Oswald;

  font-size: 28px;

  margin: 10px 0;
}

.feature-band p {
  color: #929da7;

  max-width: 330px;
}

/* =========================================================
   ABOUT
========================================================= */

.about-section {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 70px;

  align-items: center;
}

.about-image {
  height: 480px;

  background:
    linear-gradient(
      135deg,
      #252b30,
      #707980
    );

  border-radius: 28px;

  position: relative;

  overflow: hidden;
}

.about-image:after {
  content: "";

  position: absolute;

  inset: 25%;

  border: 2px solid rgba(255, 255, 255, 0.25);

  border-radius: 50%;
}

.about-badge {
  position: absolute;

  z-index: 2;

  left: 30px;
  bottom: 30px;

  width: 130px;
  height: 130px;

  border-radius: 50%;

  background: var(--accent);

  color: #fff;

  display: grid;

  place-items: center;

  text-align: center;

  font-family: Oswald;

  font-size: 36px;

  line-height: 0.8;
}

.about-badge small {
  font-family: Inter;

  font-size: 8px;

  letter-spacing: 0.15em;
}

.about-copy > p:not(.eyebrow) {
  color: var(--muted);

  font-size: 16px;
}

.about-points {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 12px;

  margin-top: 25px;
}

.about-points span {
  padding: 12px;

  border: 1px solid var(--line);

  border-radius: 12px;

  font-size: 13px;
}

/* =========================================================
   CONTACT
========================================================= */

.contact-section {
  background: var(--surface);

  border: 1px solid var(--line);

  border-radius: 25px;

  padding: 45px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 30px;
}

.contact-section p {
  color: var(--muted);
}

.contact-details {
  margin-top: 20px;
}

.contact-details p {
  margin: 8px 0;
}

.contact-buttons {
  display: flex;

  flex-direction: column;

  gap: 10px;

  min-width: 180px;
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
  background: #080b0e;

  color: #a3adb5;

  padding: 30px 5%;

  display: flex;

  justify-content: space-between;

  gap: 20px;

  font-size: 12px;
}

.footer strong {
  display: block;

  color: #fff;
}

.footer span {
  display: block;

  margin-top: 5px;
}

/* =========================================================
   PRODUCT MODAL
========================================================= */

.modal-backdrop,
.drawer-backdrop {
  position: fixed;

  inset: 0;

  background: rgba(0, 0, 0, 0.68);

  z-index: 300;

  display: grid;

  place-items: center;

  padding: 20px;
}

.product-modal {
  width: min(950px, 96vw);

  max-height: 92vh;

  overflow: auto;

  background: var(--surface);

  color: var(--text);

  border-radius: 25px;

  display: grid;

  grid-template-columns: 1fr 1fr;

  position: relative;
}

.modal-close {
  border: 0;

  background: var(--surface-2);

  color: var(--text);

  width: 38px;
  height: 38px;

  border-radius: 50%;

  font-size: 24px;
}

.product-modal > .modal-close {
  position: absolute;

  right: 15px;
  top: 15px;

  z-index: 4;
}

.modal-image-wrap {
  min-height: 520px;

  background: var(--surface-2);

  position: relative;
}

.modal-image-wrap img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.modal-chip {
  position: absolute;

  left: 20px;
  bottom: 20px;

  background: var(--accent);

  color: white;

  padding: 7px 11px;

  border-radius: 99px;

  font-size: 11px;
}

.modal-info {
  padding: 45px 35px;
}

.modal-info h2 {
  font-family: Oswald;

  font-size: 48px;

  line-height: 1;

  margin: 0 0 15px;
}

.modal-info > p:not(.eyebrow) {
  color: var(--muted);
}

.modal-price {
  font-family: Oswald;

  font-size: 34px;

  margin: 20px 0;
}

/* SPECS */

.specs {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 8px;
}

.spec {
  padding: 10px;

  background: var(--surface-2);

  border-radius: 10px;

  font-size: 12px;
}

.spec b {
  display: block;
}

/* SOUND */

.sound-preview {
  margin: 22px 0;

  padding: 15px;

  border: 1px solid var(--line);

  border-radius: 15px;

  display: grid;

  grid-template-columns: 1fr auto;

  gap: 10px;

  align-items: center;
}

.sound-preview small {
  display: block;

  color: var(--muted);

  font-size: 10px;
}

.sound-btn {
  border: 0;

  background: var(--accent);

  color: #fff;

  width: 42px;
  height: 42px;

  border-radius: 50%;
}

.sound-preview audio {
  grid-column: 1 / -1;

  width: 100%;

  height: 34px;
}

.modal-actions {
  display: flex;

  gap: 10px;
}

/* =========================================================
   CART / DRAWER
========================================================= */

.drawer {
  position: fixed;

  right: 0;
  top: 0;

  height: 100%;

  width: min(440px, 94vw);

  background: var(--surface);

  color: var(--text);

  z-index: 400;

  transform: translateX(105%);

  transition: 0.35s;

  display: flex;

  flex-direction: column;

  box-shadow:
    -20px 0 60px rgba(0, 0, 0, 0.25);
}

.drawer.open {
  transform: translateX(0);
}

.drawer-header {
  padding: 20px;

  border-bottom: 1px solid var(--line);

  display: flex;

  justify-content: space-between;

  align-items: center;
}

.drawer-header h2 {
  font-family: Oswald;

  margin: 0;

  font-size: 30px;
}

.drawer-body {
  padding: 20px;

  overflow: auto;

  flex: 1;
}

.cart-item {
  display: grid;

  grid-template-columns: 70px 1fr auto;

  gap: 12px;

  align-items: center;

  padding: 12px 0;

  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 70px;
  height: 65px;

  object-fit: cover;

  border-radius: 10px;
}

.cart-item h4 {
  margin: 0;

  font-size: 13px;
}

.cart-item small {
  color: var(--muted);
}

.qty {
  display: flex;

  align-items: center;

  gap: 7px;

  margin-top: 5px;
}

.qty button {
  width: 25px;
  height: 25px;

  border: 1px solid var(--line);

  background: var(--surface);

  color: var(--text);

  border-radius: 6px;
}

.remove {
  border: 0;

  background: none;

  color: #e34d4d;
}

.drawer-footer {
  padding: 20px;

  border-top: 1px solid var(--line);
}

.subtotal {
  display: flex;

  justify-content: space-between;

  margin-bottom: 15px;

  font-size: 18px;
}

.drawer-footer small {
  display: block;

  text-align: center;

  color: var(--muted);

  margin-top: 10px;
}

.full {
  width: 100%;
}

/* =========================================================
   WISHLIST
========================================================= */

.wishlist-drawer {
  z-index: 410;
}

.wish-item {
  display: flex;

  gap: 12px;

  align-items: center;

  padding: 12px 0;

  border-bottom: 1px solid var(--line);
}

.wish-item img {
  width: 65px;
  height: 60px;

  object-fit: cover;

  border-radius: 9px;
}

.wish-item div {
  flex: 1;
}

.wish-item h4 {
  margin: 0;

  font-size: 13px;
}

.wish-item p {
  margin: 3px 0;

  font-family: Oswald;
}

/* =========================================================
   TOAST
========================================================= */

.toast {
  position: fixed;

  left: 50%;

  bottom: 25px;

  transform: translate(-50%, 20px);

  background: #111;

  color: #fff;

  padding: 12px 18px;

  border-radius: 12px;

  opacity: 0;

  pointer-events: none;

  z-index: 500;

  transition: 0.3s;
}

.toast.show {
  opacity: 1;

  transform: translate(-50%, 0);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

  .category-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .category-card:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .category-card:nth-child(4) {
    border-right: 1px solid var(--line);
  }

  .category-card:nth-child(6) {
    border-right: 0;
  }

}

/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 900px) {

  .desktop-nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .mobile-menu {
    position: fixed;

    top: 76px;

    left: 0;
    right: 0;

    background: var(--surface);

    z-index: 90;

    padding: 20px;

    display: none;

    border-bottom: 1px solid var(--line);
  }

  .mobile-menu.open {
    display: grid;
  }

  .mobile-menu a {
    padding: 12px;

    border-bottom: 1px solid var(--line);
  }

  /* HERO */

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;

    padding: 90px 0 50px;
  }

  .hero-visual {
    height: 390px;
  }

  /* SIX CATEGORIES */

  .category-strip {
    grid-template-columns: repeat(2, 1fr);

    margin-top: 20px;
  }

  .category-card {
    border-right: 1px solid var(--line);

    border-bottom: 1px solid var(--line);
  }

  .category-card:nth-child(2n) {
    border-right: 0;
  }

  .category-card:last-child {
    border-bottom: 0;
  }

  /* PRODUCTS */

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .search-box {
    grid-column: 1 / -1;
  }

  /* ABOUT */

  .about-section {
    grid-template-columns: 1fr;
  }

  /* FEATURE */

  .feature-band {
    grid-template-columns: 1fr;
  }

  /* CONTACT */

  .contact-section {
    flex-direction: column;

    align-items: flex-start;
  }

  /* MODAL */

  .product-modal {
    grid-template-columns: 1fr;
  }

  .modal-image-wrap {
    min-height: 320px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

  .site-header {
    padding: 0 4%;
  }

  /* MOBILE LOGO */

  .logo img {
    width: 140px;

    max-height: 52px;
  }

  .header-actions {
    gap: 4px;
  }

  .icon-btn,
  .menu-btn {
    width: 38px;
    height: 38px;
  }

  /* HERO */

  .hero h1 {
    font-size: 60px;
  }

  .hero-stats {
    gap: 18px;
  }

  .hero-visual {
    height: 300px;
  }

  .hero-ring,
  .glow {
    width: 280px;
    height: 280px;
  }

  .exhaust-graphic {
    transform: scale(0.72) rotate(-9deg);
  }

  /* CATEGORIES */

  .category-strip {
    width: 92%;

    grid-template-columns: 1fr 1fr;
  }

  .category-card {
    padding: 18px;
  }

  /* SECTIONS */

  .products-section,
  .about-section,
  .contact-section {
    width: 92%;

    margin: 70px auto;
  }

  .section-heading {
    display: block;
  }

  /* FILTERS */

  .toolbar {
    grid-template-columns: 1fr;
  }

  /* PRODUCTS */

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-image {
    height: 250px;
  }

  /* ABOUT */

  .about-image {
    height: 350px;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  /* FOOTER */

  .footer {
    display: block;
  }

  .footer p {
    margin-top: 20px;
  }

  /* MODAL */

  .modal-info {
    padding: 30px 22px;
  }

  .modal-info h2 {
    font-size: 40px;
  }

  .modal-actions {
    display: grid;

    grid-template-columns: 1fr;
  }

  /* WISHLIST */

  .wishlist-drawer {
    width: min(420px, 94vw);
  }

  /* CONTACT */

  .contact-buttons {
    width: 100%;
  }

  .contact-buttons .btn {
    width: 100%;
  }
}