html, body { overflow-x: hidden; max-width: 100%; }
:root {
    --onyx: #000000;
    --ivory: #FAFAFA;
    --green: #262626;
    --green-deep: #000000;
    --gold: #E31E24;
    --gold-soft: #FF6B6B;
    --taupe: #6B6B6B;
    --hairline: #E5E5E5;
    --card: #FFFFFF;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'IBM Plex Sans', sans-serif;
    color: var(--onyx);
    background: var(--ivory);
    -webkit-font-smoothing: antialiased;
  }
  body.lang-ar { font-family: 'Noto Sans Arabic', 'IBM Plex Sans', sans-serif; }
  .mono { font-family: 'IBM Plex Mono', monospace; }
  .display {
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-transform: uppercase;
  }
  body.lang-ar .display { letter-spacing: 0; text-transform: none; font-family: 'Noto Sans Arabic', sans-serif; }
  a { color: inherit; text-decoration: none; }
  img, video { max-width: 100%; display: block; }
  button, select { font-family: inherit; cursor: pointer; }
  :focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

  /* ---------- NAV ---------- */
  .nav {
    position: sticky; top: 0; z-index: 50;
    background: #000000;
    color: var(--ivory);
    border-bottom: 1px solid rgba(227,30,36,0.25);
  }
  .nav-inner {
    max-width: 100%; margin: 0;
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 24px; gap: 16px; flex-wrap: nowrap;
  }
  .logo {
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 800; font-size: 1.5rem;
    letter-spacing: 0.02em;
    display: flex; align-items: baseline; gap: 8px;
  }
  .logo .logo-sub {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 500; font-size: 0.62rem; letter-spacing: 0.1em;
    color: inherit; opacity: 0.55;
    text-transform: uppercase;
  }
  .nav-links {
    display: flex; gap: 26px; align-items: center;
    font-size: 0.86rem; font-weight: 500;
  }
  .nav-links a { opacity: 0.85; transition: opacity 0.15s; }
  .nav-links a:hover { opacity: 1; color: var(--gold-soft); }
  .nav-right { display: flex; align-items: center; gap: 20px; flex-wrap: nowrap; margin-left: auto; }

  .nav-select {
    appearance: none; -webkit-appearance: none;
    background: rgba(255,255,255,0.04);
    color: var(--ivory);
    border: 1px solid rgba(227,30,36,0.35);
    font-size: 0.76rem; font-family: 'IBM Plex Mono', monospace;
    padding: 6px 26px 6px 10px;
    border-radius: 20px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23F5D76E' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
    background-repeat: no-repeat;
    background-position: right 8px center;
  }
  body.lang-ar .nav-select { background-position: left 8px center; padding: 6px 10px 6px 26px; }
  .nav-select { color-scheme: dark; }
  .nav-select option { background: #14161a; color: var(--ivory); }

  .cart-icon { position: relative; }
  .account-link { display:inline-flex; align-items:center;
    color: var(--ivory); font-size: 0.82rem; font-weight: 600; opacity: 0.9;
    border: 1px solid rgba(227,30,36,0.35); border-radius: 20px; padding: 6px 14px; white-space: nowrap;
  }
  .account-link:hover { opacity: 1; color: var(--gold-soft); border-color: var(--gold); }
  .cart-badge {
    position: absolute; top: -6px; right: -8px;
    background: var(--gold); color: var(--onyx);
    font-size: 0.65rem; font-weight: 700;
    width: 16px; height: 16px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
  }
  @media (max-width: 900px) { .nav-links { display: none; } }
  @media (max-width: 480px) { .nav-inner { flex-wrap: wrap; row-gap: 10px; } .nav-right { flex: 1 1 100%; flex-wrap: wrap; justify-content: flex-end; gap: 10px; } .logo-full { height: 34px !important; max-height: 34px !important; max-width: 150px !important; } .garage-logo img { width: 150px !important; } .garage-trust-row { font-size: 0.78rem !important; gap: 12px !important; } .garage-trust-row svg { width: 15px !important; height: 15px !important; } }

  /* ---------- HERO ---------- */
  .hero {
    position: relative;
    background: radial-gradient(ellipse 90% 70% at 50% 0%, var(--green) 0%, var(--green-deep) 60%, var(--onyx) 100%);
    color: var(--ivory);
    overflow: hidden;
    padding: 90px 24px 70px;
  }
  .blueprint-grid {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(227,30,36,0.10) 1px, transparent 1px),
      linear-gradient(90deg, rgba(227,30,36,0.10) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 40%, transparent 90%);
  }
  .hero-inner {
    position: relative; z-index: 2;
    max-width: 100%; margin: 0;
    text-align: center;
  }
  .eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.78rem; letter-spacing: 0.12em;
    color: var(--gold-soft); text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 8px;
    margin-bottom: 22px;
  }
  .eyebrow::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--gold-soft); display: inline-block;
  }
  .hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    line-height: 0.98;
    margin-bottom: 18px;
  }
  .hero h1 span { color: var(--gold-soft); }
  .hero p.lede {
    color: #C4C4C4;
    max-width: 560px; margin: 0 auto 40px;
    font-size: 1.05rem; line-height: 1.6;
  }

  .scanner {
    max-width: 620px; margin: 0 auto 28px;
    background: rgba(0,0,0,0.28);
    border: 1px solid var(--gold);
    border-radius: 10px;
    padding: 18px 20px;
    text-align: left;
  }
  body.lang-ar .scanner { text-align: right; }
  .scanner-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem; letter-spacing: 0.08em;
    color: var(--gold); text-transform: uppercase;
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px;
  }
  .scanner-label .blink {
    width: 6px; height: 12px; background: var(--gold);
    animation: blink 1s steps(2) infinite;
  }
  @keyframes blink { 50% { opacity: 0; } }
  .scanner-input-row { display: flex; gap: 10px; }
  .scanner-input-row input {
    flex: 1; background: rgba(227,30,36,0.06); border: 1px solid rgba(227,30,36,0.45);
    border-radius: 6px;
    color: var(--ivory);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1rem; padding: 10px 12px;
    box-shadow: 0 0 0 4px rgba(227,30,36,0.06);
  }
  .scanner-input-row input::placeholder { color: #6B6B6B; }
  .scanner-input-row input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(227,30,36,0.14); }
  .scan-btn {
    background: var(--ivory); color: var(--onyx);
    border: none; padding: 10px 20px; border-radius: 6px;
    font-weight: 700; font-size: 0.88rem; white-space: nowrap;
  }
  .scan-btn:hover { background: #fff; }
  .scan-btn:disabled { background: rgba(255,255,255,0.15); color: #6B6B6B; cursor: not-allowed; }

  .vehicle-select-row { flex-wrap: nowrap; }
  .vehicle-select-row select {
    flex: 1; min-width: 90px; background: transparent;
    border: none; border-bottom: 1px solid rgba(255,255,255,0.15);
    color: var(--ivory); font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem; padding: 8px 4px; color-scheme: dark;
  }
  .vehicle-select-row select:disabled { color: #6B6B6B; }
  .vehicle-select-row select:focus { outline: none; border-bottom-color: var(--gold); }
  .vehicle-select-row select option { background: #14161a; color: var(--ivory); }
  .veh-clear-btn {
    background: none; border: none; color: var(--gold-soft);
    font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem;
    text-decoration: underline; margin-top: 10px; padding: 0; cursor: pointer;
  }

  .trust-chips {
    display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem; color: #C4C4C4;
  }
  .trust-chips span { border: 1px solid rgba(227,30,36,0.3); padding: 6px 12px; border-radius: 20px; }

  /* ---------- TRUST BAR ---------- */
  .trust-bar { border-bottom: 1px solid var(--hairline); background: var(--card); }
  .trust-bar-inner {
    max-width: 100%; margin: 0;
    display: grid; grid-template-columns: repeat(4, 1fr);
    padding: 26px 24px;
  }
  .trust-item {
    display: flex; align-items: center; gap: 12px;
    font-size: 0.85rem; color: var(--taupe);
    border-left: 1px solid var(--hairline); padding-left: 18px;
  }
  body.lang-ar .trust-item { border-left: none; border-right: 1px solid var(--hairline); padding-left: 0; padding-right: 18px; }
  .trust-item:first-child { border-left: none; padding-left: 0; }
  body.lang-ar .trust-item:first-child { border-right: none; padding-right: 0; }
  .trust-item svg { flex-shrink: 0; color: var(--gold); }
  .trust-item b { color: var(--onyx); display: block; font-size: 0.9rem; }
  @media (max-width: 860px) {
    .trust-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .trust-item { border: none !important; padding: 0 !important; }
  }

  /* ---------- SECTIONS ---------- */
  section.block { max-width: 100%; margin: 0; padding: 35px 24px; }
  .section-head {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 15px; gap: 20px; flex-wrap: wrap;
  }
  .section-head .eyebrow-line {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem; color: var(--gold);
    letter-spacing: 0.1em; text-transform: uppercase;
    margin-bottom: 4px; display: block;
  }
  .section-head h2 {
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 700; font-size: 2.1rem; text-transform: uppercase;
  }
  body.lang-ar .section-head h2 { font-family: 'Noto Sans Arabic', sans-serif; text-transform: none; }
  .section-head p { color: var(--taupe); font-size: 0.92rem; max-width: 380px; }

  /* ---- filter toggle ---- */
  .filter-toggle {
    display: inline-flex; background: var(--card); border: 1px solid var(--hairline);
    border-radius: 30px; padding: 4px; margin: 0 auto 40px; gap: 4px;
  }
  .filter-toggle-wrap { display: flex; justify-content: center; }
  .filter-toggle button {
    border: none; background: transparent; color: var(--taupe);
    font-size: 0.85rem; font-weight: 600; padding: 9px 22px; border-radius: 24px;
    transition: background 0.15s, color 0.15s;
  }
  .filter-toggle button.active { background: var(--onyx); color: var(--ivory); }

  .filter-panel { display: none; }
  .filter-panel.visible { display: block; }

  /* categories with real/photo tiles */
  .cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .cat-tile {
    background: var(--card); border: 1px solid var(--hairline); border-radius: 10px;
    overflow: hidden; text-align: center; cursor: pointer;
    transition: border-color 0.15s, transform 0.15s;
  }
  .cat-tile:hover { border-color: var(--gold); transform: translateY(-3px); }
  .cat-photo {
    height: 90px; width: 100%; object-fit: cover; display: block;
    background: #EFEFEF;
  }
  .cat-photo-fallback {
    height: 90px; display: flex; align-items: center; justify-content: center;
    background: #EFEFEF; color: var(--green);
  }
  .cat-tile-body { padding: 14px 10px; }
  .cat-tile span.cat-name { font-size: 0.82rem; font-weight: 600; display: block; }
  .cat-tile small { font-family: 'IBM Plex Mono', monospace; color: var(--taupe); font-size: 0.68rem; }
  @media (max-width: 860px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 500px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }

  /* brand tiles */
  .brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .brand-tile {
    background: var(--card); border: 1px solid var(--hairline); border-radius: 10px;
    padding: 26px 16px; text-align: center;
    transition: border-color 0.15s, transform 0.15s;
  }
  .brand-tile.active { cursor: pointer; }
  .brand-tile.active:hover { border-color: var(--gold); transform: translateY(-3px); }
  .brand-tile .brand-name {
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 700; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.02em;
    display: block; margin-bottom: 8px;
  }
  .brand-tile .brand-status { font-family: 'IBM Plex Mono', monospace; font-size: 0.68rem; letter-spacing: 0.04em; }
  .brand-tile.active .brand-status { color: var(--gold); }
  .brand-tile.disabled { background: #F0F0F0; cursor: not-allowed; }
  .brand-tile.disabled .brand-name { color: #B0B0B0; }
  .brand-tile.disabled .brand-status { color: #B0B0B0; display: inline-flex; align-items: center; gap: 5px; }
  .brand-tile.disabled .brand-status::before {
    content: ''; width: 5px; height: 5px; border-radius: 50%; background: #D4D4D4; display: inline-block;
  }
  @media (max-width: 860px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 500px) { .brand-grid { grid-template-columns: repeat(2, 1fr); } }

  .brand-available-wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 28px; }
  @media (max-width: 640px) { .brand-available-wrap { grid-template-columns: 1fr; } }
  .brand-badge-tile {
    background: var(--onyx); border: 1px solid rgba(227,30,36,0.3); border-radius: 12px;
    padding: 22px; display: flex; align-items: center; gap: 18px; text-decoration: none; color: var(--ivory);
    transition: border-color 0.15s, transform 0.15s;
  }
  .brand-badge-tile:hover { border-color: var(--gold); transform: translateY(-3px); }
  .brand-badge {
    width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Big Shoulders Display', sans-serif; font-weight: 800; font-size: 1.05rem; letter-spacing: 0.02em;
  }
  .brand-badge img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
  .mb-badge { background: radial-gradient(circle at 35% 30%, #1A1A1A, var(--green) 70%); color: var(--gold-soft); border: 2px solid var(--gold-soft); box-shadow: inset 0 0 8px rgba(245,215,110,0.25); }
  .bmw-badge { background: radial-gradient(circle at 35% 30%, #2a2a2e, var(--onyx) 70%); color: #fff; border: 2px solid #6FA8DC; box-shadow: inset 0 0 8px rgba(111,168,220,0.3); }
  .honda-badge { background: radial-gradient(circle at 35% 30%, #2a2a2e, var(--onyx) 70%); color: #fff; border: 2px solid var(--gold-soft); box-shadow: inset 0 0 8px rgba(227,30,36,0.3); }
  .nissan-badge { background: radial-gradient(circle at 35% 30%, #2a2a2e, var(--onyx) 70%); color: #fff; border: 2px solid #C4C4C4; box-shadow: inset 0 0 8px rgba(196,196,196,0.3); }
  .suzuki-badge { background: radial-gradient(circle at 35% 30%, #2a2a2e, var(--onyx) 70%); color: #fff; border: 2px solid #4A90D9; box-shadow: inset 0 0 8px rgba(74,144,217,0.3); }
  .renault-badge { background: radial-gradient(circle at 35% 30%, #2a2a2e, var(--onyx) 70%); color: #fff; border: 2px solid #F5D000; box-shadow: inset 0 0 8px rgba(245,208,0,0.3); }
  .dacia-badge { background: radial-gradient(circle at 35% 30%, #2a2a2e, var(--onyx) 70%); color: #fff; border: 2px solid #8FAF3E; box-shadow: inset 0 0 8px rgba(143,175,62,0.3); }
  .infiniti-badge { background: radial-gradient(circle at 35% 30%, #2a2a2e, var(--onyx) 70%); color: #fff; border: 2px solid #7A8A99; box-shadow: inset 0 0 8px rgba(122,138,153,0.3); }
  .brand-badge-tile .brand-name { display: block; font-family: 'Big Shoulders Display', sans-serif; font-weight: 700; font-size: 1.2rem; text-transform: uppercase; margin-bottom: 4px; }
  .brand-badge-tile .brand-status { font-family: 'IBM Plex Mono', monospace; font-size: 0.7rem; color: var(--gold); display: block; }

  .category-tiles-wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 34px; }
  @media (max-width: 760px) { .category-tiles-wrap { grid-template-columns: repeat(2, 1fr); } }
  .category-tile {
    background: var(--card, #fff); border: 1px solid var(--hairline, #E5E5E5); border-radius: 12px;
    padding: 26px 14px; display: flex; flex-direction: column; align-items: center; gap: 14px;
    text-decoration: none; color: var(--onyx); text-align: center;
    transition: border-color 0.15s, transform 0.15s;
  }
  .category-tile:hover { border-color: var(--gold); transform: translateY(-3px); }
  .category-tile-icon {
    width: 150px; height: 150px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 35% 30%, #1A1A1A, var(--green) 70%); color: var(--gold-soft);
    border: 2px solid var(--gold-soft); box-shadow: inset 0 0 8px rgba(245,215,110,0.25); overflow: hidden; flex-shrink: 0;
  }
  .category-tile-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
  .category-tile-icon svg { width: 58px; height: 58px; }
  .category-tile-name { font-family: 'Big Shoulders Display', sans-serif; font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.02em; }

  .coming-soon-block {
    background: #F0F0F0; border: 1px dashed #D4D4D4; border-radius: 12px;
    padding: 30px 24px; text-align: center;
  }
  .lock-icon { width: 48px; height: 48px; border-radius: 50%; background: #DCDCDC; color: #6B6B6B; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
  .coming-soon-label { font-family: 'Big Shoulders Display', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #6b6658; font-size: 1.1rem; margin-bottom: 10px; }
  .coming-soon-names { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; font-size: 0.85rem; color: #928d7d; font-weight: 500; }

  /* products */
  .product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .product-card { background: var(--card); border: 1px solid var(--hairline); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
  .product-thumb {
    aspect-ratio: 1.1; background: #FFFFFF; display: flex; align-items: center; justify-content: center;
    position: relative; border-bottom: 1px solid var(--hairline); overflow: hidden;
  }
  .product-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
  .product-thumb svg { color: var(--green); opacity: 0.85; }
  .stock-tag {
    position: absolute; top: 10px; left: 10px;
    background: var(--gold); color: var(--onyx); font-weight: 700;
    font-family: 'IBM Plex Mono', monospace; font-size: 0.65rem; padding: 3px 8px; border-radius: 4px; letter-spacing: 0.04em;
  }
  body.lang-ar .stock-tag { left: auto; right: 10px; }
  .product-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
  .product-body .part-no { font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; color: var(--taupe); margin-bottom: 6px; }
  .product-body h3 { font-size: 0.98rem; font-weight: 600; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
  .copy-title-btn {
    background: none; border: none; padding: 2px; color: var(--taupe); opacity: 0.6; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center; border-radius: 4px;
  }
  .copy-title-btn:hover { opacity: 1; color: var(--green); background: rgba(0,0,0,0.05); }
  .product-body .fits { font-size: 0.78rem; color: var(--taupe); margin-bottom: 12px; }
  .price-row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; }
  .price { font-weight: 700; font-size: 1.05rem; }
  .price sup { font-size: 0.7rem; font-weight: 500; color: var(--taupe); }
  .add-btn { background: var(--onyx); color: var(--ivory); border: none; padding: 7px 14px; border-radius: 6px; font-size: 0.78rem; font-weight: 600; white-space: nowrap; }
  .add-btn:hover { background: var(--green); }
  @media (max-width: 860px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }

  /* stats */
  .stats-section { background: var(--onyx); color: var(--ivory); }
  .stats-inner { max-width: 100%; margin: 0; padding: 60px 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .stat b {
    font-family: 'Big Shoulders Display', sans-serif;
    font-size: 2.6rem; font-weight: 800; color: var(--gold-soft);
    display: block; line-height: 1;
  }
  .stat span { color: #B3B3B3; font-size: 0.85rem; }
  @media (max-width: 860px) { .stats-inner { grid-template-columns: repeat(2, 1fr); } }

  /* ---------- LIVE TICKER STYLING ---------- */
  .live-ticker-section { max-width: 100%; margin: 40px 0 10px; padding: 0 24px; }
  .ticker-container { background: var(--card); border: 1px solid var(--hairline); border-radius: 12px; padding: 22px 24px; box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
  .ticker-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--hairline); padding-bottom: 14px; margin-bottom: 18px; flex-wrap: wrap; gap: 12px; }
  .ticker-title-wrap { display: flex; align-items: center; gap: 10px; }
  .ticker-title-wrap h3 { font-family: 'Big Shoulders Display', sans-serif; font-size: 1.4rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--onyx); }
  .testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  @media (max-width: 700px) { .testimonial-grid { grid-template-columns: 1fr; } }
  .testimonial-card { background: var(--ivory); border-radius: 8px; border-left: 4px solid var(--green); padding: 18px 18px 16px; }
  body.lang-ar .testimonial-card { border-left: none; border-right: 4px solid var(--green); }
  .testimonial-stars { color: var(--gold); font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 10px; }
  .star-wrap { position: relative; display: inline-block; width: 1em; }
  .star-empty { color: #D9D9D9; }
  .star-fill { position: absolute; top: 0; left: 0; overflow: hidden; color: var(--gold); white-space: nowrap; }
  .testimonial-quote { font-size: 0.88rem; color: var(--onyx); line-height: 1.55; margin-bottom: 12px; user-select: none; }
  .testimonial-name { font-size: 0.8rem; color: var(--taupe); font-weight: 600; }
  .testimonial-byline { display: flex; align-items: center; gap: 8px; }
  .testimonial-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
  .testimonial-avatar.blurred { filter: blur(4px); }
  .testimonial-avatar-initial {
    display: flex; align-items: center; justify-content: center; background: var(--onyx); color: var(--gold-soft);
    font-family: 'Big Shoulders Display', sans-serif; font-weight: 800; font-size: 0.62rem; letter-spacing: -0.02em;
  }
  .testimonial-meta { font-size: 0.72rem; color: var(--taupe); margin-top: 2px; }

  .leave-review-box {
    max-width: 480px; margin: 32px auto 0; background: var(--card); border: 1px solid var(--hairline);
    border-radius: 10px; padding: 20px 22px;
  }
  .leave-review-box h4 { font-family: 'Big Shoulders Display', sans-serif; font-size: 1.1rem; text-transform: uppercase; margin-bottom: 10px; }
  .hp-hint { color: var(--taupe); font-size: 0.85rem; margin-bottom: 10px; }
  #hpReviewForm { display: flex; flex-direction: column; gap: 10px; }
  .hp-star-picker { display: flex; gap: 4px; }
  .hp-star-pick { background: none; border: none; font-size: 1.5rem; line-height: 1; color: var(--hairline); cursor: pointer; padding: 0; }
  .hp-star-pick.filled { color: var(--gold); }
  #hpReviewForm input[type="text"], #hpReviewForm select, #hpReviewForm textarea {
    font-family: inherit; font-size: 0.86rem; padding: 9px 11px; border-radius: 7px; border: 1px solid var(--hairline);
    width: 100%; box-sizing: border-box; max-width: 100%; background: var(--card); color: var(--onyx);
  }
  #hpReviewForm textarea { resize: none; }
  .hp-review-privacy { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 0.8rem; }
  .hp-privacy-label { font-weight: 700; color: var(--taupe); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.02em; }
  .hp-review-privacy label { display: flex; align-items: center; gap: 5px; }

  .hp-star-picker { display: flex; gap: 6px; direction: ltr; }
  .hp-star-slot {
    position: relative; display: inline-block; width: 1.6rem; height: 1.6rem; user-select: none;
    background: linear-gradient(90deg, var(--gold) var(--fill, 0%), #D9D9D9 var(--fill, 0%));
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    transition: transform 0.15s ease; transform-origin: 50% 70%;
  }
  .hp-star-slot.jump-full { transform: scale(1.3) translateY(-4px); }
  .hp-star-slot.jump-half { transform: scale(1.15) translateY(-2px); }
  .hp-star-half { position: absolute; top: 0; bottom: 0; width: 50%; cursor: pointer; z-index: 2; }
  .hp-star-half-left { left: 0; }
  .hp-star-half-right { right: 0; }
  .hp-review-submit {
    background: var(--onyx); color: var(--ivory); border: none; padding: 10px 18px; border-radius: 8px;
    font-weight: 700; font-size: 0.86rem; cursor: pointer; text-align: center;
  }
  .hp-review-submit:hover { background: var(--green); }
  #hpReviewForm .form-error {
    background: #FBEAEA; color: #C0392B; border: 1px solid rgba(192,57,43,0.3); border-radius: 7px; padding: 10px 12px; font-size: 0.84rem;
  }
  #hpReviewForm .form-success {
    background: linear-gradient(90deg, #3a2f14, #2a2210); border: 1px solid var(--gold); color: var(--gold-soft);
    border-radius: 8px; padding: 10px 14px; font-size: 0.86rem; font-weight: 700; text-align: center;
  }
  @keyframes reviewSuccessPop {
    0% { transform: translateY(0) scale(1) rotate(0); }
    15% { transform: translateY(-4px) scale(1.04) rotate(-2deg); }
    30% { transform: translateY(1px) scale(0.98) rotate(2deg); }
    45% { transform: translateY(-3px) scale(1.03) rotate(-1deg); }
    60% { transform: translateY(1px) scale(1) rotate(1deg); }
    80% { transform: translateY(-1px) scale(1.01) rotate(0); }
    100% { transform: translateY(0) scale(1) rotate(0); }
  }
  #hpReviewForm .form-success.pop { animation: reviewSuccessPop 1s ease; }

  .hp-review-btn-row { display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; }
  .hp-review-reset-link { background: none; border: none; color: var(--taupe); font-size: 0.8rem; text-decoration: underline; cursor: pointer; padding: 0; }
  .hp-review-reset-link:hover { color: var(--onyx); }

  #hpMyReviewsWrap { margin-top: 10px; }
  .hp-my-review-row {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 10px;
    border: 1px solid var(--hairline); border-radius: 8px; padding: 10px 12px; margin-top: 8px; font-size: 0.82rem;
  }
  .hp-my-review-row .hp-my-review-text { flex: 1; min-width: 0; color: var(--taupe); user-select: text; white-space: normal; word-break: break-word; }
  .hp-my-review-edit-btn { background: var(--onyx); color: var(--ivory); border: none; padding: 6px 12px; border-radius: 6px; font-size: 0.76rem; font-weight: 700; cursor: pointer; flex-shrink: 0; }
  .hp-my-review-edit-btn:hover { background: var(--green); }
  .hp-my-review-edited-tag { color: var(--taupe); font-size: 0.74rem; font-style: italic; flex-shrink: 0; }

  /* footer */
  footer { background: var(--card); border-top: 1px solid var(--hairline); }
  .footer-inner {
    max-width: 100%; margin: 0; padding: 50px 24px 30px;
    display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px;
  }
  .footer-inner h4 { font-size: 0.82rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--taupe); }
  .footer-inner ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
  .footer-inner a { font-size: 0.86rem; color: var(--onyx); }
  .footer-inner a:hover { color: var(--gold); }
  .footer-social-row { display: flex; align-items: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
  .footer-social-label { font-size: 0.82rem; font-weight: 700; color: var(--onyx); }
  .footer-social-icon { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform 0.15s; }
  .footer-social-icon:hover { transform: translateY(-2px); }
  .footer-bottom {
    max-width: 100%; margin: 0; padding: 20px 24px; border-top: 1px solid var(--hairline);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
    font-size: 0.78rem; color: var(--taupe);
  }
  @media (max-width: 860px) { .footer-inner { grid-template-columns: repeat(2, 1fr); } }

  /* ---------- FLOATING BUTTONS ---------- */
  .float-stack {
    position: fixed; bottom: 24px; right: 24px; z-index: 500;
    display: flex; flex-direction: column; gap: 12px; align-items: center;
  }
  body.lang-ar .float-stack { right: auto; left: 24px; }
  .float-btn {
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transition: transform 0.15s, opacity 0.2s;
    border: none;
  }
  .float-btn:hover { transform: translateY(-3px); }
  .whatsapp-btn { background: #25D366; color: white; }
  .backtotop-btn { background: var(--onyx); color: var(--ivory); opacity: 0; pointer-events: none; }
  .backtotop-btn.show { opacity: 1; pointer-events: auto; }

  /* ---------- GARAGE DOOR PAGE-LOAD TRANSITION ---------- */
  .garage-overlay {
    position: fixed; inset: 0; z-index: 9999;
    pointer-events: none;
    overflow: hidden;
  }
  .garage-door {
    position: absolute; inset: 0;
    background:
      repeating-linear-gradient(
        180deg,
        rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 2px,
        rgba(0,0,0,0.3) 2px, rgba(0,0,0,0.3) 4px,
        transparent 4px, transparent 46px
      ),
      linear-gradient(180deg, #1A1A1A 0%, #000000 100%);
    border-bottom: 10px solid #E31E24;
  }
  .garage-door::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 22px;
    background: linear-gradient(180deg, #262626, #000000);
  }
  .garage-door::after {
    content: '';
    position: absolute; inset: 0;
    box-shadow: inset 26px 0 0 0 #141414, inset -26px 0 0 0 #141414;
    opacity: 0.9;
  }
  .garage-overlay.opening .garage-door {
    animation: garageOpen 0.85s cubic-bezier(.6,0,.3,1) forwards;
  }
  @keyframes garageOpen {
    from { transform: translateY(0); }
    to   { transform: translateY(-100%); }
  }
  .garage-logo {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 14px; z-index: 2;
    opacity: 1; transition: opacity 0.3s ease;
  }
  .garage-logo img { display: block !important; width: 280px !important; max-width: 70vw !important; height: auto !important; filter: drop-shadow(0 4px 14px rgba(0,0,0,0.4)); }
  .garage-trust-row {
    display: flex; gap: 30px; flex-wrap: wrap; justify-content: center;
    color: #E5E5E5; font-family: 'IBM Plex Sans', sans-serif; font-size: 1.25rem; font-weight: 700;
  }
  .garage-trust-row span { display: flex; align-items: center; gap: 9px; }
  .garage-trust-row svg { color: var(--gold); flex-shrink: 0; width: 24px !important; height: 24px !important; }
  .garage-overlay.opening .garage-logo {
    animation: garageOpen 0.85s cubic-bezier(.6,0,.3,1) forwards, fadeOut 0.5s ease 0.35s forwards;
  }
  /* ---------- HERO SLIDESHOW ---------- */
  .slideshow { position: relative; width: 100%; height: 620px; max-height: 82vh; overflow: hidden; color: var(--ivory); }
  .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; pointer-events: none; }
  .slide.active { opacity: 1; pointer-events: auto; }
  .slide img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); transition: transform 8s ease; }
  .slide.active img { transform: scale(1); }
  .slide-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,0.82) 0%, rgba(10,10,10,0.45) 45%, rgba(10,10,10,0.15) 100%); }
  .slide-content { position: absolute; left: 0; bottom: 0; z-index: 2; max-width: 620px; padding: 0 5% 56px; }
  .slide-eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 16px; opacity: 0; transform: translateY(10px); }
  .slide.active .slide-eyebrow { animation: slideRiseIn 0.7s ease 0.15s forwards; }
  .slide-headline { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(1.8rem, 4vw, 3.1rem); line-height: 1.1; opacity: 0; transform: translateY(14px); }
  .slide.active .slide-headline { animation: slideRiseIn 0.8s ease 0.28s forwards; }
  @keyframes slideRiseIn { to { opacity: 1; transform: translateY(0); } }
  .arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; background: rgba(10,10,10,0.4); border: 1px solid rgba(255,255,255,0.25); color: var(--ivory); width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.15s, border-color 0.15s; }
  .arrow:hover { background: rgba(10,10,10,0.7); border-color: var(--gold); }
  .arrow.prev { left: 20px; } .arrow.next { right: 20px; }
  .dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 9px; }
  .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(250,250,250,0.35); cursor: pointer; transition: background 0.2s, transform 0.2s; border: none; padding: 0; }
  .dot.active { background: var(--gold); transform: scale(1.25); }
  .scanner-bar { background: var(--green-deep); border-bottom: 1px solid rgba(227,30,36,0.2); padding: 26px 24px; }
  .scanner-bar-inner { max-width: 100%; margin: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
  @media (max-width: 700px) { .slideshow { height: 76vh; } .arrow { width: 36px; height: 36px; } }
  .nav-dropdown { position: relative; }
  .nav-dropdown > span { cursor: default; opacity: 0.85; display: inline-flex; align-items: center; gap: 4px; }
  .nav-dropdown:hover > span { opacity: 1; color: var(--gold-soft); }
  .nav-dropdown-panel {
    position: absolute; top: 100%; left: 0; margin-top: 14px; background: #16171A; border: 1px solid rgba(227,30,36,0.25);
    border-radius: 8px; padding: 6px 0; min-width: 190px; box-shadow: 0 14px 30px rgba(0,0,0,0.35);
    opacity: 0; pointer-events: none; transform: translateY(6px); transition: opacity 0.15s, transform 0.15s; z-index: 60;
  }
  .nav-dropdown-panel::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; pointer-events: auto; }
  .nav-dropdown:hover .nav-dropdown-panel { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-dropdown-panel a { display: block; padding: 10px 18px; font-size: 0.84rem; color: var(--ivory); opacity: 0.9; }
  .nav-dropdown-panel a:hover { background: rgba(255,255,255,0.06); color: var(--gold-soft); opacity: 1; }

#accountNavDropdownPanel { left: auto; right: 0; }

.nav-inner > * { flex-shrink: 0; }
.nav-links a, .nav-select, .account-link, .nav-dropdown > span { white-space: nowrap; }
.logo-full { height: 68px !important; width: auto !important; max-width: 300px !important; max-height: 68px !important; object-fit: contain !important; display: block !important; }
.ask-price-btn { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; background: #FBEAEA; color: #C0392B; border: 1px solid rgba(192,57,43,0.3); border-radius: 6px; padding: 8px 12px; font-size: 0.8rem; font-weight: 700; text-decoration: none; white-space: nowrap; font-family: inherit; cursor: pointer; } .ask-price-btn:hover { background: #C0392B; color: #fff; } .ask-price-btn svg { color: #25D366; flex-shrink: 0; } .ask-price-btn:hover svg { color: #fff; }
@media (max-width: 700px) {
  .product-body h3 { font-size: 0.88rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
  .product-body .fits { display: none; }
  .product-body .part-no { font-size: 0.68rem; margin-bottom: 4px; }
}
