/* Premium presentation layer for the production bundle. */
:root {
  --bg: #101312;
  --panel: #181c1a;
  --panel-strong: #202522;
  --line: rgba(236, 241, 236, 0.14);
  --line-strong: rgba(236, 241, 236, 0.25);
  --text: #f7f8f5;
  --muted: #acb4ad;
  --soft: #798178;
  --metal: #e7e4dc;
  --silver: #d8ddd8;
  --accent: #d44320;
  --accent-2: #e75731;
  --radius: 6px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

body {
  background: #101312;
  letter-spacing: 0;
  overflow-x: clip;
}

html { overflow-x: clip; }

body::before {
  opacity: 0.45;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 68px 68px;
}

.shell {
  width: min(1500px, 100%);
  padding-inline: clamp(18px, 3vw, 52px);
}

.topbar {
  min-height: 82px;
  border-bottom: 1px solid rgba(236, 241, 236, 0.08);
  background: rgba(16, 19, 18, 0.9);
  display: grid;
  grid-template-columns: minmax(176px, 1fr) auto minmax(176px, 1fr);
  gap: 20px;
}

.brandmark { justify-self: start; gap: 11px; }
.brandmark strong { font-size: 1.16rem; letter-spacing: 0; }
.brandmark small { color: #8f998f; letter-spacing: 0; }
.brand-icon {
  color: #101312;
  background: #e5e5df;
  border-color: #e5e5df;
}

.desktop-nav {
  justify-self: center;
  align-self: center;
  background: transparent;
  border-color: transparent;
  gap: 2px;
  padding: 3px;
}

.desktop-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 4px;
  padding: 8px 11px;
  white-space: nowrap;
  font-family: Arial, "BPG Arial 2009", sans-serif;
  font-size: 0.88rem;
  line-height: 1;
  font-weight: 700;
}

.desktop-nav a.active,
.desktop-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
}

.metric-pill,
.icon-button {
  background: transparent;
  border-color: rgba(236, 241, 236, 0.16);
}

.top-actions {
  justify-self: end;
  flex-wrap: nowrap;
}

@media (max-width: 1120px) {
  .topbar { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .mobile-menu { display: inline-flex; }
}

/* Persistent favorites and cart surfaces. */
.commerce-backdrop {
  z-index: 900;
  position: fixed;
  inset: 0;
  display: grid;
  justify-items: end;
  background: rgba(16, 10, 12, 0.42);
  backdrop-filter: blur(8px);
}

.commerce-panel {
  width: min(430px, 100%);
  min-height: 100%;
  padding: 24px;
  overflow-y: auto;
  color: #1a1c20;
  border-left: 1px solid rgba(227, 6, 19, 0.18);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: -24px 0 60px rgba(50, 0, 6, 0.2);
}

.commerce-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(22, 25, 28, 0.1);
}

.commerce-panel h2 { font-size: 1.4rem; }

.commerce-close,
.commerce-remove {
  cursor: pointer;
  color: #b5000f;
  border: 1px solid rgba(227, 6, 19, 0.2);
  border-radius: 6px;
  background: #fff5f6;
}

.commerce-close { width: 40px; height: 40px; font-size: 1.7rem; line-height: 1; }
.commerce-remove { padding: 8px 10px; font-size: 0.82rem; }
.commerce-clear {
  margin-left: auto;
  padding: 8px 10px;
  cursor: pointer;
  color: #b5000f;
  border: 1px solid rgba(227, 6, 19, 0.2);
  border-radius: 6px;
  background: #fff5f6;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}
.commerce-remove:hover,
.commerce-clear:hover { color: #fff; background: #c90012; transform: translateY(-1px); }
.commerce-remove:disabled,
.commerce-clear:disabled { cursor: wait; opacity: 0.55; transform: none; }
.commerce-list { display: grid; gap: 12px; padding-block: 18px; }
.commerce-empty { color: #6d747b; line-height: 1.6; }

.commerce-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(22, 25, 28, 0.1);
  border-radius: 8px;
  background: #fff;
  transition: opacity 210ms ease, transform 210ms ease, max-height 210ms ease, margin 210ms ease, padding 210ms ease;
}

.commerce-item.is-removing {
  max-height: 0;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateX(22px) scale(0.97);
}

.commerce-item img {
  width: 76px;
  height: 66px;
  object-fit: contain;
  border-radius: 6px;
  background: #f5f6f7;
}

.commerce-item div { display: grid; gap: 4px; min-width: 0; }
.commerce-item strong { overflow: hidden; font-size: 0.9rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.commerce-item span { color: #bd0010; font-weight: 800; }
.commerce-item a { color: #535b63; font-size: 0.82rem; font-weight: 700; }

.commerce-order,
.product-cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 18px;
  cursor: pointer;
  color: #fff;
  border: 1px solid #c50010;
  border-radius: 7px;
  background: #d90717;
  box-shadow: 0 10px 22px rgba(193, 0, 14, 0.18);
  font-weight: 800;
}

.commerce-order { width: 100%; }
.product-cart-button { width: 100%; font: inherit; }

@media (max-width: 640px) {
  .commerce-panel { width: min(390px, 92vw); padding: 18px; }
  .commerce-item { grid-template-columns: 64px minmax(0, 1fr); }
  .commerce-item img { width: 64px; height: 58px; }
  .commerce-remove { grid-column: 2; justify-self: start; }
  .commerce-clear { padding-inline: 8px; font-size: 0.72rem; }
}

.hero-section {
  position: relative;
  isolation: isolate;
  min-height: 680px;
  padding: 142px clamp(28px, 6vw, 96px) 166px;
  border: 1px solid rgba(236, 241, 236, 0.13);
  background-image: url(/images/mydiski-hero.png);
  background-position: 63% center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(8, 11, 10, 0.62);
}

.hero-copy { gap: 25px; }
.hero-copy h1 {
  max-width: 720px;
  font-size: clamp(3rem, 6.1vw, 6.55rem);
  line-height: 0.99;
  text-wrap: balance;
}
.hero-copy p { color: #d0d6d0; max-width: 590px; }
.hero-kicker,
.eyebrow {
  color: #e9e9e2;
  border-color: rgba(236, 241, 236, 0.24);
  background: rgba(16, 19, 18, 0.54);
  font-weight: 700;
}

.primary-button,
.search-submit,
.whatsapp-button {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 14px 28px rgba(212, 67, 32, 0.23);
  font-weight: 800;
}

.primary-button:hover,
.search-submit:hover,
.whatsapp-button:hover {
  background: #ed5732;
  box-shadow: 0 18px 34px rgba(212, 67, 32, 0.32);
}

.secondary-button {
  border-color: rgba(236, 241, 236, 0.38);
  background: rgba(16, 19, 18, 0.42);
  font-weight: 750;
}

.hero-stats { gap: 8px; }
.hero-stats div {
  background: rgba(16, 19, 18, 0.72);
  border-color: rgba(236, 241, 236, 0.16);
  border-radius: 4px;
}

.trust-strip {
  margin-top: -56px;
  border-color: rgba(236, 241, 236, 0.15);
  background: #1a1e1c;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.24);
}

.quick-search,
.glass-panel,
.product-card,
.brand-tile {
  background: #181c1a;
  border-color: rgba(236, 241, 236, 0.13);
  box-shadow: none;
}

.glass-panel::before,
.product-card::before,
.brand-tile::before { display: none; }

.quick-search {
  border-left: 2px solid var(--accent);
  padding: 22px;
}

input,
select,
textarea,
.brand-search-field {
  color: var(--text);
  background: #111513;
  border-color: rgba(236, 241, 236, 0.16);
  border-radius: 4px;
}

input:hover,
select:hover,
textarea:hover { border-color: rgba(236, 241, 236, 0.34); }

.section-head { margin-top: 68px; }
.section-head h2,
.home-block-head h2 { letter-spacing: 0; }
.section-head a { color: #f06b49; font-weight: 700; }

.brands-marquee-section {
  background: #151917;
  border-color: rgba(236, 241, 236, 0.1);
}

.brands-marquee-section::before { background: linear-gradient(90deg, #151917, transparent); }
.brands-marquee-section::after { background: linear-gradient(270deg, #151917, transparent); }

.premium-brand-card {
  border-radius: 5px;
  background: #1b201d;
  border: 1px solid rgba(236, 241, 236, 0.12);
  box-shadow: none;
}

.premium-brand-card:hover {
  background: #202622;
  border-color: rgba(212, 67, 32, 0.8);
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
}

.product-grid,
.home-grid { gap: 14px; }

.product-card {
  border-radius: 6px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  border-color: rgba(212, 67, 32, 0.78);
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.product-media,
.gallery-main,
.flagship-media {
  background: #101312;
}

.product-media { border-bottom: 1px solid rgba(236, 241, 236, 0.11); }
.product-media img { padding: 18px; }
.floating-spec {
  background: #e4e4dd;
  color: #111513;
  border-radius: 3px;
  font-weight: 800;
}

.product-body { padding: 17px; }
.product-title { font-weight: 800; }
.spec-row span {
  border-radius: 3px;
  background: #222823;
  border-color: rgba(236, 241, 236, 0.12);
}

.price-line { color: #f06b49; }
.feature-band { border-radius: 6px; }
.feature-band div { background: #161a18; }

.catalog-layout { gap: 16px; }
.filters { border-radius: 6px; background: #181c1a; }
.catalog-toolbar { border-radius: 6px; background: #181c1a; }
.filter-mobile-button { border-radius: 5px; }

.detail-panel {
  background: #181c1a;
  border-radius: 6px;
}

.gallery-main { border-radius: 6px; }
.thumb { border-radius: 4px; }
.spec-table { border-radius: 5px; }

.flagship-section { gap: 14px; }
.flagship-copy { border-radius: 6px; background: #181c1a; }
.collection-tile { border-radius: 6px; background: #181c1a; }

.footer-band { border-color: rgba(236, 241, 236, 0.13); }

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-color: #f06b49;
}

@media (max-width: 820px) {
  .shell { padding-inline: 16px; }
  .topbar { min-height: 72px; }
  .hero-section {
    min-height: 596px;
    margin-inline: -16px;
    padding: 94px 24px 114px;
    background-position: 61% center;
  }
  .hero-section::before { background: rgba(8, 11, 10, 0.68); }
  .hero-copy { max-width: 340px; }
  .hero-copy h1 { font-size: clamp(2.1rem, 10vw, 3.35rem); }
  .hero-copy p { font-size: 0.96rem; }
  .hero-stats { max-width: 340px; }
  .trust-strip { margin-top: -40px; }
  .section-head { margin-top: 46px; }
}

@media (max-width: 430px) {
  .hero-section {
    min-height: 540px !important;
    padding: 78px 18px 82px !important;
    background-position: 59% center !important;
  }
  .hero-copy { max-width: 284px !important; }
  .hero-copy h1 {
    max-width: 284px !important;
    font-size: 1.78rem !important;
    line-height: 1.13 !important;
  }
  .hero-copy p { max-width: 284px !important; font-size: 0.8rem !important; }
  .hero-actions { width: 284px !important; }
  .hero-stats { max-width: 284px !important; }
  .hero-stats div { padding: 8px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

/* Light, glass-led storefront refresh. */
:root {
  --bg: #f3f6f7;
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: #ffffff;
  --line: rgba(20, 35, 43, 0.13);
  --line-strong: rgba(20, 35, 43, 0.22);
  --text: #182329;
  --muted: #637078;
  --soft: #87939a;
  --metal: #19262d;
  --silver: #edf2f4;
  --accent: #d94e32;
  --accent-2: #c83f27;
  --shadow: 0 18px 42px rgba(25, 45, 53, 0.12);
}

body {
  color: var(--text);
  background: #f3f6f7;
  font-family: Arial, "BPG Arial 2009", sans-serif;
}

body::before {
  opacity: 0.35;
  background-image: linear-gradient(rgba(24, 35, 41, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(24, 35, 41, 0.045) 1px, transparent 1px);
}

.shell { padding-bottom: 48px; }

.topbar {
  min-height: 78px;
  background: rgba(250, 252, 252, 0.86);
  border-bottom-color: rgba(20, 35, 43, 0.1);
  box-shadow: 0 8px 24px rgba(25, 45, 53, 0.05);
}

.brand-icon {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 7px 16px rgba(217, 78, 50, 0.24);
}

.brandmark strong { color: #17242a; }
.brandmark small { color: #6a767b; }

.desktop-nav a { color: #57656b; }
.desktop-nav a.active,
.desktop-nav a:hover {
  color: #1b282e;
  background: rgba(217, 78, 50, 0.11);
}

.metric-pill,
.icon-button {
  color: #26343a;
  background: rgba(255, 255, 255, 0.56);
  border-color: rgba(20, 35, 43, 0.13);
  box-shadow: 0 6px 14px rgba(25, 45, 53, 0.05);
}

.icon-button:hover,
.icon-button.active {
  color: var(--accent);
  background: #fff;
  border-color: rgba(217, 78, 50, 0.34);
}

.hero-section {
  grid-template-columns: 1fr;
  place-items: center;
  min-height: 600px;
  padding: 92px 28px 112px;
  background: #eaf0f2;
  border: 1px solid rgba(20, 35, 43, 0.1);
  box-shadow: 0 20px 46px rgba(25, 45, 53, 0.1);
}

.hero-section::before {
  z-index: -1;
  background: rgba(248, 250, 251, 0.5);
}

.hero-section::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url(/images/mydiski-hero.png) 72% center / cover no-repeat;
  opacity: 0.16;
  filter: grayscale(1) contrast(0.8) brightness(1.6);
}

.hero-video {
  z-index: 0;
  pointer-events: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 600ms ease;
}

.hero-section.has-video::after { opacity: 0; animation: none; }
.hero-section.has-video .hero-video { opacity: 1; }

.hero-copy {
  justify-items: center;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.hero-copy h1 {
  max-width: 880px;
  color: #17262d;
  font-family: Arial, "BPG Arial 2009", sans-serif;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.12;
  text-wrap: balance;
}

.hero-copy p {
  max-width: 650px;
  color: #526069;
  font-size: 19px;
  line-height: 1.58;
}

.hero-kicker,
.eyebrow {
  color: #34444b;
  background: rgba(255, 255, 255, 0.64);
  border-color: rgba(20, 35, 43, 0.15);
  box-shadow: 0 8px 18px rgba(25, 45, 53, 0.07);
}

.hero-actions { justify-content: center; }
.primary-button,
.search-submit,
.whatsapp-button {
  background: var(--accent);
  box-shadow: 0 12px 22px rgba(217, 78, 50, 0.22);
}
.secondary-button {
  color: #26343a;
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(20, 35, 43, 0.2);
}

.hero-stats {
  justify-content: center;
  margin-inline: auto;
}
.hero-stats div {
  color: #1d2a30;
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(20, 35, 43, 0.13);
  box-shadow: 0 10px 22px rgba(25, 45, 53, 0.06);
}
.hero-stats span { color: #607078; }

.trust-strip,
.quick-search,
.glass-panel,
.product-card,
.brand-tile,
.filters,
.catalog-toolbar,
.detail-panel,
.flagship-copy,
.collection-tile {
  color: var(--text);
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(20, 35, 43, 0.12);
  box-shadow: 0 16px 34px rgba(25, 45, 53, 0.08);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  backdrop-filter: blur(16px) saturate(125%);
}

.trust-strip { background: rgba(255, 255, 255, 0.84); }
.trust-strip svg,
.panel-title svg,
.section-head a,
.footer-band a { color: var(--accent); }

input,
select,
textarea,
.brand-search-field {
  color: #213036;
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(20, 35, 43, 0.15);
}

input::placeholder { color: #8b979c; }

.section-head h2,
.home-block-head h2,
.flagship-copy h2,
.page-hero h1,
.detail-panel h1 {
  color: #19272d;
  font-family: Arial, "BPG Arial 2009", sans-serif;
}

.brands-marquee-section {
  background: rgba(227, 237, 239, 0.82);
  border-color: rgba(20, 35, 43, 0.1);
}
.brands-marquee-section::before { background: linear-gradient(90deg, #e3edef, transparent); }
.brands-marquee-section::after { background: linear-gradient(270deg, #e3edef, transparent); }

.premium-brand-card {
  color: #1c2a30;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(20, 35, 43, 0.11);
  box-shadow: 0 12px 24px rgba(25, 45, 53, 0.07);
}
.premium-brand-card:hover {
  background: #fff;
  border-color: rgba(217, 78, 50, 0.5);
  box-shadow: 0 20px 34px rgba(25, 45, 53, 0.14);
}
.brand-logo-fallback { color: #233239; }
.brand-card-meta span,
.product-meta,
.spec-row,
.feature-band span,
.field span,
.assurance-list { color: #66747a; }

.product-card {
  transform: perspective(900px) translateZ(0);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.product-card:hover {
  border-color: rgba(217, 78, 50, 0.44);
  transform: perspective(900px) rotateX(1.2deg) rotateY(-1.2deg) translateY(-6px);
  box-shadow: 0 22px 38px rgba(25, 45, 53, 0.16);
}
.product-media,
.gallery-main,
.flagship-media { background: #e9eff1; }
.product-media { border-bottom-color: rgba(20, 35, 43, 0.1); }
.product-title { color: #1d2b31; }
.spec-row span { color: #506069; background: #eef3f4; border-color: rgba(20, 35, 43, 0.1); }
.floating-spec { color: #fff; background: #25363d; }
.price-line { color: var(--accent); }
.feature-band { border-color: rgba(20, 35, 43, 0.12); background: rgba(20, 35, 43, 0.11); }
.feature-band div { background: rgba(255, 255, 255, 0.84); }

.footer-band { color: #64727a; border-top-color: rgba(20, 35, 43, 0.12); }
.whatsapp-mini { background: #2d9b71; }

@media (max-width: 1120px) {
  .hero-copy h1 { font-size: 44px; }
  .hero-copy p { font-size: 18px; }
}

@media (max-width: 820px) {
  .topbar { background: rgba(250, 252, 252, 0.94); }
  .hero-section {
    min-height: 540px;
    padding: 76px 20px 92px;
    background-position: 58% center;
  }
  .hero-section::before { background: rgba(248, 250, 251, 0.82); }
  .hero-copy { max-width: 620px !important; }
  .hero-copy h1 { max-width: 620px !important; font-size: 38px !important; line-height: 1.15 !important; }
  .hero-copy p { max-width: 540px !important; font-size: 17px !important; }
  .hero-actions { width: auto !important; }
}

@media (max-width: 430px) {
  .hero-section { min-height: 510px !important; padding: 64px 16px 70px !important; }
  .hero-copy { max-width: 100% !important; }
  .hero-copy h1 { max-width: 100% !important; font-size: 31px !important; line-height: 1.16 !important; }
  .hero-copy p { max-width: 100% !important; font-size: 16px !important; line-height: 1.5 !important; }
  .hero-actions { grid-template-columns: 1fr !important; width: min(100%, 280px) !important; }
  .hero-actions .primary-button,
  .hero-actions .secondary-button { width: 100% !important; }
  .hero-stats { max-width: 100% !important; }
}

/* Premium depth system: a restrained, contemporary automotive retail treatment. */
:root {
  --surface-0: #f5f8f9;
  --surface-1: rgba(255, 255, 255, 0.78);
  --surface-2: #ffffff;
  --ink-strong: #102028;
  --ink: #263740;
  --ink-soft: #667881;
  --signal: #d94e32;
  --signal-dark: #ba3823;
  --edge: rgba(21, 46, 56, 0.12);
  --elevation-1: 0 12px 30px rgba(23, 48, 58, 0.08);
  --elevation-2: 0 24px 52px rgba(23, 48, 58, 0.14);
}

body { background: var(--surface-0); }

.topbar {
  isolation: isolate;
  border-bottom: 1px solid var(--edge);
}

.topbar::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(255, 255, 255, 0.56);
}

.brandmark strong { font-size: 1.2rem; font-weight: 800; }
.brandmark small { font-size: 0.62rem; font-weight: 700; }

.desktop-nav {
  padding: 4px;
  border: 1px solid rgba(21, 46, 56, 0.08);
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 6px 18px rgba(23, 48, 58, 0.04);
}

.desktop-nav a {
  min-height: 38px;
  padding-inline: 14px;
  color: #52646d;
}

.desktop-nav a.active {
  color: var(--ink-strong);
  box-shadow: inset 0 -2px 0 var(--signal);
}

.hero-section {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--elevation-2);
}

.hero-section::after {
  opacity: 0.24;
  filter: grayscale(1) contrast(0.86) brightness(1.45);
}

.hero-copy h1 {
  color: var(--ink-strong);
  font-weight: 800;
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.8);
}

.hero-copy p { color: #4c6069; font-weight: 500; }
.hero-kicker { font-weight: 800; }

.primary-button,
.search-submit,
.whatsapp-button {
  background: var(--signal);
  border: 1px solid var(--signal);
  box-shadow: 0 12px 24px rgba(217, 78, 50, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.primary-button:hover,
.search-submit:hover,
.whatsapp-button:hover {
  background: var(--signal-dark);
  border-color: var(--signal-dark);
  transform: translateY(-2px);
}

.secondary-button {
  box-shadow: 0 8px 16px rgba(23, 48, 58, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero-stats div {
  min-width: 136px;
  border-radius: 5px;
  box-shadow: 0 13px 26px rgba(23, 48, 58, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.hero-stats strong,
.price-line,
.inventory-stat strong { font-variant-numeric: tabular-nums; }

.trust-strip {
  position: relative;
  z-index: 2;
  box-shadow: var(--elevation-1);
}

.quick-search {
  border-left-width: 3px;
  border-left-color: var(--signal);
  box-shadow: var(--elevation-2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.quick-search h2,
.home-block-head h2 { color: var(--ink-strong); }

.section-head {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--edge);
}

.section-head h2 { font-weight: 800; }
.section-head a { font-weight: 800; }

.product-grid,
.home-grid { gap: 18px; }

.product-card {
  overflow: visible;
  border-radius: 6px;
  box-shadow: var(--elevation-1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.product-card::before { border-radius: 6px; }

.product-card:hover {
  transform: perspective(1000px) rotateX(1.6deg) rotateY(-1.6deg) translateY(-8px);
  box-shadow: var(--elevation-2), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.product-media {
  border-radius: 6px 6px 0 0;
  background: #e8eff1;
  overflow: hidden;
}

.product-media::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: inherit;
}

.product-card:hover .product-media img {
  transform: scale(1.075) rotate(-1deg);
}

.product-title {
  min-height: 3.25rem;
  color: var(--ink-strong);
  font-weight: 800;
  line-height: 1.35;
}

.card-bottom { padding-top: 4px; border-top: 1px solid rgba(21, 46, 56, 0.08); }
.price-line { color: var(--signal); font-weight: 800; }

.spec-row span {
  color: #435861;
  font-weight: 700;
  border-radius: 4px;
}

.floating-spec {
  top: 10px;
  left: 10px;
  border-radius: 4px;
  box-shadow: 0 8px 18px rgba(23, 48, 58, 0.16);
}

.filters,
.catalog-toolbar,
.detail-panel {
  border-radius: 6px;
  box-shadow: var(--elevation-1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.filters { padding: 18px; }
.catalog-toolbar { min-height: 70px; }

.field span,
.panel-title h1,
.panel-title h2 { color: var(--ink-strong); font-weight: 800; }

input,
select,
textarea {
  box-shadow: inset 0 1px 2px rgba(23, 48, 58, 0.04);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(217, 78, 50, 0.65);
  box-shadow: 0 0 0 3px rgba(217, 78, 50, 0.14);
}

.gallery-main {
  box-shadow: var(--elevation-1), inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.thumb {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 5px 12px rgba(23, 48, 58, 0.06);
}

.thumb.active { border-color: var(--signal); }
.spec-table { border-color: var(--edge); }
.spec-table div { border-bottom-color: var(--edge); }

.brand-rail,
.brands-marquee-section { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78); }

.premium-brand-card {
  min-height: 142px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.premium-brand-card:hover {
  transform: perspective(900px) rotateX(1deg) rotateY(-1deg) translateY(-6px);
}

.flagship-copy,
.collection-tile,
.feature-band div,
.info-grid article,
.contact-card {
  box-shadow: var(--elevation-1), inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.collection-tile:hover {
  transform: perspective(900px) rotateX(1deg) translateY(-5px);
  box-shadow: var(--elevation-2);
}

.page-hero {
  color: var(--ink-strong);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--edge);
  box-shadow: var(--elevation-2);
}

.page-hero p { color: #52646d; }
.page-hero span { color: var(--signal); }

.footer-band { padding-top: 24px; }

@media (max-width: 820px) {
  .hero-section { border-radius: 0; }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .hero-stats div { min-width: 0; }
  .product-grid,
  .home-grid { gap: 14px; }
  .catalog-toolbar { min-height: 62px; }
}

@media (max-width: 430px) {
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .hero-stats div { padding: 10px 6px !important; }
  .hero-stats strong { font-size: 1.08rem; }
  .hero-stats span { font-size: 0.7rem; }
  .product-card:hover,
  .premium-brand-card:hover,
  .collection-tile:hover { transform: translateY(-3px); }
}

/* White and red brand system. */
:root {
  --bg: #ffffff;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-strong: #ffffff;
  --text: #151515;
  --muted: #6d6d6d;
  --soft: #8d8d8d;
  --metal: #1b1b1b;
  --silver: #f3f3f3;
  --accent: #e30613;
  --accent-2: #bd0010;
  --surface-0: #ffffff;
  --surface-1: rgba(255, 255, 255, 0.88);
  --surface-2: #ffffff;
  --ink-strong: #151515;
  --ink: #292929;
  --ink-soft: #6d6d6d;
  --signal: #e30613;
  --signal-dark: #b9000e;
  --edge: rgba(21, 21, 21, 0.12);
  --elevation-1: 0 10px 26px rgba(21, 21, 21, 0.08);
  --elevation-2: 0 22px 44px rgba(21, 21, 21, 0.13);
}

body { background: #ffffff; color: #151515; }
body::before {
  opacity: 0.22;
  background-image: linear-gradient(rgba(21, 21, 21, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(21, 21, 21, 0.04) 1px, transparent 1px);
}

.topbar,
.topbar::after {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(21, 21, 21, 0.1);
}

.brand-icon,
.primary-button,
.search-submit,
.whatsapp-button,
.whatsapp-mini { background: var(--signal); }

.brand-icon { border-color: var(--signal); box-shadow: 0 8px 16px rgba(227, 6, 19, 0.2); }
.brandmark strong,
.section-head h2,
.home-block-head h2,
.flagship-copy h2,
.page-hero h1,
.detail-panel h1,
.product-title { color: #151515; }
.brandmark small,
.hero-copy p,
.product-meta,
.spec-row,
.field span,
.brand-card-meta span { color: #6d6d6d; }

.desktop-nav {
  border-color: rgba(21, 21, 21, 0.08);
  background: rgba(255, 255, 255, 0.92);
}
.desktop-nav a { color: #5d5d5d; }
.desktop-nav a.active,
.desktop-nav a:hover { color: #151515; background: #fff1f2; }
.desktop-nav a.active { box-shadow: inset 0 -2px 0 var(--signal); }

.metric-pill,
.icon-button {
  color: #1b1b1b;
  background: #ffffff;
  border-color: rgba(21, 21, 21, 0.13);
  box-shadow: 0 6px 14px rgba(21, 21, 21, 0.05);
}
.icon-button:hover,
.icon-button.active { color: var(--signal); border-color: rgba(227, 6, 19, 0.46); }

.hero-section {
  background: #fafafa;
  border-color: rgba(21, 21, 21, 0.11);
  box-shadow: var(--elevation-2);
}
.hero-section::before { background: rgba(255, 255, 255, 0.66); }
.hero-section::after {
  opacity: 0.18;
  filter: grayscale(1) contrast(1.1) brightness(1.55);
}
.hero-copy h1 { color: #121212; text-shadow: 0 2px 18px rgba(255, 255, 255, 0.92); }
.hero-copy p { color: #5a5a5a; }
.hero-kicker,
.eyebrow {
  color: #202020;
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(21, 21, 21, 0.13);
}

.primary-button,
.search-submit,
.whatsapp-button {
  border-color: var(--signal);
  box-shadow: 0 12px 24px rgba(227, 6, 19, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}
.primary-button:hover,
.search-submit:hover,
.whatsapp-button:hover { background: var(--signal-dark); border-color: var(--signal-dark); }
.secondary-button { color: #212121; background: #fff; border-color: rgba(21, 21, 21, 0.2); }

.hero-stats div,
.trust-strip,
.quick-search,
.glass-panel,
.product-card,
.brand-tile,
.filters,
.catalog-toolbar,
.detail-panel,
.flagship-copy,
.collection-tile,
.premium-brand-card,
.page-hero,
.info-grid article,
.contact-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(21, 21, 21, 0.12);
  box-shadow: var(--elevation-1), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.hero-stats strong,
.inventory-stat strong { color: #171717; }
.hero-stats span { color: #727272; }
.trust-strip svg,
.panel-title svg,
.section-head a,
.footer-band a { color: var(--signal); }
.quick-search { border-left-color: var(--signal); }

input,
select,
textarea,
.brand-search-field {
  color: #202020;
  background: #ffffff;
  border-color: rgba(21, 21, 21, 0.16);
}
input:focus,
select:focus,
textarea:focus { border-color: rgba(227, 6, 19, 0.72); box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.12); }

.brands-marquee-section,
.brand-rail { background: #fafafa; border-color: rgba(21, 21, 21, 0.1); }
.brands-marquee-section::before { background: linear-gradient(90deg, #fafafa, transparent); }
.brands-marquee-section::after { background: linear-gradient(270deg, #fafafa, transparent); }
.brand-logo-fallback { color: #202020; }

.product-media,
.gallery-main,
.flagship-media { background: #f5f5f5; }
.product-media { border-bottom-color: rgba(21, 21, 21, 0.1); }
.product-media::after { border-color: rgba(255, 255, 255, 0.7); }
.product-card:hover { border-color: rgba(227, 6, 19, 0.48); }
.spec-row span { color: #464646; background: #f4f4f4; border-color: rgba(21, 21, 21, 0.1); }
.floating-spec { background: #1b1b1b; }
.price-line { color: var(--signal); }
.card-bottom { border-top-color: rgba(21, 21, 21, 0.09); }

.feature-band { background: rgba(21, 21, 21, 0.11); border-color: rgba(21, 21, 21, 0.11); }
.feature-band div { background: #ffffff; }
.thumb { background: #ffffff; border-color: rgba(21, 21, 21, 0.12); }
.thumb.active { border-color: var(--signal); }
.spec-table { border-color: rgba(21, 21, 21, 0.12); }
.spec-table div { border-bottom-color: rgba(21, 21, 21, 0.1); }

.page-hero p,
.footer-band,
.info-grid p,
.contact-card span { color: #626262; }
.page-hero span { color: var(--signal); }
.collection-tile:hover,
.premium-brand-card:hover { border-color: rgba(227, 6, 19, 0.45); }

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible { outline-color: var(--signal); }

/* Repair production-bundle rules that were overriding the visual system. */
.hero-section::after {
  background-image: url(/images/hero-premium-studio.png);
  background-position: center;
  opacity: 0.44;
  filter: none;
}

.hero-section::before { background: rgba(255, 255, 255, 0.42); }
.hero-copy h1 { text-shadow: 0 2px 16px rgba(255, 255, 255, 0.96); }
.hero-copy p { text-shadow: 0 1px 12px rgba(255, 255, 255, 0.92); }

.quick-search,
.home-search-block .quick-search {
  background: #ffffff !important;
  border-color: rgba(21, 21, 21, 0.13) !important;
  border-left-color: var(--signal) !important;
}

.quick-search h2,
.quick-search .field span,
.quick-search .search-field,
.quick-search .search-field svg,
.quick-search label { color: #222222 !important; }

.quick-search input,
.quick-search select,
.quick-search textarea,
.quick-search .fitment-query input {
  color: #202020 !important;
  background: #ffffff !important;
  border-color: rgba(21, 21, 21, 0.18) !important;
  box-shadow: inset 0 1px 2px rgba(21, 21, 21, 0.04) !important;
}

.quick-search input::placeholder { color: #7b7b7b !important; opacity: 1; }
.quick-search select:disabled,
.quick-search input:disabled {
  color: #7a7a7a !important;
  background: #f5f5f5 !important;
  opacity: 1 !important;
}

.collection-tile {
  isolation: isolate;
  min-height: 206px;
  color: #ffffff;
  border: 0;
  background-color: #181818;
  background-position: center;
  background-size: cover;
  box-shadow: var(--elevation-2);
}

.collection-tile::before {
  display: block !important;
  z-index: -1;
  opacity: 1;
  background: rgba(11, 11, 11, 0.46);
}

.collection-tile:nth-child(1) { background-image: url("https://static.tnet.ge/myparts/photos/large/0122/12815855_1.jpg?v=1"); }
.collection-tile:nth-child(2) { background-image: url("https://static.tnet.ge/myparts/photos/large/0417/12857829_1.jpg?v=1"); }
.collection-tile:nth-child(3) { background-image: url("https://static.tnet.ge/myparts/photos/large/0425/12861580_1.jpg?v=1"); }

.collection-tile strong { color: #ffffff; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72); }
.collection-tile span { color: #ffffff !important; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.72); }
.collection-tile:hover { transform: perspective(900px) rotateX(1deg) translateY(-5px); }

.product-tabs {
  width: fit-content;
  max-width: 100%;
  background: #ffffff;
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 6px;
  padding: 4px;
  box-shadow: 0 8px 18px rgba(21, 21, 21, 0.05);
}

.product-tabs button {
  min-height: 42px;
  color: #5c5c5c;
  background: transparent;
  border-radius: 4px;
  padding: 8px 14px;
  font-weight: 750;
}

.product-tabs button.active {
  color: #ffffff;
  background: var(--signal);
  box-shadow: 0 7px 14px rgba(227, 6, 19, 0.22);
}

@media (max-width: 820px) {
  .collection-tile { min-height: 184px; }
  .quick-search { padding: 16px !important; }
  .product-tabs { width: 100%; overflow-x: auto; }
  .product-tabs button { flex: 1 0 auto; }
}

/* Final navigation and type polish: a single predictable interaction language. */
:root {
  --nav-surface: rgba(255, 255, 255, 0.86);
  --nav-edge: rgba(21, 21, 21, 0.1);
  --nav-shadow: 0 12px 30px rgba(26, 21, 21, 0.08);
  --text-shadow-soft: 0 1px 0 rgba(255, 255, 255, 0.82);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: 88px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(21, 21, 21, 0.05), 0 10px 26px rgba(21, 21, 21, 0.045);
}

.brandmark {
  min-width: 0;
}

.brandmark strong {
  color: #111111;
  font-size: 1.26rem;
  font-weight: 850;
  line-height: 1;
  text-shadow: var(--text-shadow-soft);
}

.brandmark small {
  display: block;
  margin-top: 4px;
  color: #6b6b6b;
  font-size: 0.62rem;
  font-weight: 750;
  line-height: 1.2;
}

.desktop-nav {
  position: relative;
  isolation: isolate;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--nav-edge);
  border-radius: 7px;
  background: var(--nav-surface);
  box-shadow: var(--nav-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.desktop-nav a {
  position: relative;
  min-height: 44px;
  min-width: 0;
  padding: 10px 15px;
  color: #5b5b5b;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  text-shadow: var(--text-shadow-soft);
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 5px;
  left: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--signal);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

.desktop-nav a:hover {
  color: #1b1b1b;
  background: rgba(227, 6, 19, 0.06);
  transform: translateY(-1px);
}

.desktop-nav a:hover::after {
  opacity: 0.62;
  transform: scaleX(0.72);
}

.desktop-nav a.active {
  color: #171717;
  background: #fff1f2;
  box-shadow: inset 0 0 0 1px rgba(227, 6, 19, 0.08), 0 4px 10px rgba(227, 6, 19, 0.1);
}

.desktop-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.desktop-nav a:focus-visible,
.mobile-menu:focus-visible,
.icon-button:focus-visible {
  outline: 3px solid rgba(227, 6, 19, 0.34);
  outline-offset: 3px;
}

.mobile-menu {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  color: #171717;
  box-shadow: 0 7px 16px rgba(21, 21, 21, 0.07);
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.mobile-menu:hover,
.mobile-menu[aria-expanded="true"] {
  color: var(--signal);
  border-color: rgba(227, 6, 19, 0.42);
  background: #fff6f6;
  transform: translateY(-1px);
}

.hero-copy h1,
.section-head h2,
.home-block-head h2,
.flagship-copy h2,
.page-hero h1,
.detail-panel h1 {
  color: #141414;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy h1 {
  line-height: 1.12;
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.98), 0 8px 24px rgba(255, 255, 255, 0.36);
}

.hero-copy p,
.page-hero p,
.section-head p,
.home-block-head p {
  color: #5f5f5f;
  font-weight: 500;
  line-height: 1.55;
}

.eyebrow,
.hero-kicker {
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 8px 20px rgba(21, 21, 21, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.primary-button,
.secondary-button,
.whatsapp-button,
.search-submit,
.product-tabs button {
  font-weight: 800;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.primary-button:hover,
.search-submit:hover,
.whatsapp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(227, 6, 19, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.secondary-button:hover {
  color: var(--signal);
  border-color: rgba(227, 6, 19, 0.42);
  background: #fff7f7;
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(21, 21, 21, 0.08);
}

.product-card,
.premium-brand-card,
.collection-tile,
.info-grid article,
.contact-card {
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.product-card:hover,
.premium-brand-card:hover,
.collection-tile:hover,
.info-grid article:hover,
.contact-card:hover {
  box-shadow: 0 18px 34px rgba(21, 21, 21, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

@media (max-width: 1120px) {
  .topbar { min-height: 78px; }
  .desktop-nav a { padding-inline: 12px; }
}

@media (max-width: 820px) {
  .topbar { min-height: 72px; }
  .brandmark strong { font-size: 1.14rem; }
  .brandmark small { font-size: 0.56rem; }
  .hero-copy h1 { text-wrap: pretty; }
}

@media (max-width: 430px) {
  .topbar { min-height: 68px; }
  .brandmark small { display: none; }
  .hero-copy h1 { line-height: 1.18 !important; }
}

@media (prefers-reduced-motion: reduce) {
  .desktop-nav a,
  .desktop-nav a::after,
  .mobile-menu,
  .primary-button,
  .secondary-button,
  .whatsapp-button,
  .search-submit,
  .product-tabs button,
  .product-card,
  .premium-brand-card,
  .collection-tile,
  .info-grid article,
  .contact-card { transition: none !important; }
}

/* Catalog and product-page refinement. */
:root {
  --font-ui: "BPG Arial 2009", "Sylfaen", Arial, sans-serif;
  --font-display: "BPG Arial 2009", "Sylfaen", Arial, sans-serif;
}

body,
button,
input,
select,
textarea,
.product-title,
.detail-panel h1,
.panel-title,
.catalog-toolbar {
  font-family: var(--font-ui) !important;
  font-kerning: normal;
  font-synthesis: none;
}

.catalog-layout {
  align-items: start;
  gap: 20px;
}

.catalog-main {
  min-width: 0;
  gap: 18px;
}

.catalog-toolbar {
  min-height: 74px;
  padding: 14px 18px;
}

.catalog-toolbar > div {
  min-width: 0;
  color: #282828;
  font-size: 1.08rem;
  font-weight: 700;
}

.catalog-toolbar select {
  width: min(332px, 100%);
  color: #292929;
  font-weight: 650;
}

.catalog-main .product-grid {
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 18px;
}

.catalog-main .product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border-radius: 7px;
}

.catalog-main .product-media {
  aspect-ratio: 1.18;
  flex: 0 0 auto;
}

.catalog-main .product-media img {
  width: 100%;
  height: 100%;
  padding: 10px;
  object-fit: cover;
}

.catalog-main .product-body {
  grid-template-rows: 3.05rem auto minmax(5.2rem, 1fr);
  align-content: start;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 15px 16px 16px;
}

.catalog-main .product-title {
  display: -webkit-box;
  min-height: 0;
  max-height: 3.05rem;
  overflow: hidden;
  color: #1a1a1a;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.52;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.catalog-main .spec-row {
  align-items: flex-start;
  min-height: 28px;
  max-height: 58px;
  overflow: hidden;
}

.catalog-main .spec-row span {
  max-width: 100%;
  overflow: hidden;
  font-size: 0.78rem;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-main .card-bottom {
  align-self: end;
  min-width: 0;
  padding-top: 12px;
}

.catalog-main .card-bottom strong {
  color: #171717;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1;
}

.catalog-main .card-actions {
  gap: 5px;
  min-width: 0;
}

.catalog-main .card-actions .icon-button {
  min-width: 38px;
  min-height: 38px;
  border-radius: 5px;
}

.product-detail {
  padding-top: 34px;
}

.back-link {
  color: #626262;
  font-weight: 650;
}

.detail-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  align-items: start;
  gap: 24px;
}

.gallery-main {
  display: grid;
  aspect-ratio: 1.14;
  min-height: 0;
  padding: 0;
  background: #f7f7f7;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  max-height: none;
  padding: 20px;
  object-fit: contain;
}

.detail-panel {
  gap: 20px;
  padding: 28px;
}

.detail-panel h1 {
  max-width: 100%;
  color: #151515;
  font-size: clamp(1.5rem, 1.9vw, 2.25rem);
  font-weight: 750;
  line-height: 1.28;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.detail-panel .price-line {
  color: var(--signal);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
}

.detail-panel .spec-table {
  background: #ffffff;
}

.detail-panel .spec-table div {
  align-items: baseline;
  gap: 14px;
  padding: 12px 14px;
}

@media (min-width: 1280px) {
  .catalog-main .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 921px) and (max-width: 1279px) {
  .catalog-main .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1120px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-panel { position: static; }
  .gallery-main { aspect-ratio: 1.25; }
}

@media (max-width: 920px) {
  .catalog-main .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .catalog-toolbar {
    align-items: stretch;
    min-height: 0;
    padding: 12px;
  }
  .catalog-toolbar > div { font-size: 1rem; }
  .catalog-toolbar select { width: 100%; }
  .catalog-main .product-grid { grid-template-columns: 1fr; }
  .catalog-main .product-media { aspect-ratio: 1.28; }
  .catalog-main .product-body { grid-template-rows: 3.05rem auto minmax(5rem, 1fr); }
  .detail-panel { padding: 20px; }
  .detail-panel h1 { font-size: 1.5rem; line-height: 1.3; }
  .gallery-main { aspect-ratio: 1; }
}

/* Calm marketplace treatment for the individual product page. */
.product-detail {
  max-width: 1440px;
  margin-inline: auto;
  padding-top: 42px;
}

.product-detail .back-link {
  margin-bottom: 22px;
  color: #737373;
  font-size: 0.96rem;
}

.product-detail .back-link:hover { color: var(--signal); }

.detail-grid {
  grid-template-columns: minmax(440px, 1.05fr) minmax(380px, 0.76fr);
  gap: 34px;
}

.gallery-wrap {
  gap: 12px;
}

.gallery-main {
  border: 1px solid rgba(21, 21, 21, 0.11);
  border-radius: 8px;
  aspect-ratio: 1.03;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(21, 21, 21, 0.07);
}

.gallery-main img {
  padding: 0;
  object-fit: cover;
}

.zoom-badge {
  color: #202020;
  border-color: rgba(21, 21, 21, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(21, 21, 21, 0.1);
}

.thumb-strip { gap: 10px; }

.thumb {
  flex-basis: 88px;
  height: 72px;
  border-color: rgba(21, 21, 21, 0.13);
  background: #ffffff;
  box-shadow: 0 5px 12px rgba(21, 21, 21, 0.05);
}

.thumb img { object-fit: cover; }
.thumb.active { border-color: var(--signal); box-shadow: 0 0 0 2px rgba(227, 6, 19, 0.12); }

.detail-panel {
  position: sticky;
  top: 108px;
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 34px rgba(21, 21, 21, 0.09), inset 0 1px 0 #ffffff;
}

.detail-panel .eyebrow {
  color: #b9000e;
  border-color: rgba(227, 6, 19, 0.18);
  background: #fff1f2;
  box-shadow: none;
}

.detail-panel h1 {
  color: #161616;
  font-size: clamp(1.45rem, 1.72vw, 2.05rem);
  font-weight: 750;
  line-height: 1.32;
}

.detail-panel .price-line {
  order: -1;
  color: #171717;
  border-bottom: 1px solid rgba(21, 21, 21, 0.1);
  padding-bottom: 18px;
  font-size: 2.05rem;
  font-weight: 800;
}

.detail-panel .spec-table {
  border-color: rgba(21, 21, 21, 0.1);
  border-radius: 6px;
  box-shadow: none;
}

.detail-panel .spec-table div {
  grid-template-columns: minmax(100px, 0.8fr) minmax(0, 1.2fr);
  border-bottom-color: rgba(21, 21, 21, 0.08);
  padding: 11px 14px;
}

.detail-panel .spec-table span {
  color: #777777;
  font-size: 0.86rem;
  font-weight: 600;
}

.detail-panel .spec-table strong {
  min-width: 0;
  color: #252525;
  font-size: 0.9rem;
  font-weight: 750;
  overflow-wrap: anywhere;
  text-align: right;
}

.detail-panel .whatsapp-button {
  min-height: 58px;
  color: #ffffff;
  border-radius: 6px;
  background: var(--signal);
  box-shadow: 0 12px 22px rgba(227, 6, 19, 0.2);
}

.detail-panel .whatsapp-button:hover {
  background: var(--signal-dark);
  box-shadow: 0 15px 28px rgba(227, 6, 19, 0.26);
}

.detail-panel .compatible-box {
  border: 1px solid rgba(21, 21, 21, 0.09);
  border-radius: 6px;
  background: #fafafa;
  padding: 14px;
}

.detail-panel .compatible-box span,
.detail-panel .compatible-box p { color: #6b6b6b; }

.compatible-box[data-fitment-ready="true"] {
  gap: 8px;
}

.compatible-box[data-fitment-ready="true"] span {
  color: #252525;
  font-size: 0.84rem;
  font-weight: 800;
}

.compatible-box[data-fitment-ready="true"] p {
  color: #555555;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.55;
}

.compatible-box[data-fitment-ready="true"] small {
  color: #858585;
  font-size: 0.74rem;
  line-height: 1.4;
}

@media (max-width: 1120px) {
  .product-detail { padding-top: 28px; }
  .detail-grid { grid-template-columns: 1fr; gap: 22px; }
  .gallery-main { aspect-ratio: 1.22; }
  .detail-panel { position: static; }
}

@media (max-width: 640px) {
  .product-detail { padding-top: 20px; }
  .product-detail .back-link { margin-bottom: 14px; }
  .gallery-main { aspect-ratio: 1; }
  .detail-panel { padding: 20px; }
  .detail-panel .price-line { font-size: 1.8rem; }
}

/* Keep vendor-supplied long names from taking over the purchase panel. */
.detail-panel h1 {
  display: -webkit-box;
  max-height: 5.8em;
  overflow: hidden;
  font-size: clamp(1.2rem, 1.35vw, 1.45rem);
  font-weight: 700;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

@media (max-width: 640px) {
  .detail-panel h1 {
    max-height: 5.7em;
    font-size: 1.15rem;
    line-height: 1.42;
  }
}

/* Two-tier marketplace header, using the existing search and navigation controls. */
@media (min-width: 1121px) {
  .topbar {
    display: grid;
    grid-template-columns: auto minmax(360px, 1fr) auto;
    grid-template-rows: 78px 56px;
    column-gap: 28px;
    align-items: center;
    min-height: 134px;
    padding: 0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1px 0 rgba(21, 21, 21, 0.1), 0 10px 24px rgba(21, 21, 21, 0.04);
  }

  .brandmark {
    grid-column: 1;
    grid-row: 1;
    min-height: 54px;
    padding-right: 12px;
  }

  .brandmark strong {
    font-size: 1.35rem;
    font-style: italic;
    font-weight: 850;
  }

  .brandmark small { display: none; }

  .desktop-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: stretch;
    justify-content: flex-start;
    gap: 34px;
    width: 100%;
    margin: 0;
    padding: 0 0 0 108px;
    border: 0;
    border-top: 1px solid rgba(21, 21, 21, 0.09);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .desktop-nav a {
    min-height: 56px;
    padding: 0 2px;
    color: #2f2f2f;
    font-size: 0.97rem;
    font-weight: 700;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .desktop-nav a::after {
    right: 2px;
    bottom: 0;
    left: 2px;
    height: 3px;
  }

  .desktop-nav a:hover,
  .desktop-nav a.active { color: var(--signal); }

  .top-actions {
    grid-column: 2 / -1;
    grid-row: 1;
    justify-self: stretch;
    justify-content: flex-end;
    gap: 10px;
  }

  .top-actions > .icon-button:first-child {
    justify-content: flex-start;
    gap: 11px;
    width: clamp(280px, 30vw, 430px);
    min-height: 48px;
    margin-right: auto;
    padding: 0 16px;
    color: #009bb7;
    border-color: rgba(21, 21, 21, 0.12);
    border-radius: 7px;
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
  }

  .top-actions > .icon-button:first-child::after {
    content: "ძებნა: დისკი, PCD, R19...";
    color: #9a9a9a;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
  }

  .top-actions > .icon-button:first-child:hover {
    color: var(--signal);
    border-color: rgba(227, 6, 19, 0.42);
    background: #fffafa;
    transform: none;
  }

  .top-actions .metric-pill,
  .top-actions > .icon-button:not(:first-child) {
    min-width: 46px;
    min-height: 46px;
    padding: 0 9px;
    color: #252525;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    box-shadow: none;
  }

  .top-actions .metric-pill:hover,
  .top-actions > .icon-button:not(:first-child):hover {
    color: var(--signal);
    border-color: rgba(227, 6, 19, 0.18);
    background: #fff6f6;
  }
}

@media (max-width: 1120px) {
  .topbar {
    display: flex;
    min-height: 76px;
  }
}

@media (max-width: 640px) {
  .top-actions > .icon-button:first-child::after { display: none; }
}

/* Compact the desktop header and make the search affordance unmistakable. */
@media (min-width: 1121px) {
  .topbar {
    grid-template-columns: auto minmax(300px, 410px) minmax(430px, 1fr) auto auto;
    grid-template-rows: 76px;
    height: 76px;
    min-height: 76px !important;
    max-height: 76px;
    column-gap: 20px;
  }

  .brandmark {
    grid-column: 1;
    grid-row: 1;
    min-height: 48px;
  }

  .desktop-nav {
    grid-column: 3;
    grid-row: 1;
    justify-content: flex-start;
    align-self: stretch;
    gap: 24px;
    min-height: 76px;
    padding: 0;
    border: 0;
  }

  .desktop-nav a {
    min-height: 76px;
    font-size: 0.9rem;
  }

  .top-actions { display: contents; }

  .top-actions > .icon-button:first-child {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-height: 46px;
    color: #009dbb !important;
    border: 1px solid #dddddd !important;
    background: #ffffff !important;
    box-shadow: 0 1px 2px rgba(21, 21, 21, 0.03), inset 0 1px 0 #ffffff !important;
  }

  .top-actions > .icon-button:first-child::after {
    color: #909090;
    font-size: 0.92rem;
  }

  .top-actions .metric-pill {
    min-width: 42px;
    min-height: 42px;
    padding-inline: 6px;
  }

  .top-actions .metric-pill:nth-of-type(1) {
    grid-column: 4;
    grid-row: 1;
  }

  .top-actions .metric-pill:nth-of-type(2) {
    grid-column: 5;
    grid-row: 1;
  }
}

@media (min-width: 1121px) and (max-width: 1430px) {
  .topbar { grid-template-columns: auto minmax(260px, 330px) minmax(360px, 1fr) auto auto; gap: 14px; }
  .desktop-nav { gap: 16px; }
  .desktop-nav a { font-size: 0.84rem; }
  .top-actions > .icon-button:first-child::after { font-size: 0.82rem; }
}

/* Smaller, contained product media on the detail page. */
@media (min-width: 1121px) {
  .detail-grid {
    grid-template-columns: minmax(420px, 620px) minmax(400px, 560px);
    justify-content: space-between;
    gap: 48px;
  }

  .gallery-main {
    width: min(100%, 620px);
    aspect-ratio: 1.16;
    max-height: 535px;
  }

  .gallery-main img {
    width: 90%;
    height: 90%;
    padding: 0;
    object-fit: contain;
  }
}

/* Wide desktop product view: gallery, information, and purchase card. */
@media (min-width: 1440px) {
  .product-detail { max-width: 1440px; }

  .detail-grid {
    position: relative;
    grid-template-columns: 496px minmax(380px, 1fr) 352px;
    grid-template-rows: auto auto minmax(0, 1fr);
    align-items: start;
    gap: 18px 32px;
    justify-content: initial;
  }

  .gallery-wrap {
    grid-column: 1;
    grid-row: 1 / 4;
    width: 496px;
  }

  .gallery-main {
    width: 496px;
    height: 430px;
    max-height: none;
    aspect-ratio: auto;
    border-radius: 8px;
    background: #ffffff;
  }

  .gallery-main img {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
  }

  .thumb-strip { padding-top: 2px; }
  .thumb { flex-basis: 92px; height: 76px; }

  .detail-panel {
    display: contents;
  }

  .detail-grid::after {
    content: "";
    z-index: 0;
    grid-column: 3;
    grid-row: 1 / 4;
    min-height: 350px;
    border: 1px solid rgba(21, 21, 21, 0.08);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(21, 21, 21, 0.09);
  }

  .detail-panel > * { z-index: 1; }

  .detail-panel .eyebrow {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    width: fit-content;
    margin: 0;
  }

  .detail-panel h1 {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    max-width: 620px;
    max-height: none;
    overflow: visible;
    font-size: clamp(1.35rem, 1.65vw, 1.75rem);
    line-height: 1.3;
    -webkit-line-clamp: unset;
  }

  .detail-panel .spec-table {
    grid-column: 2;
    grid-row: 3;
    align-self: start;
    width: min(100%, 600px);
    margin-top: 4px;
    background: #ffffff;
  }

  .detail-panel .price-line {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
    margin: 0 20px;
    padding: 24px 0 17px;
    color: #17202a;
    border-bottom-color: rgba(21, 21, 21, 0.1);
    font-size: 1.8rem;
    line-height: 1;
  }

  .detail-panel .whatsapp-button {
    grid-column: 3;
    grid-row: 2;
    align-self: start;
    width: calc(100% - 40px);
    min-height: 56px;
    margin: 0 20px;
    border-radius: 6px;
  }

  .detail-panel .compatible-box {
    grid-column: 3;
    grid-row: 3;
    align-self: start;
    width: calc(100% - 40px);
    margin: 0 20px;
    border-top: 1px solid rgba(21, 21, 21, 0.1);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    background: transparent;
  }
}

/* Previous/next navigation for multi-image product galleries. */
.gallery-wrap { position: relative; }

.gallery-controls {
  z-index: 3;
  pointer-events: none;
  justify-content: space-between;
  width: calc(100% - 28px);
  position: absolute;
  top: 42%;
  left: 14px;
  display: flex;
}

.gallery-arrow {
  pointer-events: auto;
  cursor: pointer;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #202020;
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 18px rgba(21, 21, 21, 0.14);
  font-family: Arial, sans-serif;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 0.8;
  transition: transform 160ms ease, color 160ms ease, border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
  display: grid;
}

.gallery-arrow:hover {
  color: #ffffff;
  border-color: var(--signal);
  background: var(--signal);
  box-shadow: 0 12px 24px rgba(227, 6, 19, 0.26);
  transform: scale(1.06);
}

.gallery-arrow:focus-visible {
  outline: 3px solid rgba(227, 6, 19, 0.35);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .gallery-controls {
    width: calc(100% - 20px);
    left: 10px;
  }
  .gallery-arrow { width: 42px; height: 42px; font-size: 2rem; }
}

/* Premium filter surface and restrained liquid-glass depth. */
.filters {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-left: 3px solid var(--signal);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 38px rgba(21, 21, 21, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
}

.filters .panel-title {
  min-height: 34px;
  color: #1b1b1b;
  border-bottom: 1px solid rgba(21, 21, 21, 0.09);
  padding-bottom: 12px;
}

.filters .panel-title svg { color: var(--signal); }
.filters .panel-title h2 { font-size: 1.22rem; font-weight: 800; }

.filters .search-field input {
  min-height: 50px;
  border-color: rgba(21, 21, 21, 0.14);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 2px rgba(21, 21, 21, 0.04);
}

.filters .search-field:focus-within svg { color: var(--signal); }

.filters .field {
  gap: 6px;
  padding-top: 3px;
}

.filters .field span {
  color: #626262;
  font-size: 0.82rem;
  font-weight: 750;
}

.filters select,
.filters input[type="number"] {
  min-height: 44px;
  color: #242424;
  border-color: rgba(21, 21, 21, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.84);
}

.filters select:hover,
.filters input[type="number"]:hover {
  border-color: rgba(227, 6, 19, 0.36);
}

.filters input[type="range"] {
  min-height: 28px;
  accent-color: var(--signal);
}

.catalog-toolbar {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 26px rgba(21, 21, 21, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
}

.catalog-toolbar select { background: rgba(255, 255, 255, 0.9); }

.product-card {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 28px rgba(21, 21, 21, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px) saturate(115%);
  -webkit-backdrop-filter: blur(10px) saturate(115%);
}

.product-card:hover {
  box-shadow: 0 20px 38px rgba(21, 21, 21, 0.13), 0 0 0 1px rgba(227, 6, 19, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

@media (min-width: 1440px) {
  .detail-grid::after {
    border-color: rgba(255, 255, 255, 0.76);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 20px 42px rgba(21, 21, 21, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(22px) saturate(135%);
    -webkit-backdrop-filter: blur(22px) saturate(135%);
  }

  .detail-panel .spec-table {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 12px 26px rgba(21, 21, 21, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px) saturate(125%);
    -webkit-backdrop-filter: blur(16px) saturate(125%);
  }
}

@media (max-width: 920px) {
  .filters { border-left-width: 2px; }
}

/* Keep the full desktop filter usable without losing sticky context. */
@media (min-width: 921px) {
  .catalog-layout > .filters {
    top: 92px;
    max-height: calc(100dvh - 110px);
    padding-right: 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: rgba(227, 6, 19, 0.72) rgba(21, 21, 21, 0.06);
    scrollbar-width: thin;
  }

  .catalog-layout > .filters::-webkit-scrollbar { width: 8px; }
  .catalog-layout > .filters::-webkit-scrollbar-track { background: rgba(21, 21, 21, 0.06); border-radius: 8px; }
  .catalog-layout > .filters::-webkit-scrollbar-thumb { background: rgba(227, 6, 19, 0.72); border: 2px solid transparent; border-radius: 8px; background-clip: padding-box; }
  .catalog-layout > .filters::-webkit-scrollbar-thumb:hover { background-color: var(--signal); }
}

/* Put the high-intent catalog filters first and strengthen search. */
.filters > .panel-title { order: 0; }

.filters > .search-field {
  order: 1;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(227, 6, 19, 0.14);
}

.filters > .search-field input {
  color: #252525 !important;
  border: 1px solid rgba(227, 6, 19, 0.72) !important;
  background: #fff7f7 !important;
  box-shadow: 0 7px 16px rgba(227, 6, 19, 0.08), inset 0 1px 0 #ffffff !important;
}

.filters > .search-field input::placeholder { color: #a67175 !important; }
.filters > .search-field svg { color: var(--signal) !important; }
.filters > .search-field:focus-within input { box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.14), 0 8px 18px rgba(227, 6, 19, 0.1) !important; }

/* Label positions: search is label 1; brand, vehicle brand, PCD ... follow. */
.filters > label.field:nth-of-type(2) { order: 2; }
.filters > label.field:nth-of-type(11) { order: 3; }
.filters > label.field:nth-of-type(10) { order: 4; padding-bottom: 9px; border-bottom: 1px solid rgba(21, 21, 21, 0.08); }
.filters > label.field:nth-of-type(3) { order: 5; }
.filters > label.field:nth-of-type(4) { order: 6; }
.filters > label.field:nth-of-type(5) { order: 7; }
.filters > label.field:nth-of-type(6) { order: 8; }
.filters > label.field:nth-of-type(7) { order: 9; }
.filters > label.field:nth-of-type(8) { order: 10; }
.filters > label.field:nth-of-type(9) { order: 11; }
.filters > label.field:nth-of-type(12) { order: 12; }
.filters > label.field:nth-of-type(13) { order: 13; }
.filters > label.field:nth-of-type(14) { order: 14; }

/* Home-page search and section hierarchy. */
.home-search-block {
  gap: 18px;
  margin-top: 34px;
  padding: 26px;
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-left: 3px solid var(--signal);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 38px rgba(21, 21, 21, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
}

.home-block-head {
  gap: 8px;
}

.home-block-head span {
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 800;
}

.home-block-head h2 {
  max-width: 680px;
  color: #181818;
  font-size: 1.75rem;
  line-height: 1.22;
}

.home-search-block .quick-search {
  margin: 0 !important;
  border-left: 0 !important;
  border-top: 1px solid rgba(21, 21, 21, 0.09) !important;
  background: rgba(255, 255, 255, 0.58) !important;
  box-shadow: none !important;
}

.home-search-block .fitment-query input {
  border-color: rgba(227, 6, 19, 0.48) !important;
  background: #fff8f8 !important;
}

.home-search-block .search-submit {
  min-height: 48px;
  border-radius: 6px;
}

.trust-strip {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 30px rgba(21, 21, 21, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.trust-strip div { min-height: 82px; }
.trust-strip strong { color: #202020; font-weight: 800; }
.trust-strip span { color: #6e6e6e; }

.flagship-section { margin-top: 52px; }

.flagship-copy {
  border-left: 3px solid var(--signal);
  background: rgba(255, 255, 255, 0.8);
}

.flagship-copy > span { color: var(--signal); font-weight: 800; }

.flagship-media {
  background: #f6f6f6;
  box-shadow: 0 20px 40px rgba(21, 21, 21, 0.1);
}

.flagship-media img { object-fit: cover; }

.flagship-media img[data-showroom-image="true"] {
  object-position: center;
  filter: saturate(1.04) contrast(1.02);
}

@media (max-width: 820px) {
  .home-search-block { margin-top: 24px; padding: 18px; }
  .home-block-head h2 { font-size: 1.42rem; }
  .trust-strip div { min-height: auto; }
}

/* Home hero: quiet, layered 3D depth without compromising readability. */
.hero-section {
  --hero-x: 0px;
  --hero-y: 0px;
  isolation: isolate;
  overflow: hidden;
  perspective: 1300px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 28px 60px rgba(36, 20, 22, 0.12), 0 8px 18px rgba(227, 6, 19, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.hero-section::after {
  z-index: -2;
  transform: scale(1.045) translate3d(calc(var(--hero-x) * -1), calc(var(--hero-y) * -1), 0);
  transform-origin: 68% 50%;
  filter: saturate(1.08) contrast(1.025);
  transition: transform 520ms cubic-bezier(.18, .8, .22, 1), filter 520ms ease;
  animation: hero-photo-float 12s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-section::before {
  z-index: -1;
  background: linear-gradient(104deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.78) 40%, rgba(255, 255, 255, 0.25) 74%, rgba(255, 255, 255, 0.1) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  transform: translate3d(calc(var(--hero-x) * .22), calc(var(--hero-y) * .18), 36px);
  transform-style: preserve-3d;
  transition: transform 460ms cubic-bezier(.18, .8, .22, 1);
}

.hero-copy h1 {
  color: #151416;
  font-weight: 850;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.98), 0 7px 18px rgba(24, 20, 22, 0.12), 0 20px 36px rgba(227, 6, 19, 0.08);
  transform: translateZ(38px);
}

.hero-copy p {
  color: #3f4a50;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.86);
  transform: translateZ(24px);
}

.hero-kicker {
  transform: translateZ(48px);
  border-color: rgba(227, 6, 19, 0.2);
  box-shadow: 0 10px 22px rgba(227, 6, 19, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.hero-actions { transform: translateZ(54px); }

.hero-actions .primary-button,
.hero-actions .secondary-button {
  position: relative;
  min-height: 52px;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.hero-actions .primary-button {
  border: 1px solid #bc0010;
  background: linear-gradient(145deg, #fb2639 0%, #e30613 52%, #b9000d 100%);
  box-shadow: 0 12px 0 #97000b, 0 22px 30px rgba(227, 6, 19, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.hero-actions .primary-button::after {
  position: absolute;
  content: '';
  inset: 1px 3px auto;
  height: 42%;
  border-radius: 6px 6px 14px 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent);
  pointer-events: none;
}

.hero-actions .secondary-button {
  border: 1px solid rgba(20, 25, 28, 0.14);
  background: rgba(255, 255, 255, 0.77);
  box-shadow: 0 8px 0 rgba(29, 35, 37, 0.12), 0 17px 26px rgba(29, 35, 37, 0.1), inset 0 1px 0 #fff;
  backdrop-filter: blur(14px);
}

.hero-actions .primary-button:hover,
.hero-actions .secondary-button:hover {
  transform: translateY(-4px);
  filter: brightness(1.035);
}

.hero-actions .primary-button:active,
.hero-actions .secondary-button:active {
  transform: translateY(5px);
  box-shadow: 0 3px 0 #97000b, 0 8px 14px rgba(227, 6, 19, 0.18);
}

.hero-stats div {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 12px 24px rgba(23, 28, 30, 0.09), inset 0 1px 0 #fff;
  backdrop-filter: blur(16px) saturate(130%);
}

.hero-stats div::before {
  position: absolute;
  content: '';
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.54), transparent 45%);
  pointer-events: none;
}

@keyframes hero-photo-float {
  from { background-position: 72% 50%; }
  to { background-position: 76% 47%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-section::after { animation: none; transition: none; }
  .hero-copy, .hero-actions .primary-button, .hero-actions .secondary-button { transition: none; }
}

@media (max-width: 820px) {
  .hero-section::before { background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.86)); }
  .hero-section::after { transform: scale(1.04); background-position: 69% center; }
  .hero-copy { transform: none; }
  .hero-copy h1 { transform: none; font-weight: 800; }
  .hero-actions .primary-button { box-shadow: 0 8px 0 #97000b, 0 16px 24px rgba(227, 6, 19, 0.2); }
}

/* Decorative alloy-wheel object for the home hero. */
.hero-rim-scene {
  --rim-x: 0px;
  --rim-y: 0px;
  z-index: 0;
  pointer-events: none;
  width: clamp(220px, 28vw, 430px);
  aspect-ratio: 1;
  position: absolute;
  top: 50%;
  right: clamp(18px, 6vw, 112px);
  transform: translate3d(var(--rim-x), calc(-50% + var(--rim-y)), 0) rotateX(62deg) rotateZ(-17deg);
  transform-style: preserve-3d;
  transition: transform 500ms cubic-bezier(.18, .8, .22, 1);
  filter: drop-shadow(0 36px 28px rgba(12, 15, 17, 0.34));
}

.hero-rim-shadow {
  position: absolute;
  inset: 17% 4% 3% 8%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(9, 11, 12, 0.44), rgba(9, 11, 12, 0.08) 54%, transparent 72%);
  transform: translate3d(0, 58px, -70px) rotateZ(18deg) scale(1.04, .55);
  filter: blur(10px);
}

.hero-rim {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform-style: preserve-3d;
  animation: alloy-wheel-turn 20s linear infinite;
}

.hero-rim-barrel,
.hero-rim-lip,
.hero-rim-hub,
.hero-rim-spokes,
.hero-rim-spokes i { position: absolute; display: block; }

.hero-rim-barrel {
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 29%, #ffffff 0 1.4%, #b8c0c4 6%, #50595e 24%, #171d21 47%, #06090b 56%, #232b30 69%, #c4cccf 82%, #626c71 91%, #14181b 100%);
  box-shadow: inset 14px 12px 20px rgba(255, 255, 255, 0.7), inset -22px -24px 34px rgba(0, 0, 0, 0.7), 0 0 0 2px rgba(255, 255, 255, 0.58);
  transform: translateZ(-18px);
}

.hero-rim-lip {
  inset: 7.4%;
  border-radius: 50%;
  background: radial-gradient(circle, #151b20 0 53%, transparent 53.4% 66%, rgba(240, 245, 245, 0.9) 66.5% 69%, #343d42 72%, transparent 73%);
  box-shadow: inset 9px 9px 16px rgba(255, 255, 255, 0.36), inset -14px -16px 23px rgba(0, 0, 0, 0.6);
  transform: translateZ(12px);
}

.hero-rim-spokes {
  inset: 21%;
  border-radius: 50%;
  transform: translateZ(26px);
}

.hero-rim-spokes i {
  width: 19%;
  height: 61%;
  left: 40.5%;
  bottom: 49%;
  transform-origin: 50% 100%;
  transform: rotate(var(--spoke-angle)) skewX(-9deg);
  border-radius: 46% 46% 17% 17%;
  background: linear-gradient(90deg, #1f282e 0%, #f4f7f7 16%, #8d999d 43%, #293238 75%, #d6dddf 100%);
  box-shadow: inset 2px 0 3px rgba(255, 255, 255, 0.74), inset -3px 0 4px rgba(0, 0, 0, 0.62), 0 1px 2px rgba(0, 0, 0, 0.42);
}

.hero-rim-hub {
  z-index: 2;
  inset: 38.5%;
  border: 5px solid #899398;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 28%, #ffffff 0 6%, #9ea8aa 20%, #3f4b51 57%, #121719 68%, #c7ced0 71%, #1d262b 78%);
  box-shadow: 0 0 0 7px rgba(19, 24, 28, 0.82), inset 4px 4px 7px rgba(255, 255, 255, 0.48), inset -5px -5px 8px rgba(0, 0, 0, 0.62);
  transform: translateZ(38px);
}

.hero-rim-hub::before,
.hero-rim-hub::after {
  position: absolute;
  content: '';
  border-radius: 50%;
}

.hero-rim-hub::before {
  inset: 31%;
  background: #151b1f;
  box-shadow: 0 0 0 2px #c8d0d2;
}

.hero-rim-hub::after {
  inset: -13%;
  background: repeating-conic-gradient(from 0deg, transparent 0 25deg, rgba(232, 236, 236, 0.72) 26deg 31deg, transparent 32deg 72deg);
  -webkit-mask: radial-gradient(circle, transparent 0 49%, #000 50% 53%, transparent 54%);
  mask: radial-gradient(circle, transparent 0 49%, #000 50% 53%, transparent 54%);
}

@keyframes alloy-wheel-turn { to { transform: rotateZ(360deg); } }

@media (max-width: 1120px) {
  .hero-rim-scene { opacity: .42; right: 0; width: clamp(180px, 31vw, 300px); }
}

@media (max-width: 820px) {
  .hero-rim-scene { opacity: .23; top: 24%; right: -62px; width: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-rim { animation: none; }
}

/* Refined home hero: real studio photography, restrained type, no decorative wheel. */
.hero-section {
  min-height: clamp(600px, 66vh, 720px);
  padding: 46px clamp(28px, 6.4vw, 118px);
  align-items: center;
  justify-items: start;
  place-items: center start;
  background: #1b1d1e;
  box-shadow: 0 26px 60px rgba(63, 0, 7, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-section::after {
  z-index: 0;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-image: url('/images/hero-wheel-store.png');
  background-position: center;
  background-repeat: no-repeat;
  /* A restrained cinematic pan adds motion without a heavy video download. */
  background-size: cover;
  opacity: 1;
  filter: none;
  transform: scale(1.012) translate3d(calc(var(--hero-x) * -.32), calc(var(--hero-y) * -.32), 0);
  animation: hero-cinematic-pan 15s cubic-bezier(.45, 0, .2, 1) infinite alternate;
  will-change: background-position, filter;
}

.hero-section::before {
  z-index: 1;
  background: linear-gradient(90deg, rgba(86, 0, 10, 0.96) 0%, rgba(103, 0, 12, 0.88) 31%, rgba(105, 0, 12, 0.45) 48%, rgba(88, 0, 10, 0.1) 67%, transparent 82%);
  animation: hero-light-breathe 7s ease-in-out infinite alternate;
}

.hero-brand-watermark {
  z-index: 1;
  pointer-events: none;
  position: absolute;
  right: clamp(24px, 5vw, 104px);
  bottom: clamp(28px, 5vh, 58px);
  color: rgba(255, 255, 255, 0.16);
  font-family: Arial, sans-serif;
  font-size: clamp(2.4rem, 6.8vw, 7.5rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: .9;
  text-shadow: 0 2px 12px rgba(25, 0, 2, 0.34);
  mix-blend-mode: overlay;
  user-select: none;
}

.hero-rim-scene { display: none !important; }

.hero-copy {
  z-index: 2;
  justify-self: start;
  justify-items: start;
  gap: 22px;
  max-width: min(505px, 46%);
  margin: 0;
  padding: 28px 0 34px;
  text-align: left;
  transform: translate3d(calc(var(--hero-x) * .1), calc(var(--hero-y) * .1), 0);
}

.hero-kicker {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 22px rgba(46, 0, 5, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-size: 0.82rem;
}

.hero-copy h1 {
  max-width: 500px;
  color: #fff;
  font-size: clamp(2.35rem, 3.15vw, 3.55rem) !important;
  font-weight: 800;
  line-height: 1.12 !important;
  letter-spacing: 0;
  text-shadow: 0 3px 20px rgba(32, 0, 4, 0.38);
  transform: none;
}

.hero-copy p {
  max-width: 450px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.22vw, 1.12rem) !important;
  font-weight: 500;
  line-height: 1.62 !important;
  text-shadow: none;
  transform: none;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  max-width: 100%;
  padding: 7px 12px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 5px;
  background: rgba(45, 0, 6, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  backdrop-filter: blur(10px);
}

.hero-actions { justify-content: flex-start; margin-top: 2px; transform: none; }
.hero-stats { justify-content: start; max-width: 450px; margin: 8px 0 0; }

.hero-actions .primary-button {
  color: #c50010;
  border-color: #fff;
  background: #fff;
  box-shadow: 0 10px 0 rgba(70, 0, 7, 0.62), 0 22px 30px rgba(45, 0, 5, 0.24), inset 0 1px 0 #fff;
}

.hero-actions .secondary-button {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(25, 0, 4, 0.14);
  box-shadow: 0 8px 0 rgba(66, 0, 7, 0.44), 0 17px 26px rgba(40, 0, 4, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.hero-stats div {
  min-height: 88px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 23px rgba(46, 0, 5, 0.17), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.hero-stats strong { color: #fff; }
.hero-stats span { color: rgba(255, 255, 255, 0.74); }

@keyframes hero-cinematic-pan {
  0% { background-position: 47% 48%; filter: saturate(1.02) brightness(.98); }
  100% { background-position: 53% 53%; filter: saturate(1.12) brightness(1.04); }
}

@keyframes hero-light-breathe {
  0% { opacity: .9; }
  100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-section::after,
  .hero-section::before { animation: none; }
  .hero-section::after { background-size: cover; background-position: center; }
}

@media (max-width: 820px) {
  .hero-section { min-height: 650px; padding: 46px 24px 38px; align-items: end; }
  .hero-section::after { background-size: cover; background-position: 62% center; }
  .hero-section::before { background: linear-gradient(180deg, rgba(80, 0, 8, 0.08) 0%, rgba(80, 0, 8, 0.38) 48%, rgba(80, 0, 8, 0.92) 90%); }
  .hero-brand-watermark { right: 14px; bottom: 208px; font-size: clamp(2rem, 14vw, 4.2rem); opacity: .62; }
  .hero-copy { max-width: 100%; gap: 14px; }
  .hero-copy h1 { max-width: 390px; font-size: clamp(2rem, 9.5vw, 2.7rem) !important; }
  .hero-copy p { max-width: 350px; font-size: 0.98rem !important; }
  .hero-location { font-size: 0.78rem; }
  .hero-actions { width: min(100%, 310px) !important; }
}

/* Mobile navigation keeps the same light, high-contrast red identity as the storefront. */
@media (max-width: 1120px) {
  .mobile-panel {
    color: #17191c;
    background: rgba(255, 255, 255, 0.98);
    border-left-color: rgba(227, 6, 19, 0.18);
    box-shadow: -18px 0 48px rgba(25, 0, 4, 0.2);
  }

  .mobile-panel a {
    color: #25282c;
    border-color: rgba(22, 25, 28, 0.1);
    background: #fff;
    font-weight: 700;
  }

  .mobile-panel a:hover,
  .mobile-panel a:focus-visible,
  .mobile-panel a.active {
    color: #c50010;
    border-color: rgba(227, 6, 19, 0.32);
    background: #fff5f6;
    box-shadow: inset 3px 0 0 #e30613;
  }

  .mobile-panel .brandmark small,
  .mobile-panel > small { color: #6d747b; }

  .mobile-panel .panel-close {
    color: #a7000d;
    border-color: rgba(227, 6, 19, 0.2);
    background: #fff5f6;
    box-shadow: none;
  }

  .admin-pro {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-sidebar,
  .product-editor {
    min-width: 0;
    width: 100%;
  }

  .admin-sidebar {
    max-height: none;
    position: static;
  }
}
