/* ==========================================================
   SOURCE RAMBO — Theme
   Dark base with gold/amber accents, per design spec.
   ========================================================== */

:root {
  --bg-0: #0a0a0a;
  --bg-1: #141414;
  --bg-2: #1a1a1a;
  --bg-card: #171717;
  --border: #2a2a2a;
  --gold: #FFD700;
  --amber: #FFA500;
  --text: #f2f2f2;
  --text-muted: #9a9a9a;
  --success: #2ecc71;
  --danger: #e74c3c;
  --info: #3498db;
  --radius: 10px;
  --font: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.gold-text { background: linear-gradient(90deg, var(--gold), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 14px;
  border: none; cursor: pointer; transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(90deg, var(--gold), var(--amber)); color: #1a1200; }
.btn-primary:hover { background: linear-gradient(90deg, #ffe566, #ffb52e); box-shadow: 0 8px 22px rgba(255,190,35,.24); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--gold); background: rgba(255,215,0,.1); color: var(--gold); box-shadow: 0 0 0 1px rgba(255,215,0,.12), 0 8px 22px rgba(255,190,35,.12); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-danger { background: var(--danger); color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 8px 32px rgba(0,0,0,.18);
  transition: background .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.site-header.is-scrolled {
  background: rgba(8,8,10,.72);
  border-bottom-color: rgba(255,255,255,.12);
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 12px 40px rgba(0,0,0,.32);
}
.site-header.is-scrolling-up {
  background: rgba(14,14,17,.84);
  border-bottom-color: rgba(255,215,0,.22);
  box-shadow: 0 14px 36px rgba(0,0,0,.34), 0 1px 0 rgba(255,255,255,.07) inset;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 0; gap: 28px; transition: padding .25s ease;
}
.site-header.is-scrolling-up .header-inner { padding-top: 9px; padding-bottom: 9px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: .5px; flex-shrink: 0; }
.logo .badge { width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, var(--gold), var(--amber)); color: #1a1200; display: flex; align-items: center; justify-content: center; font-weight: 900; }
.main-nav { display: flex; gap: 26px; align-items: center; }
.main-nav a { font-size: 14px; color: var(--text-muted); font-weight: 500; transition: color .15s; }
.main-nav a:hover, .main-nav a.active { color: var(--gold); }
.nav-currency-row { display: none; }
.mobile-menu-toggle {
  display: none; width: 38px; height: 36px; padding: 8px;
  border: 1px solid rgba(255,255,255,.14); border-radius: 8px;
  background: rgba(255,255,255,.06); cursor: pointer; flex-shrink: 0;
  backdrop-filter: blur(8px);
}
.mobile-menu-toggle span { display: block; width: 100%; height: 2px; margin: 3px 0; background: var(--text); transition: transform .2s ease, opacity .2s ease; border-radius: 2px; }
.site-header.menu-open .mobile-menu-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header.menu-open .mobile-menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.menu-open .mobile-menu-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-currency-desktop { display: inline-block; }
.search-bar { flex: 1; max-width: 420px; display: flex; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; overflow: hidden; backdrop-filter: blur(8px); }
.search-bar input { flex: 1; background: transparent; border: none; padding: 10px 14px; color: var(--text); font-size: 14px; outline: none; }
.search-bar button { background: var(--gold); border: none; padding: 0 16px; cursor: pointer; color: #1a1200; }
.icon-btn { position: relative; color: var(--text-muted); font-size: 18px; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05); transition: color .15s, border-color .15s, background .15s; cursor: pointer; }
.icon-btn:hover { color: var(--gold); border-color: rgba(255,215,0,.4); background: rgba(255,215,0,.07); }
.search-icon-btn { display: inline-flex; }
.site-header.is-scrolling-up .logo .badge { box-shadow: 0 0 0 4px rgba(255,215,0,.08), 0 0 18px rgba(255,190,35,.2); }
.icon-btn .count { position: absolute; top: -6px; right: -7px; background: var(--gold); color: #1a1200; font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 10px; }
.header-login-btn { white-space: nowrap; }

/* Search dropdown */
.header-search-dropdown {
  display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 130;
  padding: 12px 0; background: rgba(10,10,12,.92);
  border-bottom: 1px solid rgba(255,255,255,.1);
  border-radius: 0 0 14px 14px;
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 18px 40px rgba(0,0,0,.4);
  animation: searchDropIn .18s ease;
}
.header-search-dropdown.open { display: block; }
@keyframes searchDropIn { from { opacity:0; transform: translateY(-8px); } to { opacity:1; transform: translateY(0); } }
.header-search-form { display: flex; gap: 10px; align-items: center; padding: 4px 0; }
.header-search-form input { flex: 1; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 11px 16px; color: var(--text); font-size: 15px; outline: none; }
.header-search-form input:focus { border-color: var(--gold); }
.header-search-form button { background: linear-gradient(90deg, var(--gold), var(--amber)); border: none; border-radius: 8px; padding: 11px 22px; color: #1a1200; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 618px; display: flex; align-items: center; overflow: hidden; background: #101010; }
.hero-image { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(7,8,10,.96) 0%, rgba(7,8,10,.82) 34%, rgba(7,8,10,.25) 72%, rgba(7,8,10,.42) 100%), linear-gradient(0deg, rgba(7,8,10,.86) 0%, transparent 42%), var(--hero-background, url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=2200&q=85')); background-size: cover; background-position: center; filter: saturate(.72); }
.hero-inner { position: relative; z-index: 1; width: 100%; padding-top: 104px; padding-bottom: 138px; }
.hero-copy { max-width: 650px; }
.hero-badge { display: inline-block; color: var(--amber); font-size: 12px; font-weight: 800; letter-spacing: 3px; margin-bottom: 20px; }
.hero-badge span { color: var(--gold); margin: 0 4px; }
.hero h1 { font-size: clamp(44px, 5vw, 74px); line-height: .98; letter-spacing: -1px; text-transform: uppercase; margin: 0 0 24px; max-width: 700px; font-weight: 900; }
.hero p { color: #c4c7ca; max-width: 570px; margin: 0 0 30px; font-size: 16px; }
.hero-actions { display: flex; gap: 14px; }
.hero .btn-primary { padding: 14px 30px; text-transform: uppercase; font-size: 13px; }
.hero .btn-outline { padding: 14px 30px; border-color: rgba(255,255,255,.38); text-transform: uppercase; font-size: 13px; }
.hero-stats { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; background: rgba(8,8,9,.84); border-top: 1px solid rgba(255,255,255,.12); }
.hero-stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 17px; padding-bottom: 17px; }
.hero-stats .stat { display: flex; align-items: center; gap: 12px; }
.stat-icon { color: var(--gold); font-size: 27px; line-height: 1; }
.hero-stats .stat b { display: block; font-size: 23px; line-height: 1.1; color: #f4f4f4; }
.hero-stats .stat div > span { display: block; font-size: 12px; color: var(--text-muted); margin-top: 3px; }
.car-import-hero { position: relative; min-height: 650px; display: flex; align-items: center; overflow: hidden; background: #101010; }
.car-import-hero-image { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(7,8,10,.96) 0%, rgba(7,8,10,.76) 40%, rgba(7,8,10,.2) 100%), linear-gradient(0deg, rgba(7,8,10,.92), transparent 55%), url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=2000&q=80'); background-size: cover; background-position: center; filter: saturate(.75); }
.car-import-hero-inner { position: relative; z-index: 1; width: 100%; padding: 118px 24px 130px; }
.car-import-copy { max-width: 650px; }
.car-import-copy h1 { font-size: clamp(42px, 5vw, 70px); line-height: 1; text-transform: uppercase; margin: 0 0 22px; }
.car-import-copy p { max-width: 520px; color: #c4c7ca; font-size: 16px; margin: 0 0 28px; }
.car-import-points { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; background: rgba(8,8,9,.86); border-top: 1px solid rgba(255,255,255,.12); }
.car-import-points-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding-top: 18px; padding-bottom: 18px; }
.car-import-points-inner > div { display: flex; align-items: center; gap: 16px; min-height: 72px; padding: 12px 22px; border: 1px solid rgba(255,255,255,.12); border-radius: 15px; background: rgba(12,12,14,.42); }
.car-import-points strong, .car-import-points span { display: block; }
.car-point-icon { color: var(--amber); font-size: 28px; line-height: 1; }
.car-import-points strong { color: #f4f4f4; font-size: 18px; }
.car-import-points span { color: var(--text-muted); font-size: 13px; margin-top: 3px; }

/* ---------- Sections ---------- */
.section { padding: 60px 0; content-visibility: auto; contain-intrinsic-size: 520px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 28px; }
.section-head h2 { font-size: 28px; margin: 0; }
.section-head a { color: var(--gold); font-size: 14px; font-weight: 600; }

/* ---------- Marketplace categories ---------- */
.marketplace-section { background: var(--bg-0); padding-top: 0; }
.marketplace-search { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) 268px 157px; gap: 16px; align-items: center; margin: 28px auto 104px; max-width: 1340px; padding: 16px; background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.9); border-radius: 15px; box-shadow: 0 20px 50px rgba(0,0,0,.34); }
.marketplace-search-field, .marketplace-search select { min-height: 66px; background: #f0f1f4; border: 0; border-radius: 9px; color: #4b5565; }
.marketplace-search-field { display: flex; align-items: center; gap: 12px; padding: 0 18px; }
.marketplace-search-field span { color: #94a0b2; font-size: 31px; line-height: 1; transform: rotate(-20deg); }
.marketplace-search input, .marketplace-search select { color: #4b5565; font-size: 17px; }
.marketplace-search input { padding: 0; background: #f0f1f4; color: #4b5565; }
.marketplace-search input::placeholder { color: #8f99a9; opacity: 1; }
.marketplace-search select { padding: 0 20px; }
.marketplace-search .btn { min-height: 66px; border-radius: 9px; font-size: 17px; }
.marketplace-heading { margin-bottom: 38px; }
.section-kicker { display: block; color: var(--amber); font-size: 13px; font-weight: 800; letter-spacing: 4px; margin-bottom: 16px; }
.marketplace-heading h2 { font-size: clamp(38px, 4vw, 58px); line-height: 1; letter-spacing: -1px; margin: 0; }
.marketplace-heading a { color: var(--amber); font-size: 17px; }
.cat-grid { display: grid; grid-template-columns: 1.55fr repeat(4, 1fr); grid-template-rows: repeat(2, 190px); gap: 22px; }
.cat-card { position: relative; display: flex; align-items: flex-end; min-height: 190px; padding: 26px 28px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 20px; background: #1a1a1a var(--category-image) center/cover no-repeat; transition: transform .2s ease, border-color .2s ease, filter .2s ease; }
.cat-card-featured { grid-row: span 2; }
.cat-card-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.8), rgba(0,0,0,.02) 72%); }
.cat-card .name { position: relative; z-index: 1; color: #fff; font-size: 22px; font-weight: 800; text-shadow: 0 2px 12px #000; }
.cat-card:hover { border-color: var(--gold); transform: translateY(-3px); filter: saturate(1.12); }
.car-categories-section .section-head { margin-bottom: 24px; }
.car-categories-section .cat-grid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); grid-template-rows: none; }
.car-categories-section .cat-card { min-height: 150px; padding: 22px 16px; align-items: center; justify-content: center; background-color: var(--bg-card); background-image: var(--category-image); background-position: center; background-size: cover; background-repeat: no-repeat; }
.car-categories-section .cat-card .name { font-size: 16px; text-shadow: none; }
.car-categories-section .cat-card .ic { display: block; font-size: 30px; margin-bottom: 8px; }

/* ---------- Product grid / cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.product-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; position: relative; transition: border-color .15s, transform .15s; }
.product-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.product-card .img-wrap { position: relative; aspect-ratio: 1/1; background: #111; overflow: hidden; }
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product-card .tag { position: absolute; top: 10px; left: 10px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.product-card .sample-tag { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,0.7); border: 1px solid var(--gold); color: var(--gold); font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 4px; letter-spacing: .5px; }
.product-card .body { padding: 14px; }
.product-card .name { font-size: 14px; font-weight: 600; margin-bottom: 6px; min-height: 36px; }
.product-card .stars { color: var(--gold); font-size: 12px; margin-bottom: 6px; }
.product-card .price { font-weight: 800; color: var(--gold); font-size: 16px; }
.product-card .price .old { color: var(--text-muted); text-decoration: line-through; font-weight: 400; font-size: 13px; margin-left: 6px; }
.product-card .add-btn { margin-top: 10px; width: 100%; }

/* ---------- Steps / How it works ---------- */
.steps-heading { text-align: center; margin-bottom: 64px; }
.steps-heading .section-kicker { margin-bottom: 18px; }
.steps-heading h2 { font-size: clamp(38px, 4.3vw, 60px); line-height: 1; letter-spacing: -1px; margin: 0; }
.steps-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; text-align: center; }
.step { min-width: 140px; }
.step .circle { width: 90px; height: 90px; border-radius: 50%; background: var(--bg-0); border: 2px solid var(--amber); box-shadow: 0 0 25px rgba(255,165,0,.28); display: flex; align-items: center; justify-content: center; margin: 0 auto 28px; font-size: 28px; font-weight: 800; color: var(--amber); }
.step .title { font-weight: 800; font-size: 19px; margin-bottom: 12px; }
.step .desc { color: #aeb1ba; font-size: 16px; line-height: 1.55; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 92px; }
.benefit { display: flex; align-items: center; gap: 18px; min-height: 98px; padding: 18px 28px; border: 1px solid var(--border); border-radius: 16px; }
.benefit-icon { color: var(--amber); font-size: 30px; width: 28px; text-align: center; }
.benefit strong, .benefit span { display: block; }
.benefit strong { font-size: 17px; }
.benefit div span { color: var(--text-muted); font-size: 14px; margin-top: 2px; }
.sortable-gallery { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.sortable-gallery-item { width: 140px; cursor: grab; padding: 6px; border: 1px solid transparent; border-radius: 10px; }
.sortable-gallery-item:active, .sortable-gallery-item.is-dragging { cursor: grabbing; opacity: .55; border-color: var(--gold); }
.sortable-gallery-item .drag-handle { display: block; color: var(--text-muted); font-size: 11px; text-align: center; margin-top: 4px; }
.bulk-upload-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.bulk-preview-item { width: 88px; padding: 5px; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 7px; cursor: grab; }
.bulk-preview-item img { width: 76px; height: 58px; object-fit: cover; border-radius: 5px; background: #111; }
.bulk-preview-item span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-muted); font-size: 10px; margin-top: 3px; }
.bulk-preview-item.is-dragging { opacity: .5; border-color: var(--gold); }

/* ---------- Cards / panels ---------- */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card + .card { margin-top: 18px; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text-muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input, select, textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--border); border-radius: 8px;
  padding: 11px 14px; color: var(--text); font-size: 14px; font-family: var(--font); outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
textarea { resize: vertical; min-height: 90px; }
.dropzone { border: 2px dashed var(--border); border-radius: var(--radius); padding: 30px; text-align: center; color: var(--text-muted); cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.dropzone:hover, .dropzone.is-dragover { border-color: var(--gold); color: var(--gold); background: rgba(255,215,0,.04); }
.bulk-image-dropzone { min-height: 150px; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.bulk-dropzone-icon { font-size:32px; line-height:1; margin-bottom:8px; }
.bulk-upload-status { display:inline-block; margin-top:9px; padding:4px 9px; border-radius:999px; background:var(--bg-2); border:1px solid var(--border); font-size:11px; color:var(--text-muted); }
.bulk-upload-preview { display:flex; flex-wrap:wrap; justify-content:center; gap:9px; width:100%; margin-top:14px; }
.bulk-preview-item { position:relative; width:92px; padding:5px; background:rgba(255,255,255,.04); border:1px solid var(--border); border-radius:8px; cursor:grab; }
.bulk-preview-item img { width:80px; height:62px; object-fit:cover; border-radius:5px; background:#111; display:block; }
.bulk-preview-item span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--text-muted); font-size:10px; margin-top:4px; }
.bulk-preview-item .bulk-cover-badge { position:absolute; top:7px; left:7px; background:var(--gold); color:#111; font-size:9px; font-weight:800; border-radius:4px; padding:2px 4px; }
.bulk-preview-item.is-dragging { opacity:.5; border-color:var(--gold); }
.bulk-upload-warning { margin-top:8px; font-size:12px; color:var(--danger); }

/* ---------- Alerts ---------- */
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 18px; font-size: 14px; }
.alert-success { background: rgba(46,204,113,0.12); border: 1px solid var(--success); color: var(--success); }
.alert-error { background: rgba(231,76,60,0.12); border: 1px solid var(--danger); color: var(--danger); }

/* ---------- Multi-step form ---------- */
.progress-track { display: flex; align-items: center; margin-bottom: 32px; }
.progress-step { flex: 1; text-align: center; position: relative; }
.progress-step .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; font-weight: 700; font-size: 13px; }
.progress-step.active .dot, .progress-step.done .dot { border-color: var(--gold); color: var(--gold); }
.progress-step.done .dot { background: var(--gold); color: #1a1200; }
.progress-step .label { font-size: 12px; color: var(--text-muted); }
.progress-step.active .label { color: var(--gold); }
.progress-line { position: absolute; top: 17px; left: -50%; width: 100%; height: 2px; background: var(--border); z-index: -1; }
.progress-step:first-child .progress-line { display: none; }
.form-step { display: none; }
.form-step.active { display: block; }

/* ---------- Badges / status pills ---------- */
.pill { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.pill-pending { background: rgba(255,165,0,0.15); color: var(--amber); }
.pill-quoted { background: rgba(52,152,219,0.15); color: var(--info); }
.pill-converted, .pill-delivered, .pill-paid { background: rgba(46,204,113,0.15); color: var(--success); }
.pill-rejected, .pill-cancelled { background: rgba(231,76,60,0.15); color: var(--danger); }
.pill-negotiating, .pill-processing, .pill-shipped { background: rgba(255,215,0,0.15); color: var(--gold); }

/* ---------- Tables ---------- */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 13px; }
th { color: var(--text-muted); font-weight: 600; text-transform: uppercase; font-size: 11px; letter-spacing: .5px; }

/* ---------- Dashboard stat cards ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.stat-card .label { color: var(--text-muted); font-size: 12px; }
.stat-card .value { font-size: 26px; font-weight: 800; color: var(--gold); margin-top: 4px; }

/* ---------- Admin layout ---------- */
.admin-wrap { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; background: var(--bg-1); border-right: 1px solid var(--border); padding: 20px 0; flex-shrink: 0; height: 100vh; max-height: 100vh; overflow-y: auto; overflow-x: hidden; position: sticky; top: 0; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.admin-sidebar::-webkit-scrollbar { width: 6px; }
.admin-sidebar::-webkit-scrollbar-track { background: transparent; }
.admin-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
.admin-sidebar::-webkit-scrollbar-thumb:hover { background: var(--gold); }
.admin-sidebar .logo { padding: 0 20px 20px; }
.admin-sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 12px 16px 20px;}
.admin-sidebar-head .logo{padding:0;min-width:0;display:flex;align-items:center;gap:8px;}
.sidebar-toggle-sidebar{flex:0 0 38px;width:38px;height:36px;padding:0;border:1px solid var(--border);background:var(--bg-2);color:var(--text-muted);border-radius:10px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;}
.sidebar-toggle-sidebar:hover{border-color:var(--gold);color:var(--gold);}
.sidebar-toggle-sidebar .sidebar-toggle-icon{display:inline-flex;align-items:center;justify-content:center;}
.sidebar-toggle-sidebar svg{width:18px;height:18px;}
.sidebar-mobile-trigger{display:none;}
.admin-sidebar{transition:width .22s ease, transform .24s ease, background .2s ease;}
.admin-sidebar-collapsed .admin-sidebar{width:76px!important;flex-basis:76px!important;}
.admin-sidebar-collapsed .admin-sidebar-head{padding-left:12px;padding-right:12px;justify-content:center;}
.admin-sidebar-collapsed .admin-sidebar-head .logo{display:none;}
.admin-sidebar-collapsed .admin-sidebar nav a{justify-content:center;font-size:0;padding-left:0;padding-right:0;}
.admin-sidebar-collapsed .admin-sidebar nav a::first-letter{font-size:17px;}
.admin-sidebar-collapsed .admin-sidebar-search,.admin-sidebar-collapsed .admin-sidebar nav a span,.admin-sidebar-collapsed .admin-sidebar nav a small{display:none!important;}
.admin-sidebar-collapsed .admin-main{padding-left:28px;}

.admin-sidebar nav a { display: flex; align-items: center; gap: 10px; padding: 11px 20px; color: var(--text-muted); font-size: 14px; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { background: var(--bg-2); color: var(--gold); border-right: 3px solid var(--gold); }
.admin-main { flex: 1; padding: 28px 32px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.admin-topbar h1 { font-size: 22px; margin: 0; }

/* ---------- Admin orders: prevent table/form from escaping the viewport ---------- */
.orders-card{min-width:0;overflow:hidden;}
.orders-table{width:100%;table-layout:fixed;}
.orders-table th:nth-child(1){width:15%;}.orders-table th:nth-child(2){width:15%;}.orders-table th:nth-child(3){width:8%;}.orders-table th:nth-child(4){width:20%;}.orders-table th:nth-child(5){width:20%;}.orders-table th:nth-child(6){width:22%;}
.orders-table td{vertical-align:top;overflow-wrap:anywhere;}
.orders-edit-form{display:flex;flex-wrap:wrap;gap:8px;width:100%;min-width:0;}
.orders-edit-form select,.orders-edit-form input,.orders-edit-form button{box-sizing:border-box;min-width:0;}
.orders-edit-form select{flex:1 1 125px;width:auto;}
.orders-edit-form input{flex:1 1 145px;width:auto;}
.orders-edit-form button{flex:0 0 auto;}
@media(max-width:1100px){.orders-table{min-width:900px;}.orders-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;}}
@media(max-width:768px){.admin-sidebar-head{padding-right:12px;}.sidebar-toggle-sidebar{display:inline-flex;}.sidebar-mobile-trigger{display:inline-flex!important;margin-right:8px;}.admin-sidebar-collapsed .admin-sidebar{width:240px!important;flex-basis:240px!important;}.admin-sidebar-collapsed .admin-sidebar-head .logo{display:flex;}.admin-sidebar-collapsed .admin-sidebar nav a{justify-content:flex-start;font-size:14px;padding-left:12px;padding-right:12px;}.admin-sidebar-collapsed .admin-sidebar-search{display:block;}.admin-sidebar-collapsed .admin-main{padding-left:16px;}}
/* ---------- Car cards (View + Inquire) ---------- */
.car-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color .15s, transform .15s; }
.car-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.car-card .img-wrap { position: relative; aspect-ratio: 4/3; background: #111; overflow: hidden; }
.car-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.car-card .body { padding: 18px; }
.car-card .category-tag { color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.car-card .title { font-size: 20px; font-weight: 800; margin: 6px 0 2px; }
.car-card .year { color: var(--text-muted); font-size: 14px; margin-bottom: 14px; }
.car-card .price { font-size: 26px; font-weight: 800; margin-bottom: 16px; }
.car-card .actions { display: flex; gap: 10px; }
.pill-btn { flex: 1; text-align: center; padding: 11px 0; border-radius: 30px; font-weight: 700; font-size: 14px; cursor: pointer; border: none; }
.pill-btn-view { background: linear-gradient(90deg, var(--gold), var(--amber)); color: #1a1200; }
.pill-btn-inquire { background: transparent; border: 1px solid var(--border); color: var(--text); }
.pill-btn-inquire:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Dashboard responsive safety ---------- */
.admin-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;}
.admin-dashboard-analytics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;}
@media(max-width:900px){.admin-main{padding:20px 16px}.admin-dashboard-grid{grid-template-columns:1fr}.admin-dashboard-analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-topbar{gap:12px;align-items:flex-start}.admin-topbar h1{font-size:19px}}
@media(max-width:520px){.admin-dashboard-analytics-grid{grid-template-columns:1fr 1fr}.admin-topbar{flex-wrap:wrap}.admin-topbar>div:last-child{width:100%;justify-content:flex-end}}

/* ---------- Footer ---------- */
footer { background: var(--bg-1); border-top: 1px solid var(--border); padding: 50px 0 20px; margin-top: 60px; color: var(--text-muted); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.footer-grid h4 { color: var(--text); margin-bottom: 14px; font-size: 14px; }
.footer-grid li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; text-align: center; font-size: 12px; }
.sample-notice { background: rgba(255,215,0,0.08); border: 1px solid var(--gold); color: var(--gold); text-align: center; padding: 8px; font-size: 12px; }

/* ---------- Social share buttons ---------- */
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--border); color: var(--text-muted); font-size: 15px; transition: background .15s, color .15s, border-color .15s, transform .15s; text-decoration: none; }
.social-btn:hover { transform: translateY(-2px); color: var(--gold); border-color: var(--gold); }
.footer-social { margin-top: 18px; }

/* Share modal / popover */
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--border); color: var(--text-muted); font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color .15s, color .15s; }
.share-btn:hover { border-color: var(--gold); color: var(--gold); }
.share-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 900; align-items: flex-end; justify-content: center; }
.share-modal-overlay.open { display: flex; }
@media (min-width: 600px) { .share-modal-overlay { align-items: center; } }
.share-modal { background: var(--bg-1); border: 1px solid var(--border); border-radius: 16px 16px 0 0; padding: 24px 20px 32px; width: 100%; max-width: 420px; animation: slideUp .22s ease; }
@media (min-width: 600px) { .share-modal { border-radius: 16px; } }
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.share-modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.share-modal-head h3 { margin: 0; font-size: 17px; }
.share-modal-close { background: none; border: none; color: var(--text-muted); font-size: 22px; cursor: pointer; padding: 4px; line-height: 1; }
.share-platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.share-platform-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--border); cursor: pointer; font-size: 11px; font-weight: 600; color: var(--text-muted); transition: border-color .15s, color .15s, background .15s; text-decoration: none; }
.share-platform-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(255,215,0,.07); }
.share-platform-btn .sp-icon { font-size: 22px; line-height: 1; }
.share-copy-row { display: flex; gap: 10px; }
.share-copy-row input { flex: 1; font-size: 13px; padding: 10px 12px; }
.share-copy-btn { white-space: nowrap; padding: 10px 16px; font-size: 13px; }

/* ---------- Reviews ---------- */
.stars-display { display: inline-flex; gap: 2px; color: var(--gold); font-size: 15px; }
.stars-display.sm { font-size: 12px; }
.stars-empty { color: var(--border); }
.reviews-summary { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.reviews-avg { font-size: 42px; font-weight: 900; color: var(--gold); line-height: 1; }
.reviews-meta { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.review-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 14px; }
.review-card .rc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.reviewer-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--amber)); color: #1a1200; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; flex-shrink: 0; }
.rc-meta .rc-name { font-weight: 700; font-size: 14px; }
.rc-meta .rc-date { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.review-body { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.review-form-stars { display: flex; gap: 6px; margin-bottom: 16px; }
.star-radio { display: none; }
.star-label { font-size: 28px; color: var(--border); cursor: pointer; transition: color .1s; line-height: 1; }
.star-label:hover, .star-label:hover ~ .star-label { color: var(--border); }
.review-form-stars:hover .star-label { color: var(--gold); }
.review-form-stars .star-label:hover ~ .star-label { color: var(--border); }
.star-radio:checked ~ .star-label { color: var(--border); }
.review-form-stars input:checked ~ label { color: var(--border); }

/* ---------- Currency selector ---------- */
.currency-select { background: var(--bg-2); border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; color: var(--text); font-size: 13px; font-weight: 600; cursor: pointer; outline: none; min-width: 72px; }
.currency-select:focus { border-color: var(--gold); }

/* ---------- Dark / Light mode toggle ---------- */
.theme-toggle { background: none; border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; color: var(--text); font-size: 16px; cursor: pointer; transition: border-color .15s, color .15s; line-height: 1; display: flex; align-items: center; }
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); }
body.light-mode { --bg-0: #f5f5f5; --bg-1: #ebebeb; --bg-2: #e0e0e0; --bg-card: #ffffff; --border: #d0d0d0; --text: #111111; --text-muted: #555555; }
body.light-mode .site-header { background: rgba(245,245,245,.88); }
body.light-mode .main-nav { background: rgba(235,235,235,.98); }
body.light-mode .marketplace-search { background: rgba(255,255,255,.98); }
body.light-mode footer { background: var(--bg-1); }
body.light-mode input, body.light-mode select, body.light-mode textarea { background: #fff; color: #111; border-color: #ccc; }
body.light-mode .search-bar { background: #e8e8e8; }
body.light-mode .admin-sidebar { background: #ebebeb; }

/* ---------- Search icon (mobile) ---------- */
.search-icon-btn { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; color: var(--text); font-size: 17px; cursor: pointer; transition: border-color .15s; }
.search-icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.mobile-search-bar { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 130; padding: 10px 16px; background: rgba(18,18,20,.97); border-bottom: 1px solid rgba(255,255,255,.1); border-radius: 0 0 12px 12px; }
.mobile-search-bar.open { display: block; }
.mobile-search-bar form { display: flex; gap: 8px; }
.mobile-search-bar input { flex: 1; }

/* ---------- Scroll animations ---------- */
@media (prefers-reduced-motion: no-preference) {
  .sr-fade-up { opacity: 0; transform: translateY(28px); transition: opacity .5s ease, transform .5s ease; }
  .sr-fade-in { opacity: 0; transition: opacity .55s ease; }
  .sr-slide-left { opacity: 0; transform: translateX(-28px); transition: opacity .5s ease, transform .5s ease; }
  .sr-visible { opacity: 1 !important; transform: none !important; }
  .sr-delay-1 { transition-delay: .08s; }
  .sr-delay-2 { transition-delay: .16s; }
  .sr-delay-3 { transition-delay: .24s; }
  .sr-delay-4 { transition-delay: .32s; }
}

/* ---------- Import Cars CTA (last section) ---------- */
.car-quote-cta { border: 1px solid var(--border); border-radius: 20px; background: var(--bg-card); text-align: center; padding: 56px 32px; }
.car-quote-cta .cta-icon { font-size: 40px; margin-bottom: 16px; color: var(--gold); display: block; }
.car-quote-cta h2 { font-size: clamp(26px, 4vw, 38px); margin: 0 0 12px; }
.car-quote-cta p { color: var(--text-muted); max-width: 480px; margin: 0 auto 28px; }

/* ---------- Homepage reviews section ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-stars { color: var(--gold); font-size: 16px; letter-spacing: 1px; margin-bottom: 12px; }
.review-author { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.review-name { font-weight: 700; font-size: 14px; color: var(--text); }
.review-date { font-size: 12px; color: var(--text-muted); }

/* ---------- Open Graph / product meta (visual only placeholder) ---------- */

/* ==========================================================
   RESPONSIVE — covers 1280 → 1024 → tablet (912/834/820/768)
                         → mobile (430/414/390/375)
   ========================================================== */

/* ---- 1280px desktop ---- */
@media (max-width: 1280px) {
  .container { padding: 0 28px; }
  .hero h1 { font-size: clamp(40px, 4.8vw, 70px); }
  .steps-row { gap: 18px; }
}

/* ---- 1024px ---- */
@media (max-width: 1024px) {
  .search-bar { max-width: 280px; }
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 13px; }
  .hero h1 { font-size: clamp(38px, 4.2vw, 60px); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 180px); }
  .cat-card-featured { grid-row: span 2; }
  .steps-row { grid-template-columns: repeat(3, 1fr); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Tablet: 912px / 834px / 820px / 768px ---- */
@media (max-width: 930px) {
  .header-inner { position: relative; flex-wrap: wrap; gap: 10px; padding: 12px 0; justify-content: space-between; }
  .logo { font-size: 17px; flex-shrink: 0; }
  /* Hide full search bar — show icon instead */
  .search-bar { display: none; }
  .search-icon-btn { display: flex; }
  .mobile-menu-toggle { display: flex; order: 4; margin-left: 0; }
  .header-actions { order: 3; gap: 8px; align-items: center; }
  .header-actions .btn-outline { padding: 7px 12px; font-size: 13px; }
  .header-currency-desktop { display: none !important; }
  .main-nav {
    display: none; position: absolute; top: calc(100% + 8px);
    left: 0; right: 0; z-index: 120; flex-direction: column; gap: 0;
    padding: 8px; background: rgba(14,14,16,.97);
    border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
    box-shadow: 0 18px 36px rgba(0,0,0,.45); backdrop-filter: blur(14px);
    text-align: center;
  }
  .site-header.menu-open .main-nav { display: flex; }
  .main-nav a { padding: 13px 16px; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.07); border-radius: 0; }
  .main-nav a:last-child { border-bottom: 0; }
  .nav-currency-row {
    display: flex; align-items: center; justify-content: center;
    padding: 12px 16px; border-top: 1px solid rgba(255,255,255,.07);
  }
  .nav-currency-row .currency-select { width: 100%; max-width: 200px; font-size: 14px; }

  /* Hero */
  .hero { min-height: 640px; }
  .hero-inner { padding-top: 94px; padding-bottom: 190px; }
  .hero h1 { font-size: clamp(34px, 5.2vw, 50px); }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* Car import hero */
  .car-import-hero { min-height: 680px; }
  .car-import-hero-inner { padding-top: 104px; padding-bottom: 180px; }
  .car-import-copy h1 { font-size: clamp(32px, 5vw, 48px); }
  .car-import-points-inner { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .car-import-points-inner > div { padding: 12px 14px; min-height: 64px; }

  /* Marketplace search */
  .marketplace-search { grid-template-columns: 1fr 1fr; margin-top: 22px; margin-bottom: 64px; }
  .marketplace-search-field { grid-column: 1 / -1; }
  .marketplace-search .btn { grid-column: 1 / -1; }

  /* Category grid — 2 col tablet */
  .cat-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; gap: 14px; }
  .cat-card { min-height: 160px; padding: 18px; border-radius: 14px; }
  .cat-card-featured { grid-row: span 2; min-height: 334px; }

  /* Product/car grid — 2 col tablet */
  .product-grid { grid-template-columns: repeat(2, 1fr); }

  /* Steps */
  .steps-row { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }

  /* Reviews */
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  /* Admin */
  .admin-sidebar { position: fixed; left: -240px; top: 0; height: 100dvh; max-height: 100dvh; z-index: 200; transition: left .22s ease; overflow-y: auto; overflow-x: hidden; }
  .admin-sidebar.open { left: 0; }

  /* Tables — allow horizontal scroll in container */
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }

  /* Car detail */
  .car-detail-layout { grid-template-columns: 1fr !important; gap: 24px !important; }
  .car-detail-info h1 { font-size: 28px; }
  .car-detail-actions { flex-direction: column; max-width: none !important; }
  .similar-cars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Landscape tablet (768px wide, short height) ---- */
@media (max-width: 930px) and (orientation: landscape) {
  .hero { min-height: 520px; }
  .hero-inner { padding-top: 94px; padding-bottom: 150px; }
  .car-import-hero { min-height: 520px; }
  .car-import-hero-inner { padding-top: 104px; padding-bottom: 150px; }
}

/* ---- Mobile: 430 / 414 / 390 / 375 ---- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .header-inner { padding: 10px 0; gap: 8px; }
  .logo { font-size: 15px; }
  .logo .badge { width: 30px; height: 30px; font-size: 14px; }
  .currency-select { font-size: 11px; min-width: 58px; padding: 5px 7px; }
  .theme-toggle { padding: 5px 8px; font-size: 14px; }

  /* Hero */
  .hero { min-height: 700px; }
  .hero-inner { padding-top: 108px; padding-bottom: 220px; }
  .hero h1 { font-size: clamp(30px, 9vw, 42px); line-height: 1.0; }
  .hero p { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero .btn-primary, .hero .btn-outline { padding: 14px 20px; font-size: 13px; text-align: center; }
  .hero-stats-inner { grid-template-columns: 1fr 1fr; padding: 12px 14px; gap: 10px; }
  .hero-stats .stat b { font-size: 17px; }
  .hero-stats .stat div > span { font-size: 11px; }
  .stat-icon { font-size: 20px; }

  /* Car import hero */
  .car-import-hero { min-height: 720px; }
  .car-import-hero-inner { padding: 110px 16px 200px; }
  .car-import-copy h1 { font-size: clamp(28px, 8.5vw, 38px); line-height: 1.05; }
  .car-import-copy p { font-size: 14px; }
  .car-import-points-inner { grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
  .car-import-points-inner > div { padding: 10px; min-height: auto; border-radius: 10px; }
  .car-import-points strong { font-size: 14px; }
  .car-import-points span { font-size: 11px; }
  .car-point-icon { font-size: 20px; }

  /* Marketplace */
  .marketplace-search { grid-template-columns: 1fr; gap: 8px; margin: 16px 0 50px; padding: 12px; border-radius: 12px; }
  .marketplace-search-field { grid-column: auto; min-height: 54px; }
  .marketplace-search select, .marketplace-search .btn { min-height: 54px; }
  .marketplace-heading h2 { font-size: clamp(26px, 7vw, 38px); }
  .marketplace-heading a { font-size: 13px; white-space: nowrap; }

  /* Category grid — 2 col small */
  .cat-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 10px; }
  .cat-card { min-height: 130px; padding: 14px; border-radius: 12px; }
  .cat-card-featured { grid-row: span 2; min-height: 270px; }
  .cat-card .name { font-size: 14px; }

  /* Product grid — 2 col on larger phones, 1 on 375 */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card .body { padding: 10px; }
  .product-card .name { font-size: 13px; min-height: 32px; }
  .product-card .price { font-size: 14px; }

  /* Car card */
  .car-card .title { font-size: 16px; }
  .car-card .price { font-size: 20px; }

  /* Steps */
  .steps-row { grid-template-columns: 1fr; gap: 28px; }
  .steps-heading h2 { font-size: clamp(26px, 7vw, 36px); }
  .step .circle { width: 68px; height: 68px; font-size: 22px; margin-bottom: 14px; }
  .step .title { font-size: 16px; }
  .step .desc { font-size: 14px; max-width: 280px; margin: 0 auto; }
  .benefit-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 44px; }

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr; }

  /* Section */
  .section { padding: 44px 0; }
  .section-head h2 { font-size: 22px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  footer { padding: 36px 0 16px; }

  /* Car detail */
  .similar-cars-grid { grid-template-columns: 1fr; }
  .car-detail-info h1 { font-size: 22px; }
  .car-detail-main-image { aspect-ratio: 4/3; }

  /* Share modal */
  .share-platforms { grid-template-columns: repeat(3, 1fr); }

  /* Car quote CTA */
  .car-quote-cta { padding: 36px 18px; }
  .car-quote-cta h2 { font-size: 22px; }
}

/* ---- Very small phones (≤375px) ---- */
@media (max-width: 375px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .hero-actions { max-width: 100%; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card-featured { grid-row: auto; min-height: 140px; }
}

/* ---- Overflow safety (all sizes) ---- */
html, body { overflow-x: hidden; max-width: 100%; }
img, video, iframe, table { max-width: 100%; }
pre { overflow-x: auto; }
.container { width: 100%; }

/* ---------- Shop page: category hero + compact marketplace cards ---------- */
.shop-hero-categories {
  grid-template-columns: 1.55fr repeat(4, minmax(0, 1fr));
  grid-template-rows: 285px;
  gap: 32px;
}
.shop-hero-categories .cat-card {
  min-height: 285px;
  padding: 28px 42px;
  border-radius: 24px;
}
.shop-hero-categories .cat-card-featured {
  grid-row: auto;
}
.shop-hero-categories .cat-card .name {
  font-size: 29px;
  line-height: 1.05;
}
.shop-hero-categories .cat-card > span:last-child:not(.name):not(.cat-card-shade) {
  font-size: 12px !important;
}

.shop-products-col .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.product-card {
  border-radius: 10px;
  background: #171717;
  border-color: #2a2a2a;
}
.product-card .img-wrap {
  aspect-ratio: 1 / 1;
  background: #111;
}
.product-card .img-wrap img {
  object-fit: cover;
}
.product-card .tag {
  top: 7px;
  right: 7px;
  left: auto;
  z-index: 2;
  background: #f04444;
  padding: 3px 6px;
  border-radius: 3px;
  font-size: 9px;
}
.product-card .imported-tag {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 2;
  background: var(--gold);
  color: #151000;
  font-size: 8px;
  line-height: 1;
  font-weight: 900;
  padding: 4px 6px;
  border-radius: 3px;
  letter-spacing: .2px;
  white-space: nowrap;
}
.product-card .body { padding: 9px 10px 10px; }
.product-card .name {
  font-size: 11px;
  line-height: 1.25;
  min-height: 28px;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card .stars {
  font-size: 10px;
  line-height: 1.1;
  margin-bottom: 5px;
  min-height: 12px;
}
.product-card .stars-display.sm { font-size: 10px; }
.product-card .price {
  font-size: 14px;
  line-height: 1.2;
}
.product-card .price .old { font-size: 9px; margin-left: 4px; }
.product-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.product-add-form { flex: 1; min-width: 0; }
.product-card .add-btn {
  margin-top: 0;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 16px;
  font-size: 10px;
  gap: 4px;
}
.product-card .share-btn {
  width: 30px;
  height: 30px;
  min-width: 30px;
  padding: 0;
  border: 1px solid #343434;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #202020;
  color: #8d8d8d;
  cursor: pointer;
  transition: .15s ease;
}
.product-card .share-btn:hover {
  color: var(--gold);
  border-color: rgba(255,215,0,.45);
  background: rgba(255,215,0,.08);
}

/* The fixed site header must never cover the Shop category hero. */
.shop-page-spacer { height: 1px; }

@media (max-width: 1200px) {
  .shop-hero-categories { gap: 18px; grid-template-rows: 240px; }
  .shop-hero-categories .cat-card { min-height: 240px; padding: 22px 24px; }
  .shop-hero-categories .cat-card .name { font-size: 24px; }
}

@media (max-width: 1024px) {
  .shop-hero-categories {
    grid-template-columns: 1.5fr repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, 200px);
  }
  .shop-hero-categories .cat-card { min-height: 200px; }
  .shop-hero-categories .cat-card-featured { grid-row: span 2; }
  .shop-products-col .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 930px) {
  .shop-hero-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  .shop-hero-categories .cat-card,
  .shop-hero-categories .cat-card-featured { min-height: 180px; grid-row: auto; }
  .shop-products-col .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .shop-hero-categories .cat-card,
  .shop-hero-categories .cat-card-featured { min-height: 145px; padding: 16px; border-radius: 14px; }
  .shop-hero-categories .cat-card .name { font-size: 17px; }
  .shop-products-col .product-grid { gap: 10px; }
  .product-card .body { padding: 8px; }
  .product-card .imported-tag { font-size: 6.5px; padding: 3px 4px; }
  .product-card .tag { font-size: 7px; padding: 3px 4px; }
}

/* ==========================================================
   IMPORT CARS — compact marketplace/detail redesign
   ========================================================== */
.import-market-header { padding: 86px 0 10px; background: #090a0c; }
.import-back-link { display:inline-block; color:#8e9298; font-size:9px; margin-bottom:10px; }
.import-back-link:hover { color:var(--gold); }
.import-market-kicker { color:var(--gold); font-size:8px; font-weight:800; letter-spacing:1.6px; margin-bottom:3px; }
.import-market-header h1 { margin:0; font-size:25px; line-height:1.05; font-weight:900; letter-spacing:-.5px; }
.import-market-header p { margin:5px 0 0; color:#8d9299; font-size:9px; }
.import-market-cars { padding:8px 0 16px; background:#090a0c; }
.import-filter-row { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; color:#858990; font-size:10px; }
.import-filter-row strong { color:#f1f1f1; }
.import-filter-row a { color:var(--gold); }
.import-car-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.import-car-grid > div { min-width:0; }
.car-card { border-radius:8px; border:1px solid #303136; background:#111214; box-shadow:none; }
.car-card:hover { transform:translateY(-2px); border-color:rgba(255,190,0,.75); }
.car-card-image { display:block; position:relative; aspect-ratio:1.52/1; overflow:hidden; background:#17181a; }
.car-card-image img { width:100%; height:100%; object-fit:cover; display:block; }
.car-card .body { padding:7px 8px 8px; }
.car-card .category-tag { font-size:6px; letter-spacing:1.1px; line-height:1; margin-bottom:3px; }
.car-card .title { display:block; color:#f5f5f5; font-size:10px; font-weight:800; line-height:1.1; margin:0 0 2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.car-card .year { color:#92959a; font-size:7px; line-height:1.15; margin:0 0 5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.car-card .price { color:var(--gold); font-size:12px; font-weight:900; line-height:1.1; margin:0 0 6px; }
.car-card .actions { display:grid; grid-template-columns:1fr 1fr 25px; gap:4px; align-items:center; }
.car-card .pill-btn { padding:5px 3px; border-radius:12px; font-size:7px; line-height:1; min-width:0; }
.car-card .pill-btn-view { background:linear-gradient(90deg,#ffbd19,#f5a500); }
.car-card .pill-btn-inquire { border-color:#3a3b3e; color:#ddd; }
.car-card .car-card-share { width:25px; height:25px; min-width:25px; padding:0; border-radius:50%; justify-content:center; background:#18191b; border-color:#3a3b3e; color:#8e9197; }
.car-card .car-card-share:hover { color:var(--gold); border-color:var(--gold); }
.import-empty { text-align:center; padding:35px 0; color:var(--text-muted); font-size:13px; }
.import-browse-section { background:#090a0c; padding:0 0 18px; }
.import-browse-heading { color:#858990; font-size:9px; margin:0 0 7px; }
.import-category-strip { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:7px; }
.import-category-card { position:relative; display:block; min-width:0; height:62px; overflow:hidden; border:1px solid #2d2e31; border-radius:6px; background:#151619; }
.import-category-image { position:absolute; inset:0; background-image:linear-gradient(90deg,rgba(5,5,6,.72),rgba(5,5,6,.1)),var(--category-image); background-size:cover; background-position:center; }
.import-category-name { position:absolute; left:7px; bottom:17px; color:#f3f3f3; font-size:8px; font-weight:800; }
.import-category-count { position:absolute; left:7px; bottom:6px; color:#777b82; font-size:6px; }
.import-category-card:hover { border-color:rgba(255,190,0,.7); }

/* Import detail page */
.import-detail-page { padding:86px 0 45px; background:#090a0c; }
.import-detail-back { color:#8b8e94; font-size:9px; display:inline-block; margin-bottom:15px; }
.import-detail-layout { display:grid; grid-template-columns:1.06fr .94fr; gap:25px; align-items:start; }
.import-detail-image { position:relative; aspect-ratio:1.28/1; overflow:hidden; border:1px solid #292a2d; border-radius:6px; background:#111; }
.import-detail-image img { width:100%; height:100%; object-fit:cover; display:block; }
.import-detail-badge { position:absolute; left:8px; top:8px; padding:3px 8px; border-radius:3px; background:var(--gold); color:#16110a; font-size:6px; font-weight:900; letter-spacing:.8px; }
.import-detail-thumbs { display:flex; gap:5px; margin-top:6px; flex-wrap:wrap; }
.import-detail-thumbs img { width:45px; height:35px; object-fit:cover; border:1px solid #292a2d; border-radius:4px; cursor:pointer; }
.import-detail-kicker { color:var(--gold); font-size:7px; font-weight:800; letter-spacing:1.2px; }
.import-detail-info h1 { margin:3px 0 4px; font-size:27px; line-height:1; text-transform:uppercase; }
.import-detail-sub { color:#8b8e94; font-size:8px; margin-bottom:10px; }
.import-detail-price { color:var(--gold); font-size:21px; font-weight:900; margin-bottom:4px; }
.import-detail-note { color:#8d9197; font-size:7px; line-height:1.45; margin-bottom:9px; }
.import-spec-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:5px; margin:8px 0 9px; }
.import-spec { border:1px solid #292a2d; border-radius:4px; padding:6px; background:#111214; }
.import-spec-label { color:#777b82; font-size:5px; text-transform:uppercase; letter-spacing:.5px; }
.import-spec-value { color:#ececec; font-size:7px; font-weight:700; margin-top:2px; }
.import-highlights { display:flex; flex-wrap:wrap; gap:4px; margin:7px 0 10px; }
.import-highlight { border:1px solid #303136; border-radius:10px; padding:4px 7px; color:#bbbfc4; font-size:6px; }
.import-detail-actions { display:flex; gap:6px; }
.import-detail-actions .btn { font-size:8px; padding:9px 12px; border-radius:4px; flex:1; text-align:center; }
.import-detail-share { margin-top:6px; width:100%; justify-content:center; padding:7px 10px; font-size:8px; }
.import-service-row { display:grid; grid-template-columns:repeat(3,1fr); gap:5px; margin-top:10px; }
.import-service { border:1px solid #292a2d; border-radius:4px; padding:6px; color:#8d9197; font-size:6px; text-align:center; }
.import-service strong { display:block; color:#bfc2c6; font-size:6px; margin-bottom:2px; }

@media (max-width:900px){
  .import-car-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .import-detail-layout{grid-template-columns:1fr;gap:16px;}
  .import-detail-info h1{font-size:24px;}
}
@media (max-width:600px){
  .import-market-header{padding-top:78px;}
  .import-market-header h1{font-size:21px;}
  .import-car-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;}
  .import-category-strip{grid-template-columns:repeat(3,minmax(0,1fr));}
  .import-category-card{height:58px;}
  .car-card .body{padding:6px;}
  .car-card .title{font-size:9px;}
  .car-card .price{font-size:11px;}
  .car-card .pill-btn{font-size:6px;padding:5px 2px;}
  .car-card .actions{grid-template-columns:1fr 1fr 23px;gap:3px;}
  .car-card .car-card-share{width:23px;height:23px;min-width:23px;}
  .import-spec-grid{grid-template-columns:repeat(2,1fr);}
  .import-detail-actions{flex-direction:column;}
}
@media (max-width:390px){.import-car-grid{grid-template-columns:1fr;}.import-category-strip{grid-template-columns:repeat(2,minmax(0,1fr));}}

/* Final launch glassmorphism / global utilities */
body{background:radial-gradient(circle at 15% 8%,rgba(255,190,35,.06),transparent 24%),radial-gradient(circle at 88% 22%,rgba(40,110,180,.06),transparent 26%),var(--bg-0)}
.card,.product-card,.cat-card,.car-card,.review-card,.source-product-form-card,.stat-card{background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018));border-color:rgba(255,255,255,.11);box-shadow:0 18px 45px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.035);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.page-hero{position:relative;overflow:hidden;min-height:300px;display:flex;align-items:center;margin-top:72px;background-size:cover;background-position:center;border-bottom:1px solid rgba(255,255,255,.08)}
.page-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,5,7,.88),rgba(4,5,7,.58),rgba(4,5,7,.25))}.page-hero .container{position:relative;z-index:1}
.global-whatsapp{position:fixed;right:24px;bottom:22px;width:58px;height:58px;border-radius:50%;z-index:1200;display:flex;align-items:center;justify-content:center;color:#fff;background:#25D366;box-shadow:0 10px 30px rgba(0,0,0,.35),0 0 0 6px rgba(37,211,102,.10)}
.global-whatsapp:hover{transform:translateY(-2px)}
.site-social-row{display:flex;gap:10px;flex-wrap:wrap;padding:18px 0;border-top:1px solid rgba(255,255,255,.07)}
.site-social-link{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.1);border-radius:999px;padding:8px 12px;color:var(--text-muted);font-size:12px;font-weight:600;text-decoration:none;transition:color .18s,border-color .18s,background .18s,transform .18s}
.site-social-link:hover{color:var(--social-color);border-color:var(--social-color);background:rgba(255,255,255,.045);transform:translateY(-1px)}
.social-brand-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;font-size:17px;line-height:1;flex:none}
.global-whatsapp .social-brand-icon{width:auto;height:auto;font-size:27px}

.faq-grid-5{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.faq-item{padding:18px;min-height:150px}
.about-page{padding:0 0 50px}.about-main-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center;padding:60px 0}.about-main-image{border-radius:10px;overflow:hidden;border:1px solid rgba(255,190,35,.45);box-shadow:0 18px 50px rgba(0,0,0,.3)}.about-main-image img{width:100%;aspect-ratio:1.35/1;object-fit:cover}.about-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:28px 0;border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08)}.about-stat{text-align:center}.about-stat strong{display:block;color:var(--gold);font-size:25px}.about-stat span{font-size:10px;color:var(--text-muted)}.about-benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.about-benefit{padding:18px;min-height:130px}.shop-page-hero{min-height:220px;margin-top:72px}.shop-page-hero h1{font-size:clamp(34px,5vw,58px);margin:0 0 8px;text-transform:uppercase}.shop-page-content{padding-top:24px!important}.import-market-header{margin-top:72px;min-height:260px}.source-product-page{padding-top:0!important}
@media(max-width:900px){.faq-grid-5{grid-template-columns:repeat(2,1fr)}.about-main-grid{grid-template-columns:1fr;gap:25px}.about-stats{grid-template-columns:repeat(2,1fr)}.about-benefits{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.faq-grid-5{grid-template-columns:1fr}.global-whatsapp{width:52px;height:52px;right:16px;bottom:16px}.about-benefits{grid-template-columns:1fr}.shop-page-hero{min-height:190px;margin-top:68px}}

@media (max-width:1150px) and (min-width:901px){.main-nav{gap:12px}.main-nav a{font-size:12px}.header-inner{gap:12px}.header-actions{gap:7px}}
body.light-mode .card,body.light-mode .product-card,body.light-mode .cat-card,body.light-mode .car-card{box-shadow:0 12px 30px rgba(0,0,0,.08);background:rgba(255,255,255,.72)}

.car-rating{display:flex;align-items:center;gap:4px;font-size:8px;color:var(--text-muted);margin:2px 0 4px}.car-rating .stars-display{font-size:9px}

/* ---------- Final marketplace Shop reference layout ---------- */
.shop-marketplace-page{padding:18px 0 44px;background:rgba(7,8,10,.78);min-height:calc(100vh - 72px)}
.shop-breadcrumb{display:flex;gap:8px;align-items:center;font-size:8px;color:#7f858d;margin:4px 0 10px}.shop-breadcrumb a{color:#9da2aa}.shop-breadcrumb span:last-child{color:var(--gold)}
.shop-title-block{margin-bottom:38px}.shop-title-block h1{font-size:27px;line-height:1;margin:0 0 7px;font-weight:900;letter-spacing:-.5px}.shop-title-block p{margin:0;color:#8e949d;font-size:9px}
.shop-market-grid{display:grid;grid-template-columns:215px minmax(0,1fr);gap:18px;align-items:start}
.shop-filter-sidebar{background:rgba(22,22,24,.92);border:1px solid #2b2c30;border-radius:6px;padding:10px;color:#d7d9dd}.shop-filter-section{padding:0 0 13px;margin-bottom:11px;border-bottom:1px solid #292a2e}.shop-filter-section>label:first-child{display:block;font-size:7px;color:#a8adb5;font-weight:800;letter-spacing:.3px;margin-bottom:8px}.shop-search-wrap{display:flex;align-items:center;border:1px solid #33353a;border-radius:3px;background:#0e0f11;padding:0 7px}.shop-search-wrap span{color:#8f949b;font-size:14px}.shop-search-wrap input{border:0;background:transparent!important;box-shadow:none!important;padding:7px 5px;font-size:8px;color:#fff;min-width:0}.shop-filter-link{display:flex;justify-content:space-between;align-items:center;padding:5px 7px;color:#c6c9cf;font-size:8px;text-decoration:none;border-radius:3px}.shop-filter-link span{color:#7c8188}.shop-filter-link.active{background:rgba(245,174,20,.13);color:var(--gold);font-weight:700}.shop-filter-link:hover{color:var(--gold)}.shop-filter-sidebar .form-row{gap:6px}.shop-filter-sidebar input[type=number]{font-size:8px;padding:7px 6px}.shop-rating-option{display:flex;align-items:center;gap:4px;padding:5px 7px;font-size:8px;color:#c8cbd0;border-radius:3px;cursor:pointer}.shop-rating-option input{width:auto;margin:0}.shop-rating-option.selected{background:rgba(245,174,20,.13);color:var(--gold)}.shop-clear-btn{width:100%;padding:7px;border:1px solid #35373b;background:transparent;color:#aeb2b9;border-radius:3px;font-size:8px;cursor:pointer}.shop-clear-btn:hover{border-color:var(--gold);color:var(--gold)}
.shop-results-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;color:#9da2aa;font-size:8px}.shop-results-head strong{color:#e4e6e9}.shop-sort-form select{font-size:8px;padding:6px 24px 6px 8px;min-width:110px;background:#101114;border-color:#33353a;color:#dfe1e5;border-radius:3px}.shop-reference-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}.shop-reference-grid .product-card{border-radius:6px}.shop-reference-grid .product-card .body{padding:7px 8px 8px}.shop-reference-grid .product-card .img-wrap{aspect-ratio:1/1}.shop-reference-grid .product-card .name{font-size:8px;min-height:22px;margin-bottom:2px}.shop-reference-grid .product-card .stars{font-size:8px;margin-bottom:3px}.shop-reference-grid .product-card .price{font-size:10px}.shop-reference-grid .product-card .price .old{font-size:7px}.shop-reference-grid .product-card .imported-tag{font-size:5.5px;padding:3px 4px;top:5px;left:5px}.shop-reference-grid .product-card .tag{font-size:6px;padding:3px 4px;top:5px;right:5px}.shop-reference-grid .product-card-actions{gap:4px;margin-top:6px}.shop-reference-grid .product-card .add-btn{min-height:24px;padding:4px 8px;font-size:7px;border-radius:12px}.shop-reference-grid .product-card .add-btn svg{width:10px;height:10px}.shop-reference-grid .product-card .share-btn{width:24px;height:24px;min-width:24px;border-radius:50%;padding:0}.shop-reference-grid .product-card .share-btn svg{width:11px;height:11px}
@media(max-width:1000px){.shop-market-grid{grid-template-columns:180px 1fr}.shop-reference-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){.shop-market-grid{grid-template-columns:1fr}.shop-filter-sidebar{display:block}.shop-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.shop-title-block{margin-bottom:22px}}
@media(max-width:420px){.shop-reference-grid{gap:7px!important}.shop-reference-grid .product-card .name{font-size:7.5px}.shop-filter-sidebar{padding:9px}}


/* ==========================================================
   FINAL RESPONSIVE / HEADER SAFETY PATCH
   ========================================================== */
html, body { max-width:100%; overflow-x:hidden; }
.container { width:100%; max-width:1600px; margin-left:auto; margin-right:auto; padding-left:clamp(16px,2.4vw,40px); padding-right:clamp(16px,2.4vw,40px); }
.header-inner { width:100%; max-width:1600px; margin:0 auto; }

/* Fixed header: page content must always begin below it. */
.page-hero,
.shop-page-hero,
.source-product-page > .page-hero,
.shipping-hero { margin-top:72px !important; scroll-margin-top:82px; }

/* Import Cars listing intentionally uses the compact marketplace header.
   Do not let the managed hero image turn the first car card into a giant banner. */
.site-header + .import-market-header,
.import-market-header {
  margin-top:72px !important;
  min-height:0 !important;
  height:auto !important;
  padding:28px 0 14px !important;
  background:#090a0c !important;
  background-image:none !important;
  display:block !important;
}
.import-market-header .container { position:relative; z-index:2; }
.import-market-header .import-back-link { margin-bottom:7px; }
.import-market-header h1 { font-size:clamp(25px,2.1vw,38px); }
.import-market-header p { font-size:clamp(9px,.72vw,13px); }

/* Never allow a large monitor to collapse the import marketplace into one huge card. */
.import-market-cars .import-car-grid {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:clamp(8px,0.65vw,14px) !important;
  width:100% !important;
}
.import-market-cars .import-car-grid > div { min-width:0 !important; width:auto !important; }
.import-market-cars .car-card { width:100% !important; max-width:none !important; }
.import-market-cars .car-card-image { width:100% !important; aspect-ratio:1.52 / 1 !important; height:auto !important; }
.import-market-cars .car-card-image img { width:100% !important; height:100% !important; object-fit:cover !important; }

/* WhatsApp always stays in the browser viewport, not inside page content. */
.global-whatsapp {
  position:fixed !important;
  right:max(18px, env(safe-area-inset-right)) !important;
  bottom:max(18px, env(safe-area-inset-bottom)) !important;
  z-index:2147483000 !important;
  transform:none !important;
}
.global-whatsapp:hover { transform:translateY(-2px) !important; }

/* Large monitors: use the available screen without changing the compact design. */
@media (min-width:1601px) {
  .main-nav { gap:clamp(18px,1.4vw,30px); }
  .main-nav a { font-size:clamp(14px,.85vw,17px); }
  .header-inner { padding-top:12px; padding-bottom:12px; }
}
@media (max-width:1200px) and (min-width:901px) {
  .container { padding-left:24px; padding-right:24px; }
  .main-nav { gap:14px; }
  .main-nav a { font-size:12px; }
}
@media (max-width:900px) {
  .import-market-cars .import-car-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .page-hero, .shop-page-hero, .source-product-page > .page-hero, .shipping-hero { margin-top:68px !important; }
  .site-header + .import-market-header, .import-market-header { margin-top:68px !important; }
}
@media (max-width:600px) {
  .container { padding-left:16px; padding-right:16px; }
  .import-market-cars .import-car-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .global-whatsapp { width:54px !important; height:54px !important; right:16px !important; bottom:16px !important; }
}
@media (max-width:390px) {
  .import-market-cars .import-car-grid { grid-template-columns:1fr !important; }
}


/* ==========================================================
   IMPORT CARS MANAGED HERO
   ========================================================== */
.import-cars-hero{
  position:relative;
  min-height:430px;
  margin-top:var(--site-header-height,72px);
  display:flex;
  align-items:center;
  overflow:hidden;
  background-size:cover;
  background-position:center;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.import-cars-hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(4,5,7,.94) 0%,rgba(4,5,7,.72) 48%,rgba(4,5,7,.28) 100%);
}
.import-cars-hero-inner{position:relative;z-index:2;padding-top:44px;padding-bottom:44px;max-width:1600px;}
.import-cars-hero .import-back-link{display:inline-block;margin-bottom:18px;color:#c6c9cf;font-size:12px;text-decoration:none;}
.import-cars-hero .import-back-link:hover{color:var(--gold);}
.import-cars-hero .import-market-kicker{font-size:11px;letter-spacing:2px;font-weight:800;color:var(--gold);margin-bottom:10px;}
.import-cars-hero h1{max-width:760px;margin:0 0 14px;font-size:clamp(34px,5vw,68px);line-height:.98;font-weight:900;letter-spacing:-1.8px;color:#fff;}
.import-cars-hero p{max-width:650px;margin:0;color:#d1d4d9;font-size:clamp(14px,1.25vw,18px);line-height:1.6;}
.import-cars-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px;}
.import-cars-hero-actions .btn{min-height:46px;padding:12px 24px;border-radius:8px;font-weight:800;text-decoration:none;}
.import-cars-expert-btn{border:1px solid rgba(255,215,0,.65);background:rgba(255,255,255,.06);color:#fff;backdrop-filter:blur(8px);}
.import-cars-expert-btn:hover{border-color:var(--gold);color:var(--gold);background:rgba(255,215,0,.08);}

/* ==========================================================
   STABLE PAGE + HERO LAYOUT PATCH
   Keeps the approved marketplace/card designs intact while
   preventing fixed-header overlap and oversized hero sections.
   ========================================================== */
:root { --site-header-height: 72px; }

/* Every non-home page starts below the fixed header exactly once. */
.page-hero,
.contact-hero,
.shop-page-hero,
.import-market-header,
.import-detail-page {
  box-sizing: border-box;
}

.page-hero {
  margin-top: var(--site-header-height) !important;
  min-height: 220px;
  padding: 42px 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.page-hero .container { width: 100%; }

/* Approved compact Shop marketplace: hero is optional and never pushes
   the product grid under the fixed header. */
.shop-page-hero {
  min-height: 220px !important;
  padding: 42px 0 !important;
  margin-top: var(--site-header-height) !important;
}
.shop-marketplace-page { position: relative; z-index: 1; }

/* Source-a-Product had two competing top offsets. Keep one header offset. */
.source-product-page {
  padding-top: 0 !important;
}
.source-product-page > .page-hero {
  min-height: 180px !important;
  padding: 38px 0 !important;
  margin-top: var(--site-header-height) !important;
}
.source-product-layout { margin-top: 46px !important; }

/* About hero stays compact like the approved reference instead of becoming
   a full-screen banner. */
.about-page > .page-hero {
  min-height: 190px !important;
  padding: 38px 0 !important;
}

/* Shipping keeps its large photographic hero, but its content remains inside
   the viewport and below the fixed header. */
.shipping-hero {
  min-height: 620px !important;
  margin-top: var(--site-header-height) !important;
  padding: 72px 0 44px !important;
  background-size: cover !important;
  background-position: center !important;
}

/* Contact hero remains centered and image-led. */
.contact-hero {
  min-height: 430px !important;
  margin-top: var(--site-header-height) !important;
  padding: 60px 0 !important;
  display: flex;
  align-items: center;
}

/* Import Cars is intentionally a marketplace header, not a giant image hero. */
.import-market-header,
.site-header + .import-market-header {
  margin-top: var(--site-header-height) !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 34px 0 16px !important;
  background: #090a0c !important;
  background-image: none !important;
}
.import-market-cars { padding-top: 10px !important; }

/* Prevent images from becoming stretched or collapsing when a remote/local
   image is unavailable. */
.cat-card,
.import-category-card,
.car-card-image,
.product-card .img-wrap,
.about-main-image {
  overflow: hidden;
}
.cat-card { background-color: #151619; background-repeat: no-repeat; background-size: cover; background-position: center; }
/* Restore homepage category photographs after the global glass-card background shorthand. */
.cat-grid .cat-card { background-image: var(--category-image) !important; background-repeat: no-repeat !important; background-size: cover !important; background-position: center !important; }
.cat-card-shade { pointer-events: none; }

/* Large screens: fluid, centered layout without enormous cards. */
@media (min-width: 1400px) {
  .container { max-width: 1440px; }
  .shop-reference-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .import-market-cars .import-car-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

@media (max-width: 900px) {
  :root { --site-header-height: 68px; }
  .page-hero { margin-top: var(--site-header-height) !important; }
  .shipping-hero { min-height: 620px !important; padding-top: 56px !important; }
  .contact-hero { min-height: 380px !important; }
}

@media (max-width: 600px) {
  :root { --site-header-height: 64px; }
  .page-hero { min-height: 180px; padding: 32px 0; }
  .shop-page-hero { min-height: 180px !important; padding: 32px 0 !important; }
  .about-page > .page-hero { min-height: 170px !important; }
  .source-product-page > .page-hero { min-height: 170px !important; padding: 32px 0 !important; }
  .source-product-layout { margin-top: 32px !important; }
  .shipping-hero { min-height: 650px !important; padding: 52px 0 30px !important; }
  .contact-hero { min-height: 360px !important; padding: 42px 0 !important; }
}

/* ==========================================================
   MOBILE HEADER + SHOP HERO FINAL FIX
   Logo stays left; controls/menu stay on the right.
   Shop hero always begins below the fixed header.
   ========================================================== */
@media (max-width: 930px) {
  .site-header .header-inner {
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 60px;
  }

  .site-header .logo {
    order: 1 !important;
    margin-right: auto !important;
    min-width: 0;
    max-width: 48%;
  }

  .site-header .logo img {
    display: block;
    max-width: 135px;
    width: auto;
    height: 34px !important;
    object-fit: contain;
  }

  .site-header .header-actions {
    order: 2 !important;
    margin-left: auto !important;
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    white-space: nowrap;
  }

  .site-header .header-actions .icon-btn,
  .site-header .header-actions .theme-toggle,
  .site-header .mobile-menu-toggle {
    flex: 0 0 auto !important;
  }

  .site-header .mobile-menu-toggle {
    order: 10 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 7px;
    margin: 0 !important;
  }

  .site-header .header-actions .currency-select {
    min-width: 58px;
    width: 58px;
  }

  .site-header .main-nav {
    top: calc(100% + 6px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
  }

  .site-header .main-nav a {
    display: block;
    width: 100%;
  }
}

@media (max-width: 600px) {
  :root { --site-header-height: 64px; }

  .site-header .header-inner {
    min-height: 58px;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  .site-header .logo img {
    height: 32px !important;
    max-width: 128px;
  }

  .site-header .header-actions { gap: 5px !important; }
  .site-header .header-actions .icon-btn,
  .site-header .header-actions .theme-toggle {
    width: 34px;
    height: 34px;
    padding: 6px;
  }

  /* The Shop hero needs additional breathing room below the fixed header. */
  .shop-page-hero {
    margin-top: calc(var(--site-header-height) + 12px) !important;
    padding-top: 36px !important;
    padding-bottom: 30px !important;
  }

  .shop-page-hero .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 390px) {
  .site-header .logo { max-width: 43%; }
  .site-header .logo img { max-width: 112px; height: 29px !important; }
  .site-header .header-actions { gap: 3px !important; }
  .site-header .header-actions .search-icon-btn { display: none !important; }
  .site-header .header-actions .icon-btn,
  .site-header .header-actions .theme-toggle,
  .site-header .mobile-menu-toggle { width: 32px; height: 32px; }
  .site-header .header-actions .currency-select { min-width: 54px; width: 54px; }
}



/* Shop marketplace must clear the fixed header when its optional hero is hidden.
   When the hero is enabled, the hero itself already provides the header offset. */
.shop-marketplace-page.no-shop-hero {
  margin-top: var(--site-header-height) !important;
}
.shop-marketplace-page.has-shop-hero {
  margin-top: 0 !important;
}
@media (max-width: 600px) {
  .shop-marketplace-page.no-shop-hero {
    margin-top: var(--site-header-height) !important;
    padding-top: 24px !important;
  }
}

/* Shipping estimator target accounts for the fixed mobile/desktop header. */
.shipping-estimator-anchor {
  scroll-margin-top: calc(var(--site-header-height) + 16px) !important;
}

/* ==========================================================
   LANGUAGE SWITCHER
   Background API translation. No browser translator toolbar is injected.
   ========================================================== */
.language-switcher { position: relative; flex: 0 0 auto; }
.language-toggle { cursor: pointer; }
.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1200;
  width: 170px;
  max-height: min(420px, calc(100vh - 90px));
  overflow-y: auto;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(18,19,22,.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 45px rgba(0,0,0,.4);
}
.language-menu[hidden] { display: none !important; }
.language-menu button {
  width: 100%;
  border: 0;
  border-radius: 9px;
  padding: 9px 10px;
  text-align: left;
  color: #eee;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}
.language-menu button:hover,
.language-menu button:focus-visible { background: rgba(245,171,24,.15); color: #f5ab18; outline: none; }

@media (max-width: 600px) {
  .language-menu {
    position: fixed;
    top: calc(var(--site-header-height) + 8px);
    right: 8px;
    width: 165px;
  }
  .site-header .language-toggle { width: 34px; height: 34px; padding: 6px; }
}
@media (max-width: 390px) {
  .site-header .language-toggle { width: 32px; height: 32px; }
}

/* ==========================================================
   SOURCE RAMBO — PREMIUM GLASS HOMEPAGE REDESIGN
   Homepage/header/card system only. Existing functional styles
   remain above; these rules provide the new visual layer.
   ========================================================== */
:root{
  --sr-bg:#07090d;
  --sr-panel:rgba(17,21,28,.68);
  --sr-panel-strong:rgba(18,23,30,.84);
  --sr-line:rgba(255,255,255,.105);
  --sr-line-gold:rgba(255,193,57,.34);
  --sr-gold:#f7c64a;
  --sr-gold-2:#ff9f24;
  --sr-muted:#9ca5b2;
  --sr-radius:22px;
}
body{background:var(--sr-bg);background-image:radial-gradient(circle at 12% 5%,rgba(247,198,74,.07),transparent 28%),radial-gradient(circle at 90% 12%,rgba(39,112,180,.09),transparent 30%);}

/* Header */
.site-header{background:rgba(7,9,13,.62);border-bottom:1px solid rgba(255,255,255,.09);box-shadow:0 12px 45px rgba(0,0,0,.22);}
.site-header.is-scrolled{background:rgba(7,9,13,.84);border-bottom-color:rgba(255,255,255,.13);}
.header-inner{max-width:1500px;padding:12px 24px;gap:22px;}
.logo{font-size:18px;letter-spacing:.2px;}
.logo .badge{width:38px;height:38px;border-radius:12px;box-shadow:0 0 0 1px rgba(255,255,255,.08),0 10px 28px rgba(247,190,45,.16);}
.main-nav{gap:7px;padding:5px;border:1px solid rgba(255,255,255,.07);border-radius:15px;background:rgba(255,255,255,.035);}
.main-nav a{font-size:12px;padding:9px 11px;border-radius:10px;color:#aeb5c0;}
.main-nav a:hover{color:#fff;background:rgba(255,255,255,.055);}
.main-nav a.active{color:#fff;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.035));box-shadow:inset 0 1px 0 rgba(255,255,255,.06);}
.main-nav a.nav-highlight{color:#171108;background:linear-gradient(135deg,var(--sr-gold),var(--sr-gold-2));font-weight:800;box-shadow:0 7px 22px rgba(247,174,48,.18);}
.main-nav a.nav-highlight:hover{color:#171108;background:linear-gradient(135deg,#ffda68,#ffad3d);}
.header-actions{gap:7px;}
.icon-btn{width:38px;height:38px;border-radius:12px;border-color:rgba(255,255,255,.09);background:rgba(255,255,255,.045);}
.currency-select{border-radius:11px!important;background:rgba(255,255,255,.045)!important;border-color:rgba(255,255,255,.09)!important;}

/* New hero */
.sr-home-hero{position:relative;isolation:isolate;overflow:hidden;min-height:720px;padding:132px 0 0;background:#080b10;border-bottom:1px solid rgba(255,255,255,.07);}
.sr-hero-media{position:absolute;inset:0;z-index:-3;background-image:linear-gradient(90deg,rgba(6,8,12,.97) 0%,rgba(6,8,12,.88) 34%,rgba(6,8,12,.46) 62%,rgba(6,8,12,.62) 100%),linear-gradient(0deg,rgba(6,8,12,.94),transparent 45%),var(--hero-background);background-size:cover;background-position:center;filter:saturate(.8) contrast(1.02);}
.sr-home-hero:after{content:"";position:absolute;inset:auto 0 0;height:180px;z-index:-1;background:linear-gradient(transparent,var(--sr-bg));pointer-events:none;}
.sr-hero-glow{position:absolute;border-radius:50%;filter:blur(65px);z-index:-2;pointer-events:none;}
.sr-hero-glow-a{width:360px;height:360px;left:-150px;top:110px;background:rgba(247,180,47,.11);}
.sr-hero-glow-b{width:440px;height:440px;right:-160px;top:100px;background:rgba(65,126,196,.1);}
.sr-hero-grid{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(310px,.54fr);gap:70px;align-items:center;min-height:510px;}
.sr-hero-copy{max-width:740px;}
.sr-eyebrow{display:flex;align-items:center;gap:9px;color:#f0b844;font-size:11px;font-weight:800;letter-spacing:3.2px;margin-bottom:20px;}
.sr-eyebrow span{width:24px;height:1px;background:var(--sr-gold);box-shadow:0 0 12px rgba(247,198,74,.7);}
.sr-eyebrow b{font-size:14px;color:#ffe39b;}
.sr-hero-copy h1{margin:0;font-size:clamp(52px,6.4vw,86px);line-height:.93;letter-spacing:-4px;font-weight:850;color:#f7f8fa;text-wrap:balance;}
.sr-hero-copy h1 em{font-style:normal;background:linear-gradient(90deg,#fff4c5,#f7c64a 55%,#ff9f24);-webkit-background-clip:text;background-clip:text;color:transparent;}
.sr-hero-copy>p{max-width:610px;margin:25px 0 28px;color:#c1c8d2;font-size:17px;line-height:1.7;}
.sr-hero-search{display:flex;align-items:center;gap:10px;max-width:690px;padding:7px 7px 7px 18px;border:1px solid rgba(255,255,255,.18);border-radius:17px;background:rgba(10,14,19,.62);box-shadow:0 18px 60px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.06);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);}
.sr-hero-search:focus-within{border-color:rgba(247,198,74,.52);box-shadow:0 18px 60px rgba(0,0,0,.3),0 0 0 4px rgba(247,198,74,.07);}
.sr-search-icon{display:flex;color:#8f98a5;flex:0 0 auto;}
.sr-hero-search input{min-width:0;padding:13px 2px!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#fff!important;font-size:14px;}
.sr-hero-search input::placeholder{color:#8c96a3;}
.sr-hero-search .btn{min-height:48px;padding:0 25px;border-radius:12px;}
.sr-hero-actions{display:flex;gap:10px;margin-top:15px;}
.sr-hero-actions .btn{padding:12px 19px;border-radius:12px;font-size:12px;text-transform:none;}
.sr-hero-actions .btn span{font-size:16px;}
.sr-hero-side{position:relative;min-height:410px;display:flex;align-items:center;justify-content:center;}
.sr-floating-card{border:1px solid rgba(255,255,255,.13);background:linear-gradient(145deg,rgba(22,28,36,.76),rgba(9,13,18,.6));box-shadow:0 25px 75px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.055);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);}
.sr-sourcing-card{width:min(360px,100%);padding:28px;border-radius:24px;transform:translateY(-12px);}
.sr-card-icon{width:45px;height:45px;display:flex;align-items:center;justify-content:center;border-radius:14px;color:#171108;background:linear-gradient(135deg,#ffe39a,#f2aa2f);font-size:24px;box-shadow:0 10px 30px rgba(247,190,45,.2);}
.sr-mini-label{display:block;margin-top:22px;color:#e8b947;font-size:9px;font-weight:800;letter-spacing:2.2px;}
.sr-sourcing-card h2{margin:9px 0 10px;font-size:27px;line-height:1.12;letter-spacing:-.7px;}
.sr-sourcing-card p{margin:0;color:#9fa8b4;font-size:13px;line-height:1.7;}
.sr-sourcing-card>a{display:inline-flex;margin-top:20px;align-items:center;gap:10px;color:#151008;background:linear-gradient(135deg,#ffe18b,#f3ad35);border-radius:12px;padding:11px 15px;font-size:12px;font-weight:800;}
.sr-route-card{position:absolute;bottom:18px;left:-22px;display:flex;align-items:center;gap:10px;padding:13px 16px;border-radius:16px;font-size:11px;}
.sr-route-card b,.sr-route-card small{display:block;}.sr-route-card small{color:#7f8995;font-size:9px;margin-top:2px;}.route-dot{width:9px;height:9px;border-radius:50%;background:#69d38b;box-shadow:0 0 14px rgba(105,211,139,.8);}.route-line{width:34px;height:1px;background:linear-gradient(90deg,#69d38b,#f7c64a);}
.sr-hero-trust-row{display:flex;gap:26px;margin-top:25px;flex-wrap:wrap;}
.sr-hero-trust-row>div{display:flex;align-items:center;gap:8px;color:#8f98a5;font-size:10px;}
.sr-hero-trust-row i{width:27px;height:27px;border:1px solid rgba(247,198,74,.28);border-radius:9px;display:flex;align-items:center;justify-content:center;color:#f7c64a;font-style:normal;background:rgba(247,198,74,.05);}
.sr-hero-trust-row b{display:block;color:#dce0e5;font-size:10px;}
.sr-hero-metrics{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid rgba(255,255,255,.09);margin-top:18px;position:relative;z-index:2;background:rgba(7,9,13,.3);backdrop-filter:blur(10px);}
.sr-hero-metrics>div{padding:18px 22px;border-right:1px solid rgba(255,255,255,.08);}.sr-hero-metrics>div:last-child{border-right:0;}.sr-hero-metrics strong{display:block;font-size:23px;color:#f7c64a;letter-spacing:-.5px;}.sr-hero-metrics span{font-size:10px;color:#89929e;}

/* Homepage sections */
.sr-home-section{position:relative;background:transparent!important;}
.sr-category-section{padding-top:78px;}
.sr-section-head{align-items:flex-end;margin-bottom:28px;}
.sr-section-head h2{font-size:clamp(30px,3.4vw,46px);line-height:1.02;letter-spacing:-1.5px;margin:5px 0 8px;}
.sr-section-head p{margin:0;color:#8f98a5;font-size:13px;}
.sr-section-head>a{display:inline-flex;align-items:center;gap:7px;padding-bottom:5px;color:#f4c34d;font-size:12px;white-space:nowrap;}
.sr-section-head>a:hover{color:#ffe6a2;}
.sr-cat-grid{grid-template-columns:1.42fr repeat(4,1fr);grid-template-rows:repeat(2,175px);gap:13px;}
.sr-category-card{min-height:175px;border-radius:18px;border-color:rgba(255,255,255,.1);box-shadow:0 20px 45px rgba(0,0,0,.17),inset 0 1px 0 rgba(255,255,255,.045);}
.sr-category-card:after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.09),transparent 34%);pointer-events:none;}
.sr-category-card:hover{transform:translateY(-5px);border-color:rgba(247,198,74,.55);box-shadow:0 25px 60px rgba(0,0,0,.28),0 0 0 1px rgba(247,198,74,.07);}
.sr-category-copy{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;}.sr-category-copy small{font-size:9px;color:#b3bac4;margin-bottom:3px;}.sr-category-copy strong{font-size:19px;line-height:1.05;}.sr-category-copy>span{margin-top:9px;font-size:10px;color:#f7c64a;opacity:0;transform:translateY(5px);transition:.2s ease;}.sr-category-card:hover .sr-category-copy>span{opacity:1;transform:none;}
.sr-product-section{padding-top:35px;}
.sr-product-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;}
.sr-product-grid .product-card{border-radius:18px;background:linear-gradient(145deg,rgba(22,28,36,.82),rgba(12,16,21,.76));border-color:rgba(255,255,255,.09);box-shadow:0 18px 45px rgba(0,0,0,.2);}
.sr-product-grid .product-card:hover{transform:translateY(-5px);border-color:rgba(247,198,74,.45);box-shadow:0 28px 65px rgba(0,0,0,.28),0 0 0 1px rgba(247,198,74,.05);}
.sr-product-grid .product-card .img-wrap{aspect-ratio:1.04/1;background:linear-gradient(145deg,#151b22,#0b0e12);}.sr-product-grid .product-card .img-wrap img{transition:transform .35s ease;}.sr-product-grid .product-card:hover .img-wrap img{transform:scale(1.045);}
.sr-product-grid .product-card .body{padding:15px;}.sr-product-grid .product-card .name{font-size:13px;min-height:38px;}.sr-product-grid .product-card .price{font-size:18px;color:#f7c64a;}.sr-product-grid .product-card .add-btn{border-radius:11px;}.sr-product-grid .product-card .share-btn{border-radius:11px;}

.sr-process-section{padding-top:78px;}
.sr-steps-row{position:relative;grid-template-columns:repeat(5,1fr);gap:0;text-align:left;padding:24px 0 6px;}
.sr-steps-row:before{content:"";position:absolute;left:8%;right:8%;top:49px;height:1px;background:linear-gradient(90deg,rgba(247,198,74,.1),rgba(247,198,74,.45),rgba(247,198,74,.1));}
.sr-steps-row .step{position:relative;z-index:1;padding:0 20px 0 0;}.sr-steps-row .circle{width:50px;height:50px;margin:0 0 16px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#1c2027,#0d1015);border:1px solid rgba(247,198,74,.45);color:#f7c64a;font-size:11px;font-weight:800;box-shadow:0 0 0 7px rgba(247,198,74,.025),0 10px 28px rgba(0,0,0,.25);}.sr-steps-row .title{font-size:14px;font-weight:800;}.sr-steps-row .desc{font-size:11px;color:#858f9b;max-width:155px;margin-top:4px;}

.sr-benefit-section{padding-top:65px;}.sr-benefit-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;}.sr-car-promo,.sr-trust-panel{position:relative;min-height:330px;overflow:hidden;border-radius:24px;border:1px solid rgba(255,255,255,.11);background:linear-gradient(145deg,rgba(19,24,31,.8),rgba(10,13,18,.7));box-shadow:0 22px 55px rgba(0,0,0,.22);}.sr-car-promo-bg{position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(6,8,11,.96) 0%,rgba(6,8,11,.68) 45%,rgba(6,8,11,.18)),var(--hero-background);background-size:cover;background-position:center;filter:saturate(.85);}.sr-car-promo-content{position:relative;z-index:1;max-width:390px;padding:38px;}.sr-car-promo h2,.sr-trust-panel h2{font-size:31px;line-height:1.05;letter-spacing:-1px;margin:9px 0 10px;}.sr-car-promo p{color:#9ba4af;font-size:12px;line-height:1.7;margin-bottom:20px;}.sr-car-promo .btn{font-size:11px;padding:11px 15px;border-radius:11px;}.sr-trust-panel{padding:35px;}.sr-trust-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:27px 0 25px;}.sr-trust-stats div{padding:14px 10px;border:1px solid rgba(255,255,255,.08);border-radius:13px;background:rgba(255,255,255,.025);}.sr-trust-stats strong{display:block;color:#f7c64a;font-size:20px;}.sr-trust-stats span{display:block;color:#818b98;font-size:9px;margin-top:3px;}.sr-trust-list{display:grid;grid-template-columns:1fr 1fr;gap:9px;color:#b8c0ca;font-size:10px;}.sr-trust-list span{padding:9px 10px;border-radius:10px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.055);}

.sr-review-section{padding-top:76px;}.sr-reviews-grid{gap:14px;}.sr-review-card{border-radius:20px!important;padding:22px!important;background:linear-gradient(145deg,rgba(20,25,33,.76),rgba(10,14,19,.7))!important;}.sr-review-card .review-body{font-size:13px;line-height:1.7;color:#c5cbd3;min-height:66px;}.sr-review-card .review-stars{color:#f7c64a;font-size:12px;letter-spacing:2px;}.sr-review-avatar{width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f7c64a,#9f6418);color:#1b1305;font-weight:900;margin-right:9px;}.sr-review-card .review-author{display:flex;align-items:center;}.sr-review-card .review-name,.sr-review-card .review-date{display:block;}.sr-review-card .review-date{margin-top:2px;}
.sr-faq-section{padding-top:70px;}.sr-faq-grid{grid-template-columns:repeat(5,1fr);gap:11px;}.sr-faq-grid .faq-item{min-height:175px;padding:18px;border-radius:17px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.075);}.sr-faq-grid h3{font-size:13px;line-height:1.35;margin:0 0 10px;}.sr-faq-grid p{font-size:10px;line-height:1.65;color:#858f9c;margin:0;}
.sr-final-cta{padding:30px 0 80px;}.sr-final-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:32px 38px;border:1px solid rgba(247,198,74,.22);border-radius:24px;background:radial-gradient(circle at 80% 20%,rgba(247,198,74,.12),transparent 30%),linear-gradient(145deg,rgba(24,29,36,.88),rgba(9,13,18,.78));box-shadow:0 25px 70px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.05);}.sr-final-cta h2{font-size:30px;letter-spacing:-1px;margin:7px 0 5px;}.sr-final-cta p{color:#8f98a5;font-size:12px;margin:0;}.sr-final-cta .btn{white-space:nowrap;border-radius:12px;padding:13px 19px;font-size:11px;}

/* Preserve the compact visual language of non-home pages while making the reusable cards match the new system. */
.card,.product-card,.cat-card,.car-card,.review-card{border-radius:18px;}

@media(max-width:1100px){
  .header-inner{padding-left:18px;padding-right:18px;}.main-nav{gap:2px;}.main-nav a{padding:8px 7px;font-size:11px;}.sr-hero-grid{gap:35px;}.sr-hero-copy h1{font-size:clamp(48px,6vw,70px);}.sr-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.sr-cat-grid{grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(2,160px);}.sr-category-card{min-height:160px;}.sr-category-card:first-child{grid-row:span 2;}.sr-benefit-grid{grid-template-columns:1fr;}.sr-trust-panel{min-height:auto;}}
@media(max-width:900px){
  .sr-home-hero{min-height:0;padding-top:105px;}.sr-hero-grid{grid-template-columns:1fr;min-height:0;}.sr-hero-side{display:none;}.sr-hero-copy{max-width:760px;}.sr-hero-metrics{margin-top:55px;}.sr-steps-row{grid-template-columns:1fr;gap:18px;padding-left:0;}.sr-steps-row:before{left:24px;right:auto;top:48px;bottom:48px;width:1px;height:auto;background:linear-gradient(rgba(247,198,74,.4),rgba(247,198,74,.05));}.sr-steps-row .step{padding-left:76px;min-height:65px;}.sr-steps-row .circle{position:absolute;left:0;top:0;}.sr-section-head{align-items:flex-start;gap:20px;}.sr-faq-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:760px){
  .sr-home-hero{padding-top:94px;}.sr-hero-copy h1{font-size:clamp(44px,13vw,64px);letter-spacing:-2.5px;}.sr-hero-copy>p{font-size:14px;}.sr-hero-search{border-radius:14px;}.sr-hero-search .btn{padding:0 17px;}.sr-hero-trust-row{gap:13px 18px;}.sr-hero-metrics{grid-template-columns:repeat(2,1fr);}.sr-hero-metrics>div{border-bottom:1px solid rgba(255,255,255,.08);}.sr-cat-grid{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(4,150px);}.sr-category-card:first-child{grid-row:span 2;}.sr-category-card{min-height:150px;}.sr-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}.sr-product-grid .product-card .body{padding:11px;}.sr-product-grid .product-card .name{font-size:11px;}.sr-product-grid .product-card .price{font-size:15px;}.sr-trust-stats{grid-template-columns:repeat(2,1fr);}.sr-final-cta-inner{align-items:flex-start;flex-direction:column;padding:26px;}.sr-final-cta .btn{width:100%;}.sr-section-head h2{font-size:31px;}.sr-section-head>a{font-size:10px;}.sr-category-section,.sr-process-section,.sr-review-section{padding-top:58px;}}
@media(max-width:560px){
  .sr-hero-search{display:grid;grid-template-columns:20px 1fr;gap:7px;padding:8px 8px 8px 14px;}.sr-hero-search .btn{grid-column:1/-1;min-height:43px;}.sr-hero-actions{flex-direction:column;}.sr-hero-actions .btn{width:100%;}.sr-hero-metrics strong{font-size:20px;}.sr-hero-metrics>div{padding:14px 12px;}.sr-cat-grid{gap:9px;}.sr-category-card{border-radius:15px;padding:17px;}.sr-category-copy strong{font-size:15px;}.sr-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.sr-faq-grid{grid-template-columns:1fr;}.sr-faq-grid .faq-item{min-height:0;}.sr-car-promo-content,.sr-trust-panel{padding:25px;}.sr-car-promo h2,.sr-trust-panel h2{font-size:25px;}.sr-trust-list{grid-template-columns:1fr;}}


/* ==========================================================
   SOURCE RAMBO — FINAL MOBILE / THEME / NAV PATCH
   ========================================================== */
:root { color-scheme: dark light; }

/* Active navigation: only the actual current page receives the gold pill. */
.main-nav a.nav-highlight { color:#171108; }
.main-nav a:not(.nav-highlight).active { color:#fff; }

/* Mobile navigation must be an opaque, readable panel. */
@media (max-width:930px) {
  .site-header .mobile-menu-toggle {
    display:flex !important;
    visibility:visible !important;
    opacity:1 !important;
    position:relative !important;
    z-index:1301 !important;
  }
  .site-header .main-nav {
    background:#111419 !important;
    background-image:none !important;
    opacity:1 !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
    border:1px solid #30343b !important;
    box-shadow:0 22px 50px rgba(0,0,0,.62) !important;
    z-index:1300 !important;
    overflow:hidden;
  }
  .site-header .main-nav a {
    color:#e8ebef !important;
    background:#111419 !important;
    border-bottom:1px solid #2a2e34 !important;
    text-align:left !important;
  }
  .site-header .main-nav a:hover,
  .site-header .main-nav a.active:not(.nav-highlight) {
    background:#1d2229 !important;
    color:#ffd34f !important;
  }
  .site-header .main-nav a.nav-highlight {
    background:linear-gradient(135deg,#ffd84f,#ffad25) !important;
    color:#171108 !important;
  }
  .site-header .nav-currency-row {
    background:#111419 !important;
    border-top:1px solid #2a2e34 !important;
  }
  .site-header .nav-currency-row .currency-select {
    background:#1c2128 !important;
    color:#f2f4f7 !important;
    border-color:#3a4048 !important;
  }
}

@media (max-width:600px) {
  .site-header .mobile-menu-toggle {
    width:36px !important;
    height:36px !important;
    min-width:36px !important;
    border-radius:10px !important;
    background:#171b21 !important;
    border-color:#3a4048 !important;
  }
  .site-header .header-actions { gap:5px !important; }
  .site-header .main-nav {
    top:calc(100% + 4px) !important;
    max-height:calc(100vh - 70px);
    overflow-y:auto;
  }
}

/* At very small widths keep the hamburger visible instead of letting it be
   pushed outside the viewport by the header action icons. */
@media (max-width:430px) {
  .site-header .logo { max-width:34% !important; }
  .site-header .logo > span:last-child { white-space:normal; line-height:1.05; }
  .site-header .header-actions { gap:3px !important; }
  .site-header .header-actions .icon-btn,
  .site-header .header-actions .theme-toggle,
  .site-header .mobile-menu-toggle { width:31px !important; height:31px !important; min-width:31px !important; }
  .site-header .header-actions .search-icon-btn { display:inline-flex !important; }
  .site-header .mobile-menu-toggle { display:flex !important; }
}

/* Stable light theme. Explicitly override the hard-coded dark marketplace
   surfaces introduced by older redesign patches. */
body.light-mode {
  --bg-0:#f5f7fa;
  --bg-1:#ffffff;
  --bg-2:#eef1f5;
  --bg-card:#ffffff;
  --border:#d7dce3;
  --text:#16191d;
  --text-muted:#5f6874;
  background:#f5f7fa !important;
  color:var(--text) !important;
}
body.light-mode .site-header {
  background:rgba(255,255,255,.96) !important;
  border-bottom-color:#dfe3e8 !important;
  box-shadow:0 8px 30px rgba(20,30,45,.10) !important;
}
body.light-mode .main-nav { background:#fff !important; border-color:#dfe3e8 !important; }
body.light-mode .main-nav a { color:#5c6570 !important; }
body.light-mode .main-nav a:hover { background:#f2f4f7 !important; color:#171a1e !important; }
body.light-mode .main-nav a.active:not(.nav-highlight) { background:#eef1f5 !important; color:#171a1e !important; }
body.light-mode .main-nav a.nav-highlight { color:#171108 !important; }
body.light-mode .icon-btn,
body.light-mode .theme-toggle,
body.light-mode .currency-select { background:#f3f5f7 !important; border-color:#d5dae1 !important; color:#252a30 !important; }
body.light-mode .card,
body.light-mode .product-card,
body.light-mode .cat-card,
body.light-mode .car-card,
body.light-mode .review-card,
body.light-mode .stat-card,
body.light-mode .source-product-form-card {
  background:#fff !important;
  border-color:#dfe3e8 !important;
  color:#171a1e !important;
  box-shadow:0 12px 30px rgba(20,30,45,.08) !important;
}
body.light-mode input,
body.light-mode select,
body.light-mode textarea {
  background:#fff !important;
  color:#171a1e !important;
  border-color:#cfd5dd !important;
}
body.light-mode table th { color:#68727e; }
body.light-mode table td { border-color:#e1e5ea; }
body.light-mode footer { background:#fff !important; border-color:#dfe3e8 !important; }
body.light-mode .admin-sidebar { background:#fff !important; border-color:#dfe3e8 !important; }
body.light-mode .admin-sidebar nav a { color:#5d6671; }
body.light-mode .admin-sidebar nav a:hover,
body.light-mode .admin-sidebar nav a.active { background:#f0f3f6; color:#a66b00; }
body.light-mode .admin-topbar { color:#171a1e; }
body.light-mode .shop-marketplace-page,
body.light-mode .import-market-cars,
body.light-mode .import-browse-section,
body.light-mode .import-detail-page { background:#f5f7fa !important; color:#171a1e; }
body.light-mode .shop-filter-sidebar,
body.light-mode .shop-search-wrap { background:#fff !important; border-color:#d8dde4 !important; color:#4d5661 !important; }
body.light-mode .shop-filter-link,
body.light-mode .shop-rating-option { color:#59636e !important; }
body.light-mode .shop-sort-form select { background:#fff !important; color:#252a30 !important; border-color:#d0d6de !important; }
body.light-mode .import-market-header { background:#fff !important; color:#171a1e; border-bottom:1px solid #dfe3e8; }
body.light-mode .import-market-header h1,
body.light-mode .import-detail-info h1 { color:#171a1e; }
body.light-mode .import-market-header p,
body.light-mode .import-detail-sub { color:#68727e; }

@media (max-width:930px) {
  body.light-mode .site-header .main-nav,
  body.light-mode .site-header .main-nav a,
  body.light-mode .site-header .nav-currency-row { background:#fff !important; }
  body.light-mode .site-header .main-nav { border-color:#d7dce3 !important; }
  body.light-mode .site-header .main-nav a { color:#3f4853 !important; border-color:#e3e6ea !important; }
  body.light-mode .site-header .main-nav a:hover,
  body.light-mode .site-header .main-nav a.active:not(.nav-highlight) { background:#f0f3f6 !important; color:#9a6500 !important; }
  body.light-mode .site-header .mobile-menu-toggle { background:#f1f3f6 !important; border-color:#d2d8df !important; }
}

/* ==========================================================
   SOURCE RAMBO — FINAL UX POLISH: CURRENCY / TRACKING / MOBILE GLASS
   ========================================================== */
.currency-select {
  color-scheme: dark;
}
.currency-select option {
  background:#11161d !important;
  color:#f3f5f8 !important;
}
body.light-mode .currency-select {
  color-scheme: light;
}
body.light-mode .currency-select option {
  background:#ffffff !important;
  color:#1a1f25 !important;
}

/* Native select menus: keep the option popup readable in the dark Source Rambo UI.
   Without this, Chromium/Windows can render the popup white while inheriting the
   page's near-white text, making country names almost invisible. */
select {
  color-scheme: dark;
}
select option,
select optgroup {
  background:#11161d !important;
  color:#f3f5f8 !important;
}
select option:checked,
select option:hover {
  background:#2b2f36 !important;
  color:#ffffff !important;
}
body.light-mode select {
  color-scheme: light;
}
body.light-mode select option,
body.light-mode select optgroup {
  background:#ffffff !important;
  color:#1a1f25 !important;
}
body.light-mode select option:checked,
body.light-mode select option:hover {
  background:#eef1f5 !important;
  color:#11161d !important;
}
.track-order-page {
  padding-top:28px !important;
  margin-top:var(--site-header-height) !important;
}
.payment-provider-option {
  display:block;
  padding:10px 12px;
  margin-top:7px;
  border:1px solid var(--border);
  border-radius:10px;
  cursor:pointer;
  background:rgba(255,255,255,.025);
}
.payment-provider-option:hover { border-color:rgba(247,198,74,.45); }
body.light-mode .payment-provider-option { background:#fff; }

/* Keep the premium glass treatment on mobile, but make it readable. */
@media (max-width:930px) {
  .site-header .main-nav {
    background:rgba(12,16,22,.90) !important;
    background-image:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.018)) !important;
    backdrop-filter:blur(20px) saturate(145%) !important;
    -webkit-backdrop-filter:blur(20px) saturate(145%) !important;
    border:1px solid rgba(255,255,255,.13) !important;
    box-shadow:0 22px 55px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.055) !important;
  }
  .site-header .main-nav a,
  .site-header .nav-currency-row {
    background:transparent !important;
    border-bottom-color:rgba(255,255,255,.08) !important;
  }
  .site-header .main-nav a:hover,
  .site-header .main-nav a.active:not(.nav-highlight) {
    background:rgba(255,255,255,.075) !important;
  }
  .site-header .nav-currency-row { background:rgba(7,11,16,.28) !important; }
  .site-header .nav-currency-row .currency-select {
    background:rgba(255,255,255,.075) !important;
    backdrop-filter:blur(12px) !important;
    -webkit-backdrop-filter:blur(12px) !important;
  }
  body.light-mode .site-header .main-nav {
    background:rgba(255,255,255,.93) !important;
    background-image:linear-gradient(180deg,rgba(255,255,255,.75),rgba(245,247,250,.70)) !important;
    backdrop-filter:blur(20px) saturate(130%) !important;
    -webkit-backdrop-filter:blur(20px) saturate(130%) !important;
    border-color:rgba(30,40,55,.13) !important;
  }
  body.light-mode .site-header .main-nav a,
  body.light-mode .site-header .nav-currency-row { background:transparent !important; }
  body.light-mode .site-header .main-nav a:hover,
  body.light-mode .site-header .main-nav a.active:not(.nav-highlight) { background:rgba(20,30,45,.055) !important; }
  body.light-mode .site-header .nav-currency-row { background:rgba(240,243,247,.40) !important; }
}

/* ---------- Bulk gallery selection ---------- */
.sortable-gallery-item { position: relative; }
.gallery-select-box { display:flex; align-items:center; gap:5px; margin:0 0 5px 2px; font-size:11px; color:var(--text-muted); cursor:pointer; }
.gallery-select-box input { accent-color: var(--gold); }
.sortable-gallery-item.is-selected { border-color: var(--gold); background: rgba(255,215,0,.06); }
.gallery-bulk-toolbar .btn { white-space: nowrap; }
@media (max-width:600px) {
  .sortable-gallery-item { width: calc(50% - 10px); }
  .sortable-gallery-item img { width:100% !important; height:120px !important; }
}
/* SEO Management */
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-grid label{display:flex;flex-direction:column;gap:7px;font-weight:600;color:var(--text)}.form-grid input,.form-grid textarea{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid var(--border);border-radius:8px;background:var(--bg-2);color:var(--text);font:inherit}.form-grid textarea{resize:vertical;min-height:90px}.form-grid input:focus,.form-grid textarea:focus{outline:none;border-color:var(--gold)}@media(max-width:760px){.form-grid{grid-template-columns:1fr}.form-grid label[style*="grid-column"]{grid-column:auto!important}}

/* ---------- Top car brands slider ---------- */
.car-brands-section{padding:54px 0;background:var(--bg-0);overflow:hidden}
.car-brands-section.car-brands-theme-light{background:var(--bg-1)}
.car-brands-section.car-brands-theme-dark{background:linear-gradient(180deg,var(--bg-0),var(--bg-1))}
.car-brands-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}
.car-brands-heading h2{margin:5px 0 7px;font-size:clamp(24px,3vw,38px)}
.car-brands-heading p{margin:0;color:var(--text-muted);max-width:680px;font-size:14px;line-height:1.6}
.car-brands-view-all{white-space:nowrap;font-weight:700;color:var(--gold);text-decoration:none}
.car-brands-slider{position:relative;padding:0 44px}
.car-brands-track{display:flex;gap:12px;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none;padding:4px 2px 8px}
.car-brands-track::-webkit-scrollbar{display:none}
.car-brand-card{flex:0 0 calc((100% - 72px)/7);min-width:132px;scroll-snap-align:start;background:var(--card);border:1px solid var(--border);border-radius:14px;min-height:132px;padding:18px 12px;display:flex;align-items:center;justify-content:center;text-align:center;box-shadow:0 8px 24px rgba(0,0,0,.08);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.car-brand-card:hover{transform:translateY(-3px);border-color:rgba(255,190,35,.5);box-shadow:0 12px 30px rgba(0,0,0,.14)}
.car-brand-link{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-decoration:none;color:inherit}
.car-brand-logo-wrap{width:74px;height:52px;display:flex;align-items:center;justify-content:center}
.car-brand-logo-wrap img{display:block;max-width:74px;max-height:52px;width:auto;height:auto;object-fit:contain}
.car-brand-fallback{width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--bg-2);border:1px solid var(--border);font-size:14px;font-weight:900;color:var(--gold)}
.car-brand-name{font-size:12px;font-weight:800;color:var(--text);line-height:1.2}
.car-brands-arrow{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;border-radius:50%;border:1px solid var(--border);background:var(--card);color:var(--text);cursor:pointer;z-index:3;box-shadow:0 6px 18px rgba(0,0,0,.12);font-size:17px;display:flex;align-items:center;justify-content:center}
.car-brands-arrow:hover{border-color:var(--gold);color:var(--gold)}
.car-brands-prev{left:0}.car-brands-next{right:0}
.car-brands-dots{display:flex;justify-content:center;gap:6px;margin-top:15px;min-height:8px}
.car-brands-dot{width:7px;height:7px;border-radius:50%;background:var(--border);border:0;padding:0;transition:transform .2s,background .2s}
.car-brands-dot.is-active{background:var(--gold);transform:scale(1.25)}
.car-brands-admin-table input[type="text"],.car-brands-admin-table input[type="url"]{min-width:150px}
.car-brands-admin-table input[type="number"]{min-width:65px}
.car-brands-admin-table td,.car-brands-admin-table th{vertical-align:middle}
@media(max-width:1100px){.car-brand-card{flex-basis:calc((100% - 36px)/4)}}
@media(max-width:700px){.car-brands-section{padding:38px 0}.car-brands-heading{display:block}.car-brands-view-all{display:inline-block;margin-top:12px}.car-brands-slider{padding:0 38px}.car-brand-card{flex-basis:calc((100% - 12px)/2);min-width:0;min-height:118px}.car-brands-arrow{width:32px;height:32px}.car-brand-logo-wrap{width:62px;height:44px}.car-brand-logo-wrap img{max-width:62px;max-height:44px}}


/* ==========================================================
   SOURCE RAMBO FINAL UX POLISH
   ========================================================== */
/* Active navigation state is consistent on every current page. */
.main-nav a.active,
.main-nav a.nav-highlight.active,
.site-header .main-nav a.active:not(.nav-highlight){
  color:#171108 !important;
  background:linear-gradient(135deg,var(--sr-gold,var(--gold)),var(--sr-gold-2,var(--amber))) !important;
  font-weight:800 !important;
  box-shadow:0 7px 22px rgba(247,174,48,.16),inset 0 1px 0 rgba(255,255,255,.18) !important;
}
.main-nav a.active:hover{color:#171108 !important;background:linear-gradient(135deg,#ffda68,#ffad3d) !important}
body.light-mode .main-nav a.active,
body.light-mode .site-header .main-nav a.active:not(.nav-highlight){color:#171108 !important;background:linear-gradient(135deg,var(--sr-gold,var(--gold)),var(--sr-gold-2,var(--amber))) !important}

/* Premium glass FAQ: simple, centered and readable. */
.faq-section,.faq-page{overflow:hidden}
.faq-section-inner{display:flex;flex-direction:column;align-items:center;text-align:center}
.faq-section-heading{width:100%;max-width:900px;margin:0 auto 30px;text-align:center}
.faq-section-heading h1,.faq-section-heading h2{margin:7px 0 10px}
.faq-section-heading p{margin:0 auto;color:var(--text-muted);font-size:15px;line-height:1.7;max-width:650px}
.faq-list{width:min(860px,100%);display:flex;flex-direction:column;gap:12px;margin:0 auto}
.faq-glass-card{padding:0!important;min-height:0!important;border-radius:18px!important;background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018))!important;border:1px solid rgba(255,255,255,.10)!important;box-shadow:0 18px 45px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.035)!important;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);overflow:hidden;transition:border-color .25s ease,box-shadow .25s ease,background .25s ease}
.faq-glass-card:hover,.faq-glass-card.is-open{border-color:rgba(247,198,74,.35)!important;box-shadow:0 22px 55px rgba(0,0,0,.24),0 0 0 1px rgba(247,198,74,.04),inset 0 1px 0 rgba(255,255,255,.045)!important}
.faq-question{width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 24px;background:transparent;border:0;color:var(--text);font:inherit;font-size:17px;font-weight:650;line-height:1.45;text-align:center;cursor:pointer}
.faq-question>span:first-child{flex:1;text-align:center}
.faq-icon{flex:0 0 24px;width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;color:var(--gold);font-size:23px;font-weight:300;line-height:1;transition:transform .25s ease,color .25s ease}
.faq-glass-card.is-open .faq-icon{transform:rotate(180deg)}
.faq-answer{display:grid;grid-template-rows:0fr;transition:grid-template-rows .28s ease}
.faq-answer p{overflow:hidden;margin:0;padding:0 34px;color:var(--text-muted);font-size:14px;line-height:1.75;text-align:center}
.faq-glass-card.is-open .faq-answer{grid-template-rows:1fr}
.faq-glass-card.is-open .faq-answer p{padding-bottom:22px}
.faq-view-all{margin:24px auto 0}

/* Import page: brand section belongs at the bottom. */
.import-car-brands-bottom{margin-top:0;border-top:1px solid rgba(255,255,255,.07)}
.import-car-brands-bottom .car-brands-heading{text-align:center;display:flex;flex-direction:column;align-items:center}
.import-car-brands-bottom .car-brands-heading>div{width:100%;text-align:center}
.import-car-brands-bottom .car-brands-heading p{margin-left:auto;margin-right:auto}
.import-car-brands-bottom .car-brands-view-all{margin-top:12px}

/* Keep How It Works centered as one visual group. */
.steps-heading{text-align:center}
.steps-row{justify-items:center}
.steps-row .step{width:100%;max-width:230px;text-align:center}


/* Import Cars: keep the four how-it-works steps as a centered visual group. */
.import-how-it-works .steps-row{
  width:min(1160px,100%);
  margin:0 auto;
  grid-template-columns:repeat(4,minmax(0,230px));
  justify-content:center;
  align-items:start;
  column-gap:72px;
  row-gap:28px;
}
.import-how-it-works .steps-row .step{
  width:100%;
  max-width:230px;
  justify-self:center;
  text-align:center;
}
@media(max-width:1100px){
  .import-how-it-works .steps-row{
    grid-template-columns:repeat(2,minmax(0,230px));
    column-gap:70px;
  }
}
@media(max-width:700px){
  .import-how-it-works .steps-row{
    width:100%;
    grid-template-columns:1fr;
    gap:28px;
  }
  .import-how-it-works .steps-row .step{
    max-width:280px;
  }
}

/* Product marketplace typography should never fall back to the tiny reference sizes. */
.shop-marketplace-page .shop-title-block h1{font-size:var(--sr-product-page-title-size,34px)!important}
.shop-marketplace-page .shop-title-block p{font-size:var(--sr-product-page-intro-size,15px)!important}
.shop-marketplace-page .shop-filter-section>label:first-child,
.shop-marketplace-page .shop-filter-link,
.shop-marketplace-page .shop-rating-option,
.shop-marketplace-page .shop-clear-btn,
.shop-marketplace-page .shop-search-wrap input,
.shop-marketplace-page .shop-filter-sidebar input[type=number]{font-size:var(--sr-product-filter-size,13px)!important}
.shop-marketplace-page .shop-results-head,.shop-marketplace-page .shop-sort-form select{font-size:var(--sr-product-result-size,13px)!important}
.shop-marketplace-page .shop-reference-grid .product-card .name{font-size:var(--sr-product-title-size,15px)!important}
.shop-marketplace-page .shop-reference-grid .product-card .price{font-size:var(--sr-product-price-size,18px)!important}
.shop-marketplace-page .shop-reference-grid .product-card .stars,
.shop-marketplace-page .shop-reference-grid .product-card .price .old{font-size:var(--sr-product-meta-size,13px)!important}
.shop-marketplace-page .shop-reference-grid .product-card .add-btn{font-size:var(--sr-product-button-size,13px)!important}

/* SEO vehicle descriptions */
.car-detail-description{margin:20px 0;padding:20px;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.015));backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);text-align:center}
.car-detail-description h3{margin:0 0 10px;font-size:18px}
.car-detail-description p{margin:0;color:var(--text-muted);font-size:15px;line-height:1.75}

@media(max-width:600px){
  .faq-question{padding:18px 17px;font-size:15px}
  .faq-answer p{font-size:13px;padding-left:20px;padding-right:20px}
  .faq-section-heading h1,.faq-section-heading h2{font-size:28px}
}


/* =========================================================
   Source Rambo: fixed-header content offsets
   ========================================================= */
.customer-dashboard,
.product-detail-page {
  padding-bottom: 60px;
}
.customer-dashboard {
  padding-top: 120px;
}
.product-detail-page {
  padding-top: 120px;
}

/* Keep the Top Brands component visually consistent on the homepage
   and Import Cars page: centered heading, copy, CTA and slider. */
.import-car-brands-bottom .car-brands-heading {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.import-car-brands-bottom .car-brands-heading > div {
  width: 100%;
  text-align: center;
}
.import-car-brands-bottom .car-brands-heading p {
  margin-left: auto;
  margin-right: auto;
}
.import-car-brands-bottom .car-brands-view-all {
  margin-top: 12px;
}

/* Keep How It Works as a centered visual group. */
.import-how-it-works .steps-row {
  width: min(1160px, 100%);
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

@media (max-width: 768px) {
  .customer-dashboard {
    padding-top: 100px;
  }
  .product-detail-page {
    padding-top: 100px;
  }
}

@media (max-width: 480px) {
  .customer-dashboard {
    padding-top: 90px;
  }
  .product-detail-page {
    padding-top: 90px;
  }
}


/* ==========================================================
   SOURCE RAMBO — MOBILE PRODUCT MESSAGES + SHOP ALIGNMENT
   ========================================================== */
.customer-messages-page {
  max-width: 1050px;
  padding-top: 112px;
  padding-bottom: 60px;
}
.customer-messages-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.customer-messages-layout > .card,
.admin-product-messages-layout > .card {
  min-width: 0;
  width: 100%;
}
.customer-messages-layout textarea,
.admin-product-messages-layout textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.customer-messages-layout .card {
  overflow: hidden;
}
.customer-messages-layout .card > div[style*="max-height"] {
  min-width: 0;
}
.customer-messages-layout .card > div[style*="max-height"] > div > div {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.admin-product-messages-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

/* All-products page: keep every column inside the viewport and align the
   marketplace controls/cards consistently on smaller screens. */
.shop-marketplace-page,
.shop-marketplace-page .container,
.shop-market-grid,
.shop-results,
.shop-reference-grid,
.shop-reference-grid .product-card {
  min-width: 0;
}
.shop-reference-grid .product-card {
  overflow: hidden;
}
.shop-reference-grid .product-card .name,
.shop-reference-grid .product-card .price {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.shop-reference-grid .product-card .name {
  line-height: 1.35;
}
.shop-reference-grid .product-card .price {
  line-height: 1.25;
}
.shop-reference-grid .product-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
}
.shop-reference-grid .product-card-actions .product-add-form,
.shop-reference-grid .product-card-actions .add-btn {
  min-width: 0;
  width: 100%;
}

@media (max-width: 820px) {
  .customer-messages-page {
    padding-top: 106px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .customer-messages-layout,
  .admin-product-messages-layout {
    grid-template-columns: 1fr;
  }
  .customer-messages-layout > .card,
  .admin-product-messages-layout > .card {
    width: 100%;
  }
  .customer-messages-page > div:first-child {
    align-items: flex-start !important;
  }
  .customer-messages-page > div:first-child > div {
    min-width: 0;
  }
  .customer-messages-page h1 {
    font-size: clamp(28px, 8vw, 38px) !important;
    line-height: 1.1;
  }
  .customer-messages-page > div:first-child p {
    font-size: 15px !important;
    line-height: 1.6;
  }
  .customer-messages-page > div:first-child .btn {
    width: 100%;
  }

  .shop-marketplace-page.no-shop-hero {
    margin-top: var(--site-header-height) !important;
    padding-top: 22px !important;
  }
  .shop-marketplace-page .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .shop-breadcrumb {
    justify-content: center;
    font-size: 11px;
  }
  .shop-title-block {
    text-align: center;
    margin-bottom: 26px;
  }
  .shop-title-block h1 {
    font-size: clamp(28px, 8vw, 38px) !important;
    line-height: 1.08;
  }
  .shop-title-block p {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    font-size: 14px !important;
    line-height: 1.55;
  }
  .shop-filter-sidebar {
    width: 100%;
    padding: 16px;
    border-radius: 16px;
  }
  .shop-filter-section > label:first-child {
    font-size: 12px !important;
  }
  .shop-search-wrap input,
  .shop-filter-sidebar input[type=number],
  .shop-filter-link,
  .shop-rating-option,
  .shop-clear-btn {
    font-size: 13px !important;
  }
  .shop-filter-link,
  .shop-rating-option {
    padding: 9px 8px;
  }
  .shop-results-head {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    font-size: 13px !important;
    margin-top: 4px;
  }
  .shop-sort-form,
  .shop-sort-form select {
    width: 100%;
  }
  .shop-sort-form select {
    min-width: 0;
    font-size: 13px !important;
    padding: 10px 12px;
  }
  .shop-reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100%;
  }
  .shop-reference-grid .product-card {
    border-radius: 14px;
  }
  .shop-reference-grid .product-card .body {
    padding: 11px !important;
  }
  .shop-reference-grid .product-card .name {
    font-size: 14px !important;
    min-height: 38px;
  }
  .shop-reference-grid .product-card .stars,
  .shop-reference-grid .product-card .price .old {
    font-size: 12px !important;
  }
  .shop-reference-grid .product-card .price {
    font-size: 16px !important;
  }
  .shop-reference-grid .product-card .add-btn {
    min-height: 36px;
    padding: 7px 8px;
    font-size: 12px !important;
  }
  .shop-reference-grid .product-card .share-btn {
    width: 34px;
    min-width: 34px;
    height: 34px;
  }
}

@media (max-width: 480px) {
  .customer-messages-page {
    padding-top: 102px;
  }
  .customer-messages-layout {
    gap: 14px;
  }
  .customer-messages-layout .card {
    padding: 16px;
    border-radius: 16px;
  }
  .customer-messages-layout .card h3 {
    font-size: 20px;
  }
  .customer-messages-layout .card a[style*="display:flex"] {
    width: 100%;
    min-width: 0;
  }
  .customer-messages-layout .card a[style*="display:flex"] span {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .customer-messages-layout .card form .btn {
    width: 100%;
  }

  .shop-reference-grid {
    gap: 10px !important;
  }
  .shop-reference-grid .product-card .body {
    padding: 10px !important;
  }
  .shop-reference-grid .product-card .name {
    font-size: 13px !important;
  }
  .shop-reference-grid .product-card .price {
    font-size: 15px !important;
  }
  .shop-reference-grid .product-card-actions {
    grid-template-columns: minmax(0, 1fr) 32px;
    gap: 5px;
  }
  .shop-reference-grid .product-card .add-btn {
    font-size: 11px !important;
    padding-left: 6px;
    padding-right: 6px;
  }
  .shop-reference-grid .product-card .share-btn {
    width: 32px;
    min-width: 32px;
    height: 32px;
  }
}

/* ==========================================================
   SOURCE RAMBO — CUSTOMER ACCOUNT SIDEBAR / DRAWER
   ========================================================== */
.customer-dashboard-shell{
  display:grid;
  grid-template-columns:260px minmax(0,1fr);
  gap:24px;
  align-items:start;
}
.customer-account-sidebar{
  position:sticky;
  top:96px;
  padding:18px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:22px;
  background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  box-shadow:0 20px 50px rgba(0,0,0,.22);
  z-index:80;
}
.customer-sidebar-profile{
  display:flex;
  align-items:center;
  gap:11px;
  padding:4px 2px 18px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.customer-sidebar-avatar,.customer-dashboard-avatar{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:50%;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.1);
}
.customer-sidebar-avatar{width:44px;height:44px;font-size:18px}
.customer-sidebar-avatar img,.customer-dashboard-avatar img{width:100%;height:100%;object-fit:cover}
.customer-sidebar-profile-copy{min-width:0;display:flex;flex-direction:column;gap:2px}
.customer-sidebar-profile-copy strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.customer-sidebar-profile-copy span{font-size:11px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.customer-sidebar-close{display:none;margin-left:auto;border:0;background:none;color:var(--text-muted);font-size:28px;line-height:1;cursor:pointer}
.customer-account-nav{display:flex;flex-direction:column;gap:5px;padding-top:14px}
.customer-account-nav a{
  display:flex;
  align-items:center;
  gap:11px;
  min-height:43px;
  padding:10px 12px;
  border-radius:12px;
  color:var(--text-muted);
  font-size:13px;
  text-decoration:none;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
.customer-account-nav a span:first-child{width:20px;text-align:center;font-size:16px}
.customer-account-nav a:hover{background:rgba(255,215,0,.07);color:var(--text);transform:translateX(2px)}
.customer-account-nav a.active{background:linear-gradient(90deg,rgba(255,215,0,.16),rgba(255,165,0,.06));color:var(--gold);border:1px solid rgba(255,215,0,.14)}
.customer-account-nav a.customer-account-logout{margin-top:8px;border-top:1px solid rgba(255,255,255,.07);border-radius:0 0 12px 12px;padding-top:15px;color:#c7c7c7}
.customer-account-nav a.customer-account-logout:hover{color:#ff8d8d;background:rgba(231,76,60,.07)}
.customer-dashboard-main{min-width:0}
.customer-dashboard-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:24px}
.customer-dashboard-welcome{display:flex;align-items:center;gap:14px;min-width:0}
.customer-dashboard-avatar{width:56px;height:56px;font-size:22px}
.customer-dashboard-welcome h2{margin:0}
.customer-dashboard-welcome span{color:var(--text-muted);font-size:13px}
.customer-dashboard-actions{display:flex;gap:10px;flex-wrap:wrap}
.customer-quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:28px}
.customer-quick-actions .card{min-width:0;text-align:center;text-decoration:none;padding:22px 16px;display:flex;flex-direction:column;align-items:center;gap:7px;transition:transform .2s ease,border-color .2s ease,background .2s ease}
.customer-quick-actions .card:hover{transform:translateY(-2px);border-color:rgba(255,215,0,.22);background:rgba(255,255,255,.045)}
.customer-quick-actions .card strong{font-size:14px}
.customer-quick-actions .card span{font-size:11px;color:var(--text-muted)}
.customer-dashboard-card{margin-bottom:18px;scroll-margin-top:100px}
.customer-card-link{color:var(--gold);font-size:12px;text-decoration:none}
.customer-table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.customer-table-wrap table{min-width:620px}
.customer-dashboard-logout{padding:4px 0 20px}
.customer-account-toggle{display:none}
.customer-account-overlay{display:none}
@media(max-width:1050px){
  .customer-dashboard-shell{grid-template-columns:220px minmax(0,1fr);gap:18px}
  .customer-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .customer-dashboard{padding-top:125px}
  .customer-dashboard-shell{display:block}
  .customer-account-toggle{
    display:flex;
    align-items:center;
    gap:9px;
    margin:0 0 14px;
    padding:11px 15px;
    border:1px solid rgba(255,255,255,.1);
    border-radius:14px;
    background:rgba(255,255,255,.045);
    color:var(--text);
    font:600 13px var(--font);
    cursor:pointer;
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
  }
  .customer-account-toggle-icon{color:var(--gold);font-size:17px}
  .customer-account-sidebar{
    position:fixed;
    top:76px;
    left:0;
    bottom:0;
    width:min(320px,88vw);
    height:calc(100dvh - 76px);
    margin:0;
    border-radius:0 22px 22px 0;
    transform:translateX(-105%);
    transition:transform .28s ease;
    overflow-y:auto;
    box-shadow:18px 0 55px rgba(0,0,0,.5);
  }
  .customer-account-sidebar.is-open{transform:translateX(0)}
  .customer-account-overlay{display:block;position:fixed;inset:76px 0 0 0;background:rgba(0,0,0,.42);z-index:70;}
  .customer-account-overlay[hidden]{display:none}
  .customer-sidebar-close{display:block}
  .customer-dashboard-head{margin-bottom:20px}
  body.account-sidebar-open{overflow:hidden}
}
@media(max-width:600px){
  .customer-dashboard{padding-top:145px;padding-bottom:45px}
  .customer-dashboard-head{align-items:flex-start}
  .customer-dashboard-welcome h2{font-size:22px;line-height:1.2}
  .customer-dashboard-welcome span{font-size:12px}
  .customer-dashboard-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}
  .customer-dashboard-actions .btn{width:100%}
  .customer-quick-actions{grid-template-columns:1fr 1fr;gap:10px}
  .customer-quick-actions .card{padding:18px 10px}
  .customer-quick-actions .card strong{font-size:12px}
  .customer-quick-actions .card span{font-size:10px}
  .customer-dashboard-card{padding:16px;margin-bottom:14px}
  .customer-dashboard-card .section-head{align-items:flex-start;gap:8px;flex-wrap:wrap}
}
@media(max-width:420px){
  .customer-dashboard-actions{grid-template-columns:1fr}
  .customer-quick-actions{grid-template-columns:1fr}
  .customer-dashboard-welcome{gap:10px}
  .customer-dashboard-avatar{width:48px;height:48px}
}

@media(max-width:900px){
  .import-cars-hero{min-height:390px;margin-top:68px;}
  .import-cars-hero-inner{padding-top:36px;padding-bottom:36px;}
  .import-cars-hero h1{font-size:clamp(32px,7vw,52px);}
}
@media(max-width:600px){
  .import-cars-hero{min-height:430px;align-items:flex-end;}
  .import-cars-hero-overlay{background:linear-gradient(180deg,rgba(4,5,7,.42),rgba(4,5,7,.92));}
  .import-cars-hero-inner{padding-top:34px;padding-bottom:34px;}
  .import-cars-hero h1{font-size:clamp(31px,10vw,44px);letter-spacing:-1px;}
  .import-cars-hero p{font-size:14px;line-height:1.5;}
  .import-cars-hero-actions{display:grid;grid-template-columns:1fr;gap:10px;}
  .import-cars-hero-actions .btn{width:100%;text-align:center;}
}

/* Source Rambo: larger Import Cars typography defaults, admin controls override these values. */
.import-cars-page .import-browse-heading{font-size:32px;line-height:1.15;color:#fff;font-weight:800;}
.import-cars-page .import-category-name{font-size:15px;line-height:1.25;}
.import-cars-page .import-category-count{font-size:13px;line-height:1.3;}
.import-cars-page .import-how-it-works .steps-heading p{font-size:16px;}
.import-cars-page .import-how-it-works .step .title{font-size:18px;}
.import-cars-page .import-how-it-works .step .desc{font-size:15px;line-height:1.55;}
.import-cars-page .car-quote-cta h2{font-size:30px;}
.import-cars-page .car-quote-cta p{font-size:16px;}


/* Central authentication branding */
.sr-auth-brand{display:flex;justify-content:center;align-items:center;min-height:58px;margin:0 auto 14px;text-align:center}.sr-auth-brand img{display:block;max-width:230px;max-height:64px;width:auto;height:auto;object-fit:contain;border-radius:8px;background:#fff;padding:5px}.sr-auth-brand strong{font-size:22px;font-weight:800;color:var(--text)}
@media(max-width:520px){.sr-auth-brand img{max-width:190px;max-height:56px}}
.hero-slider{position:relative;overflow:hidden}.hero-slide{display:none;min-height:560px;position:relative;background-image:var(--hero-background);background-size:cover;background-position:center}.hero-slide.active{display:block}.hero-slide .hero-image{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.7),rgba(0,0,0,.2));}

/* Source Rambo — redesigned homepage hero slider */
.sr-home-hero-slider{position:relative;isolation:isolate;overflow:hidden;min-height:650px;background:radial-gradient(circle at 76% 38%,rgba(255,193,54,.10),transparent 28%),linear-gradient(135deg,#07090c 0%,#0c1015 55%,#080a0d 100%);border-bottom:1px solid rgba(255,255,255,.08)}
.sr-home-hero-slider:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,193,54,.035),transparent 35%,rgba(255,255,255,.018));pointer-events:none}
.sr-hero-slides{position:relative;min-height:650px}
.sr-home-hero-slider .sr-hero-slide{display:none;min-height:650px;animation:srHeroIn .65s ease both}
.sr-home-hero-slider .sr-hero-slide.active{display:block}
.sr-hero-layout{min-height:650px;display:grid;grid-template-columns:minmax(0,1fr) minmax(440px,1.05fr);gap:48px;align-items:center;padding-top:74px;padding-bottom:88px}
.sr-hero-copy{position:relative;z-index:3;max-width:700px}
.sr-hero-eyebrow{display:inline-flex;align-items:center;gap:9px;padding:8px 12px;border:1px solid rgba(255,193,54,.25);background:rgba(255,193,54,.07);border-radius:999px;color:#ffd36a;font-size:11px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase}
.sr-hero-eyebrow .dot{width:7px;height:7px;border-radius:50%;background:#ffc13b;box-shadow:0 0 14px rgba(255,193,54,.8)}
.sr-home-hero-slider .sr-hero-copy h1{margin:20px 0 18px;font-size:clamp(46px,5.6vw,82px);line-height:.96;letter-spacing:-3.5px;font-weight:900;text-transform:uppercase;max-width:760px;color:#f7f7f7}
.sr-home-hero-slider .sr-hero-copy p{margin:0;max-width:610px;color:#aeb5bf;font-size:17px;line-height:1.75}
.sr-home-hero-slider .sr-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.sr-home-hero-slider .sr-hero-actions .btn{min-height:52px;padding:0 22px;border-radius:13px;font-weight:800}
.sr-hero-trust{display:flex;gap:18px;flex-wrap:wrap;margin-top:25px;color:#8f98a4;font-size:11px;font-weight:700}
.sr-hero-media{position:relative;z-index:2;min-width:0;height:500px;border:1px solid rgba(255,255,255,.12);border-radius:28px;overflow:hidden;background:#10141a;box-shadow:0 28px 80px rgba(0,0,0,.38)}
.sr-hero-media picture,.sr-hero-media img{display:block;width:100%;height:100%}
.sr-hero-media img{object-fit:cover;object-position:center}
.sr-hero-media:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 48%,rgba(0,0,0,.52) 100%);pointer-events:none}
.sr-hero-media-glow{position:absolute;inset:auto -15% -35% 20%;height:220px;background:radial-gradient(ellipse,rgba(255,193,54,.18),transparent 65%);filter:blur(10px);pointer-events:none;z-index:1}
.sr-hero-media-tag{position:absolute;left:20px;bottom:18px;z-index:3;display:grid;gap:3px;padding:12px 15px;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:rgba(8,10,13,.72);backdrop-filter:blur(12px);color:#fff}
.sr-hero-media-tag strong{font-size:13px}.sr-hero-media-tag span{font-size:10px;color:#b4bcc6}
.sr-hero-controls{position:absolute;left:50%;bottom:25px;transform:translateX(-50%);display:flex;align-items:center;justify-content:space-between;z-index:6;pointer-events:none}
.sr-hero-dots,.sr-hero-arrows{pointer-events:auto;display:flex;align-items:center;gap:8px}
.sr-hero-dot{width:28px;height:4px;border:0;border-radius:99px;background:rgba(255,255,255,.2);cursor:pointer;padding:0;transition:.25s}.sr-hero-dot.active{width:52px;background:#ffc13b}
.sr-hero-arrows{gap:7px}.sr-hero-arrow{width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.14);background:rgba(8,10,13,.68);color:#fff;cursor:pointer;font-size:18px}.sr-hero-arrow:hover{border-color:rgba(255,193,54,.55);color:#ffc13b}
@keyframes srHeroIn{from{opacity:.25;transform:translateY(8px)}to{opacity:1;transform:none}}

/* Hero editor */
.sr-hero-manager-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}.sr-hero-speed{min-width:180px}.sr-hero-speed label{display:block}.sr-hero-slide-editor{padding:18px;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:rgba(255,255,255,.025);margin-top:14px}.sr-hero-slide-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.sr-hero-slide-state{font-size:11px;color:#8e98a5;margin-left:6px}.sr-hero-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.8fr);gap:20px}.sr-hero-two-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sr-check{display:flex!important;align-items:center;gap:7px;margin-top:14px}.sr-check input{width:auto!important}.sr-hero-upload-panel{display:grid;gap:12px}.sr-upload-box{display:grid;grid-template-columns:120px 1fr;gap:12px;align-items:center;padding:11px;border:1px dashed rgba(255,255,255,.14);border-radius:14px;background:rgba(0,0,0,.14)}.sr-upload-preview{width:120px;height:78px;border-radius:10px;overflow:hidden;background:#0b0d10}.sr-upload-preview.mobile{height:105px}.sr-upload-preview img{width:100%;height:100%;object-fit:cover}.sr-upload-box strong{display:block;font-size:13px}.sr-upload-box strong span{font-weight:500;color:#89919d}.sr-upload-box small{display:block;color:#7f8995;margin:3px 0 8px;font-size:10px}.sr-empty-preview{height:100%;display:grid;place-items:center;color:#6f7883;font-size:10px;text-align:center;padding:8px}.sr-hero-manager-actions{display:flex;justify-content:space-between;gap:10px;margin-top:16px}
@media(max-width:900px){.sr-hero-layout{grid-template-columns:1fr;gap:25px;padding-top:105px;padding-bottom:82px}.sr-hero-media{height:380px}.sr-home-hero-slider .sr-hero-copy h1{font-size:clamp(42px,8vw,64px)}.sr-hero-editor-grid{grid-template-columns:1fr}}
@media(max-width:600px){.sr-home-hero-slider,.sr-hero-slides,.sr-home-hero-slider .sr-hero-slide{min-height:0}.sr-hero-layout{padding-top:92px;padding-bottom:82px}.sr-home-hero-slider .sr-hero-copy h1{font-size:clamp(38px,12vw,56px);letter-spacing:-2px}.sr-home-hero-slider .sr-hero-copy p{font-size:14px;line-height:1.6}.sr-home-hero-slider .sr-hero-actions{flex-direction:column}.sr-home-hero-slider .sr-hero-actions .btn{width:100%}.sr-hero-trust{gap:10px 15px}.sr-hero-media{height:330px;border-radius:20px}.sr-hero-controls{bottom:17px}.sr-hero-media-tag{left:12px;bottom:12px}.sr-hero-manager-head{display:block}.sr-hero-speed{margin-top:14px}.sr-hero-two-fields{grid-template-columns:1fr}.sr-upload-box{grid-template-columns:90px 1fr}.sr-upload-preview{width:90px;height:65px}.sr-upload-preview.mobile{height:82px}.sr-hero-manager-actions{flex-direction:column}.sr-hero-manager-actions .btn{width:100%}}


/* Homepage stats cards + animated counters */
.sr-home-stats{position:relative;background:#07090b;padding:14px 0;border-top:1px solid rgba(255,193,54,.10);border-bottom:1px solid rgba(255,193,54,.10);overflow:hidden}
.sr-home-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.sr-stat-card{position:relative;min-height:92px;padding:16px 18px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;border:1px solid rgba(255,193,54,.18);border-radius:15px;background:linear-gradient(145deg,#101216,#080a0d);box-shadow:0 12px 28px rgba(0,0,0,.22);transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease,background .3s ease;overflow:hidden}
.sr-stat-card:before{content:"";position:absolute;inset:-40% auto auto -20%;width:140px;height:140px;border-radius:50%;background:rgba(255,193,54,.08);filter:blur(25px);transition:transform .5s ease,opacity .5s ease;opacity:.35}
.sr-stat-card:hover{transform:translateY(-5px);border-color:#ffc13b;background:linear-gradient(145deg,#15110a,#0b0c0e);box-shadow:0 18px 42px rgba(255,193,54,.16)}
.sr-stat-card:hover:before{transform:translate(45px,20px);opacity:.75}
.sr-stat-number{position:relative;z-index:1;color:#ffc13b;font-size:clamp(24px,2.1vw,34px);line-height:1;font-weight:900;letter-spacing:-1px;display:flex;align-items:baseline;justify-content:center;gap:1px;text-shadow:0 0 22px rgba(255,193,54,.18)}
.sr-stat-value{display:inline-block;min-width:1ch}
.sr-stat-label{position:relative;z-index:1;margin-top:8px;color:#f2f2f2;font-size:12px;font-weight:700;letter-spacing:.2px}
.sr-stat-flying .sr-stat-number{animation:srStatFly .75s cubic-bezier(.2,.8,.2,1) both}
@keyframes srStatFly{0%{opacity:0;transform:translateY(20px) scale(.88);filter:blur(4px)}65%{opacity:1;transform:translateY(-4px) scale(1.04);filter:blur(0)}100%{opacity:1;transform:none}}

/* Admin-configurable homepage marketplace search */
.marketplace-search{max-width:var(--sr-search-max-width,1340px);min-height:var(--sr-search-height,124px);border-radius:var(--sr-search-radius,15px);grid-template-columns:minmax(0,1fr) 268px var(--sr-search-button-width,157px)}
.marketplace-search input,.marketplace-search select{font-size:var(--sr-search-font,17px)}
.marketplace-search .btn{width:100%;font-size:var(--sr-search-font,17px)}

/* Homepage testimonials */
.sr-testimonials-section{background:linear-gradient(180deg,#0b0d10 0%,#07090b 100%);border-top:1px solid rgba(255,255,255,.05);border-bottom:1px solid rgba(255,255,255,.05)}
.sr-testimonials-section .sr-section-head h2{margin:8px 0 9px;font-size:clamp(32px,4vw,48px);letter-spacing:-1.5px}
.sr-testimonials-section .sr-section-head p{margin:0;color:#9ca5b0;font-size:14px}
.sr-testimonials-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.sr-testimonial-card{position:relative;padding:24px;border:1px solid rgba(255,193,54,.13);border-radius:20px;background:linear-gradient(145deg,rgba(20,23,28,.95),rgba(8,10,13,.98));box-shadow:0 18px 42px rgba(0,0,0,.25);transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease}
.sr-testimonial-card:hover{transform:translateY(-5px);border-color:rgba(255,193,54,.55);box-shadow:0 22px 48px rgba(255,193,54,.08)}
.sr-testimonial-top{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:11px;align-items:center}
.sr-testimonial-avatar{width:46px;height:46px;border-radius:50%;object-fit:cover;border:1px solid rgba(255,193,54,.38);background:#11151a}
.sr-testimonial-initial{display:flex;align-items:center;justify-content:center;color:#ffc13b;font-weight:900;font-size:17px}
.sr-testimonial-top strong{display:block;color:#f4f4f4;font-size:14px}
.sr-testimonial-top span{display:block;color:#7f8995;font-size:10px;margin-top:2px}
.sr-testimonial-stars{color:#ffc13b!important;font-size:12px!important;letter-spacing:1px;white-space:nowrap}
.sr-testimonial-card>p{margin:19px 0 0;color:#c2c8d0;font-size:13px;line-height:1.8}
@media(max-width:900px){.sr-home-stats-grid{grid-template-columns:repeat(2,1fr)}.sr-testimonials-grid{grid-template-columns:1fr 1fr}.marketplace-search{grid-template-columns:1fr 1fr var(--sr-search-button-width,157px)}}
@media(max-width:600px){.sr-home-stats-grid{grid-template-columns:1fr 1fr;gap:8px}.sr-stat-card{min-height:82px;padding:12px 8px}.sr-stat-number{font-size:22px}.sr-stat-label{font-size:10px}.sr-testimonials-grid{grid-template-columns:1fr}.sr-testimonial-top{grid-template-columns:42px minmax(0,1fr)}.sr-testimonial-stars{grid-column:2;grid-row:2}.marketplace-search{grid-template-columns:1fr;min-height:0}.marketplace-search .btn{width:100%}}

/* Source Rambo classic homepage hero: retain full-width image style while using the admin-controlled slider. */
.sr-home-hero-classic{position:relative;min-height:700px;overflow:hidden;background:#07090c}
.sr-home-hero-classic .sr-hero-slides,.sr-home-hero-classic .sr-hero-slide{position:absolute;inset:0;min-height:700px}
.sr-home-hero-classic .sr-hero-slide{opacity:0;visibility:hidden;transition:opacity .7s ease,visibility .7s ease}
.sr-home-hero-classic .sr-hero-slide.active{opacity:1;visibility:visible;z-index:2}
.sr-home-hero-classic .sr-hero-bg{position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(2,6,10,.94) 0%,rgba(2,6,10,.82) 34%,rgba(2,6,10,.36) 66%,rgba(2,6,10,.28) 100%),linear-gradient(0deg,rgba(2,6,10,.48),rgba(2,6,10,.08)),var(--hero-image);background-position:center;background-size:cover;background-repeat:no-repeat;transform:scale(1.01);transition:transform 7s ease}
.sr-home-hero-classic .sr-hero-slide.active .sr-hero-bg{transform:scale(1.05)}
.sr-home-hero-classic .sr-hero-classic-inner{position:relative;z-index:3;box-sizing:border-box;min-height:700px;display:flex;align-items:center;padding-top:108px;padding-bottom:118px}
.sr-home-hero-classic .sr-hero-copy{max-width:760px;padding:25px 0}
.sr-home-hero-classic .sr-hero-copy h1{margin:18px 0 18px;font-size:clamp(48px,6vw,86px);line-height:.96;letter-spacing:-3.5px;font-weight:900;text-transform:uppercase;color:#f7f7f7;text-shadow:0 4px 22px rgba(0,0,0,.28)}
.sr-home-hero-classic .sr-hero-copy p{max-width:610px;margin:0;color:#d3d9e0;font-size:17px;line-height:1.7}
.sr-home-hero-classic .sr-hero-actions{position:relative;z-index:6;display:flex;gap:12px;flex-wrap:wrap;margin-top:30px;margin-bottom:4px}.sr-home-hero-classic .sr-hero-actions .btn{min-height:52px;padding:0 24px;border-radius:13px;font-weight:800}
.sr-home-hero-classic .sr-hero-controls{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);z-index:8;display:flex;justify-content:space-between;align-items:center;width:min(1200px,calc(100% - 32px));pointer-events:none}
.sr-home-hero-classic .sr-hero-controls>*{pointer-events:auto}.sr-home-hero-classic .sr-hero-dot{width:28px;height:4px;border:0;border-radius:99px;background:rgba(255,255,255,.28)}.sr-home-hero-classic .sr-hero-dot.active{width:52px;background:#ffc13b}.sr-home-hero-classic .sr-hero-arrow{width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.2);background:rgba(8,10,13,.68);color:#fff}
@media(max-width:700px){.sr-home-hero-classic,.sr-home-hero-classic .sr-hero-slides,.sr-home-hero-classic .sr-hero-slide,.sr-home-hero-classic .sr-hero-classic-inner{min-height:820px}.sr-home-hero-classic .sr-hero-bg{background-image:linear-gradient(180deg,rgba(2,6,10,.72) 0%,rgba(2,6,10,.82) 48%,rgba(2,6,10,.94) 100%),var(--hero-mobile-image);background-position:center;background-size:cover}.sr-home-hero-classic .sr-hero-classic-inner{align-items:flex-end;padding-top:120px;padding-bottom:128px}.sr-home-hero-classic .sr-hero-copy h1{font-size:clamp(38px,12vw,58px);letter-spacing:-2px}.sr-home-hero-classic .sr-hero-copy p{font-size:14px}.sr-home-hero-classic .sr-hero-actions{flex-direction:column}.sr-home-hero-classic .sr-hero-actions .btn{width:100%}}
body.admin-mobile-nav-open{overflow:hidden}


/* ==========================================================
   SOURCE RAMBO — FIXED HEADER CONTENT / FAQ / AI ASSISTANT
   Final patch: keep page content below the fixed navigation.
   ========================================================== */
.faq-page {
  padding-top: 120px !important;
  scroll-margin-top: calc(var(--site-header-height, 72px) + 16px);
}

/* Standalone content pages that do not use a page-hero already have their
   own explicit 120px top spacing in their markup. Keep the tracking page
   consistent with them rather than stacking margin + padding offsets. */
.track-order-page {
  margin-top: 0 !important;
  padding-top: 120px !important;
}

/* Password reset: reserve space for the fixed navigation while preserving
   the centered auth-card layout. */
.auth-page-wrap {
  min-height: calc(100vh - var(--site-header-height, 72px));
  padding: 120px 16px 40px !important;
  box-sizing: border-box;
}

/* AI assistant: the panel opens below the fixed header instead of covering
   the navigation or the page title. The launcher remains near WhatsApp. */
.sr-ai-panel {
  top: calc(var(--site-header-height, 72px) + 14px) !important;
  bottom: auto !important;
  height: min(540px, calc(100vh - var(--site-header-height, 72px) - 30px)) !important;
  max-height: calc(100vh - var(--site-header-height, 72px) - 30px) !important;
}

@media (max-width: 600px) {
  .faq-page { padding-top: 104px !important; }
  .auth-page-wrap { padding-top: 100px !important; }
  .sr-ai-panel {
    top: calc(var(--site-header-height, 64px) + 8px) !important;
    height: min(72vh, calc(100vh - var(--site-header-height, 64px) - 18px)) !important;
    max-height: calc(100vh - var(--site-header-height, 64px) - 18px) !important;
    right: 10px !important;
    width: calc(100vw - 20px) !important;
  }
}

/* AI assistant / WhatsApp collision fix: on narrow screens the open assistant
   occupies the lower-right area, so WhatsApp yields that space until the
   assistant is closed. */
@media (max-width: 600px) {
  .sr-ai-panel.open ~ .global-whatsapp {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: scale(.9) !important;
  }
}

/* Shipping hero actions: keep both primary tools visible together. */
.shipping-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.shipping-hero-actions .btn { margin-top: 0 !important; }
@media (max-width: 500px) {
  .shipping-hero-actions { flex-direction: column; align-items: stretch; }
  .shipping-hero-actions .btn { width: 100%; text-align: center; }
}
/* Universal sharing improvements */
.share-native-row{margin:-4px 0 14px}.share-native-btn{width:100%;padding:11px 14px;border-radius:10px;border:1px solid rgba(255,215,0,.35);background:rgba(255,215,0,.08);color:var(--gold);font-weight:800;cursor:pointer}.share-native-btn:hover{background:rgba(255,215,0,.14);border-color:var(--gold)}
.share-modal-note{margin-top:10px;text-align:center;font-size:11px;line-height:1.45;color:var(--text-muted)}
#header-share-btn{flex-shrink:0}.share-modal-overlay{backdrop-filter:blur(5px)}

/* Icon-only social sharing controls */
.share-platform-btn .sp-icon{font-size:23px;line-height:1}
.share-platform-btn{min-height:48px;justify-content:center}
.share-native-btn,.share-copy-btn{display:inline-flex;align-items:center;justify-content:center}
.share-native-btn{font-size:19px;min-height:44px}
.share-copy-btn{width:46px;min-width:46px;font-size:16px}

/* ==========================================================
   SOURCE RAMBO — LIQUID GLASS 27 STYLE
   Dark + gold identity retained. Inspired by modern mobile OS
   translucent materials: layered glass, soft depth, subtle highlights.
   ========================================================== */
:root{
  --glass-bg: rgba(20,20,24,.58);
  --glass-bg-strong: rgba(25,25,30,.72);
  --glass-border: rgba(255,255,255,.11);
  --glass-highlight: rgba(255,255,255,.055);
  --glass-shadow: 0 18px 55px rgba(0,0,0,.28);
  --glass-blur: 22px;
  --gold-glow: rgba(255,190,35,.16);
}

body{
  background:
    radial-gradient(900px 500px at 8% -5%, rgba(255,215,0,.075), transparent 58%),
    radial-gradient(760px 460px at 95% 12%, rgba(255,165,0,.045), transparent 62%),
    var(--bg-0);
}

/* Shared glass material */
.card,.product-card,.cat-card,.car-card,.review-card,.source-product-form-card,
.admin-card,.dashboard-card,.stat-card,.panel,.box,.quote-card,.feature-card,
.info-card,.contact-card,.faq-card,.order-card,.tracking-card,.payment-card,
.shipping-card,.request-card,.profile-card,.modal-content,.share-modal,
.search-results,.dropdown-menu,.popover,.notification-panel{
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)), var(--glass-bg) !important;
  border: 1px solid var(--glass-border) !important;
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-highlight) !important;
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(145%);
  backdrop-filter: blur(var(--glass-blur)) saturate(145%);
}

.card,.product-card,.cat-card,.car-card,.review-card,.faq-card,.feature-card,
.info-card,.contact-card,.order-card,.tracking-card,.payment-card,.shipping-card,
.request-card,.profile-card{border-radius:20px !important; overflow:hidden;}
.card:hover,.product-card:hover,.cat-card:hover,.car-card:hover,.feature-card:hover,
.info-card:hover,.contact-card:hover,.faq-card:hover{
  border-color: rgba(255,215,0,.22) !important;
  box-shadow: 0 22px 60px rgba(0,0,0,.34), 0 0 0 1px rgba(255,215,0,.045) inset !important;
}

/* Header becomes a floating glass surface rather than a solid bar. */
.site-header{
  background: rgba(10,10,12,.48) !important;
  border-bottom: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: 0 10px 40px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.07) !important;
  -webkit-backdrop-filter: blur(26px) saturate(165%);
  backdrop-filter: blur(26px) saturate(165%);
}
.site-header.is-scrolled{background: rgba(10,10,12,.66) !important;}
.logo .badge,.btn-primary,.search-bar button{
  box-shadow: 0 8px 28px var(--gold-glow);
}
.icon-btn,.mobile-menu-toggle,.theme-toggle,.currency-select{
  background: rgba(255,255,255,.055) !important;
  border-color: rgba(255,255,255,.11) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* Softer, pill-like controls */
.btn{border-radius:14px; min-height:44px;}
.btn-outline{background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.15);}
.btn-outline:hover{background: rgba(255,215,0,.10);}
.btn-primary{background: linear-gradient(135deg,#ffe36a 0%,#ffd000 42%,#f0a51a 100%);}
input,select,textarea{
  border-radius:13px !important;
  background: rgba(255,255,255,.045) !important;
  border-color: rgba(255,255,255,.12) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
input:focus,select:focus,textarea:focus{
  border-color: rgba(255,215,0,.58) !important;
  box-shadow: 0 0 0 4px rgba(255,215,0,.08), inset 0 1px 0 rgba(255,255,255,.04) !important;
}

/* Glass hero/stat surfaces */
.hero-stats,.car-import-points,.sr-home-hero-classic .sr-hero-controls{
  background: rgba(8,8,10,.46) !important;
  border-color: rgba(255,255,255,.10) !important;
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  backdrop-filter: blur(24px) saturate(145%);
}
.car-import-points-inner > div{background: rgba(255,255,255,.045) !important; border-color: rgba(255,255,255,.10) !important;}

/* Marketplace search: keep its bright search function, but give it the same glass language. */
.marketplace-search{
  background: rgba(255,255,255,.075) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  box-shadow: 0 24px 65px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08) !important;
  -webkit-backdrop-filter: blur(26px) saturate(145%);
  backdrop-filter: blur(26px) saturate(145%);
}
.marketplace-search-field,.marketplace-search select{background: rgba(255,255,255,.075) !important;color:var(--text) !important;border:1px solid rgba(255,255,255,.08) !important;}
.marketplace-search input{background:transparent !important;color:var(--text) !important;}
.marketplace-search input::placeholder{color:var(--text-muted) !important;}

/* Modal / drawer surfaces */
.modal-overlay,.share-modal-overlay{background:rgba(0,0,0,.58) !important; -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);}
.modal-content,.share-modal{border-radius:24px !important;}
.header-search-dropdown,.share-modal-overlay .share-modal{
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  backdrop-filter: blur(28px) saturate(160%);
}

/* Admin gets the same premium glass language without reducing density. */
.admin-sidebar{
  background: rgba(16,16,19,.68) !important;
  border-right-color: rgba(255,255,255,.10) !important;
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  backdrop-filter: blur(24px) saturate(145%);
}
.admin-sidebar nav a{border-radius:12px;margin:3px 10px;padding-left:12px;padding-right:12px;}
.admin-sidebar nav a:hover,.admin-sidebar nav a.active{background:rgba(255,215,0,.075) !important;border-right:0 !important;color:var(--gold) !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.045);}
.admin-main .card,.admin-main .panel,.admin-main .admin-card{border-radius:18px !important;}
.admin-main table{border-collapse:separate;border-spacing:0;overflow:hidden;border:1px solid rgba(255,255,255,.09);border-radius:16px;background:rgba(255,255,255,.025);}
.admin-main table th{background:rgba(255,255,255,.055);}
.admin-main table td,.admin-main table th{border-color:rgba(255,255,255,.08) !important;}

/* Floating utilities / AI */
.sr-ai-panel,.sr-ai-launcher,.global-whatsapp{box-shadow:0 20px 55px rgba(0,0,0,.35),0 0 0 1px rgba(255,255,255,.06);}
.sr-ai-panel{background:rgba(15,15,18,.70) !important;border:1px solid rgba(255,255,255,.13) !important;-webkit-backdrop-filter:blur(28px) saturate(150%);backdrop-filter:blur(28px) saturate(150%);border-radius:24px !important;}

/* Gold should read as a material accent, not a flood of yellow. */
.gold-text{filter:drop-shadow(0 4px 16px rgba(255,190,35,.10));}

/* Respect accessibility and low-power devices. */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{scroll-behavior:auto !important;transition-duration:.01ms !important;animation-duration:.01ms !important;animation-iteration-count:1 !important;}
}
@media (max-width:700px){
  :root{--glass-blur:18px;}
  .card,.product-card,.cat-card,.car-card,.review-card,.faq-card{border-radius:17px !important;}
  .site-header{background:rgba(10,10,12,.64) !important;}
}

/* Keep the established light mode readable while using a lighter glass material. */
body.light-mode{
  --glass-bg:rgba(255,255,255,.66);
  --glass-bg-strong:rgba(255,255,255,.82);
  --glass-border:rgba(30,35,42,.10);
  --glass-highlight:rgba(255,255,255,.72);
  --glass-shadow:0 18px 45px rgba(20,28,40,.10);
}
body.light-mode .card,body.light-mode .product-card,body.light-mode .cat-card,body.light-mode .car-card,
body.light-mode .review-card,body.light-mode .faq-card,body.light-mode .feature-card,body.light-mode .info-card,
body.light-mode .contact-card,body.light-mode .order-card,body.light-mode .tracking-card,body.light-mode .payment-card,
body.light-mode .shipping-card,body.light-mode .request-card,body.light-mode .profile-card,
body.light-mode .admin-main .card,body.light-mode .admin-main .panel,body.light-mode .admin-main .admin-card{
  background:linear-gradient(145deg,rgba(255,255,255,.88),rgba(255,255,255,.56)) !important;
  border-color:rgba(25,30,38,.10) !important;
}
body.light-mode .site-header{background:rgba(248,249,251,.66) !important;border-bottom-color:rgba(25,30,38,.10) !important;}
body.light-mode .admin-sidebar{background:rgba(246,248,250,.72) !important;border-right-color:rgba(25,30,38,.10) !important;}
body.light-mode .icon-btn,body.light-mode .mobile-menu-toggle,body.light-mode .theme-toggle,body.light-mode .currency-select{background:rgba(255,255,255,.58) !important;}

/* ==========================================================
   SOURCE RAMBO — RESTORE PREVIOUS CAR CARD
   Keep the new Liquid Glass design everywhere else, but return
   vehicle cards to the established compact marketplace design.
   ========================================================== */
.car-card{
  border-radius:8px !important;
  border:1px solid #303136 !important;
  background:#111214 !important;
  box-shadow:none !important;
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
  overflow:hidden !important;
}
.car-card:hover{
  transform:translateY(-2px);
  border-color:rgba(255,190,0,.75) !important;
  box-shadow:none !important;
}
.car-card-image{
  border-radius:0 !important;
}
.car-card .body{padding:7px 8px 8px !important;}
.car-card .category-tag{font-size:6px;letter-spacing:1.1px;line-height:1;margin-bottom:3px;}
.car-card .title{
  color:#f5f5f5 !important;
  font-size:10px;
  font-weight:800;
  line-height:1.1;
  margin:0 0 2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.car-card .year{
  color:#92959a !important;
  font-size:7px;
  line-height:1.15;
  margin:0 0 5px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.car-card .price{
  color:var(--gold) !important;
  font-size:12px;
  font-weight:900;
  line-height:1.1;
  margin:0 0 6px;
}
.car-card .actions{display:grid;grid-template-columns:1fr 1fr 25px;gap:4px;align-items:center;}
.car-card .pill-btn{padding:5px 3px;border-radius:12px;font-size:7px;line-height:1;min-width:0;}
.car-card .pill-btn-view{background:linear-gradient(90deg,#ffbd19,#f5a500) !important;}
.car-card .pill-btn-inquire{border-color:#3a3b3e;color:#ddd;}
.car-card .car-card-share{
  width:25px;height:25px;min-width:25px;padding:0;border-radius:50%;
  justify-content:center;background:#18191b !important;border-color:#3a3b3e !important;color:#8e9197;
}
.car-card .car-card-share:hover{color:var(--gold);border-color:var(--gold) !important;}

/* Keep the compact two-column mobile card treatment from the previous design. */
@media (max-width:600px){
  .car-card .body{padding:6px !important;}
  .car-card .title{font-size:9px;}
  .car-card .price{font-size:11px;}
  .car-card .pill-btn{font-size:6px;padding:5px 2px;}
  .car-card .actions{grid-template-columns:1fr 1fr 23px;gap:3px;}
  .car-card .car-card-share{width:23px;height:23px;min-width:23px;}
}

/* ==========================================================
   SOURCE RAMBO — RESTORE THE PREVIOUS FULL CAR CARD
   The global Liquid Glass treatment stays everywhere else.
   Vehicle cards intentionally use the established marketplace
   card: image + category + title + year/mileage + rating + price
   + View + Inquire + Share.
   ========================================================== */
.car-card{
  background:#111214 !important;
  border:1px solid #303136 !important;
  border-radius:8px !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  overflow:hidden !important;
}
.car-card:hover{
  transform:translateY(-2px) !important;
  border-color:rgba(255,190,0,.75) !important;
  box-shadow:none !important;
}
.car-card-image{
  display:block !important;
  position:relative !important;
  aspect-ratio:1.52/1 !important;
  overflow:hidden !important;
  background:#17181a !important;
  border-radius:0 !important;
}
.car-card-image img{width:100% !important;height:100% !important;object-fit:cover !important;display:block !important;}
.car-card .body{padding:7px 8px 8px !important;}
.car-card .category-tag{font-size:6px !important;letter-spacing:1.1px !important;line-height:1 !important;margin-bottom:3px !important;color:var(--gold) !important;}
.car-card .title{display:block !important;color:#f5f5f5 !important;font-size:10px !important;font-weight:800 !important;line-height:1.1 !important;margin:0 0 2px !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;}
.car-card .year{color:#92959a !important;font-size:7px !important;line-height:1.15 !important;margin:0 0 5px !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;}
.car-card .car-rating{display:flex !important;align-items:center !important;gap:4px !important;color:#92959a !important;font-size:7px !important;margin:0 0 4px !important;}
.car-card .car-rating .stars-display{color:var(--gold) !important;letter-spacing:0 !important;}
.car-card .car-rating .stars-empty{color:#4a4b4e !important;}
.car-card .price{color:var(--gold) !important;font-size:12px !important;font-weight:900 !important;line-height:1.1 !important;margin:0 0 6px !important;}
.car-card .actions{display:grid !important;grid-template-columns:1fr 1fr 25px !important;gap:4px !important;align-items:center !important;}
.car-card .pill-btn{padding:5px 3px !important;border-radius:12px !important;font-size:7px !important;line-height:1 !important;min-width:0 !important;text-align:center !important;}
.car-card .pill-btn-view{background:linear-gradient(90deg,#ffbd19,#f5a500) !important;color:#111 !important;border-color:transparent !important;}
.car-card .pill-btn-inquire{border-color:#3a3b3e !important;color:#ddd !important;background:#18191b !important;}
.car-card .car-card-share{width:25px !important;height:25px !important;min-width:25px !important;padding:0 !important;border-radius:50% !important;justify-content:center !important;background:#18191b !important;border:1px solid #3a3b3e !important;color:#8e9197 !important;}
.car-card .car-card-share:hover{color:var(--gold) !important;border-color:var(--gold) !important;}
@media (max-width:600px){
  .car-card .body{padding:6px !important;}
  .car-card .title{font-size:9px !important;}
  .car-card .price{font-size:11px !important;}
  .car-card .pill-btn{font-size:6px !important;padding:5px 2px !important;}
  .car-card .actions{grid-template-columns:1fr 1fr 23px !important;gap:3px !important;}
  .car-card .car-card-share{width:23px !important;height:23px !important;min-width:23px !important;}
}

/* ==========================================================
   FINAL CAR CARD — restore the previous full information card
   Reference: compact dark card with large image, rating and
   three equal View / Inquire / Share buttons.
   ========================================================== */
.car-card{
  display:flex !important;
  flex-direction:column !important;
  background:#111214 !important;
  border:1px solid #d8a900 !important;
  border-radius:20px !important;
  overflow:hidden !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  transform:none;
}
.car-card:hover{transform:translateY(-2px) !important;border-color:#f4c21b !important;box-shadow:0 10px 28px rgba(0,0,0,.22) !important;}
.car-card-image{
  display:block !important;
  position:relative !important;
  width:100% !important;
  aspect-ratio:1.55 / 1 !important;
  flex:0 0 auto !important;
  overflow:hidden !important;
  background:#17181a !important;
  border-radius:0 !important;
}
.car-card-image img{width:100% !important;height:100% !important;object-fit:cover !important;display:block !important;transition:transform .3s ease !important;}
.car-card:hover .car-card-image img{transform:scale(1.02) !important;}
.car-card .body{
  display:flex !important;
  flex-direction:column !important;
  flex:1 1 auto !important;
  min-width:0 !important;
  padding:12px 12px 13px !important;
}
.car-card .category-tag{
  color:#ffd21a !important;
  font-size:10px !important;
  font-weight:800 !important;
  letter-spacing:1.2px !important;
  line-height:1.1 !important;
  margin:0 0 4px !important;
  text-transform:uppercase !important;
}
.car-card .title{
  display:block !important;
  color:#f5f5f5 !important;
  font-size:16px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
  margin:0 0 4px !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
.car-card .year{
  color:#92959a !important;
  font-size:11px !important;
  line-height:1.2 !important;
  min-height:13px !important;
  margin:0 0 5px !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
.car-card .car-rating{
  display:flex !important;
  align-items:center !important;
  gap:4px !important;
  color:#85888e !important;
  font-size:10px !important;
  line-height:1 !important;
  min-height:12px !important;
  margin:0 0 7px !important;
}
.car-card .car-rating .stars-display{color:#777a80 !important;letter-spacing:0 !important;font-size:11px !important;}
.car-card .car-rating .stars-display .stars-empty{color:#3e4044 !important;}
.car-card .price{
  color:#ffd21a !important;
  font-size:19px !important;
  font-weight:900 !important;
  line-height:1.15 !important;
  margin:0 0 13px !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
.car-card .actions{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:6px !important;
  align-items:stretch !important;
  width:100% !important;
  margin-top:auto !important;
}
.car-card .pill-btn{
  box-sizing:border-box !important;
  width:100% !important;
  min-width:0 !important;
  height:38px !important;
  min-height:38px !important;
  padding:0 8px !important;
  border-radius:19px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  text-align:center !important;
  white-space:nowrap !important;
  font-size:12px !important;
  font-weight:800 !important;
  line-height:1 !important;
  cursor:pointer !important;
}
.car-card .pill-btn-view{
  background:linear-gradient(90deg,#ffbd19,#f5a500) !important;
  color:#171100 !important;
  border:1px solid transparent !important;
}
.car-card .pill-btn-inquire,
.car-card .pill-btn-share{
  background:#111214 !important;
  color:#d9d9d9 !important;
  border:1px solid #3d3f43 !important;
}
.car-card .pill-btn-inquire:hover,
.car-card .pill-btn-share:hover{
  color:#ffd21a !important;
  border-color:#ffd21a !important;
  background:#18191b !important;
}
.car-card .pill-btn-share .share-icon{display:block !important;flex:0 0 auto !important;}
.car-card .pill-btn-share span{display:inline !important;}

/* Keep every button equal on tablets and phones. Only typography scales slightly. */
@media (max-width:600px){
  .car-card{border-radius:18px !important;}
  .car-card .body{padding:10px 10px 11px !important;}
  .car-card .category-tag{font-size:8px !important;}
  .car-card .title{font-size:13px !important;}
  .car-card .year{font-size:9px !important;}
  .car-card .car-rating{font-size:9px !important;}
  .car-card .car-rating .stars-display{font-size:10px !important;}
  .car-card .price{font-size:16px !important;margin-bottom:10px !important;}
  .car-card .actions{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:5px !important;}
  .car-card .pill-btn{height:34px !important;min-height:34px !important;font-size:10px !important;padding:0 5px !important;gap:4px !important;border-radius:17px !important;}
  .car-card .pill-btn-share .share-icon{width:12px !important;height:12px !important;}
}
@media (max-width:380px){
  .car-card .body{padding:9px !important;}
  .car-card .pill-btn{font-size:9px !important;padding:0 3px !important;gap:3px !important;}
  .car-card .pill-btn-share .share-icon{width:11px !important;height:11px !important;}
}

/* ==========================================================
   HEADER — MOBILE/TABLET HAMBURGER
   Three clear horizontal bars, matching the supplied reference.
   Applies to tablet and mobile; desktop navigation remains unchanged.
   ========================================================== */
@media (max-width: 930px) {
  .site-header .mobile-menu-toggle {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    padding: 7px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border-radius: 9px !important;
    overflow: hidden !important;
  }

  .site-header .mobile-menu-toggle span,
  .site-header .mobile-menu-toggle span:nth-child(1),
  .site-header .mobile-menu-toggle span:nth-child(2),
  .site-header .mobile-menu-toggle span:nth-child(3) {
    display: block !important;
    flex: 0 0 auto !important;
    width: 27px !important;
    min-width: 27px !important;
    max-width: 27px !important;
    height: 3px !important;
    min-height: 3px !important;
    max-height: 3px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 3px !important;
    background: #ffffff !important;
    opacity: 1 !important;
    transform: none !important;
    transition: transform .2s ease, opacity .2s ease !important;
  }

  /* Keep the three bars visible and evenly spaced when the menu is closed. */
  .site-header:not(.menu-open) .mobile-menu-toggle span:nth-child(1),
  .site-header:not(.menu-open) .mobile-menu-toggle span:nth-child(2),
  .site-header:not(.menu-open) .mobile-menu-toggle span:nth-child(3) {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Clean X when the menu is open. */
  .site-header.menu-open .mobile-menu-toggle {
    gap: 0 !important;
  }
  .site-header.menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(3px) rotate(45deg) !important;
  }
  .site-header.menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0 !important;
  }
  .site-header.menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-3px) rotate(-45deg) !important;
  }
}

@media (max-width: 600px) {
  .site-header .mobile-menu-toggle {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    padding: 6px !important;
    gap: 5px !important;
  }
  .site-header .mobile-menu-toggle span,
  .site-header .mobile-menu-toggle span:nth-child(1),
  .site-header .mobile-menu-toggle span:nth-child(2),
  .site-header .mobile-menu-toggle span:nth-child(3) {
    width: 27px !important;
    min-width: 27px !important;
    max-width: 27px !important;
    height: 3px !important;
    min-height: 3px !important;
    max-height: 3px !important;
  }
}

@media (max-width: 430px) {
  .site-header .mobile-menu-toggle {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }
}

/* ==========================================================
   SOURCE RAMBO — TRUE CUSTOM SELECT MENUS
   Native option popups cannot be reliably styled in Chromium/Windows.
   These menus replace only the visual control while preserving the
   original select for forms, validation and existing change handlers.
   ========================================================== */
.sr-select-wrap{position:relative;display:block;width:100%;min-width:0;isolation:isolate}
.sr-select-wrap>.sr-native-select{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;pointer-events:none!important;margin:0!important;padding:0!important;z-index:0!important}
.sr-select-button{position:relative;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;width:100%!important;min-height:44px!important;margin-top:0!important;padding:10px 14px!important;border:1px solid var(--border)!important;border-radius:12px!important;background:rgba(255,255,255,.045)!important;color:var(--text)!important;font:inherit!important;text-align:left!important;line-height:1.25!important;cursor:pointer!important;box-shadow:none!important;appearance:none!important;-webkit-appearance:none!important}
.sr-select-button:hover{border-color:rgba(247,198,74,.65)!important}
.sr-select-button:focus-visible{outline:2px solid rgba(247,198,74,.8)!important;outline-offset:2px!important}
.sr-select-button:disabled{opacity:.55!important;cursor:not-allowed!important}
.sr-select-label{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:inherit!important}
.sr-select-chevron{flex:0 0 auto;font-size:20px!important;line-height:1!important;color:var(--text-muted)!important;transform:translateY(-1px)}
.sr-select-menu{position:fixed!important;display:none;z-index:2147483000!important;box-sizing:border-box!important;padding:6px!important;border:1px solid rgba(247,198,74,.45)!important;border-radius:12px!important;background:#15171b!important;color:#f5f6f8!important;box-shadow:0 18px 50px rgba(0,0,0,.55)!important;overflow:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important}
.sr-select-menu.is-open{display:block!important}
.sr-select-option{display:block!important;width:100%!important;margin:0!important;padding:10px 12px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#f3f5f8!important;font:inherit!important;font-size:14px!important;line-height:1.35!important;text-align:left!important;white-space:normal!important;cursor:pointer!important;box-shadow:none!important;appearance:none!important;-webkit-appearance:none!important}
.sr-select-option:hover,.sr-select-option:focus-visible{background:#2c3037!important;color:#fff!important;outline:none!important}
.sr-select-option.is-selected{background:rgba(247,198,74,.16)!important;color:#ffd15a!important}
.sr-select-option.is-disabled{opacity:.45!important;cursor:not-allowed!important}
body.light-mode .sr-select-button{background:#fff!important;border-color:#d2d7df!important;color:#252a30!important}
body.light-mode .sr-select-chevron{color:#59636e!important}
body.light-mode .sr-select-menu{background:#fff!important;color:#20252b!important;border-color:#c9a33b!important;box-shadow:0 18px 45px rgba(0,0,0,.18)!important}
body.light-mode .sr-select-option{color:#252a30!important}
body.light-mode .sr-select-option:hover,body.light-mode .sr-select-option:focus-visible{background:#eef1f5!important;color:#11161d!important}
body.light-mode .sr-select-option.is-selected{background:#fff4d2!important;color:#8a5d00!important}

/* Preserve compact sizing where the original control intentionally was small. */
.currency-select + .sr-select-button,.sr-select-wrap:has(.currency-select) .sr-select-button{min-height:34px!important;padding:6px 10px!important;border-radius:10px!important;font-size:13px!important}
/* Header currency control: keep the compact currency card clean without a dropdown chevron. */
.sr-select-wrap:has(> .currency-select) .sr-select-chevron{display:none!important}
.sr-select-wrap:has(> .currency-select) .sr-select-button{justify-content:center!important;padding-right:10px!important}
.shop-sort-form .sr-select-button{min-height:32px!important;padding:6px 10px!important;border-radius:6px!important;font-size:inherit!important}
@media(max-width:600px){
  .sr-select-button{min-height:46px!important;padding:11px 14px!important}
  .sr-select-option{padding:12px 13px!important;font-size:15px!important}
  .sr-select-menu{border-radius:13px!important;padding:6px!important}
}

/* ==========================================================
   SOURCE RAMBO — PRODUCT DETAIL MODERN ONE-COLUMN TABLET/MOBILE
   Prevents the product image/info split from becoming cramped on
   tablets and small laptops. Desktop remains two-column.
   ========================================================== */
@media (max-width:1100px) {
  .product-detail-page .product-detail-layout {
    grid-template-columns:1fr !important;
    gap:26px !important;
    max-width:860px;
    margin-left:auto;
    margin-right:auto;
  }
  .product-detail-page .product-detail-layout > div:first-child {
    width:100%;
    max-width:760px;
    margin:0 auto;
  }
  .product-detail-page .product-detail-layout > div:first-child .sr-image-zoom-frame {
    width:100%;
    max-height:620px;
    min-height:320px;
    border-radius:24px;
    overflow:hidden;
    background:linear-gradient(145deg,#171a20,#0c0f13);
    border:1px solid rgba(255,255,255,.10);
    box-shadow:0 24px 65px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.05);
  }
  .product-detail-page .product-detail-layout > div:first-child #main-img {
    display:block;
    width:100% !important;
    height:min(62vw,620px) !important;
    min-height:320px;
    object-fit:contain !important;
    background:linear-gradient(145deg,#171a20,#0c0f13);
  }
  .product-detail-page .product-detail-layout > div:last-child {
    padding:26px 28px;
    border:1px solid rgba(255,255,255,.10);
    border-radius:24px;
    background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
    box-shadow:0 22px 60px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.035);
  }
  .product-detail-page .product-detail-layout > div:last-child h1 {
    font-size:clamp(28px,4vw,42px) !important;
    letter-spacing:-1px;
  }
  .product-detail-page .product-detail-layout > div:last-child .price {
    font-size:clamp(28px,4vw,38px) !important;
  }
}

@media (max-width:600px) {
  /* Add breathing room below the fixed header on product detail pages. */
  .product-detail-page { padding-top:32px; }
  .product-detail-page .product-detail-layout { gap:16px !important; }
  .product-detail-page .product-detail-layout > div:first-child .sr-image-zoom-frame {
    min-height:250px;
    max-height:none;
    border-radius:20px;
  }
  .product-detail-page .product-detail-layout > div:first-child #main-img {
    height:76vw !important;
    min-height:250px;
    max-height:430px;
  }
  .product-detail-page .product-detail-layout > div:last-child {
    padding:20px 18px;
    border-radius:20px;
  }
  .product-detail-page .product-detail-layout > div:last-child h1 {
    font-size:30px !important;
  }
}

/* ==========================================================
   HEADER — CLEAN TABLET + MOBILE MODE
   At tablet widths the full navigation is replaced by the same
   reliable hamburger drawer used on phones. This prevents the
   header controls from being squeezed or pushed off-screen.
   ========================================================== */
@media (max-width:1100px) {
  .site-header .header-inner {
    flex-wrap:nowrap !important;
    min-height:64px;
    padding:9px 18px !important;
    gap:10px !important;
  }
  .site-header .logo {
    flex:1 1 auto !important;
    min-width:0 !important;
    max-width:none !important;
    margin-right:auto !important;
  }
  .site-header .logo img { max-width:150px; height:34px !important; }
  .site-header .main-nav {
    display:none !important;
    position:absolute !important;
    top:calc(100% + 8px) !important;
    left:14px !important;
    right:14px !important;
    width:auto !important;
    max-height:calc(100vh - 86px);
    overflow-y:auto;
    z-index:1200 !important;
  }
  .site-header.menu-open .main-nav { display:flex !important; }
  .site-header .header-actions {
    flex:0 0 auto !important;
    gap:6px !important;
    margin-left:auto !important;
  }
  .site-header .header-actions #header-share-btn { display:none !important; }
  /* Keep the language translator available on tablet and mobile. */
  .site-header .header-actions .language-switcher { display:flex !important; align-items:center; }
  .site-header .header-actions .icon-btn,
  .site-header .header-actions .theme-toggle,
  .site-header .mobile-menu-toggle {
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
  }
  .site-header .header-actions .header-currency-desktop { display:none !important; }
  .site-header .mobile-menu-toggle { display:flex !important; order:99 !important; }
}

@media (max-width:600px) {
  .site-header .header-inner { padding:8px 12px !important; min-height:60px; }
  .site-header .logo img { max-width:132px; height:32px !important; }
  .site-header .header-actions { gap:4px !important; }
  .site-header .header-actions .icon-btn,
  .site-header .header-actions .theme-toggle,
  .site-header .mobile-menu-toggle {
    width:36px !important;
    height:36px !important;
    min-width:36px !important;
  }
  .site-header .main-nav { left:10px !important; right:10px !important; top:calc(100% + 5px) !important; }
}

@media (max-width:390px) {
  .site-header .header-inner { padding-left:8px !important; padding-right:8px !important; gap:5px !important; }
  .site-header .logo img { max-width:118px !important; }
  .site-header .header-actions { gap:2px !important; }
  .site-header .header-actions .icon-btn,
  .site-header .header-actions .theme-toggle,
  .site-header .header-actions .mobile-menu-toggle,
  .site-header .header-actions .language-toggle {
    width:32px !important; height:32px !important; min-width:32px !important;
  }
}

/* Share preview: image header + text + clear CTA */
.share-preview-card{overflow:hidden;border:1px solid rgba(255,215,0,.24);border-radius:16px;background:var(--bg-2);margin:-2px 0 18px;box-shadow:0 10px 30px rgba(0,0,0,.16)}
.share-preview-image-wrap{aspect-ratio:1200/630;background:#111;overflow:hidden}
.share-preview-image{width:100%;height:100%;object-fit:cover;display:block}
.share-preview-body{padding:14px 15px 15px}
.share-preview-title{font-size:15px;font-weight:800;line-height:1.3;color:var(--text);margin-bottom:6px}
.share-preview-text{font-size:12px;line-height:1.5;color:var(--text-muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.share-preview-cta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:10px 12px;border-radius:10px;background:rgba(255,215,0,.1);border:1px solid rgba(255,215,0,.35);color:var(--gold);font-size:12px;font-weight:800;text-decoration:none}
.share-preview-cta:hover{background:rgba(255,215,0,.16);border-color:var(--gold)}
@media(max-width:599px){.share-modal{max-height:92vh;overflow:auto}.share-preview-card{margin-bottom:14px}.share-preview-image-wrap{aspect-ratio:16/8.4}.share-platforms{gap:8px}.share-platform-btn{padding:10px 4px}}

/* ==========================================================
   HEADER — PREVENT LOGO/CONTROL OVERLAP
   Keep the logo in its own fixed flex slot on tablet/mobile so
   it never slides underneath the search/language controls.
   ========================================================== */
@media (max-width: 700px) {
  .site-header .logo {
    flex: 0 0 118px !important;
    width: 118px !important;
    max-width: 118px !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    overflow: hidden !important;
  }
  .site-header .logo img {
    display: block !important;
    width: auto !important;
    max-width: 118px !important;
    height: 32px !important;
    object-fit: contain !important;
    object-position: left center !important;
  }
}

@media (max-width: 430px) {
  .site-header .logo {
    flex-basis: 102px !important;
    width: 102px !important;
    max-width: 102px !important;
  }
  .site-header .logo img {
    max-width: 102px !important;
    height: 30px !important;
  }
}

@media (max-width: 390px) {
  .site-header .logo {
    flex-basis: 92px !important;
    width: 92px !important;
    max-width: 92px !important;
  }
  .site-header .logo img {
    max-width: 92px !important;
    height: 28px !important;
  }
}

/* ==========================================================
   MOBILE/TABLET HEADER — PRIORITIZE CUSTOMER ACTIONS
   Desktop header remains unchanged. At <=1100px the header keeps
   Search, Language, Currency, Cart, Account and Menu. Less-used
   Theme and Share actions move into the hamburger menu.
   ========================================================== */
.mobile-menu-utilities { display:none; }

@media (max-width:1100px) {
  .site-header .header-actions #header-share-btn,
  .site-header .header-actions #theme-toggle { display:none !important; }

  .site-header .header-actions .search-icon-btn { display:inline-flex !important; }
  .site-header .header-actions .language-switcher { display:flex !important; align-items:center; }
  .site-header .header-actions .header-currency-desktop { display:inline-flex !important; }

  .site-header .main-nav .mobile-menu-utilities {
    display:flex;
    gap:10px;
    padding:12px 14px 16px;
    border-top:1px solid rgba(255,215,0,.12);
    margin-top:4px;
  }
  .mobile-menu-utility {
    flex:1;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:44px;
    padding:10px 12px;
    border:1px solid rgba(255,215,0,.18);
    border-radius:12px;
    background:rgba(255,255,255,.035);
    color:var(--text);
    font:inherit;
    font-weight:700;
    cursor:pointer;
  }
  .mobile-menu-utility:hover { border-color:rgba(255,215,0,.45); }
  .mobile-menu-utility-icon { font-size:16px; line-height:1; }
}

@media (max-width:600px) {
  .site-header .header-actions .header-currency-desktop {
    min-width:58px !important;
    width:58px !important;
  }
}

@media (max-width:390px) {
  .site-header .logo { max-width:100px !important; flex:0 0 100px !important; }
  .site-header .logo img { max-width:100px !important; height:29px !important; }
  .site-header .header-actions .search-icon-btn { display:inline-flex !important; }
  .site-header .header-actions { gap:2px !important; }
  .site-header .header-actions .icon-btn,
  .site-header .header-actions .language-toggle,
  .site-header .mobile-menu-toggle {
    width:31px !important; height:31px !important; min-width:31px !important;
  }
  .site-header .header-actions .header-currency-desktop {
    width:52px !important; min-width:52px !important;
    padding-left:7px !important; padding-right:7px !important;
  }
}

@media (max-width:340px) {
  .site-header .header-inner { padding-left:6px !important; padding-right:6px !important; gap:4px !important; }
  .site-header .logo { max-width:82px !important; flex-basis:82px !important; }
  .site-header .logo img { max-width:82px !important; }
  .site-header .header-actions .icon-btn,
  .site-header .header-actions .language-toggle,
  .site-header .mobile-menu-toggle { width:29px !important; height:29px !important; min-width:29px !important; }
  .site-header .header-actions .header-currency-desktop { width:48px !important; min-width:48px !important; font-size:12px !important; }
}

/* ==========================================================
   FINAL MOBILE/TABLET HEADER — CURRENCY INSIDE MENU
   Desktop header remains unchanged.
   Tablet/mobile keeps only the highest-use actions in the header:
   Search, Language, Cart, Account and Menu.
   Currency is available inside the hamburger menu.
   ========================================================== */
@media (max-width:1100px) {
  .site-header .header-actions .header-currency-desktop {
    display:none !important;
    visibility:hidden !important;
  }
  .site-header .nav-currency-row {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    box-sizing:border-box !important;
  }
  .site-header .nav-currency-row .currency-select {
    display:block !important;
    width:100% !important;
    max-width:260px !important;
  }
}


/* ==========================================================
   HOMEPAGE + IMPORT CARS VISUAL UPGRADE — 2026-10-07
   ========================================================== */
.home-featured-products {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 18px !important;
}
.home-featured-products .product-card { border-radius: 16px; }
.home-featured-products .product-card .img-wrap { aspect-ratio: 1.18 / 1; }
.home-featured-products .product-card .body { padding: 16px; }
.home-featured-products .product-card .name { font-size: var(--sr-home-product-title-size,16px) !important; min-height: 42px; line-height: 1.3; }
.home-featured-products .product-card .price { font-size: var(--sr-home-product-price-size,18px) !important; }
.home-featured-products .product-card-actions { display:grid; grid-template-columns:minmax(0,1fr) 44px 44px; gap:8px; align-items:stretch; }
.home-featured-products .product-add-form { min-width:0; }
.home-featured-products .product-card .add-btn,
.home-featured-products .product-card .share-btn,
.home-featured-products .product-card .product-message-btn { width:100%; min-width:0; height:40px; min-height:40px; margin:0; border-radius:10px; }
.home-featured-products .product-card .add-btn { font-size:var(--sr-home-product-button-size,13px) !important; }
.home-featured-products .product-card .share-btn,
.home-featured-products .product-card .product-message-btn { display:inline-flex; align-items:center; justify-content:center; padding:0; background:#202020; border:1px solid #343434; color:#a0a0a0; text-decoration:none; }
.home-featured-products .product-card .share-btn:hover,
.home-featured-products .product-card .product-message-btn:hover { color:var(--gold); border-color:rgba(255,215,0,.55); background:rgba(255,215,0,.08); }

/* Import Cars — Browse by category: large showroom cards inspired by the supplied reference. */
.import-category-strip {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:18px !important;
}
.import-category-card {
  height:300px !important;
  min-height:300px !important;
  border:1px solid rgba(255,190,0,.78) !important;
  border-radius:18px !important;
  background:#171719 !important;
  box-shadow:0 12px 30px rgba(0,0,0,.22);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.import-category-image {
  inset:0 0 auto 0 !important;
  height:205px !important;
  background-image:var(--category-image) !important;
  background-size:cover !important;
  background-position:center !important;
  background-repeat:no-repeat !important;
  background-color:#171719;
}
.import-category-image:after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.10));
}
.import-category-name {
  left:24px !important;
  bottom:52px !important;
  color:#f4f4f4 !important;
  font-size:24px !important;
  line-height:1.15 !important;
  font-weight:800 !important;
}
.import-category-count {
  left:24px !important;
  bottom:22px !important;
  color:#9fa9bf !important;
  font-size:18px !important;
  line-height:1.2 !important;
}
.import-category-card:hover { transform:translateY(-4px); border-color:var(--gold) !important; box-shadow:0 18px 38px rgba(0,0,0,.3); }

/* Import car detail page — restore readable customer-facing typography. */
.import-detail-back { font-size:13px !important; }
.import-detail-kicker { font-size:11px !important; letter-spacing:1.5px !important; }
.import-detail-info h1 { font-size:clamp(30px,3.5vw,38px) !important; line-height:1.05 !important; letter-spacing:-.4px !important; }
.import-detail-sub { font-size:14px !important; line-height:1.5 !important; }
.import-detail-price { font-size:26px !important; }
.import-detail-note { font-size:15px !important; line-height:1.65 !important; }
.import-spec-label { font-size:11px !important; letter-spacing:.8px; }
.import-spec-value { font-size:15px !important; line-height:1.35; }
.import-highlight { font-size:12px !important; padding:8px 12px !important; }
.import-detail-actions .btn { font-size:13px !important; padding:11px 14px !important; }
.import-detail-share { font-size:13px !important; padding:10px 12px !important; }
.car-detail-description h3 { font-size:19px !important; }
.car-detail-description p { font-size:15px !important; line-height:1.75 !important; }

@media (max-width: 900px) {
  .import-category-strip { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .import-category-card { height:285px !important; min-height:285px !important; }
}
@media (max-width: 900px) {
  .home-featured-products { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:14px !important; }
}
@media (max-width: 560px) {
  .home-featured-products { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:10px !important; }
  .home-featured-products .product-card .body { padding:10px !important; }
  .home-featured-products .product-card .name { font-size:14px !important; min-height:36px; }
  .home-featured-products .product-card .price { font-size:16px !important; }
  .home-featured-products .product-card-actions { grid-template-columns:minmax(0,1fr) 36px 36px; gap:5px; }
  .home-featured-products .product-card .add-btn,
  .home-featured-products .product-card .share-btn,
  .home-featured-products .product-card .product-message-btn { height:36px; min-height:36px; border-radius:8px; }
  .home-featured-products .product-card .add-btn { padding:5px 6px !important; font-size:11px !important; }
  .import-category-strip { grid-template-columns:1fr !important; gap:14px !important; }
  .import-category-card { height:280px !important; min-height:280px !important; }
  .import-category-image { height:190px !important; }
  .import-category-name { left:20px !important; bottom:48px !important; font-size:21px !important; }
  .import-category-count { left:20px !important; bottom:19px !important; font-size:16px !important; }
}

/* Source Rambo — Browse by category: one comfortable full-width card per row on tablet/mobile. */
@media (max-width: 900px) {
  .import-category-strip {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
    width: 100%;
  }
  .import-category-card {
    width: 100%;
    height: 235px !important;
    min-height: 235px !important;
    border-radius: 16px !important;
  }
  .import-category-image {
    height: 155px !important;
    background-position: center 55% !important;
  }
  .import-category-name {
    left: 20px !important;
    bottom: 43px !important;
    font-size: 21px !important;
    line-height: 1.15 !important;
  }
  .import-category-count {
    left: 20px !important;
    bottom: 15px !important;
    font-size: 15px !important;
  }
}
@media (max-width: 560px) {
  .import-category-strip { gap: 12px !important; }
  .import-category-card {
    height: 210px !important;
    min-height: 210px !important;
    border-radius: 14px !important;
  }
  .import-category-image { height: 135px !important; }
  .import-category-name {
    left: 16px !important;
    bottom: 39px !important;
    font-size: 19px !important;
    max-width: calc(100% - 32px);
  }
  .import-category-count {
    left: 16px !important;
    bottom: 13px !important;
    font-size: 14px !important;
  }
}


/* Share modal: spacious desktop layout while preserving the compact mobile sheet. */
@media (min-width: 768px) {
  .share-modal-overlay { align-items: center; justify-content: center; padding: 28px; overflow-y: auto; }
  .share-modal-overlay .share-modal {
    width: min(100%, 680px);
    max-width: 680px;
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    padding: 28px;
    border-radius: 22px !important;
  }
  /* Keep share preview imagery above the text on every screen size.
     A side-by-side grid made some product/car images appear on the left. */
  .share-modal-overlay .share-preview-card {
    display: block;
    margin: 0 0 20px;
  }
  .share-modal-overlay .share-preview-image-wrap {
    display: block;
    width: 100%;
    aspect-ratio: 1200 / 630;
    min-height: 0;
    height: auto;
    background: #111;
    overflow: hidden;
  }
  .share-modal-overlay .share-preview-image {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
    object-position: center center;
  }
  .share-modal-overlay .share-preview-body { display: flex; flex-direction: column; justify-content: center; padding: 22px; min-width: 0; }
  .share-modal-overlay .share-preview-title { font-size: 18px; }
  .share-modal-overlay .share-preview-text { font-size: 13px; -webkit-line-clamp: 4; }
  .share-modal-overlay .share-platforms { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
  .share-modal-overlay .share-platform-btn { min-height: 76px; justify-content: center; padding: 14px 8px; }
  .share-modal-overlay .share-copy-row input { min-width: 0; }
}
@media (min-width: 1200px) {
  .share-modal-overlay .share-modal { width: min(100%, 740px); max-width: 740px; padding: 32px; }
}

/* Source Rambo import process: balanced five-step layout */
.import-how-it-works .steps-row{grid-template-columns:repeat(5,minmax(0,1fr));column-gap:28px;justify-content:center}
.import-how-it-works .steps-row .step{max-width:230px}
@media(max-width:1100px){.import-how-it-works .steps-row{grid-template-columns:repeat(3,minmax(0,230px));column-gap:24px}}
@media(max-width:700px){.import-how-it-works .steps-row{grid-template-columns:1fr;gap:28px}.import-how-it-works .steps-row .step{max-width:280px}}


/* Source Rambo: keep shop/product listing actions visually consistent with homepage cards. */
.shop-reference-grid .product-card-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 40px 40px !important;
  gap: 8px !important;
  align-items: stretch !important;
  margin-top: 10px !important;
}
.shop-reference-grid .product-card-actions .product-add-form { min-width: 0; width: 100%; margin: 0; }
.shop-reference-grid .product-card .add-btn,
.shop-reference-grid .product-card .share-btn,
.shop-reference-grid .product-card .product-message-btn {
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0 !important;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  border-radius: 10px !important;
}
.shop-reference-grid .product-card .add-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 7px 10px !important; font-size: 13px !important; line-height: 1.2;
}
.shop-reference-grid .product-card .share-btn,
.shop-reference-grid .product-card .product-message-btn {
  display: inline-flex !important; align-items: center; justify-content: center;
  padding: 0 !important; background: #202020; border: 1px solid #343434;
  color: #a0a0a0; text-decoration: none;
}
.shop-reference-grid .product-card .share-btn:hover,
.shop-reference-grid .product-card .product-message-btn:hover {
  color: var(--gold); border-color: rgba(255,215,0,.55); background: rgba(255,215,0,.08);
}
@media (max-width: 600px) {
  .shop-reference-grid .product-card-actions { grid-template-columns: minmax(0,1fr) 34px 34px !important; gap: 5px !important; }
  .shop-reference-grid .product-card .add-btn,
  .shop-reference-grid .product-card .share-btn,
  .shop-reference-grid .product-card .product-message-btn { height: 36px !important; min-height: 36px !important; border-radius: 9px !important; }
  .shop-reference-grid .product-card .add-btn { font-size: 11px !important; padding: 5px 6px !important; }
}

/* Keep floating assistant and WhatsApp controls out of the share dialog. */
body:has(#share-modal-overlay.open) .sr-ai-launch, body:has(#share-modal-overlay.open) .global-whatsapp { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
