/**
 * OEM ASTRA J — Homepage Premium V10
 * Visual layer only — scoped to homepage feed
 */
:root {
  --premium-bg: #070707;
  --premium-card: #111111;
  --premium-gold: #F6C343;
  --premium-gold-2: #F6C343;
  --premium-border: rgba(246, 195, 67, 0.22);
  --premium-text-muted: #B9B9B9;
  --premium-transition: 260ms ease;
}

body.is-home-page {
  --nav-clearance-trim: 0px;
  --nav-bar-scale: 0.88;
  --nav-main-h: calc((88px * 1.4 - 1.5cm) * var(--nav-bar-scale));
  --nav-total-h: calc((88px * 1.4 - 1.5cm) * var(--nav-bar-scale));
  --nav-logo-h: calc((76px * 1.4 - 1.5cm) * var(--nav-bar-scale));
  background: var(--premium-bg);
}

body.is-home-page .mob-home-feed {
  padding-top: calc(var(--nav-total-h) + env(safe-area-inset-top, 0px));
  background: #ffffff;
}

.mob-home-feed {
  background: var(--premium-bg);
}

/* Dark band: hero → footer area */
body.is-home-page .mob-home-feed > .mob-card--hero,
body.is-home-page .mob-home-feed .home-cinematic-band,
body.is-home-page .mob-home-feed .home-cinematic-band .mob-card--hero,
body.is-home-page .mob-home-feed > .hero-why-title-section,
body.is-home-page .mob-home-feed > .featured-collections-section,
body.is-home-page .mob-home-feed > .home-premium-info,
body.is-home-page .mob-home-feed > .top-selling-section,
body.is-home-page .mob-home-feed .home-cinematic-band > .top-selling-section,
body.is-home-page .mob-v2-hero-compose > .top-selling-section,
body.is-home-page .mob-home-feed .home-cinematic-band > .mob-v2-catalog-section,
body.is-home-page .mob-v2-hero-compose > .mob-v2-catalog-section,
body.is-home-page .mob-home-feed > .cta-strip {
  background: var(--premium-bg);
}

@media (min-width: 901px) {
body.is-home-page .mob-home-feed > .top-selling-section,
body.is-home-page .mob-home-feed .home-cinematic-band > .top-selling-section,
body.is-home-page .mob-v2-hero-compose > .top-selling-section {
    background: transparent;
  }
}

/* White band: reserved for future light sections below top selling */
body.is-home-page .mob-home-feed > .home-premium-info ~ .mob-card:not(.top-selling-section):not(.cta-strip) {
  background: #ffffff !important;
}

.mob-home-feed .mob-card {
  background: transparent;
  border: none;
  box-shadow: none;
}

/* —— Global homepage rhythm —— */
.mob-home-feed .section {
  padding: 4px 0 !important;
}

body.is-home-page .mob-home-feed .section-inner {
  max-width: 1600px;
  padding-inline: 12px;
}

.mob-home-feed .section-inner {
  padding-inline: 12px;
}

@media (min-width: 1200px) {
  .mob-home-feed .section {
    padding: 3px 0 !important;
  }
}

/* —— Compact premium header —— */
@media (min-width: 901px) {
  body.is-home-page {
    --nav-main-h: calc((88px * 1.4 - 1.5cm) * var(--nav-bar-scale, 0.95));
    --nav-total-h: calc((88px * 1.4 - 1.5cm) * var(--nav-bar-scale, 0.95));
    --nav-logo-h: calc((76px * 1.4 - 1.5cm) * var(--nav-bar-scale, 0.95));
    --nav-quick-cats-h: 0;
    --nav-search-gap: 0;
    --nav-search-stack-offset: 0;
    --nav-search-h: 40px;
  }

  body.is-home-page .nav-mobile-actions {
    display: none !important;
  }
}

/* Homepage header: logo + actions only */
body.is-home-page nav {
  background: #070707;
  border-bottom: 1px solid var(--premium-border);
  overflow: visible;
}

body.is-home-page .nav-main {
  height: var(--nav-main-h, 88px) !important;
  min-height: var(--nav-main-h, 88px);
  max-height: var(--nav-main-h, 88px);
  display: flex;
  align-items: center;
  overflow: visible;
}

body.is-home-page .nav-shell.nav-main-row,
body.is-home-page .nav-main .nav-shell {
  width: 100%;
  height: 100%;
  overflow: visible;
}

@media (min-width: 901px) {
  html[dir="rtl"] body.is-home-page .nav-shell.nav-main-row {
    max-width: none;
    margin-inline: 0;
    padding-inline-end: 0;
    padding-inline-start: 12px;
  }

  html[dir="ltr"] body.is-home-page .nav-shell.nav-main-row {
    max-width: none;
    margin-inline: 0;
    padding-inline-start: 0;
    padding-inline-end: 12px;
  }

  html[dir="ltr"] body.is-home-page .nav-logo {
    margin-left: 0 !important;
    margin-inline-start: 0 !important;
    justify-content: flex-start !important;
  }

  html[dir="rtl"] body.is-home-page .nav-actions-wrap {
    padding-inline-end: 0 !important;
  }
}

body.is-home-page .nav-main-row {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center !important;
  gap: 12px;
  height: 100%;
  overflow: visible;
  direction: ltr;
}

body.is-home-page .nav-logo {
  display: flex !important;
  flex: 0 0 auto !important;
  min-width: 0;
  max-width: min(220px, 36vw);
  height: 100%;
  align-items: center;
  z-index: 1020;
  margin-left: 0;
  margin-right: 0;
  justify-content: flex-start;
  grid-column: 1;
  grid-row: 1;
}

body.is-home-page .nav-logo-img {
  height: auto;
  max-height: calc(var(--nav-logo-h) * 1.2);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

body.is-home-page .nav-btn-wa {
  display: none !important;
}

body.is-home-page .nav-search-wrap {
  display: flex !important;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  max-width: 23cm;
  align-self: center !important;
  padding-top: 0 !important;
  min-height: 0;
  margin: 0;
  z-index: 3;
}

body.is-home-page .nav-search {
  border-radius: 0;
  overflow: hidden;
  height: 40px;
  background: #ffffff;
  border: 1px solid #d4d4d4;
  box-shadow: none;
}

body.is-home-page .nav-search-filter {
  background: #e8e8e8;
  border-inline-end-color: #cfcfcf;
  min-width: 118px;
}

body.is-home-page .nav-search-filter select {
  height: 40px;
  color: #111111;
  font-size: 12px;
  font-weight: 700;
}

body.is-home-page .nav-search-filter-chevron {
  stroke: #d71920;
}

body.is-home-page .nav-search input {
  height: 40px;
  color: #111111;
  background: #ffffff;
  font-size: 12px;
}

body.is-home-page .nav-search input::placeholder {
  color: #8a8a8a;
}

body.is-home-page .nav-search-btn {
  background: transparent;
  color: #d71920;
  border: none;
  border-radius: 0;
  width: auto;
  min-width: 0;
  height: 40px;
  padding: 0 14px;
  margin: 0;
  align-self: stretch;
  flex-shrink: 0;
  transition: color 200ms ease;
}

body.is-home-page .nav-search-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

body.is-home-page .nav-search-btn:hover,
body.is-home-page .nav-search-btn:focus-visible {
  color: #a8131a;
  filter: none;
  transform: none;
}

body.is-home-page .nav-search:focus-within {
  border-color: #bdbdbd;
  box-shadow: none;
}

@media (max-width: 900px) {
  body.is-home-page .nav-search-wrap {
    display: none !important;
  }
}

body.is-home-page .nav-actions-wrap {
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  align-self: center !important;
  justify-content: stretch;
  gap: 8px;
  height: 100%;
  margin: 0;
  padding: 0 !important;
  min-height: 0 !important;
  min-width: 0 !important;
  z-index: 2;
  position: relative;
  pointer-events: auto;
  grid-column: 2;
  grid-row: 1;
}

body.is-home-page .nav-main-actions {
  display: flex !important;
  align-items: center !important;
  align-self: center !important;
  gap: 8px;
  height: auto !important;
  min-height: 0;
  padding: 0;
  margin: 0;
  flex-wrap: nowrap;
  flex: 1;
  min-width: 0;
  width: 100%;
}
html[dir="rtl"] body.is-home-page .nav-main-actions { direction: ltr; }
html[dir="ltr"] body.is-home-page .nav-main-actions { direction: ltr; }

@media (min-width: 901px) {
  html[dir="rtl"] body.is-home-page .nav-main-actions {
    gap: 1cm;
  }

  html[dir="rtl"] body.is-home-page .nav-trade-cluster {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
    margin-inline-start: 0 !important;
    margin-inline-end: 0 !important;
    flex: 1 1 auto !important;
    min-width: 0;
  }

  html[dir="rtl"] body.is-home-page .nav-trade-cluster .nav-search-wrap {
    flex: 1 1 auto !important;
    min-width: 0;
    max-width: none !important;
    width: auto !important;
    align-self: center !important;
    padding-top: 0 !important;
  }

  html[dir="rtl"] body.is-home-page .nav-util-cluster {
    display: flex !important;
    flex-direction: row !important;
    flex-shrink: 0;
    gap: 2mm;
    margin-left: auto !important;
    margin-inline-start: auto !important;
    margin-right: 0 !important;
  }

  html[dir="rtl"] body.is-home-page .nav-trade-cluster .nav-shop-btn {
    align-self: center;
    flex-shrink: 0;
    margin-inline-end: 0;
    border-radius: 0;
  }

  html[dir="ltr"] body.is-home-page .nav-main-actions {
    display: grid !important;
    grid-template-columns: minmax(12px, 1fr) auto 23cm auto auto auto;
    grid-template-areas: ". shop search lang account cart";
    align-items: center;
    column-gap: 8px;
    width: 100%;
    min-width: 0;
  }

  html[dir="ltr"] body.is-home-page .nav-lang-wrap {
    grid-area: lang;
    margin-inline-start: calc(1cm - 8px);
  }

  html[dir="ltr"] body.is-home-page .nav-trade-cluster,
  html[dir="ltr"] body.is-home-page .nav-util-cluster {
    display: contents !important;
  }

  html[dir="ltr"] body.is-home-page .nav-shop-btn {
    grid-area: shop;
  }

  html[dir="ltr"] body.is-home-page .nav-search-wrap {
    grid-area: search;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    flex: 1 1 auto !important;
    align-self: center !important;
    padding-top: 0 !important;
  }

  html[dir="ltr"] body.is-home-page .nav-account,
  html[dir="ltr"] body.is-home-page .nav-btn-auth {
    grid-area: account;
  }

  html[dir="ltr"] body.is-home-page .nav-cart-btn {
    grid-area: cart;
  }
}

body.is-home-page .nav-mobile-actions {
  display: none !important;
}

body.is-home-page .nav-lang-wrap .lang-menu {
  display: none !important;
}

body.is-home-page .nav-lang-btn {
  color: #F6C343 !important;
  border: 1px solid rgba(246, 195, 67, 0.38);
  background: transparent;
}

body.is-home-page .nav-lang-btn:hover,
body.is-home-page .nav-lang-btn:focus-visible {
  color: #ffd76a !important;
  border-color: rgba(246, 195, 67, 0.62);
  background: rgba(246, 195, 67, 0.08);
}

body.is-home-page .nav-lang-btn .lang-globe {
  stroke: #F6C343;
}

body.is-home-page .nav-main-actions .nav-lang-btn:hover {
  color: #ffd76a !important;
  background: rgba(246, 195, 67, 0.08);
}

/* —— Compact nav icons (homepage) —— */
body.is-home-page .nav-main-actions .nav-lang-btn,
body.is-home-page .nav-mobile-actions .nav-lang-btn {
  height: 34px !important;
  min-width: 34px !important;
  padding: 0 8px !important;
  font-size: 11px !important;
  gap: 4px !important;
}

body.is-home-page .nav-lang-btn .lang-globe {
  width: 12px !important;
  height: 12px !important;
}

body.is-home-page .nav-main-actions .nav-pill-icon,
body.is-home-page .nav-mobile-actions .nav-pill-icon {
  width: 34px !important;
  height: 34px !important;
}

body.is-home-page .nav-main-actions .nav-auth-initials,
body.is-home-page .nav-mobile-actions .nav-auth-initials {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  color: var(--premium-gold, #f6c343) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em;
  line-height: 1 !important;
}

body.is-home-page .nav-pill-icon svg {
  width: 16px !important;
  height: 16px !important;
}

body.is-home-page .nav-actions-wrap {
  gap: 6px;
}

.nav-main-links {
  display: none !important;
}

@media (max-width: 900px) {
  body.is-home-page {
    --nav-mob-h: calc((80px * 1.4 - 1.5cm) * var(--nav-bar-scale, 0.95));
    --nav-main-h: calc((80px * 1.4 - 1.5cm) * var(--nav-bar-scale, 0.95));
    --nav-total-h: calc((80px * 1.4 - 1.5cm) * var(--nav-bar-scale, 0.95));
    --nav-mob-logo-h: calc((68px * 1.4 - 1.5cm) * var(--nav-bar-scale, 0.95));
    --nav-logo-h: calc((68px * 1.4 - 1.5cm) * var(--nav-bar-scale, 0.95));
  }

  body.is-home-page .nav-main {
    height: var(--nav-mob-h) !important;
    min-height: var(--nav-mob-h);
    max-height: var(--nav-mob-h);
  }

  body.is-home-page .nav-logo {
    max-width: calc(100% - 132px);
    height: 100% !important;
    align-items: center !important;
    align-self: center !important;
    padding-top: 0 !important;
  }

  body.is-home-page .nav-logo-img {
    max-height: var(--nav-mob-logo-h, calc((68px * 1.4 - 1.5cm) * 0.95));
  }

  body.is-home-page .nav-main-actions {
    display: none !important;
  }

  /* Legacy top-bar icons stay retired — bottom bar owns lang/cart/garage. */
  body.is-home-page .nav-mobile-actions,
  body.is-home-page .nav-mobile-actions .nav-lang-wrap,
  body.is-home-page .nav-mobile-actions .nav-cart-btn,
  body.is-home-page .nav-mobile-actions .nav-btn-auth,
  body.is-home-page .nav-mobile-actions .nav-btn-wa {
    display: none !important;
  }
}

@media (max-width: 767px) {
  body.is-home-page {
    --nav-mob-h: calc((76px * 1.4 - 1.5cm) * var(--nav-bar-scale, 0.95));
    --nav-main-h: calc((76px * 1.4 - 1.5cm) * var(--nav-bar-scale, 0.95));
    --nav-total-h: calc((76px * 1.4 - 1.5cm) * var(--nav-bar-scale, 0.95));
    --nav-mob-logo-h: calc((64px * 1.4 - 1.5cm) * var(--nav-bar-scale, 0.95));
    --nav-logo-h: calc((64px * 1.4 - 1.5cm) * var(--nav-bar-scale, 0.95));
  }

  body.is-home-page .nav-actions-wrap {
    display: flex !important;
    align-self: center !important;
    padding-top: 0 !important;
  }

  body.is-home-page .nav-mobile-actions,
  body.is-home-page .nav-mobile-actions .nav-lang-wrap,
  body.is-home-page .nav-mobile-actions .nav-cart-btn,
  body.is-home-page .nav-mobile-actions .nav-btn-wa,
  body.is-home-page .nav-mobile-actions .nav-btn-auth {
    display: none !important;
  }
}

/* —— Nav search (reference bar) —— */
.nav-search {
  background: #ffffff;
  border: 1px solid #d4d4d4;
  border-radius: 0;
  transition: border-color var(--premium-transition);
}

.nav-search:focus-within {
  border-color: #bdbdbd;
  box-shadow: none;
}

.nav-main-links a {
  position: relative;
  color: #fff;
  font-weight: 600;
  transition: color var(--premium-transition);
}

.nav-main-links a {
  display: none;
}

.nav-main-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, var(--premium-gold), var(--premium-gold-2));
  transform: scaleX(0);
  transition: transform var(--premium-transition);
  border-radius: 2px;
}

.nav-main-links a:hover {
  color: var(--premium-gold);
}

.nav-main-links a:hover::after {
  transform: scaleX(1);
}

/* —— Cart button (Amazon-style: icon + label, count inside basket) —— */
body.is-home-page .nav-main-actions .nav-cart-btn,
body.is-home-page .nav-mobile-actions .nav-cart-btn {
  position: relative;
  display: inline-flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 2px;
  width: auto;
  height: auto;
  min-width: 0;
  padding: 4px 3px;
  background: transparent;
  border: none;
  border-radius: 6px;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 200ms ease;
}

body.is-home-page .nav-main-actions .nav-cart-btn:hover,
body.is-home-page .nav-main-actions .nav-cart-btn:focus-visible,
body.is-home-page .nav-mobile-actions .nav-cart-btn:hover,
body.is-home-page .nav-mobile-actions .nav-cart-btn:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  transform: none;
  box-shadow: none;
  border: none;
}

body.is-home-page .nav-cart-icon-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  flex-shrink: 0;
  line-height: 0;
}

body.is-home-page .nav-cart-btn svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
  fill: none;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}

body.is-home-page .nav-cart-btn svg .nav-cart-wheel {
  fill: currentColor;
  stroke: none;
}

body.is-home-page .nav-cart-label {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1px;
  white-space: nowrap;
  font-family: var(--font-en);
}

html[dir="rtl"] body.is-home-page .nav-cart-label {
  font-family: var(--font-ar);
}

body.is-home-page .nav-cart-btn .cart-badge {
  top: 44%;
  inset-inline-end: auto;
  inset-inline-start: auto;
  right: auto;
  left: 58%;
  transform: translate(-50%, calc(-50% - 3mm));
  width: auto;
  min-width: 0;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #D71920;
  font-size: 14.375px;
  font-weight: 800;
  font-family: var(--font-en);
  line-height: 1;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: none;
}

body.is-home-page .nav-cart-btn .cart-badge.visible {
  display: flex !important;
}

body.is-home-page .nav-cart-btn .cart-badge.bump {
  animation: home-cart-badge-bump 0.3s ease;
}

@keyframes home-cart-badge-bump {
  0% { transform: translate(-50%, calc(-50% - 3mm)) scale(1); }
  50% { transform: translate(-50%, calc(-50% - 3mm)) scale(1.28); }
  100% { transform: translate(-50%, calc(-50% - 3mm)) scale(1); }
}

html[dir="ltr"] body.is-home-page .nav-cart-btn .cart-badge {
  inset-inline-start: auto;
  inset-inline-end: auto;
  right: auto;
  left: 58%;
}

/* Desktop mockup: red circular cart badge */
@media (min-width: 901px) {
  body.is-home-page .nav-cart-btn .cart-badge,
  html[dir="ltr"] body.is-home-page .nav-cart-btn .cart-badge {
    top: -2px;
    right: -2px;
    left: auto;
    transform: none;
    width: 18px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #e11d2e;
    color: #ffffff;
    font-size: 10px;
    line-height: 18px;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  }

  body.is-home-page .nav-cart-btn .cart-badge.bump {
    animation: home-cart-badge-bump-desktop 0.3s ease;
  }

  @keyframes home-cart-badge-bump-desktop {
    0% { transform: scale(1); }
    50% { transform: scale(1.28); }
    100% { transform: scale(1); }
  }
}

@media (max-width: 767px) {
  body.is-home-page .nav-cart-btn svg {
    width: 20px;
    height: 20px;
  }

  body.is-home-page .nav-cart-label {
    font-size: 12px;
    margin-bottom: 1px;
  }

  body.is-home-page .nav-cart-btn .cart-badge {
    top: 44%;
    font-size: 14.375px;
    inset-inline-start: auto;
    inset-inline-end: auto;
    right: auto;
    left: 58%;
  }
}

@media (max-width: 420px) {
  body.is-home-page .nav-cart-label {
    display: none;
  }

  body.is-home-page .nav-cart-btn {
    padding: 6px;
  }
}

/* —— Hero V2: 30% copy / 70% visual —— */
.mob-home-feed .mob-card--hero {
  padding: 0 !important;
}

.mob-home-feed .hero.hero-v2,
.mob-home-feed .hero.hero-v2 .hero-slider {
  background: var(--premium-bg);
}

.mob-home-feed .hero.hero-v2 {
  min-height: calc(410px + 1cm) !important;
  height: calc(410px + 1cm) !important;
  max-height: calc(410px + 1cm) !important;
  overflow: hidden;
}

.mob-home-feed .hero.hero-v2::after {
  display: none;
}

.hero-v2-layout {
  display: grid;
  grid-template-columns: 30% 70%;
  height: 100%;
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: 12px;
}

.hero-v2-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 24px 16px 0;
  z-index: 3;
  position: relative;
  min-width: 0;
}

.hero-v2-brand {
  font-family: var(--font-en);
  font-size: calc(12px * 1.6);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.5;
  color: #ffffff;
  margin-bottom: 8px;
  max-width: 360px;
  filter: none;
}

.hero-v2-desc {
  font-family: var(--font-en);
  font-size: 12px;
  line-height: 1.5;
  color: var(--premium-text-muted);
  max-width: 360px;
  margin-bottom: 6px;
}

.hero-v2-desc--secondary {
  margin-bottom: 14px;
}

.hero-v2-desc--highlight {
  font-family: var(--font-en);
  font-size: calc(12px * 1.5625);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--premium-gold);
  -webkit-text-fill-color: var(--premium-gold);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  filter: none;
  margin-bottom: 14px;
}

#premiumHeroDescEn,
.hero-v2-desc__en {
  display: block;
  font-size: calc(12px * 1.5625 * 0.9);
}

.hero-v2-desc__en-lead,
.hero-v2-desc__en-tail {
  display: block;
}

.hero-v2-desc__en-tail {
  margin-top: 0.35em;
}

.hero-v2-desc--highlight .hero-opel-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2em;
  height: 1.2em;
  margin: 0 0.28em;
  vertical-align: -0.12em;
  color: var(--premium-gold);
  flex-shrink: 0;
}

.hero-v2-desc--highlight .hero-opel-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Astra J — German flag colors (black · red · gold) */
.astra-j-de {
  display: inline;
  font-weight: 800;
  font-style: normal;
  background: linear-gradient(
    180deg,
    #000000 0%,
    #000000 33.34%,
    #DD0000 33.34%,
    #DD0000 66.67%,
    #FFCC00 66.67%,
    #FFCC00 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-v2-desc--highlight .astra-j-de {
  -webkit-text-fill-color: transparent;
}

/* Offset copy block below title without shifting flex centering */
.hero-v2-desc--highlight,
.hero-v2-features {
  position: relative;
  top: 3mm;
}

.hero-v2-eyebrow,
.hero-v2-headline {
  display: none;
}

.hero-v2-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 10px;
  padding: 0;
}

.hero-v2-features li {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: start;
  gap: 8px;
  min-width: 0;
}

.hero-v2-feature-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--premium-gold);
}

.hero-v2-feature-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
}

.hero-v2-feature-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.hero-v2-feature-text strong {
  font-family: var(--font-en);
  font-size: calc(11.5px * 1.15);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.hero-v2-features--checks {
  display: none;
}

.hero-v2-visual {
  position: relative;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border-radius: 0 8px 8px 0;
}

.hero-v2-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 7, 7, 0.62) 0%, rgba(7, 7, 7, 0.18) 38%, transparent 62%);
}

html[dir="rtl"] .hero-v2-visual::after {
  background: linear-gradient(270deg, rgba(7, 7, 7, 0.62) 0%, rgba(7, 7, 7, 0.18) 38%, transparent 62%);
}

.hero-v2-visual .hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--premium-bg);
}

.hero-v2-visual .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-v2-visual .hero-slide-bg,
.hero-v2-visual .hero-slide-fg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.hero-v2-visual .hero-slide-bg {
  transform: scale(1.08);
  transform-origin: center center;
  filter: blur(12px) brightness(0.45) saturate(1.2);
  z-index: 0;
}

.hero-v2-visual .hero-slide-fg {
  transform: none;
  z-index: 1;
}

.hero-v2-visual .slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 4;
}

.hero-scroll-down {
  position: absolute;
  bottom: 10px;
  inset-inline-end: 16px;
  z-index: 6;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-scroll-down svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.hero-scroll-down:hover,
.hero-scroll-down:focus-visible {
  background: rgba(246, 195, 67, 0.14);
  border-color: rgba(246, 195, 67, 0.45);
  outline: none;
}

.hero-scroll-down:active {
  transform: scale(0.96);
}

body.is-home-page .hero.hero-v2 {
  position: relative;
}

@media (max-width: 900px) {
  .hero-scroll-down {
    bottom: 8px;
    inset-inline-end: 12px;
    width: 34px;
    height: 34px;
  }
}

body.is-home-page .mob-home-feed .mob-card--hero .hero.hero-v2,
body.is-home-page .mob-home-feed .hero.hero-v2 {
  margin-top: 0 !important;
}

html[dir="rtl"] .hero-v2-copy {
  padding: 16px 0 16px 24px;
  text-align: right;
}

html[dir="rtl"] .hero-v2-brand,
html[dir="rtl"] .hero-v2-desc {
  text-align: right;
}

html[dir="rtl"] .hero-v2-desc--highlight {
  font-family: var(--font-ar);
}

html[dir="rtl"] .hero-v2-features li {
  text-align: right;
}

@media (min-width: 901px) {
  #brands.brands-section,
  body.is-home-page .mob-home-feed .brands-section {
    display: none !important;
  }
}

body.is-home-page .brands-section .brands-section-inner {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  max-width: none;
  padding-inline: 0;
}

body.is-home-page .mob-home-feed .brands-section .section-head,
body.is-home-page .mob-home-feed .brands-section .brands-section-head {
  padding-inline: 12px;
  max-width: 1600px;
  margin-inline: auto;
  width: 100%;
  box-sizing: border-box;
}

/* Hide hero FABs when catalog drawer / branch is active (is-home-page is removed) */
body.catalog-drawer-open .hero-cta-overlay,
body.catalog-page-open .hero-cta-overlay,
body.catalog-branch-mode .hero-cta-overlay {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (min-width: 901px) {
  body.is-home-page .hero-cta-overlay {
    display: none !important;
  }

  body.catalog-drawer-open .hero-cta-overlay,
  body.catalog-page-open .hero-cta-overlay,
  body.catalog-branch-mode .hero-cta-overlay {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* First viewport: hero + OEM catalog under image; Best Selling follows */
  body.is-home-page .home-cinematic-band {
    position: relative;
    isolation: isolate;
    background: #070707;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: calc(100dvh - var(--nav-total-h) - env(safe-area-inset-top, 0px));
    overflow: visible;
  }

  body.is-home-page .home-cinematic-band .mob-v2-hero-compose {
    display: contents;
  }

  /* OEM ASTRA J Catalog — directly under hero (workshop grid in mobile-v2-catalog.css) */
  body.is-home-page .home-cinematic-band > .mob-v2-catalog-section,
  body.is-home-page .home-cinematic-band .mob-v2-catalog-section {
    display: block !important;
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    width: 100%;
    margin: 0;
    background: #ffffff;
  }

  body.is-home-page .home-cinematic-band > .mob-card--hero,
  body.is-home-page .home-cinematic-band .mob-card--hero {
    position: relative !important;
    z-index: 1;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: transparent !important;
  }

  body.is-home-page .home-cinematic-band .mob-card--hero .hero.hero-v2,
  body.is-home-page .home-cinematic-band .hero.hero-v2 {
    position: relative !important;
    flex: 1 1 auto;
    width: 100%;
    aspect-ratio: auto;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    background: transparent !important;
  }

  body.is-home-page .home-cinematic-band .hero.hero--static .hero-v2-layout,
  body.is-home-page .home-cinematic-band .hero.hero--static .hero-v2-copy,
  body.is-home-page .home-cinematic-band .hero.hero--static .hero-v2-features,
  body.is-home-page .home-cinematic-band .hero.hero--carousel .hero-v2-layout,
  body.is-home-page .home-cinematic-band .hero.hero--carousel .hero-v2-copy,
  body.is-home-page .home-cinematic-band .hero.hero--carousel .hero-v2-features {
    display: none !important;
  }

  /* Background fills the whole first viewport; image continues under Top Selling */
  body.is-home-page .home-cinematic-band .hero-static-bg,
  body.is-home-page .home-cinematic-band .hero.hero--carousel .hero-slider {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: #070707;
  }

  body.is-home-page .home-cinematic-band .hero-static-bg picture,
  body.is-home-page .home-cinematic-band .hero.hero--carousel .hero-slide picture {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block;
  }

  body.is-home-page .home-cinematic-band .hero-static-img,
  body.is-home-page .home-cinematic-band .hero.hero--carousel .hero-slide-img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center top;
  }

  /* Soft fade only near the very bottom — do not cover hero copy */
  body.is-home-page .home-cinematic-band .hero-static-bg::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: min(120px, 18%);
    background: linear-gradient(
      180deg,
      rgba(7, 7, 7, 0) 0%,
      rgba(7, 7, 7, 0.45) 70%,
      #070707 100%
    );
    pointer-events: none;
    z-index: 1;
  }

  body.is-home-page .home-cinematic-band > #topParts.top-selling-section,
  body.is-home-page .home-cinematic-band #topParts.top-selling-section {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    background: transparent !important;
    border-bottom: none !important;
    margin-top: 0 !important;
    padding: 0 0 8px !important;
  }

  /* Light veil over products only — keep left text zone clear */
  body.is-home-page .home-cinematic-band #topParts.top-selling-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      rgba(7, 7, 7, 0) 0%,
      rgba(7, 7, 7, 0.08) 28%,
      rgba(7, 7, 7, 0.28) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 7, 7, 0) 0%,
      rgba(7, 7, 7, 0.18) 60%,
      rgba(7, 7, 7, 0.5) 100%
    );
    pointer-events: none;
    z-index: 0;
  }

  body.is-home-page .home-cinematic-band #topParts.top-selling-section > .section-inner {
    position: relative;
    z-index: 1;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

@media (max-width: 900px) {
  .home-cinematic-band {
    display: contents;
  }
}

.slider-dots {
  bottom: 14px !important;
}

.slider-dots .dot {
  border: 1px solid var(--premium-border);
  background: rgba(255, 255, 255, 0.15);
  transition: background var(--premium-transition), border-color var(--premium-transition);
}

.slider-dots .dot.active {
  background: var(--premium-gold);
  border-color: var(--premium-gold);
  box-shadow: none;
}

/* —— Section flow: Hero → Products → Why title → Collections → Cards → Brands —— */
.mob-home-feed .mob-card--hero + .top-selling-section {
  padding: 4px 0 2px;
}

.mob-home-feed .mob-card--hero + .hero-why-title-section {
  padding: 4px 0 2px;
}

.hero-why-title-section {
  padding: 4px 0 2px;
}

.hero-why-title-section .section-inner {
  max-width: 1600px;
  padding-inline: 12px;
}

.hero-why-title {
  margin: 0;
  text-align: left;
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #ffffff;
}

.hero-why-title-section + .featured-collections-section,
.hero-why-title-section + .home-premium-info,
.featured-collections-section + .home-premium-info {
  padding-top: 2px;
}

.home-premium-info {
  padding: 2px 0 0;
}

.home-premium-info .section-inner {
  max-width: 1600px;
  padding-inline: 12px;
}

.top-selling-section + .hero-why-title-section {
  padding-top: 4px !important;
}

.top-selling-section + .brands-section {
  padding-top: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Section 2: Brand slider —— */
body.is-home-page .mob-home-feed .brands-track.brands-marquee,
body.is-home-page .mob-home-feed .brands-banner-track.brands-marquee {
  animation-duration: 24s;
}

.mob-home-feed .brands-section {
  padding: 6px 0 2px;
}

.mob-home-feed .brands-section .section-head,
.mob-home-feed .brands-section .brands-section-head {
  margin-top: 0;
  margin-bottom: 8px !important;
}

.mob-home-feed .brands-section-title,
body.is-home-page #topParts.top-selling-section .section-title {
  font-family: var(--font-en);
  font-size: calc(12px * 1.3);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.35;
  padding-block: 3px;
  overflow: visible;
  background: linear-gradient(105deg, #FFF8C5 0%, #FFD95A 22%, #F6C343 48%, #FFD95A 72%, #FFF3B0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(246, 195, 67, 0.22));
}

body.is-home-page #topParts.top-selling-section .section-title em {
  font-style: normal;
  background: linear-gradient(105deg, #FFF8C5 0%, #FFD95A 22%, #F6C343 48%, #FFD95A 72%, #FFF3B0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
}

.mob-home-feed .brands-section-line {
  width: 40px;
  height: 2px;
  margin-top: 6px;
  background: linear-gradient(90deg, var(--premium-gold), var(--premium-gold-2));
}

.mob-home-feed .brands-slider-wrap {
  gap: 0;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  align-items: stretch;
}

body.is-home-page .mob-home-feed .brands-slider-wrap {
  margin-inline: 4mm;
  width: calc(100% - 8mm);
  box-sizing: border-box;
  border: 1px solid rgba(246, 195, 67, 0.3);
  border-radius: 12px;
  background: linear-gradient(135deg, #1c170c 0%, #14120d 48%, #10100e 100%);
  box-shadow:
    inset 0 1px 0 rgba(246, 195, 67, 0.12),
    0 8px 24px rgba(0, 0, 0, 0.28);
}

@media (max-width: 767px) {
  body.is-home-page .mob-home-feed .brands-slider-wrap.brands-slider-wrap--desktop {
    display: flex !important;
  }
}

body.is-home-page .mob-home-feed .brands-section {
  background: #ffffff !important;
  border: none !important;
}

body.is-home-page .mob-home-feed .brands-viewport {
  background: transparent;
  border: none;
  border-radius: 0;
  border-inline: 1px solid rgba(246, 195, 67, 0.22);
  padding: 8px 6px;
  box-shadow: none;
}

body.is-home-page .mob-home-feed #brandsViewport {
  --brand-card-pad: 2px;
  --brand-gap: 3mm;
  max-width: none !important;
  width: 100% !important;
  margin-inline: 0 !important;
  flex: 1 1 auto;
  min-width: 0;
}

.mob-home-feed .brand-card {
  flex: 0 0 var(--brand-card-w, 80px);
  width: var(--brand-card-w, 80px);
  height: var(--brand-card-w, 80px);
  border-radius: 8px;
  background: var(--premium-card);
  border: 1px solid var(--premium-border);
  box-shadow: none;
  padding: var(--brand-card-pad, 3px);
  overflow: hidden;
  isolation: isolate;
  transition: border-color var(--premium-transition), box-shadow var(--premium-transition);
}

.mob-home-feed .brand-card-logo,
.mob-home-feed .brand-card-logo-fallback {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  transform: none;
  transition: none;
}

.mob-home-feed .brands-arrow {
  width: 32px;
  height: auto;
  min-width: 32px;
  min-height: 44px;
  align-self: stretch;
  flex-shrink: 0;
  border: none;
  border-radius: 0;
  background: rgba(17, 17, 17, 0.55);
  color: var(--premium-gold);
  box-shadow: none;
  transition: background var(--premium-transition), color var(--premium-transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

body.is-home-page .mob-home-feed .brands-slider-wrap > .brands-arrow:first-child {
  border-inline-end: 1px solid rgba(246, 195, 67, 0.22);
}

body.is-home-page .mob-home-feed .brands-slider-wrap > .brands-arrow:last-child {
  border-inline-start: 1px solid rgba(246, 195, 67, 0.22);
}

.mob-home-feed .brands-arrow svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
}

.mob-home-feed .brand-card:hover,
.mob-home-feed .brand-card.active {
  transform: none;
  border-color: rgba(246, 195, 67, 0.45);
  box-shadow: none;
  outline: none;
}

.mob-home-feed .brand-card.active {
  border-color: rgba(246, 195, 67, 0.45);
}

.mob-home-feed .brand-card:hover .brand-card-logo,
.mob-home-feed .brand-card:hover .brand-card-logo-fallback,
.mob-home-feed .brand-card.active .brand-card-logo,
.mob-home-feed .brand-card.active .brand-card-logo-fallback {
  transform: none;
}

.mob-home-feed .brands-arrow:hover {
  background: rgba(246, 195, 67, 0.12);
  color: var(--premium-gold-2);
}

.mob-home-feed .brands-track,
.mob-home-feed .brands-banner-track {
  gap: 3mm !important;
}

.mob-home-feed .brand-banner-item {
  background: var(--premium-card);
  border: 1px solid var(--premium-border);
  border-radius: 12px;
  padding: 6px 10px;
}

.mob-home-feed .btn-all-gold {
  border: 1px solid var(--premium-border);
  background: transparent;
  color: var(--premium-gold);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  transition: all var(--premium-transition);
}

.mob-home-feed #topParts .btn-all-gold {
  background: #1e5bb8 !important;
  border-color: #1e5bb8 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.mob-home-feed .btn-all-gold:hover {
  background: rgba(246, 195, 67, 0.08);
  border-color: rgba(246, 195, 67, 0.35);
  color: var(--premium-gold-2);
}

.mob-home-feed #topParts .btn-all-gold:hover {
  background: #174a96 !important;
  border-color: #174a96 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

@media (min-width: 901px) {
  body.is-home-page .mob-home-feed #brandsViewport {
    --brand-card-pad: 2px;
    --brand-gap: 3mm;
  }
}

@media (min-width: 1200px) {
  body.is-home-page .mob-home-feed #brandsViewport {
    --brand-gap: 3mm;
  }
}

/* —— Information cards (below hero) —— */

.premium-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.premium-glass-card.premium-service-card {
  display: flex !important;
  flex-direction: column;
  align-self: stretch;
  min-height: 220px;
  max-height: none !important;
  height: 100%;
  padding: 14px;
  grid-template-columns: unset;
  grid-template-rows: unset;
  overflow: hidden;
}

.premium-glass-card.premium-service-card--expandable {
  display: grid !important;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  min-height: 220px;
  max-height: 220px;
  height: auto;
}

.premium-glass-card.premium-service-card--expandable:has(.premium-card-expand.is-open) {
  max-height: none;
  overflow: visible;
}

.premium-service-card--expandable .premium-card-icon {
  grid-row: 1 / 3;
  grid-column: 1;
  margin-bottom: 0;
}

.premium-service-card--expandable h3 {
  grid-row: 1;
  grid-column: 2;
}

.premium-service-card--expandable .premium-card-desc {
  grid-row: 2;
  grid-column: 2;
  flex: unset;
  align-self: stretch;
  min-height: 0;
  margin-bottom: 4px;
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 4;
}

.premium-service-card--expandable .premium-explore-btn {
  grid-row: 3;
  grid-column: 2;
  align-self: start;
}

.premium-service-card--expandable .premium-card-stats {
  grid-row: 4;
  grid-column: 1 / -1;
  align-self: end;
}

.premium-service-card--expandable .premium-card-expand {
  grid-row: 5;
  grid-column: 1 / -1;
}

.premium-service-card .premium-card-icon {
  grid-row: unset;
  grid-column: unset;
  margin-bottom: 10px;
}

.premium-service-card h3 {
  grid-row: unset;
  grid-column: unset;
  margin-bottom: 6px;
}

.premium-service-card .premium-card-desc {
  grid-row: unset;
  grid-column: unset;
  flex: 1;
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.45;
  -webkit-line-clamp: 3;
}

.premium-service-card--track h3 {
  margin-bottom: 8px;
}

.premium-service-card--track .premium-track-form {
  margin-top: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
}

@media (min-width: 901px) {
  .premium-track-fields {
    flex-direction: row;
    align-items: center;
    gap: 6px;
  }

  .premium-track-fields input {
    flex: 1;
    min-width: 0;
    min-height: 30px;
    padding: 6px 8px;
    font-size: 10px;
  }

  .premium-track-btn {
    flex-shrink: 0;
    width: auto;
    min-width: 64px;
    min-height: 30px;
    padding: 6px 10px;
  }
}

.premium-service-card--track {
  scroll-margin-top: calc(var(--nav-total-h) + env(safe-area-inset-top, 0px) + 12px);
}

.premium-track-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  width: 100%;
}

.premium-track-fields {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.premium-track-form input {
  background: #0a0a0a;
  border: 1px solid var(--premium-border);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 11px;
  color: #fff;
  width: 100%;
  min-height: 32px;
  font-family: inherit;
  transition: border-color var(--premium-transition);
}

.premium-track-form input:focus {
  outline: none;
  border-color: rgba(246, 195, 67, 0.45);
}

.premium-track-form input::placeholder {
  color: #6b7280;
}

.premium-track-btn {
  width: 100%;
  min-height: 32px;
  padding: 6px 12px;
  font-size: 10px;
}

.premium-track-error {
  margin-top: 8px;
  font-size: 11px;
  color: #ff8a8a;
}

.premium-track-error[hidden] {
  display: none;
}

.premium-track-result {
  display: none;
  margin-top: 10px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--premium-border);
  background: #0a0a0a;
  font-size: 11px;
}

.premium-track-result.is-visible {
  display: block;
}

.premium-info-grid:has(.premium-track-result.is-visible) .premium-service-card--track,
.premium-info-grid:has(.premium-track-error:not([hidden])) .premium-service-card--track {
  min-height: auto;
}

.premium-service-card--track .premium-track-result.is-visible,
.premium-service-card--track .premium-track-error:not([hidden]) {
  max-height: 120px;
  overflow-y: auto;
}

.premium-glass-card {
  background: var(--premium-card);
  border: 1px solid var(--premium-border);
  border-radius: 10px;
  padding: 11px 13px;
  box-shadow: none;
  transition: transform var(--premium-transition), border-color var(--premium-transition);
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto auto 1fr;
  column-gap: 10px;
  min-height: 165px;
  max-height: 165px;
  overflow: hidden;
}

.premium-glass-card:has(.premium-card-expand.is-open) {
  max-height: none;
  overflow: visible;
}

.premium-glass-card:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 195, 67, 0.45);
}

.premium-card-icon {
  grid-row: 1 / 3;
  grid-column: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  align-self: start;
  background: var(--premium-gold);
  box-shadow: none;
  flex-shrink: 0;
}

.premium-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: #111;
  fill: none;
  stroke-width: 2;
}

.premium-glass-card h3 {
  grid-row: 1;
  grid-column: 2;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 2px;
  line-height: 1.2;
}

.premium-glass-card .premium-card-desc {
  grid-row: 2;
  grid-column: 2;
  font-size: 15px;
  line-height: 1.45;
  color: var(--premium-text-muted);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.premium-explore-btn {
  grid-row: 3;
  grid-column: 2;
  align-self: flex-start;
  background: transparent;
  border: none;
  color: var(--premium-gold);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0;
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: color var(--premium-transition);
}

.premium-explore-btn:hover {
  color: #fff;
  gap: 6px;
}

.premium-glass-card:has(.premium-card-expand.is-open) .premium-explore-btn {
  display: none;
}

.premium-less-btn {
  display: none;
  margin-top: 12px;
  background: transparent;
  border: none;
  color: var(--premium-gold);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: color var(--premium-transition);
}

.premium-card-expand.is-open .premium-less-btn {
  display: inline-flex;
}

.premium-less-btn:hover {
  color: #ffd76a;
}

.premium-card-stats {
  grid-row: 4;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
}

.premium-stat {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
  color: #fff;
  min-width: 0;
}

.premium-stat strong {
  font-family: var(--font-en);
  font-size: 10px;
  color: var(--premium-gold);
  flex-shrink: 0;
}

.premium-stat span {
  color: var(--premium-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.premium-stat svg {
  width: 12px;
  height: 12px;
  stroke: var(--premium-gold);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.premium-card-expand {
  grid-column: 1 / -1;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.3s ease, visibility 0.3s;
  margin-top: 0;
  font-size: 12px;
  color: var(--premium-text-muted);
  line-height: 1.65;
}

.premium-card-expand.is-open {
  max-height: 800px;
  opacity: 1;
  visibility: visible;
  margin-top: 12px;
}

.premium-card-expand h3 {
  font-size: 12px;
  margin: 10px 0 4px;
  color: #fff;
}

.premium-card-expand ul {
  margin: 6px 0 10px;
  padding-inline-start: 16px;
}

/* —— Track Order — full-width premium bar —— */
.home-track-premium .section-inner.track-premium-outer {
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: 12px;
}

.track-premium-panel {
  background: var(--premium-card);
  border: 1px solid var(--premium-border);
  border-radius: 10px;
  padding: 0 14px;
  min-height: 71px;
  box-shadow: none;
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 12px 16px;
  align-items: center;
  width: 100%;
}

.track-premium-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--premium-gold);
  box-shadow: none;
}

.track-premium-icon svg {
  width: 18px;
  height: 18px;
  stroke: #111;
  fill: none;
  stroke-width: 2;
}

.track-premium-title-block {
  min-width: 0;
  flex-shrink: 0;
}

.track-premium-title-block h2 {
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--premium-gold);
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
}

.track-premium-sub {
  display: none;
}

.track-premium-form--inline {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(120px, 1fr) auto;
  gap: 10px;
  align-items: end;
  width: 100%;
  min-width: 0;
}

.track-premium-form .track-order-field label {
  color: var(--premium-text-muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  display: block;
}

.track-premium-form .track-order-field input {
  background: #0a0a0a;
  border: 1px solid var(--premium-border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  width: 100%;
  min-height: 36px;
  transition: border-color var(--premium-transition);
}

.track-premium-form .track-order-field input:focus {
  outline: none;
  border-color: rgba(246, 195, 67, 0.45);
  box-shadow: none;
}

.btn-track-submit {
  background: var(--premium-gold);
  color: #111;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 800;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-height: 36px;
  white-space: nowrap;
  box-shadow: none;
  transition: transform var(--premium-transition), background var(--premium-transition);
}

.btn-track-submit:hover {
  transform: translateY(-2px);
  background: #ffd76a;
  box-shadow: none;
}

.home-track-premium .track-order-result,
.home-track-premium .track-order-error {
  width: 100%;
  grid-column: 1 / -1;
}

.home-track-premium .track-order-result.is-visible,
.home-track-premium .track-order-error:not([hidden]) {
  margin-top: 0;
  padding-bottom: 12px;
}

@media (max-width: 1199px) {
  .track-premium-panel {
    grid-template-columns: 1fr;
    padding: 16px 20px;
    min-height: auto;
  }

  .track-premium-sub {
    display: block;
    font-size: 12px;
    color: var(--premium-text-muted);
    margin: 4px 0 0;
  }

  .track-premium-form--inline {
    grid-template-columns: 1fr 1fr;
  }

  .track-premium-form--inline .btn-track-submit {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .home-track-premium .section-inner.track-premium-outer {
    padding-inline: 16px;
  }

  .track-premium-panel {
    padding: 14px 16px;
  }

  .track-premium-form--inline {
    grid-template-columns: 1fr;
  }

  .track-premium-title-block h2 {
    white-space: normal;
  }
}

/* —— Section 5: Top Selling —— */
body.is-home-page #topParts.top-selling-section,
.mob-home-feed .top-selling-section {
  padding: 4px 0 12px !important;
  background: var(--premium-bg) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

@media (min-width: 901px) {
  body.is-home-page #topParts.top-selling-section,
  body.is-home-page .mob-home-feed .top-selling-section,
  body.is-home-page .home-cinematic-band > .top-selling-section {
    background: transparent !important;
    border-bottom: none !important;
  }
}

.mob-home-feed .top-selling-section .section-inner {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.mob-home-feed .top-selling-section .section-head {
  margin-bottom: 8px !important;
  overflow: visible;
  padding-top: 2px;
}

.mob-home-feed .top-selling-section .section-label {
  display: none !important;
}

.mob-home-feed .top-parts-grid {
  gap: 10px;
}

@media (min-width: 901px) {
  body.is-home-page .mob-home-feed .top-parts-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 10px;
    max-width: 1600px;
    margin-inline: auto;
  }

  body.is-home-page .mob-home-feed .top-parts-grid > *:nth-child(n + 7) {
    display: none !important;
  }

  body.is-home-page .mob-home-feed .top-parts-grid .top-selling-card,
  body.is-home-page .mob-home-feed .top-parts-grid .top-part-slot-empty {
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }
}

.mob-home-feed .top-selling-card.oem-rec-card {
  max-height: none;
}

body.is-home-page #topParts .oem-rec-card__info,
body.is-home-page #topParts .oem-rec-card .top-selling-footer {
  padding-top: 0 !important;
  padding-inline-end: 2px;
  padding-bottom: 0;
  padding-inline-start: 0;
}

body.is-home-page #topParts .top-parts-grid .top-selling-card.oem-rec-card {
  width: 100%;
  flex: none;
  min-height: var(--oem-rec-card-min-h, 163px);
}

body.is-home-page #topParts .oem-rec-card__layout {
  --oem-rec-top-selling-media-width-scale: 1.265;
  --oem-rec-media-col: calc(39.9% * var(--oem-rec-top-selling-media-width-scale));
  padding: 0 8px 8px 0;
  min-height: 100%;
  height: 100%;
}

body.is-home-page #topParts .top-parts-grid .top-selling-img-wrap,
body.is-home-page #topParts .oem-rec-card__media {
  min-height: 0;
  height: 100%;
  align-self: stretch;
  aspect-ratio: auto;
  border-bottom: none;
}

body.is-home-page #topParts .oem-rec-card__media img,
body.is-home-page #topParts .oem-rec-card__media .product-brand-fallback,
body.is-home-page #topParts .top-selling-img-wrap img {
  max-height: none;
  height: 100%;
}

body.is-home-page #topParts .top-parts-grid .top-selling-price-block .product-price-sale,
body.is-home-page #topParts .top-parts-grid .top-selling-price-block .product-price--single {
  font-size: 16px !important;
}

.mob-home-feed .top-parts-swipe-hint {
  color: rgba(189, 189, 189, 0.45);
  font-size: 11px;
  margin-top: 10px;
}

.mob-home-feed .top-part-slot-empty {
  min-height: calc(200px * var(--oem-rec-height-scale, 1.1));
  border-color: var(--premium-border);
  background: var(--premium-card);
  color: var(--premium-text-muted);
  border-radius: 16px;
}

/* —— CTA strip —— */
@media (min-width: 901px) {
  /* Desktop: remove WhatsApp CTA strip (mobile keeps .mob-v2-help) */
  body.is-home-page .cta-strip,
  .cta-strip {
    display: none !important;
  }
}

body.is-home-page .cta-strip {
  background: var(--premium-bg) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0 !important;
}

body.is-home-page .cta-strip .cta-text h2 {
  color: #ffffff;
}

body.is-home-page .cta-strip .cta-text p {
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 900px) {
  body.is-home-page .mob-home-feed .top-selling-section {
    background: var(--premium-bg) !important;
  }

  body.is-home-page .mob-home-feed .cta-strip {
    background: var(--premium-bg) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
  }
}

body.is-home-page footer {
  background: var(--premium-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body.is-home-page .mob-home-feed .btn-wa-big svg {
  fill: #25D366;
}

/* Footer styles are global in index.html */

body.is-home-page #topParts.top-selling-section .section-inner {
  padding-top: 0 !important;
  padding-bottom: 4px !important;
}

body.is-home-page #topParts.top-selling-section .section-head {
  margin-bottom: 4px !important;
  margin-top: 0 !important;
  align-items: center !important;
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .premium-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-v2-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    height: auto;
    padding-inline: 14px;
  }

  .mob-home-feed .hero.hero-v2 {
    min-height: auto !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto;
  }

  .hero-v2-copy {
    padding: 16px 0 12px;
    order: 1;
  }

  .hero-v2-visual {
    order: 2;
    position: relative;
    height: calc(min(42vh, 280px) + 1cm);
    min-height: calc(220px + 1cm);
  }
}

@media (max-width: 767px) {
  .mob-home-feed .mob-card--hero {
    border: none;
    background: var(--premium-bg);
    box-shadow: none;
  }

  .premium-info-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .premium-glass-card.premium-service-card {
    min-height: 180px;
  }

  .premium-card-stats {
    grid-template-columns: 1fr 1fr;
  }

  body.is-home-page .mob-home-feed #brandsViewport {
    --brand-card-pad: 2px;
    --brand-gap: 3mm;
  }

  .mob-home-feed .top-selling-card.oem-rec-card {
    flex: 0 0 200px;
    width: 200px;
    max-height: none;
  }
}

@media (min-width: 1200px) {
  body.is-home-page .mob-home-feed .top-parts-grid .top-selling-card.oem-rec-card {
    min-height: calc(var(--oem-rec-card-min-h, 163px) + 2px);
  }
}

/* ============================================================
   Premium Polish — motion & interaction (homepage only)
   ============================================================ */

@keyframes home-hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes home-hero-light-sweep {
  0%, 18% { transform: translateX(-120%); opacity: 0; }
  28%, 42% { opacity: 1; }
  52%, 100% { transform: translateX(120%); opacity: 0; }
}

@keyframes home-hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Hero: car float + golden light sweep —— */
body.is-home-page .hero-v2-visual::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 55%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(246, 195, 67, 0) 42%,
    rgba(246, 195, 67, 0.07) 50%,
    rgba(255, 232, 150, 0.06) 54%,
    rgba(246, 195, 67, 0) 62%,
    transparent 100%
  );
  animation: home-hero-light-sweep 8s ease-in-out infinite;
}

body.is-home-page .hero-v2-visual .hero-slide.active .hero-slide-fg {
  animation: home-hero-float 9s ease-in-out infinite;
  will-change: transform;
}

/* —— Hero: load-once text sequence —— */
body.is-home-page .hero-v2-brand {
  animation: home-hero-fade-up 600ms ease 0ms forwards;
  opacity: 0;
}

body.is-home-page .hero-v2-desc--highlight {
  animation: home-hero-fade-up 600ms ease 120ms forwards;
  opacity: 0;
}

body.is-home-page .hero-v2-features li:nth-child(1) {
  animation: home-hero-fade-up 600ms ease 240ms forwards;
  opacity: 0;
}

body.is-home-page .hero-v2-features li:nth-child(2) {
  animation: home-hero-fade-up 600ms ease 360ms forwards;
  opacity: 0;
}

body.is-home-page .hero-v2-features li:nth-child(3) {
  animation: home-hero-fade-up 600ms ease 480ms forwards;
  opacity: 0;
}

body.is-home-page .hero-v2-features li:nth-child(4) {
  animation: home-hero-fade-up 600ms ease 600ms forwards;
  opacity: 0;
}

/* —— Hero: feature icons —— */
body.is-home-page .hero-v2-features {
  gap: 9px;
}

body.is-home-page .hero-v2-features li {
  gap: 10px;
}

body.is-home-page .hero-v2-feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(246, 195, 67, 0.1);
  box-shadow: 0 0 14px rgba(246, 195, 67, 0.18);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

body.is-home-page .hero-v2-feature-icon svg {
  width: 15px;
  height: 15px;
}

body.is-home-page .hero-v2-features li:hover .hero-v2-feature-icon {
  transform: rotate(6deg);
  box-shadow: 0 0 18px rgba(246, 195, 67, 0.28);
}

body.is-home-page .hero-v2-feature-text strong {
  transition: filter 250ms ease;
}

body.is-home-page .hero-v2-features li:hover .hero-v2-feature-text strong {
  filter: brightness(1.08);
}

body.is-home-page .mob-home-feed #topParts .btn-all-gold,
body.is-home-page .mob-home-feed #topParts.top-selling-section .btn-all-gold {
  background: #1e5bb8 !important;
  background-color: #1e5bb8 !important;
  background-image: none !important;
  border: 1px solid #1e5bb8 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.is-home-page .mob-home-feed #topParts .btn-all-gold:hover,
body.is-home-page .mob-home-feed #topParts .btn-all-gold:focus-visible,
body.is-home-page .mob-home-feed #topParts.top-selling-section .btn-all-gold:hover,
body.is-home-page .mob-home-feed #topParts.top-selling-section .btn-all-gold:focus-visible {
  background: #174a96 !important;
  background-color: #174a96 !important;
  background-image: none !important;
  border-color: #174a96 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  transform: none;
}

body.is-home-page .mob-home-feed #topParts .btn-all-gold span,
body.is-home-page .mob-home-feed #topParts.top-selling-section .btn-all-gold span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* —— View All button (non–Top Selling) —— */
body.is-home-page .mob-home-feed .btn-all-gold {
  padding: 7px 16px;
  font-size: 13px;
  border-radius: 16px;
  transition:
    transform 250ms ease,
    background 250ms ease,
    border-color 250ms ease,
    color 250ms ease;
}

body.is-home-page .mob-home-feed .btn-all-gold:hover,
body.is-home-page .mob-home-feed .btn-all-gold:focus-visible {
  background: rgba(246, 195, 67, 0.12);
  border-color: #F6C343;
  color: var(--premium-gold-2);
  transform: translateY(-2px);
}

/* —— WhatsApp CTA —— */
body.is-home-page .mob-home-feed .btn-wa-big {
  background: linear-gradient(135deg, #FFE082 0%, #F6C343 48%, #D9A520 100%);
  color: #111;
  border: 1px solid rgba(255, 215, 80, 0.45);
  box-shadow: 0 6px 20px rgba(246, 195, 67, 0.22);
  transition:
    transform 250ms ease,
    box-shadow 250ms ease,
    filter 250ms ease;
}

body.is-home-page .mob-home-feed .btn-wa-big:hover,
body.is-home-page .mob-home-feed .btn-wa-big:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 10px 26px rgba(246, 195, 67, 0.3);
}

body.is-home-page .mob-home-feed .btn-wa-big svg {
  fill: #25D366;
}

/* —— Section scroll reveal —— */
body.is-home-page .mob-home-feed > .mob-card:not(.mob-card--hero).home-section-await,
body.is-home-page .mob-home-feed > .cta-strip.home-section-await {
  opacity: 0;
  transform: translateY(20px);
}

body.is-home-page .mob-home-feed > .mob-card:not(.mob-card--hero).home-section-await,
body.is-home-page .mob-home-feed > .cta-strip.home-section-await,
body.is-home-page .mob-home-feed > .mob-card:not(.mob-card--hero).home-section-in,
body.is-home-page .mob-home-feed > .cta-strip.home-section-in {
  transition: opacity 500ms ease, transform 500ms ease;
}

body.is-home-page .mob-home-feed > .mob-card:not(.mob-card--hero).home-section-in,
body.is-home-page .mob-home-feed > .cta-strip.home-section-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  body.is-home-page .hero-v2-visual::before,
  body.is-home-page .hero-v2-visual .hero-slide.active .hero-slide-fg,
  body.is-home-page .hero-v2-brand,
  body.is-home-page .hero-v2-desc--highlight,
  body.is-home-page .hero-v2-features li {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  body.is-home-page .mob-home-feed > .mob-card:not(.mob-card--hero).home-section-await,
  body.is-home-page .mob-home-feed > .cta-strip.home-section-await {
    opacity: 1;
    transform: none;
    transition: none;
  }

  body.is-home-page .hero-v2-feature-icon,
  body.is-home-page .mob-home-feed .btn-all-gold,
  body.is-home-page .mob-home-feed .btn-wa-big {
    transition: none;
  }

  body.is-home-page #topParts .top-selling-card.oem-rec-card,
  body.is-home-page #topParts .top-selling-card.oem-rec-card:hover,
  body.is-home-page #topParts .oem-rec-card__media img,
  body.is-home-page #topParts .oem-rec-card__media .product-brand-fallback,
  body.is-home-page #topParts .top-selling-cart,
  body.is-home-page #topParts .top-selling-cart:hover {
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
  }
}

/* ============================================================
   Top Selling — oem-rec-card integration (#topParts)
   ============================================================ */

body.is-home-page #topParts .top-parts-grid {
  gap: 12px;
}

body.is-home-page #topParts .top-part-slot-empty {
  min-height: var(--oem-rec-card-min-h, 163px);
}
