:root{
  --bg:#f6f7fb;
  --surface:#ffffff;
  --surface-2:#f9fafb;
  --ink:#101828;
  --muted:#667085;
  --muted-2:#98a2b3;
  --line:#e4e7ec;
  --brand:#0b5cff;
  --brand-2:#003ea8;
  --brand-soft:#eef4ff;
  --success:#079455;
  --success-soft:#ecfdf3;
  --warning:#dc6803;
  --warning-soft:#fffaeb;
  --danger:#d92d20;
  --danger-soft:#fef3f2;
  --dark:#0b1220;
  --gold:#f59e0b;
  --radius:18px;
  --radius-lg:24px;
  --shadow-sm:0 1px 2px rgba(16,24,40,.06),0 1px 3px rgba(16,24,40,.1);
  --shadow:0 12px 32px rgba(16,24,40,.08);
  --shadow-lg:0 22px 60px rgba(16,24,40,.13);
  --container:1220px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:linear-gradient(180deg,#f7f9fd 0%,#f2f4f7 100%);color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI",Tahoma,Arial,sans-serif;line-height:1.65;overflow-x:hidden}
a{color:inherit;text-decoration:none}img{display:block;max-width:100%}button,input,select,textarea{font:inherit}button{cursor:pointer}main,.page{max-width:var(--container);margin:0 auto;padding:22px 18px 44px}.muted{color:var(--muted)}.lead{font-size:18px;color:#475467}.small-text{font-size:13px}.center{text-align:center}.wrap,.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.wide{width:100%}.one-col{grid-template-columns:1fr!important}.full-field{grid-column:1/-1}

/* Header */
.site-header{position:sticky;top:0;z-index:90;padding:10px 14px;background:rgba(246,247,251,.82);backdrop-filter:saturate(180%) blur(16px);border-bottom:1px solid rgba(228,231,236,.65)}
.site-header.is-scrolled{box-shadow:0 8px 28px rgba(16,24,40,.08)}
.topbar{max-width:var(--container);margin:auto;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:8px;display:flex;align-items:center;gap:10px;box-shadow:var(--shadow-sm)}
.brand{display:flex;align-items:center;gap:10px;min-width:max-content}.brand-mark{width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,var(--brand),var(--brand-2));color:#fff;display:grid;place-items:center;font-weight:900;box-shadow:0 10px 22px rgba(11,92,255,.25)}.brand-text{font-weight:900;font-size:15px;letter-spacing:-.2px;white-space:nowrap}.main-nav{display:flex;align-items:center;gap:2px;margin-inline-start:auto;min-width:0}.nav-link{padding:10px 9px;border-radius:12px;color:#344054;font-size:14px;font-weight:800;white-space:nowrap}.nav-link:hover,.nav-link.active{background:var(--brand-soft);color:var(--brand-2)}.nav-actions{display:flex;align-items:center;gap:8px}.lang-switch{height:40px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:8px 10px;font-size:13px;font-weight:900;color:#344054}.nav-cta{height:40px;padding:0 14px}.menu-btn{display:none;width:42px;height:42px;border:0;border-radius:13px;background:var(--dark);padding:10px}.menu-btn span{display:block;height:2px;background:#fff;border-radius:99px;margin:5px 0;transition:.2s}.menu-btn.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}.menu-btn.open span:nth-child(2){opacity:0}.menu-btn.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}.mobile-backdrop{display:none}.mobile-backdrop.show{display:block;position:fixed;inset:0;background:rgba(16,24,40,.38);z-index:80}

/* Buttons / Tags */
.btn{border:0;border-radius:12px;background:var(--brand);color:#fff;font-weight:900;padding:11px 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 8px 20px rgba(11,92,255,.18);transition:.18s}.btn:hover{transform:translateY(-1px);background:var(--brand-2)}.btn.ghost{background:#fff;color:#344054;border:1px solid var(--line);box-shadow:none}.btn.dark{background:#101828}.btn.small{padding:8px 11px;font-size:13px;border-radius:10px}.eyebrow{display:inline-flex;align-items:center;gap:7px;background:var(--brand-soft);color:var(--brand-2);border:1px solid #c7d7fe;border-radius:999px;padding:6px 10px;font-weight:900;font-size:12px}.badge{display:inline-flex;align-items:center;gap:5px;background:#f2f4f7;border:1px solid var(--line);color:#344054;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900}.badge.ok,.success{background:var(--success-soft);border-color:#abefc6;color:#067647}.badge.hot,.warning{background:var(--warning-soft);border-color:#fedf89;color:#b54708}.danger{background:var(--danger-soft)!important;color:#b42318!important}.badges{display:flex;gap:7px;flex-wrap:wrap}.notice,.alert{background:#fff;border:1px solid var(--line);border-inline-start:4px solid var(--brand);border-radius:14px;padding:13px 14px;color:#475467}.notice.slim-notice{padding:9px 12px}.ok-note{background:var(--success-soft);border-color:#abefc6;color:#067647}

/* Hero */
.hero{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(330px,.88fr);gap:18px;align-items:stretch;margin-top:12px}.glass-card,.hero-content{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:var(--radius-lg)}.hero-content{padding:30px;position:relative;overflow:hidden}.hero-content:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 15% 15%,rgba(11,92,255,.10),transparent 36%),radial-gradient(circle at 85% 20%,rgba(245,158,11,.13),transparent 30%);pointer-events:none}.hero-content>*{position:relative}.hero h1{font-size:clamp(32px,4.5vw,58px);line-height:1.13;margin:14px 0 12px;letter-spacing:-1px;font-weight:950}.hero p{margin:0;color:#475467;max-width:760px;font-size:17px}.search-box{display:flex;gap:8px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:16px;padding:8px;margin:22px 0;box-shadow:var(--shadow-sm);max-width:720px}.search-box input{border:0;outline:0;flex:1;min-width:0;padding:11px 12px;background:transparent}.search-box button{border:0;background:var(--dark);color:#fff;border-radius:12px;padding:11px 18px;font-weight:900}.trust-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.trust-row span{background:#fff;border:1px solid var(--line);border-radius:999px;padding:7px 11px;color:#344054;font-weight:800;font-size:13px}.hero-auction-panel{position:relative;overflow:hidden;border-radius:var(--radius-lg);min-height:440px;background:#111827;box-shadow:var(--shadow-lg)}.hero-auction-panel img{width:100%;height:100%;object-fit:cover;filter:saturate(1.05) contrast(1.05)}.hero-bid-overlay{position:absolute;inset:auto 14px 14px 14px;background:rgba(12,18,32,.88);backdrop-filter:blur(14px);color:#fff;border:1px solid rgba(255,255,255,.12);border-radius:20px;padding:18px}.hero-bid-overlay h2{margin:8px 0 4px;font-size:22px}.mega-price{font-size:34px;font-weight:950;color:#ffd166}.hero-countdown{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0}.hero-countdown div{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.12);border-radius:14px;text-align:center;padding:9px 6px}.hero-countdown strong{display:block;font-size:20px}.hero-countdown span{display:block;font-size:11px;color:#cbd5e1}.dark-countdown div{background:#101828;color:#fff}.pulse-dot{animation:pulse 1.25s infinite}@keyframes pulse{0%,100%{opacity:1}50%{opacity:.5}}

/* Sections */
.section{margin-top:36px}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:14px}.section h2,.section-head h2{font-size:clamp(24px,3vw,36px);line-height:1.2;margin:7px 0 0;font-weight:950;letter-spacing:-.5px}.section-head a{font-weight:900;color:var(--brand-2)}.section-note{max-width:680px;color:var(--muted);margin:8px 0 0}.grid{display:grid;gap:16px}.cards-2{grid-template-columns:repeat(2,minmax(0,1fr))}.cards-3{grid-template-columns:repeat(3,minmax(0,1fr))}.cards-4{grid-template-columns:repeat(4,minmax(0,1fr))}

/* Directory */
.section-directory{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.directory-card,.category-strip a,.commercial-card,.side-box,.metric,.dash-stats div,.focus-card,.price-card,.brand-card,.gov-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm)}.directory-card{padding:16px;min-height:142px;display:flex;flex-direction:column;gap:7px;transition:.18s}.directory-card:hover,.category-strip a:hover,.card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.directory-card span{font-size:30px}.directory-card strong{font-size:17px}.directory-card small{color:var(--muted);font-weight:700;line-height:1.5}.directory-card.primary{background:linear-gradient(135deg,#0b5cff,#003ea8);color:#fff}.directory-card.primary small{color:#dbeafe}.directory-card.highlight{border-color:#fedf89;background:#fffbeb}

/* Cards */
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);transition:.18s}.thumb{position:relative;height:202px;background:#e4e7ec;display:block;overflow:hidden}.thumb img{width:100%;height:100%;object-fit:cover;transition:.35s}.card:hover .thumb img{transform:scale(1.035)}.photo-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 42%,rgba(0,0,0,.68))}.floating-price{position:absolute;z-index:2;bottom:12px;right:12px;color:#fff;font-size:22px;font-weight:950;text-shadow:0 1px 8px rgba(0,0,0,.35)}.ribbon,.auction-live,.photo-count{position:absolute;z-index:3;border-radius:999px;font-weight:900;font-size:12px;padding:7px 10px}.ribbon{top:12px;left:12px;background:#f59e0b;color:#fff}.auction-live{top:12px;right:12px;background:#fee4e2;color:#b42318}.auction-live.sold-label{background:var(--success-soft);color:#067647}.auction-live.queue-label{background:#f2f4f7;color:#344054}.photo-count{top:12px;right:12px;background:rgba(16,24,40,.75);color:#fff;border:1px solid rgba(255,255,255,.18)}.card-body{padding:15px}.card h3{margin:9px 0 5px;font-size:19px;line-height:1.35}.card h3 a:hover{color:var(--brand-2)}.price{font-size:18px;font-weight:950;margin:9px 0;color:#101828}.mini-stats,.mini-specs{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.mini-stats span,.mini-specs span{background:#f9fafb;border:1px solid var(--line);color:#475467;border-radius:999px;padding:5px 8px;font-size:12px;font-weight:800}.card-actions{display:flex;gap:8px;align-items:center;margin-top:13px}.countdown-pill{position:absolute;z-index:3;bottom:12px;left:12px;right:12px;background:rgba(16,24,40,.86);color:#fff;border:1px solid rgba(255,255,255,.13);border-radius:14px;padding:8px;display:flex;justify-content:center;align-items:center;gap:6px;backdrop-filter:blur(12px)}.countdown-pill strong{font-size:16px}.countdown-pill span{font-size:11px;color:#cbd5e1}.queue-pill{right:auto;min-width:110px}

/* Filters / Infinite */
.governorate-filter,.filter-bar,.home-infinite-tools{display:flex;gap:10px;flex-wrap:wrap;align-items:center;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:12px;margin:12px 0 16px}.governorate-filter select,.filter-bar select,.filter-bar input,.home-infinite-tools select,input,textarea,select{border:1px solid var(--line);background:#fff;border-radius:12px;padding:11px 12px;color:#101828;outline:0}.governorate-filter label,.home-infinite-tools label{font-weight:900;color:#344054}.infinite-loader{text-align:center;color:var(--muted);background:#fff;border:1px dashed #cfd4dc;border-radius:16px;padding:14px;margin-top:14px;font-weight:800}.infinite-sentinel{height:1px}

/* Chips / rows */
.chips,.brand-row,.footer-links{display:flex;gap:9px;flex-wrap:wrap}.chip,.brand-pill,.chips span,.small-chips span{display:inline-flex;background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 12px;font-weight:850;color:#344054}.brand-pill:hover,.chip:hover{background:var(--brand-soft);color:var(--brand-2)}.category-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.category-strip a{padding:16px;display:flex;flex-direction:column;gap:6px}.category-strip span{font-size:28px}.category-strip strong{font-size:17px}.category-strip small{color:var(--muted)}.commercial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.commercial-card{padding:18px}.commercial-card span{font-size:30px}.commercial-card h3,.commercial-card h2{margin:8px 0 4px}.commercial-card.big{background:linear-gradient(135deg,#101828,#1d2939);color:#fff}.commercial-card.big p{color:#d0d5dd}

/* Detail pages */
.detail-grid,.auction-room{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:18px;align-items:start}.vehicle-gallery,.detail-info,.auction-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow);overflow:hidden}.gallery-main{position:relative;background:#e4e7ec}.gallery-main img{width:100%;height:438px;object-fit:cover}.gallery-counter,.media-badges{position:absolute;top:12px;right:12px;background:rgba(16,24,40,.78);color:#fff;border-radius:999px;padding:7px 10px;font-weight:900;font-size:12px}.media-badges{display:flex;gap:7px;flex-wrap:wrap;background:transparent;padding:0}.gallery-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;padding:10px;background:#fff}.gallery-thumb{border:2px solid transparent;background:#fff;border-radius:12px;padding:0;overflow:hidden}.gallery-thumb img{width:100%;height:70px;object-fit:cover}.gallery-thumb.active{border-color:var(--brand)}.detail-info,.auction-panel{padding:20px}.detail-info h1,.auction-panel h1{font-size:clamp(26px,3.3vw,42px);line-height:1.2;margin:12px 0 6px}.big-price{font-size:36px;font-weight:950;margin:14px 0;color:#101828}.seller-contact-card,.installment-detail-card,.auction-access-card,.queue-wait-card{background:#f9fafb;border:1px solid var(--line);border-radius:18px;padding:16px;margin-top:14px}.installment-mini-grid,.auction-rules,.calc-grid,.dash-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.installment-mini-grid div,.auction-rules div,.price-grid div{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px}.reports-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.report-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:16px;display:flex;gap:12px}.report-card.locked{opacity:.75}.report-icon,.service-icon{width:46px;height:46px;border-radius:14px;background:var(--brand-soft);display:grid;place-items:center;font-size:24px;flex:0 0 auto}.current-bid span{display:block;color:var(--muted);font-weight:900}.current-bid strong{display:block;font-size:40px;font-weight:950;color:var(--brand-2)}.fixed-increments{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:10px 0}.increment-btn{border:1px solid var(--line);background:#fff;border-radius:12px;padding:10px;font-weight:900}.increment-btn.selected{background:var(--brand);color:#fff;border-color:var(--brand)}.bid-input{display:flex;gap:8px}.bid-input input{flex:1;font-weight:950;color:var(--brand-2)}.bid-timeline{display:grid;gap:8px}.bid-timeline div,.live-row{display:grid;grid-template-columns:44px 1fr auto;gap:8px;align-items:center;background:#f9fafb;border:1px solid var(--line);border-radius:12px;padding:10px}.bid-timeline span{width:30px;height:30px;border-radius:50%;background:var(--brand-soft);display:grid;place-items:center;color:var(--brand-2);font-weight:900}.bid-timeline em{font-style:normal;font-weight:950;color:var(--brand-2)}

/* Split / lists / tables */
.split,.dash-layout,.admin-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:18px;align-items:start}.side-box{padding:18px}.side-box h2{margin-top:0}.check-list{padding:0;margin:0;list-style:none;display:grid;gap:10px}.check-list li{position:relative;padding-inline-start:26px;color:#475467}.check-list li:before{content:"✓";position:absolute;inset-inline-start:0;top:0;color:var(--success);font-weight:950}.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm)}table{width:100%;border-collapse:collapse;min-width:620px}th,td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:start}th{background:#f9fafb;color:#344054;font-size:13px}tr:last-child td{border-bottom:0}

/* Dashboards */
.dashboard-page{max-width:1240px}.dash-nav{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 16px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:8px;box-shadow:var(--shadow-sm)}.dash-nav a{padding:9px 12px;border-radius:12px;font-weight:850;color:#344054}.dash-nav a:hover{background:var(--brand-soft);color:var(--brand-2)}.dashboard-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(135deg,#101828,#1d2939);color:#fff;border-radius:var(--radius-lg);padding:22px;box-shadow:var(--shadow)}.dashboard-hero h1{margin:8px 0 4px}.dashboard-hero p{color:#d0d5dd;margin:0}.user-pill,.admin-revenue{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);border-radius:16px;padding:12px 14px;font-weight:900}.admin-revenue strong{display:block;font-size:30px;color:#ffd166}.dash-stats{margin:16px 0}.dash-stats div{text-align:center;padding:16px}.dash-stats strong{display:block;font-size:26px;font-weight:950}.dash-stats span{color:var(--muted);font-weight:900;font-size:13px}.focus-board{display:grid;grid-template-columns:1.25fr .75fr;gap:14px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:14px;margin:16px 0}.focus-card{padding:16px}.focus-card h2{margin-top:0}.focus-list{display:grid;gap:10px}.focus-list div{border:1px solid var(--line);background:#f9fafb;border-radius:14px;padding:11px}.focus-list strong{display:block}.focus-list span{color:var(--muted);font-size:13px}.focus-actions{display:grid;gap:9px}.focus-actions a,.focus-actions button{border:1px solid var(--line);background:#fff;border-radius:12px;padding:11px;font-weight:900;text-align:center}.focus-actions a:hover,.focus-actions button:hover{background:var(--brand-soft);color:var(--brand-2)}.dashboard-commercial{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:16px 0}.dashboard-commercial article{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:16px;box-shadow:var(--shadow-sm)}.dashboard-commercial span{font-size:28px}.dashboard-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.dashboard-form,.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-grid label,.dashboard-form label{display:grid;gap:6px;font-weight:850;color:#344054}.form-grid input,.form-grid select,.form-grid textarea,.dashboard-form input,.dashboard-form select,.dashboard-form textarea{width:100%}.empty-state{background:#fff;border:1px dashed #cfd4dc;border-radius:18px;padding:24px;text-align:center;color:var(--muted);font-weight:850}.funnel{display:grid;gap:8px}.funnel div{width:var(--w);background:var(--brand-soft);border-radius:12px;padding:10px;display:flex;justify-content:space-between}.funnel strong{color:var(--brand-2)}

/* Auth / profiles */
.auth-page{min-height:70vh;display:grid;place-items:center}.auth-shell{width:min(980px,100%);display:grid;grid-template-columns:1fr 1fr;gap:18px}.auth-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:22px;box-shadow:var(--shadow)}.auth-demo{background:#101828;color:#fff;border-radius:var(--radius-lg);padding:22px}.demo-login-list{display:grid;gap:8px}.demo-login-list div{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:10px}.page-hero,.clean-hero,.province-hero,.profile-hero{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:22px;margin:12px 0 18px}.page-hero h1,.clean-hero h1,.province-hero h1,.profile-hero h1{margin:8px 0;font-size:clamp(28px,3.8vw,44px)}.showroom-profile,.broker-profile{display:grid;grid-template-columns:1fr 330px;gap:18px;align-items:start}.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.stats-row div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;text-align:center}.stats-row strong{display:block;font-size:22px}.service-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:16px;box-shadow:var(--shadow-sm)}

/* Footer */
.footer{max-width:var(--container);margin:34px auto 0;padding:22px 18px 34px;color:#475467;display:flex;justify-content:space-between;gap:18px;border-top:1px solid var(--line)}.footer strong{color:#101828}.footer p{margin:6px 0 0;max-width:680px}.footer-links a{background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 12px;font-weight:850}

/* Reveal */
.reveal-card{opacity:0;transform:translateY(12px);transition:.45s ease}.reveal-card.visible{opacity:1;transform:translateY(0)}

@media (max-width:1180px){
  .main-nav{position:fixed;top:82px;right:14px;left:14px;z-index:100;display:none;background:#fff;border:1px solid var(--line);border-radius:20px;padding:10px;box-shadow:var(--shadow-lg);grid-template-columns:repeat(2,1fr);max-height:calc(100vh - 110px);overflow:auto}.main-nav.open{display:grid}.nav-link{padding:12px}.menu-btn{display:block}.brand-text{max-width:230px;overflow:hidden;text-overflow:ellipsis}.topbar{border-radius:17px}.nav-actions{margin-inline-start:auto}
}
@media (max-width:980px){
  main,.page{padding:16px 12px 34px}.hero,.detail-grid,.auction-room,.split,.dash-layout,.admin-grid,.showroom-profile,.broker-profile,.auth-shell{grid-template-columns:1fr}.hero-auction-panel{min-height:410px}.section-directory{grid-template-columns:repeat(2,1fr)}.cards-3,.cards-4,.category-strip,.commercial-grid,.dashboard-commercial,.dashboard-grid{grid-template-columns:repeat(2,1fr)}.cards-2{grid-template-columns:1fr}.installment-mini-grid,.auction-rules,.dash-stats,.stats-row{grid-template-columns:repeat(2,1fr)}.focus-board{grid-template-columns:1fr}.dashboard-hero{align-items:flex-start;flex-direction:column}.gallery-main img{height:360px}
}
@media (max-width:640px){
  :root{--radius:15px;--radius-lg:18px}.site-header{padding:8px}.topbar{gap:6px}.brand-mark{width:38px;height:38px}.brand-text{font-size:13px;max-width:150px}.nav-cta{display:none}.lang-switch{height:38px;font-size:12px;padding:7px}.menu-btn{width:38px;height:38px}.main-nav{top:70px;grid-template-columns:1fr}.hero-content{padding:20px}.hero h1{font-size:31px}.hero p{font-size:15px}.search-box{flex-direction:column;border-radius:16px;align-items:stretch}.search-box button{width:100%}.hero-actions .btn{width:100%}.hero-auction-panel{min-height:360px}.hero-bid-overlay{inset:auto 10px 10px 10px;padding:14px}.mega-price{font-size:28px}.hero-countdown{gap:6px}.hero-countdown strong{font-size:17px}.section-head{align-items:flex-start;flex-direction:column}.section-directory,.cards-3,.cards-4,.category-strip,.commercial-grid,.dashboard-commercial,.dashboard-grid{grid-template-columns:1fr}.thumb{height:210px}.card-actions{flex-direction:column}.card-actions .btn{width:100%}.gallery-main img{height:300px}.gallery-thumbs{grid-template-columns:repeat(4,1fr)}.gallery-thumb img{height:58px}.reports-grid,.installment-mini-grid,.auction-rules,.dash-stats,.stats-row{grid-template-columns:1fr}.fixed-increments{grid-template-columns:repeat(2,1fr)}.bid-input{flex-direction:column}.footer{flex-direction:column}.form-grid,.dashboard-form{grid-template-columns:1fr}.floating-price{font-size:20px}.current-bid strong{font-size:34px}.big-price{font-size:32px}
}

/* Compact useful homepage */
.home-compact{max-width:1160px}.compact-hero{display:grid;grid-template-columns:minmax(0,1.15fr) 360px;gap:16px;align-items:stretch;margin-top:12px}.compact-hero-copy{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:24px;position:relative;overflow:hidden}.compact-hero-copy:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 12% 10%,rgba(11,92,255,.10),transparent 35%);pointer-events:none}.compact-hero-copy>*{position:relative}.compact-hero h1{font-size:clamp(30px,4vw,46px);line-height:1.15;margin:10px 0 8px;font-weight:950}.compact-hero p{margin:0;color:#475467;max-width:680px;font-size:16px}.compact-search{max-width:none;margin:18px 0 12px}.compact-search select{min-width:180px}.compact-actions{margin-top:8px}.compact-auction-card{background:#101828;color:#fff;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);display:grid;grid-template-rows:170px 1fr}.compact-auction-card img{width:100%;height:100%;object-fit:cover}.compact-auction-card>div{padding:16px}.compact-auction-card h2{font-size:20px;margin:8px 0 2px}.compact-auction-card strong{display:block;color:#ffd166;font-size:28px;font-weight:950}.live-badge{display:inline-flex;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);border-radius:999px;padding:5px 10px;font-weight:900;font-size:12px}.mini-countdown{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:12px 0}.mini-countdown span{background:rgba(255,255,255,.10);border-radius:10px;padding:7px 4px;text-align:center;font-size:11px;color:#d0d5dd}.mini-countdown b{display:block;color:#fff;font-size:16px}.compact-section{margin-top:18px}.tight-head{margin-bottom:10px}.quick-links-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.quick-links-grid a{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;box-shadow:var(--shadow-sm);display:flex;align-items:center;gap:10px;font-weight:950;color:#101828;transition:.16s}.quick-links-grid a:hover{transform:translateY(-2px);border-color:#b2ccff;background:#f8fbff}.quick-links-grid span{font-size:23px}.compact-tools{margin-top:0;margin-bottom:14px}.compact-bottom-links{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.compact-bottom-links a{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;box-shadow:var(--shadow-sm)}.compact-bottom-links strong{display:block;font-size:18px}.compact-bottom-links span{color:var(--muted);font-weight:800;font-size:13px}
@media (max-width:980px){.compact-hero{grid-template-columns:1fr}.compact-auction-card{grid-template-columns:180px 1fr;grid-template-rows:auto}.quick-links-grid{grid-template-columns:repeat(2,1fr)}.compact-bottom-links{grid-template-columns:1fr}}
@media (max-width:640px){.compact-hero-copy{padding:18px}.compact-hero h1{font-size:30px}.compact-search{gap:8px}.compact-search select{width:100%;min-width:0}.compact-auction-card{grid-template-columns:1fr;grid-template-rows:155px 1fr}.quick-links-grid{grid-template-columns:1fr}.quick-links-grid a{padding:12px}.compact-bottom-links a{padding:14px}}

/* Cleaner mobile-first home page */
.home-simple{max-width:1100px}.mobile-first-hero{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow-sm);padding:18px;margin-top:12px;display:grid;gap:14px}.hero-main-line{text-align:center}.hero-main-line h1{font-size:clamp(26px,4vw,42px);line-height:1.18;margin:8px 0 6px;font-weight:950;letter-spacing:-.5px}.hero-main-line p{margin:0;color:#475467;font-weight:750}.eyebrow.slim{padding:5px 10px;font-size:12px}.simple-search{display:grid;grid-template-columns:minmax(0,1fr) 190px 92px;gap:8px;background:#f8fafc;border:1px solid var(--line);border-radius:17px;padding:8px}.simple-search input,.simple-search select{height:44px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:0 12px;outline:0}.simple-search button{height:44px;border:0;border-radius:12px;background:var(--dark);color:#fff;font-weight:950}.home-action-chips{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.home-action-chips a{height:44px;display:grid;place-items:center;border:1px solid var(--line);border-radius:13px;background:#fff;font-weight:950;color:#344054;box-shadow:var(--shadow-sm)}.home-action-chips a.primary{background:var(--brand);color:#fff;border-color:var(--brand)}.current-auction-strip{margin-top:12px;background:#101828;color:#fff;border-radius:20px;overflow:hidden;box-shadow:var(--shadow-sm);display:grid;grid-template-columns:140px minmax(0,1fr) 190px auto;gap:12px;align-items:center;padding:10px}.current-auction-strip img{width:140px;height:90px;object-fit:cover;border-radius:14px}.auction-strip-info h2{font-size:19px;margin:5px 0 1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.auction-strip-info strong{display:block;color:#ffd166;font-size:24px;font-weight:950}.strip-countdown{margin:0;min-width:180px}.home-shortcuts-section{margin-top:18px}.mini-head{margin-bottom:8px}.mini-head h2{font-size:22px;margin:0}.quick-links-grid.compact-icons{grid-template-columns:repeat(9,minmax(0,1fr));gap:8px}.quick-links-grid.compact-icons a{display:grid;place-items:center;text-align:center;gap:4px;padding:10px 6px;border-radius:14px;min-height:74px}.quick-links-grid.compact-icons span{font-size:20px}.quick-links-grid.compact-icons strong{font-size:12.5px;line-height:1.25}.latest-simple-section{margin-top:20px}.latest-head h2{font-size:24px;margin:0}.latest-head .section-note{margin:3px 0 0}.inline-tools{box-shadow:none;padding:8px 10px;border-radius:14px}.inline-tools select{height:40px;padding:0 10px}.inline-tools label{font-size:13px}
@media (max-width:980px){.quick-links-grid.compact-icons{grid-template-columns:repeat(5,1fr)}.current-auction-strip{grid-template-columns:120px minmax(0,1fr) auto}.strip-countdown{display:none}.current-auction-strip img{width:120px;height:78px}}
@media (max-width:640px){main.home-simple{padding-top:10px}.site-header{padding:7px 8px}.topbar{padding:7px;border-radius:18px;gap:7px}.brand-mark{width:36px;height:36px;border-radius:12px}.brand-text{max-width:155px;font-size:12.5px}.lang-switch{height:36px;border-radius:12px;padding:6px 9px}.menu-btn{width:36px;height:36px;border-radius:12px;padding:9px}.mobile-first-hero{padding:14px;border-radius:18px;margin-top:8px;gap:10px}.hero-main-line{text-align:start}.hero-main-line .eyebrow{display:none}.hero-main-line h1{font-size:25px;margin:0 0 4px}.hero-main-line p{font-size:13.5px;line-height:1.5}.simple-search{grid-template-columns:1fr 112px 62px;gap:6px;padding:6px;border-radius:14px}.simple-search input,.simple-search select,.simple-search button{height:38px;border-radius:10px;font-size:13px}.simple-search input{padding:0 9px}.simple-search select{padding:0 7px}.home-action-chips{grid-template-columns:repeat(3,1fr);gap:6px}.home-action-chips a{height:38px;border-radius:11px;font-size:13.5px;box-shadow:none}.current-auction-strip{grid-template-columns:86px minmax(0,1fr) 52px;gap:8px;padding:8px;border-radius:16px}.current-auction-strip img{width:86px;height:64px;border-radius:11px}.current-auction-strip .live-badge{display:none}.auction-strip-info h2{font-size:15px;margin:0}.auction-strip-info strong{font-size:18px}.current-auction-strip .btn{height:36px;padding:0 10px;font-size:12.5px;border-radius:10px;box-shadow:none}.home-shortcuts-section{margin-top:14px}.mini-head h2{font-size:19px}.quick-links-grid.compact-icons{grid-template-columns:repeat(3,1fr);gap:7px}.quick-links-grid.compact-icons a{min-height:58px;padding:8px 5px;box-shadow:none}.quick-links-grid.compact-icons span{font-size:17px}.quick-links-grid.compact-icons strong{font-size:11.5px}.latest-simple-section{margin-top:16px}.latest-head{flex-direction:row;align-items:center}.latest-head h2{font-size:20px}.latest-head .section-note{display:none}.inline-tools{padding:7px;margin:8px 0 10px}.inline-tools label{font-size:12px}.inline-tools select{height:36px;flex:1}.infinite-loader{font-size:13px;padding:10px;border-radius:12px}.main-nav{top:64px}}
@media (max-width:390px){.brand-text{max-width:125px}.simple-search{grid-template-columns:1fr}.simple-search input,.simple-search select,.simple-search button{width:100%}.home-action-chips a{font-size:12.5px}.quick-links-grid.compact-icons{grid-template-columns:repeat(3,1fr)}}

/* Header refinement: always show full site name and dashboard button */
.brand-text{max-width:none!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important}
.nav-cta{display:inline-flex!important;white-space:nowrap}
@media (max-width:640px){
  .topbar{display:flex;align-items:center;gap:6px;overflow:visible}
  .brand{flex:1 1 auto;min-width:0;gap:7px}
  .brand-mark{flex:0 0 36px}
  .brand-text{font-size:12.2px!important;letter-spacing:-.35px;line-height:1.15;min-width:max-content}
  .nav-actions{flex:0 0 auto;gap:5px;margin-inline-start:0}
  .nav-cta{height:36px;padding:0 10px!important;border-radius:12px;font-size:12.5px;box-shadow:none}
  .lang-switch{height:36px;padding:6px 8px!important;font-size:12px}
  .menu-btn{flex:0 0 36px}
}
@media (max-width:390px){
  .brand{gap:5px}
  .brand-mark{width:34px;height:34px;flex-basis:34px;border-radius:11px}
  .brand-text{font-size:11px!important;letter-spacing:-.45px}
  .nav-actions{gap:4px}
  .nav-cta{height:34px;padding:0 7px!important;font-size:11.5px;border-radius:11px}
  .lang-switch{height:34px;padding:5px 6px!important;font-size:11px}
  .menu-btn{width:34px;height:34px;flex-basis:34px;border-radius:11px;padding:8px}
}

/* Auction live group xremoved - only for the current auction vehicle */
.auction-live-xremoved{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm);
  padding:18px;
}
.xremoved-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.xremoved-head h2{margin:4px 0 3px;font-size:24px;line-height:1.25}
.xremoved-live-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#0f5132;
  background:#ecfdf3;
  border:1px solid #abefc6;
  border-radius:999px;
  padding:7px 10px;
  font-weight:950;
  white-space:nowrap;
  font-size:13px;
}
.auction-xremoved-box{
  height:280px;
  overflow:auto;
  background:linear-gradient(180deg,#f8fafc,#fff);
  border:1px solid var(--line);
  border-radius:18px;
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:9px;
  scroll-behavior:smooth;
}
.auction-xremoved-message{
  width:min(82%,620px);
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:16px 16px 16px 5px;
  padding:10px 12px;
  box-shadow:0 6px 16px rgba(16,24,40,.05);
  align-self:flex-start;
}
.auction-xremoved-message.mine{
  align-self:flex-end;
  border-radius:16px 16px 5px 16px;
  background:#eff6ff;
  border-color:#b2ccff;
}
.auction-xremoved-meta{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  margin-bottom:5px;
}
.auction-xremoved-meta strong{font-size:13px;color:#101828}
.auction-xremoved-meta span{font-size:11.5px;color:#667085;font-weight:800;white-space:nowrap}
.auction-xremoved-message p{margin:0;color:#344054;font-size:14px;line-height:1.55;word-break:break-word}
.auction-xremoved-form{
  display:grid;
  grid-template-columns:minmax(0,1fr) 105px;
  gap:8px;
  margin-top:10px;
}
.auction-xremoved-form input{
  height:46px;
  border:1px solid var(--line);
  border-radius:14px;
  padding:0 13px;
  font-weight:800;
  outline:0;
  background:#fff;
}
.auction-xremoved-form input:focus{border-color:#84adff;box-shadow:0 0 0 4px rgba(11,92,255,.09)}
.auction-xremoved-form .btn{height:46px;border-radius:14px}
.xremoved-status{margin:8px 2px 0;font-size:12.5px}
.xremoved-status.error{color:#b42318;font-weight:900}
.xremoved-login-note{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:10px;
  background:#f8fafc;
  border:1px solid var(--line);
  border-radius:15px;
  padding:10px 12px;
}
@media(max-width:640px){
  .auction-live-xremoved{padding:13px;border-radius:18px}
  .xremoved-head{align-items:flex-start;gap:8px}
  .xremoved-head h2{font-size:19px}
  .xremoved-head p{font-size:12.8px}
  .xremoved-live-pill{font-size:11.5px;padding:6px 8px}
  .auction-xremoved-box{height:235px;border-radius:15px;padding:9px}
  .auction-xremoved-message{width:94%;padding:9px 10px;border-radius:14px 14px 14px 4px}
  .auction-xremoved-message.mine{border-radius:14px 14px 4px 14px}
  .auction-xremoved-meta{align-items:flex-start;flex-direction:column;gap:2px}
  .auction-xremoved-message p{font-size:13.2px}
  .auction-xremoved-form{grid-template-columns:1fr 74px;gap:6px}
  .auction-xremoved-form input,.auction-xremoved-form .btn{height:40px;border-radius:11px;font-size:13px}
  .xremoved-login-note{align-items:stretch;flex-direction:column}
}

/* Auction page redesign: compact live bidding + xremoved together */
.auction-focus-page{max-width:1180px;padding-top:14px}
.auction-focus-shell{display:grid;grid-template-columns:minmax(0,0.92fr) minmax(380px,1.08fr);gap:14px;align-items:start}
.auction-visual-card,.auction-live-console{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow-sm);overflow:hidden}
.auction-main-photo{position:relative;background:#e4e7ec}
.auction-main-photo img{width:100%;height:360px;object-fit:cover}
.auction-photo-badges{position:absolute;top:12px;right:12px;left:12px;display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-start}
.auction-thumb-row{display:flex;gap:8px;overflow-x:auto;padding:10px;background:#fff;scrollbar-width:thin}
.auction-thumb-row .gallery-thumb{min-width:92px;max-width:92px;height:58px;border:2px solid transparent;background:#fff;border-radius:12px;overflow:hidden;padding:0;flex:0 0 auto}
.auction-thumb-row .gallery-thumb img{width:100%;height:100%;object-fit:cover}
.auction-thumb-row .gallery-thumb.active{border-color:var(--brand)}
.auction-live-console{padding:14px;display:grid;gap:12px}
.auction-topline,.auction-title-row,.bid-row-title,.inline-xremoved-head,.mini-log-title{display:flex;align-items:center;justify-content:space-between;gap:10px}
.auction-deposit-pill{border:1px solid var(--line);background:#f8fafc;border-radius:999px;padding:7px 10px;color:#344054;font-weight:950;font-size:13px;white-space:nowrap}
.auction-title-row{align-items:flex-start}
.auction-title-row h1{margin:5px 0 2px;font-size:clamp(23px,3vw,36px);line-height:1.18;font-weight:950;letter-spacing:-.5px}
.auction-title-row p{margin:0;font-weight:800}
.auction-mini-countdown{display:grid;grid-template-columns:repeat(4,42px);gap:5px;flex:0 0 auto}
.auction-mini-countdown div{background:#0b1220;color:#fff;border-radius:12px;text-align:center;padding:6px 3px}
.auction-mini-countdown strong{display:block;font-size:16px;line-height:1}
.auction-mini-countdown span{display:block;margin-top:3px;font-size:10px;color:#d0d5dd;font-weight:800}
.auction-price-strip{display:grid;grid-template-columns:1.6fr repeat(3,1fr);gap:8px}
.price-cell{background:#f8fafc;border:1px solid var(--line);border-radius:16px;padding:10px;min-width:0}
.price-cell span{display:block;color:#667085;font-size:12px;font-weight:900;margin-bottom:2px}
.price-cell strong{display:block;color:#101828;font-size:18px;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.price-cell.main-price{background:linear-gradient(135deg,#eef4ff,#fff);border-color:#c7d7fe}
.price-cell.main-price strong{font-size:34px;color:var(--brand-2);letter-spacing:-.8px}
.compact-live-bid{border:1px solid #d6e4ff;background:#fbfdff;border-radius:18px;padding:12px}
.bid-row-title strong{font-size:15px}.bid-row-title span{color:#667085;font-weight:850;font-size:13px}.bid-row-title b{color:var(--brand-2);font-size:15px}
.compact-increments{grid-template-columns:repeat(4,1fr);gap:7px;margin:9px 0}
.compact-increments .increment-btn{padding:9px 6px;border-radius:12px;font-size:13px;background:#fff}
.compact-bid-submit{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:8px}
.compact-bid-submit input{height:42px;border:1px solid var(--line);border-radius:12px;padding:0 12px;background:#fff;font-weight:950;color:var(--brand-2);outline:0}
.compact-bid-submit .btn{height:42px;border-radius:12px;box-shadow:none}
.socket-status{margin:7px 2px 0;color:#667085;font-size:12.5px;font-weight:800}.socket-status.error{color:#b42318}
.auction-mini-alert{display:flex;gap:8px;align-items:center;border:1px solid #abefc6;background:#ecfdf3;color:#067647;border-radius:14px;padding:10px 12px;font-size:13px}.auction-mini-alert span{font-weight:800}
.compact-access-card{margin:0;padding:12px;border-radius:16px}.compact-access-card p{margin:4px 0 8px;font-size:13px}
.auction-inline-xremoved{border:1px solid var(--line);border-radius:18px;background:#fff;overflow:hidden}
.inline-xremoved-head{padding:10px 12px;border-bottom:1px solid var(--line);background:#f8fafc}
.inline-xremoved-head strong{display:block;font-size:15px}.inline-xremoved-head span{display:block;color:#667085;font-size:12px;font-weight:800}.inline-xremoved-head em{font-style:normal;color:#067647;background:#ecfdf3;border:1px solid #abefc6;border-radius:999px;padding:5px 8px;font-weight:950;font-size:12px;white-space:nowrap}
.compact-xremoved-box{height:220px;border:0;border-radius:0;background:#fff;padding:10px}
.compact-xremoved-form{grid-template-columns:minmax(0,1fr) 86px;margin:0;padding:10px;border-top:1px solid var(--line);background:#fff}
.compact-xremoved-form input,.compact-xremoved-form .btn{height:40px;border-radius:12px;font-size:13px}.compact-xremoved-form .btn{box-shadow:none}
.auction-inline-xremoved .xremoved-status{margin:0;padding:0 12px 10px;background:#fff}
.compact-login-note{margin:0;border:0;border-top:1px solid var(--line);border-radius:0;background:#fff}
.auction-mini-docs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.mini-doc{background:#f8fafc;border:1px solid var(--line);border-radius:15px;padding:9px 10px;display:grid;grid-template-columns:auto 1fr;column-gap:8px;align-items:center;min-width:0}
.mini-doc span{grid-row:1/3;font-size:20px}.mini-doc strong{font-size:13px}.mini-doc em{font-style:normal;color:#667085;font-size:11.5px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-doc.available{background:#f0fdf4;border-color:#bbf7d0}.mini-doc.disabled{opacity:.65;pointer-events:none}
.auction-bid-mini-log{border:1px solid var(--line);border-radius:18px;padding:11px;background:#fff}
.mini-log-title{margin-bottom:8px}.mini-log-title strong{font-size:15px}.mini-log-title span{color:#667085;font-size:12px;font-weight:800}
.compact-timeline{max-height:168px;overflow:auto;gap:6px}.compact-timeline div,.compact-timeline .live-row{padding:8px;border-radius:11px;grid-template-columns:38px 1fr auto}.compact-timeline span{width:26px;height:26px;font-size:12px}.compact-timeline strong,.compact-timeline em{font-size:13px}
.compact-wait-card{margin:0}.compact-wait-card h2{margin:4px 0;font-size:20px}
.auction-rules-compact{background:#fff;border:1px solid var(--line);border-radius:20px;padding:16px;box-shadow:var(--shadow-sm)}
.auction-rules-compact h2{margin:0 0 10px;font-size:22px}.rules-chip-grid{display:flex;gap:8px;flex-wrap:wrap}.rules-chip-grid span{background:#f8fafc;border:1px solid var(--line);border-radius:999px;padding:7px 10px;color:#344054;font-weight:850;font-size:13px}
@media (max-width:980px){.auction-focus-shell{grid-template-columns:1fr}.auction-main-photo img{height:330px}.auction-live-console{gap:10px}}
@media (max-width:640px){.auction-focus-page{padding:10px 8px 28px}.auction-focus-shell{gap:10px}.auction-visual-card,.auction-live-console{border-radius:18px}.auction-main-photo img{height:220px}.auction-photo-badges{top:8px;right:8px;left:8px}.auction-photo-badges .badge{padding:4px 7px;font-size:11px}.auction-thumb-row{padding:8px;gap:6px}.auction-thumb-row .gallery-thumb{min-width:72px;max-width:72px;height:48px;border-radius:10px}.auction-live-console{padding:11px}.auction-topline{align-items:flex-start}.auction-deposit-pill{font-size:11.5px;padding:6px 8px}.auction-title-row{display:grid;grid-template-columns:1fr;gap:8px}.auction-title-row h1{font-size:25px;margin-top:2px}.auction-title-row p{font-size:13px}.auction-mini-countdown{grid-template-columns:repeat(4,1fr);width:100%}.auction-mini-countdown div{padding:7px 3px}.auction-mini-countdown strong{font-size:17px}.auction-price-strip{grid-template-columns:repeat(3,1fr);gap:6px}.price-cell{padding:8px 7px;border-radius:13px}.price-cell.main-price{grid-column:1/-1}.price-cell span{font-size:11px}.price-cell strong{font-size:15px}.price-cell.main-price strong{font-size:30px}.compact-live-bid{padding:10px;border-radius:15px}.bid-row-title{align-items:flex-start}.bid-row-title span{font-size:12px}.compact-increments{grid-template-columns:repeat(4,1fr);gap:5px}.compact-increments .increment-btn{padding:8px 3px;font-size:11.5px;border-radius:10px}.compact-bid-submit{grid-template-columns:1fr 94px;gap:6px}.compact-bid-submit input,.compact-bid-submit .btn{height:39px;border-radius:10px;font-size:13px}.socket-status{font-size:11.5px}.compact-xremoved-box{height:215px;padding:8px}.inline-xremoved-head{padding:9px 10px}.inline-xremoved-head strong{font-size:14px}.inline-xremoved-head span{font-size:11.5px}.compact-xremoved-form{grid-template-columns:1fr 70px;padding:8px;gap:6px}.compact-xremoved-form input,.compact-xremoved-form .btn{height:38px;border-radius:10px;font-size:12.5px}.auction-xremoved-message{width:96%;padding:8px 9px}.auction-xremoved-message p{font-size:12.8px}.auction-mini-docs{grid-template-columns:repeat(3,1fr);gap:6px}.mini-doc{grid-template-columns:1fr;text-align:center;padding:7px 5px;border-radius:12px}.mini-doc span{grid-row:auto;font-size:17px}.mini-doc strong{font-size:12px}.mini-doc em{font-size:10.5px}.auction-bid-mini-log{padding:9px;border-radius:15px}.compact-timeline{max-height:130px}.compact-timeline div,.compact-timeline .live-row{grid-template-columns:30px 1fr auto;padding:7px;gap:5px}.compact-timeline span{width:22px;height:22px}.compact-timeline strong,.compact-timeline em{font-size:12px}.auction-rules-compact{padding:12px;border-radius:16px}.auction-rules-compact h2{font-size:18px}.rules-chip-grid span{font-size:12px;padding:6px 8px}}
@media (max-width:390px){.auction-main-photo img{height:195px}.auction-title-row h1{font-size:22px}.price-cell.main-price strong{font-size:27px}.compact-increments{grid-template-columns:repeat(2,1fr)}.compact-bid-submit{grid-template-columns:1fr}.compact-xremoved-box{height:200px}}

/* Circular auction stage with time ring */
.auction-ring-page{max-width:1120px}
.auction-ring-shell{grid-template-columns:minmax(300px,.78fr) minmax(420px,1.22fr);align-items:start}
.auction-stage-card{padding:14px;display:grid;gap:12px;place-items:center;overflow:visible;text-align:center;background:linear-gradient(180deg,#fff,#f8fbff)}
.auction-stage-head{width:100%;display:flex;gap:7px;align-items:center;justify-content:center;flex-wrap:wrap}
.auction-ring-wrap{--auction-progress:100%;--ring-size:310px;position:relative;width:var(--ring-size);height:var(--ring-size);display:grid;place-items:center;margin:2px auto 0}
.auction-progress-ring{width:100%;height:100%;border-radius:50%;background:conic-gradient(var(--brand) var(--auction-progress), #e4e7ec 0);display:grid;place-items:center;padding:12px;box-shadow:0 18px 50px rgba(11,92,255,.13), inset 0 0 0 1px rgba(255,255,255,.8);transition:background .35s ease}
.auction-ring-wrap.ending .auction-progress-ring{background:conic-gradient(#ef4444 var(--auction-progress), #fee2e2 0);animation:ringPulse .9s infinite}
@keyframes ringPulse{0%,100%{filter:drop-shadow(0 0 0 rgba(239,68,68,0))}50%{filter:drop-shadow(0 0 16px rgba(239,68,68,.35))}}
.auction-circle-photo{width:100%;height:100%;border-radius:50%;overflow:hidden;background:#111827;border:8px solid #fff;box-shadow:inset 0 0 0 1px rgba(16,24,40,.08), 0 10px 30px rgba(16,24,40,.14)}
.auction-circle-photo img{width:100%;height:100%;object-fit:cover;transition:.28s ease}
.auction-circle-photo:hover img{transform:scale(1.035)}
.ring-time-badge{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);min-width:112px;background:rgba(11,18,32,.92);color:#fff;border:1px solid rgba(255,255,255,.16);border-radius:18px;padding:7px 12px;box-shadow:0 12px 28px rgba(16,24,40,.22);backdrop-filter:blur(10px)}
.ring-time-badge strong{display:block;font-size:24px;line-height:1;font-weight:950;letter-spacing:.5px}
.ring-time-badge em{display:block;font-style:normal;color:#d0d5dd;font-size:11px;font-weight:850;margin-top:3px}
.auction-stage-info h2{margin:0;font-size:22px;line-height:1.25;font-weight:950}.auction-stage-info p{margin:3px 0 8px}.compact-stage-badges{position:static;justify-content:center}
.ring-thumb-row{justify-content:center;width:100%;padding:0;background:transparent}.ring-thumb-row .gallery-thumb{min-width:66px;max-width:66px;height:48px;border-radius:999px}.ring-thumb-row .gallery-thumb img{border-radius:999px}
.auction-compact-console{gap:10px}.compact-auction-topline{margin-bottom:0}.auction-title-compact h1{font-size:clamp(22px,2.6vw,32px)}.auction-price-compact-strip{grid-template-columns:1.35fr repeat(3,.78fr)}.auction-price-compact-strip .price-cell.main-price strong{font-size:30px}.compact-ring-xremoved .compact-xremoved-box{height:190px}.auction-ring-page .auction-rules-compact{margin-top:14px}
@media (max-width:980px){.auction-ring-shell{grid-template-columns:1fr}.auction-stage-card{padding:12px}.auction-ring-wrap{--ring-size:280px}.auction-compact-console{padding:12px}.compact-ring-xremoved .compact-xremoved-box{height:210px}}
@media (max-width:640px){.auction-ring-page{padding:8px 8px 26px}.auction-ring-shell{gap:9px}.auction-stage-card{border-radius:18px;gap:9px}.auction-stage-head .badge{font-size:10.5px;padding:4px 7px}.auction-ring-wrap{--ring-size:210px}.auction-progress-ring{padding:8px}.auction-circle-photo{border-width:6px}.ring-time-badge{bottom:2px;min-width:92px;padding:5px 8px;border-radius:14px}.ring-time-badge strong{font-size:19px}.ring-time-badge em{font-size:9.5px}.auction-stage-info h2{font-size:18px}.auction-stage-info p{font-size:12.5px}.compact-stage-badges .badge{font-size:10.5px;padding:4px 7px}.ring-thumb-row{gap:6px}.ring-thumb-row .gallery-thumb{min-width:50px;max-width:50px;height:38px}.auction-title-compact{display:none}.auction-price-compact-strip{grid-template-columns:repeat(3,1fr);gap:6px}.auction-price-compact-strip .main-price{grid-column:1/-1}.auction-price-compact-strip .price-cell.main-price strong{font-size:27px}.compact-ring-xremoved .compact-xremoved-box{height:205px}.auction-rules-compact{margin-top:10px}}
@media (max-width:390px){.auction-ring-wrap{--ring-size:188px}.auction-price-compact-strip .price-cell.main-price strong{font-size:24px}.compact-ring-xremoved .compact-xremoved-box{height:190px}}

/* Floating auction xremoved: does not take space from the auction on mobile */
.auction-floating-xremoved{
  position:fixed;
  inset-inline-end:18px;
  bottom:18px;
  z-index:160;
  pointer-events:none;
}
.floating-xremoved-button{
  pointer-events:auto;
  min-width:174px;
  height:54px;
  border:0;
  border-radius:999px;
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:0 16px;
  box-shadow:0 18px 45px rgba(11,92,255,.32);
  font-weight:950;
  position:relative;
}
.floating-xremoved-button:hover{transform:translateY(-1px)}
.floating-xremoved-icon{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.16);font-size:17px}
.floating-xremoved-button b{
  position:absolute;
  top:-5px;
  inset-inline-start:-3px;
  min-width:24px;
  height:24px;
  padding:0 6px;
  border-radius:999px;
  background:#ef4444;
  color:#fff;
  display:grid;
  place-items:center;
  font-size:12px;
  border:2px solid #fff;
}
.floating-xremoved-panel{
  pointer-events:auto;
  position:fixed;
  inset-inline-end:18px;
  bottom:84px;
  width:min(392px,calc(100vw - 32px));
  max-height:min(620px,72vh);
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:0 28px 80px rgba(16,24,40,.24);
  overflow:hidden;
  opacity:0;
  transform:translateY(14px) scale(.97);
  visibility:hidden;
  transition:.18s ease;
  display:flex;
  flex-direction:column;
}
.auction-floating-xremoved.is-open .floating-xremoved-panel{
  opacity:1;
  transform:translateY(0) scale(1);
  visibility:visible;
}
.floating-xremoved-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:13px 14px;
  background:linear-gradient(180deg,#f8fbff,#fff);
  border-bottom:1px solid var(--line);
}
.floating-xremoved-head strong{display:block;font-size:15px;color:#101828;line-height:1.25}
.floating-xremoved-head span{display:block;font-size:11.5px;color:#667085;font-weight:800;margin-top:2px}
.floating-xremoved-head button{
  width:36px;
  height:36px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  color:#344054;
  font-size:22px;
  line-height:1;
  font-weight:900;
}
.auction-floating-xremoved .auction-xremoved-box{
  height:auto;
  min-height:260px;
  max-height:360px;
  border:0;
  border-radius:0;
  flex:1 1 auto;
  background:#f8fafc;
}
.auction-floating-xremoved .auction-xremoved-form{
  margin:0;
  padding:10px;
  border-top:1px solid var(--line);
  background:#fff;
}
.auction-floating-xremoved .xremoved-status{margin:0;padding:0 12px 10px;background:#fff}
.auction-floating-xremoved .xremoved-login-note{margin:0;border:0;border-top:1px solid var(--line);border-radius:0;background:#fff}
.auction-floating-xremoved .auction-xremoved-message{width:92%}
@media(max-width:640px){
  .auction-floating-xremoved{
    inset-inline-end:14px;
    bottom:14px;
  }
  .floating-xremoved-button{
    min-width:0;
    height:52px;
    padding:0 14px;
    border-radius:18px;
  }
  .floating-xremoved-button strong{font-size:13.5px}
  .floating-xremoved-icon{width:29px;height:29px;font-size:15px}
  .floating-xremoved-panel{
    inset-inline:8px;
    bottom:74px;
    width:auto;
    max-height:68vh;
    border-radius:22px;
  }
  .auction-floating-xremoved .auction-xremoved-box{
    min-height:240px;
    max-height:calc(68vh - 138px);
  }
  .auction-floating-xremoved .auction-xremoved-form{
    grid-template-columns:minmax(0,1fr) 72px;
    gap:6px;
    padding:8px;
  }
  .auction-floating-xremoved .auction-xremoved-form input,
  .auction-floating-xremoved .auction-xremoved-form .btn{height:40px;border-radius:11px;font-size:12.5px}
  .auction-floating-xremoved .auction-xremoved-message{width:96%}
}
@media(max-width:390px){
  .floating-xremoved-button{height:48px;padding:0 12px}
  .floating-xremoved-button strong{font-size:12.5px}
  .floating-xremoved-panel{bottom:68px;max-height:70vh}
}


/* Full-screen auction xremoved drawer: button stays floating, panel opens as full screen */
body.xremoved-fullscreen-open{overflow:hidden;touch-action:none}
.auction-floating-xremoved{z-index:9990}
.auction-floating-xremoved.is-open{inset:0;bottom:auto;pointer-events:auto}
.auction-floating-xremoved.is-open .floating-xremoved-button{display:none}
.auction-floating-xremoved.is-open .floating-xremoved-panel{
  position:fixed;
  inset:0;
  width:100vw;
  max-width:none;
  height:100dvh;
  max-height:none;
  border:0;
  border-radius:0;
  box-shadow:none;
  opacity:1;
  transform:none;
  visibility:visible;
  display:flex;
  flex-direction:column;
  background:#fff;
}
.auction-floating-xremoved.is-open .floating-xremoved-head{
  padding:calc(12px + env(safe-area-inset-top)) 16px 12px;
  background:#fff;
  border-bottom:1px solid var(--line);
  box-shadow:0 8px 22px rgba(16,24,40,.08);
}
.auction-floating-xremoved.is-open .floating-xremoved-head strong{font-size:18px}
.auction-floating-xremoved.is-open .floating-xremoved-head span{font-size:12px}
.auction-floating-xremoved.is-open .floating-xremoved-head button{width:42px;height:42px;border-radius:14px;font-size:26px;background:#f8fafc}
.auction-floating-xremoved.is-open .auction-xremoved-box{
  min-height:0;
  max-height:none;
  flex:1 1 auto;
  padding:14px;
  overflow:auto;
  background:#f3f7ff;
}
.auction-floating-xremoved.is-open .auction-xremoved-form{
  padding:10px max(12px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));
  grid-template-columns:minmax(0,1fr) 86px;
  background:#fff;
  border-top:1px solid var(--line);
}
.auction-floating-xremoved.is-open .auction-xremoved-form input,
.auction-floating-xremoved.is-open .auction-xremoved-form .btn{height:46px;border-radius:14px}
.auction-floating-xremoved.is-open .xremoved-status{padding:0 14px 10px;background:#fff}
.auction-floating-xremoved.is-open .auction-xremoved-message{width:min(88%,620px)}
@media(max-width:640px){
  .auction-floating-xremoved.is-open .auction-xremoved-box{padding:10px}
  .auction-floating-xremoved.is-open .auction-xremoved-message{width:94%}
  .auction-floating-xremoved.is-open .auction-xremoved-form{grid-template-columns:minmax(0,1fr) 74px;gap:7px}
}

/* Vehicle xremoveds */
.vehicle-xremoveds-section{margin-top:18px}
.xremoveds-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:14px;align-items:start}
.xremoveds-list-card,.xremoved-form-card{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow-soft);overflow:hidden}
.xremoveds-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;border-bottom:1px solid var(--line);background:linear-gradient(180deg,#f8fbff,#fff)}
.xremoveds-header h2{margin:0;font-size:20px;font-weight:950;color:#101828}.xremoveds-header span{color:#667085;font-weight:850;font-size:13px}
.xremoved-item{padding:14px 16px;border-bottom:1px solid var(--line);display:grid;gap:7px}.xremoved-item:last-child{border-bottom:0}
.xremoved-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}.xremoved-meta strong{color:#101828;font-size:14px}.xremoved-meta span{color:#667085;font-size:12px;font-weight:800}
.xremoved-text{margin:0;color:#344054;line-height:1.8;font-size:14px;white-space:pre-wrap;word-break:break-word}
.xremoved-form-card{padding:14px}.xremoved-form-card h3{margin:0 0 8px;font-size:18px}.xremoved-form-card p{margin:0 0 12px}.xremoved-form-card textarea{width:100%;min-height:120px;resize:vertical;border:1px solid var(--line);border-radius:16px;padding:12px;background:#fff;color:#101828;font:inherit;font-weight:700;line-height:1.7;outline:0}.xremoved-form-card textarea:focus{border-color:#84adff;box-shadow:0 0 0 4px rgba(11,92,255,.09)}
.xremoved-form-card .btn{width:100%;margin-top:10px}.xremoved-login-card{padding:14px;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow-soft)}
.empty-xremoveds{padding:18px;color:#667085;font-weight:850;text-align:center}
@media(max-width:860px){.xremoveds-layout{grid-template-columns:1fr}.xremoved-form-card{order:-1}.xremoveds-header h2{font-size:18px}}
@media(max-width:520px){.vehicle-xremoveds-section{margin-top:12px}.xremoveds-list-card,.xremoved-form-card,.xremoved-login-card{border-radius:18px}.xremoveds-header,.xremoved-item{padding:12px}.xremoved-meta{align-items:flex-start;flex-direction:column;gap:2px}.xremoved-form-card textarea{min-height:96px}}

/* === Uniform vehicle image sizing fix ===
   كل صور السيارات تُعرض داخل إطارات ثابتة بنفس المقاس.
   اختلاف مقاس الصورة الأصلية لا يغيّر حجم الكرت أو الدائرة أو المصغرات.
*/
.thumb,
.gallery-main,
.auction-main-photo,
.auction-circle-photo,
.gallery-thumb,
.auction-thumb-row .gallery-thumb,
.ring-thumb-row .gallery-thumb{
  box-sizing:border-box;
}
.thumb img,
.gallery-main img,
.auction-main-photo img,
.auction-circle-photo img,
.gallery-thumb img,
.auction-thumb-row .gallery-thumb img,
.ring-thumb-row .gallery-thumb img{
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
  object-position:center center;
}

/* كروت السيارات: نسبة موحدة بدلاً من الاعتماد على مقاس الصورة الأصلي */
.thumb{
  aspect-ratio:16 / 10;
  height:auto;
  min-height:0;
}

/* صفحة تفاصيل السيارة: الصورة الرئيسية بنفس النسبة دائماً */
.gallery-main{
  aspect-ratio:16 / 10;
  height:auto;
  overflow:hidden;
}
.gallery-main img{
  height:100% !important;
}
.gallery-thumbs{
  align-items:center;
}
.gallery-thumbs .gallery-thumb{
  aspect-ratio:4 / 3;
  height:auto;
}
.gallery-thumbs .gallery-thumb img{
  height:100% !important;
}

/* صفحة المزاد الدائرية: الصورة تبقى دائرة حقيقية مهما كان مقاس الصورة */
.auction-ring-wrap{
  flex:0 0 auto;
  aspect-ratio:1 / 1;
}
.auction-progress-ring{
  box-sizing:border-box;
  overflow:hidden;
}
.auction-circle-photo{
  aspect-ratio:1 / 1;
  width:100%;
  height:100%;
  flex:0 0 auto;
}
.auction-circle-photo img{
  border-radius:50%;
}

/* مصغرات المزاد: مربعات/دوائر ثابتة، لا تتغير حسب أبعاد الصور */
.auction-thumb-row .gallery-thumb{
  width:78px;
  min-width:78px;
  max-width:78px;
  height:58px;
  flex:0 0 78px;
}
.ring-thumb-row .gallery-thumb{
  width:58px !important;
  min-width:58px !important;
  max-width:58px !important;
  height:58px !important;
  flex:0 0 58px !important;
  aspect-ratio:1 / 1;
  border-radius:50% !important;
}
.ring-thumb-row .gallery-thumb img{
  border-radius:50% !important;
}

@media (max-width:640px){
  .thumb{aspect-ratio:16 / 10;height:auto;}
  .gallery-main{aspect-ratio:16 / 11;}
  .gallery-thumbs .gallery-thumb{aspect-ratio:1 / 1;}
  .auction-thumb-row .gallery-thumb{
    width:64px;
    min-width:64px;
    max-width:64px;
    height:48px;
    flex-basis:64px;
  }
  .ring-thumb-row .gallery-thumb{
    width:44px !important;
    min-width:44px !important;
    max-width:44px !important;
    height:44px !important;
    flex-basis:44px !important;
  }
}

/* Auction page refinements: vertical thumbs + top-left floating xremoved */
.auction-stage-media{
  width:100%;
  display:flex;
  flex-direction:row-reverse;
  align-items:center;
  justify-content:center;
  gap:14px;
}
.ring-thumb-column{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:78px;
  flex:0 0 78px;
}
.ring-thumb-column .gallery-thumb{
  width:74px;
  height:74px;
  min-width:74px;
  max-width:74px;
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 6px 18px rgba(16,24,40,.08);
}
.ring-thumb-column .gallery-thumb img{
  width:100%;height:100%;object-fit:cover;border-radius:16px;
}
.auction-stage-info{width:100%}
.auction-stage-info h2{margin-top:4px}
.auction-floating-xremoved{
  left:14px;
  right:auto;
  top:112px;
  bottom:auto;
}
.floating-xremoved-button{
  box-shadow:0 16px 34px rgba(11,92,255,.22);
}
.auction-mini-docs{
  grid-template-columns:repeat(2,1fr);
}
@media (max-width:980px){
  .auction-stage-media{gap:12px}
  .ring-thumb-column{width:70px;flex-basis:70px}
  .ring-thumb-column .gallery-thumb{width:64px;height:64px;min-width:64px;max-width:64px;border-radius:16px}
  .auction-floating-xremoved{top:104px;left:12px}
}
@media (max-width:640px){
  .auction-stage-media{
    align-items:flex-start;
    gap:8px;
  }
  .ring-thumb-column{
    width:54px;
    flex-basis:54px;
    gap:7px;
    margin-top:8px;
  }
  .ring-thumb-column .gallery-thumb{
    width:50px;
    height:50px;
    min-width:50px;
    max-width:50px;
    border-radius:14px;
  }
  .auction-floating-xremoved{
    top:96px;
    left:10px;
  }
  .floating-xremoved-button{
    height:46px;
    min-width:46px;
    padding:0 10px;
  }
  .floating-xremoved-button strong{display:none}
  .floating-xremoved-icon{margin:0}
}

/* Final auction fixes: xremoved button top-left, full-screen panel, readable increment colors */
body:not(.xremoved-fullscreen-open) .auction-floating-xremoved:not(.is-open){
  position:fixed !important;
  top:118px !important;
  left:14px !important;
  right:auto !important;
  bottom:auto !important;
  inset-inline-start:auto !important;
  inset-inline-end:auto !important;
  z-index:9990 !important;
  pointer-events:none !important;
}
body:not(.xremoved-fullscreen-open) .auction-floating-xremoved:not(.is-open) .floating-xremoved-button{
  pointer-events:auto !important;
  min-width:54px !important;
  width:54px !important;
  height:54px !important;
  padding:0 !important;
  border-radius:18px !important;
}
body:not(.xremoved-fullscreen-open) .auction-floating-xremoved:not(.is-open) .floating-xremoved-button strong{display:none !important;}
body:not(.xremoved-fullscreen-open) .auction-floating-xremoved:not(.is-open) .floating-xremoved-icon{margin:0 !important;}
.auction-floating-xremoved.is-open .floating-xremoved-panel{
  position:fixed !important;
  inset:0 !important;
  width:100vw !important;
  height:100dvh !important;
  max-width:none !important;
  max-height:none !important;
  border-radius:0 !important;
}
.increment-btn,
.fixed-increments .increment-btn,
.compact-increments .increment-btn{
  color:#101828 !important;
  background:#fff !important;
  border-color:#d0d5dd !important;
  font-weight:950 !important;
}
.increment-btn.selected,
.fixed-increments .increment-btn.selected,
.compact-increments .increment-btn.selected{
  color:#064dbf !important;
  background:#eff6ff !important;
  border-color:#0b5cff !important;
  box-shadow:0 0 0 3px rgba(11,92,255,.10) !important;
}
@media(max-width:640px){
  body:not(.xremoved-fullscreen-open) .auction-floating-xremoved:not(.is-open){
    top:110px !important;
    left:10px !important;
  }
  body:not(.xremoved-fullscreen-open) .auction-floating-xremoved:not(.is-open) .floating-xremoved-button{
    width:50px !important;
    height:50px !important;
    border-radius:16px !important;
  }
}


/* Final requested behavior: auction xremoved button always top-left, xremoved opens fullscreen */
.auction-floating-xremoved,
body:not(.xremoved-fullscreen-open) .auction-floating-xremoved,
body:not(.xremoved-fullscreen-open) .auction-floating-xremoved:not(.is-open){
  position: fixed !important;
  top: 88px !important;
  left: 12px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 10020 !important;
  pointer-events: none !important;
}
.auction-floating-xremoved .floating-xremoved-button,
body:not(.xremoved-fullscreen-open) .auction-floating-xremoved .floating-xremoved-button,
body:not(.xremoved-fullscreen-open) .auction-floating-xremoved:not(.is-open) .floating-xremoved-button{
  pointer-events: auto !important;
  width: 56px !important;
  min-width: 56px !important;
  height: 56px !important;
  padding: 0 !important;
  border-radius: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
}
.auction-floating-xremoved .floating-xremoved-button strong{display:none !important;}
.auction-floating-xremoved .floating-xremoved-icon{margin:0 !important;}
.auction-floating-xremoved .floating-xremoved-button b{
  top:-4px !important;
  left:auto !important;
  right:-4px !important;
  inset-inline-start:auto !important;
}
.auction-floating-xremoved.is-open{
  position: fixed !important;
  inset: 0 !important;
  pointer-events: auto !important;
  z-index: 10050 !important;
}
.auction-floating-xremoved.is-open .floating-xremoved-panel{
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  max-width: none !important;
  max-height: none !important;
  border-radius: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  z-index: 10060 !important;
}
.auction-floating-xremoved.is-open .floating-xremoved-head{
  position: sticky !important;
  top: 0 !important;
  z-index: 2 !important;
}
@media (max-width: 640px){
  .auction-floating-xremoved,
  body:not(.xremoved-fullscreen-open) .auction-floating-xremoved,
  body:not(.xremoved-fullscreen-open) .auction-floating-xremoved:not(.is-open){
    top: 84px !important;
    left: 10px !important;
  }
  .auction-floating-xremoved .floating-xremoved-button,
  body:not(.xremoved-fullscreen-open) .auction-floating-xremoved .floating-xremoved-button,
  body:not(.xremoved-fullscreen-open) .auction-floating-xremoved:not(.is-open) .floating-xremoved-button{
    width: 52px !important;
    min-width: 52px !important;
    height: 52px !important;
    border-radius: 16px !important;
  }
}

/* Requested final adjustment: xremoved button inside visual auction box, top-left; xremoved opens fullscreen */
.auction-stage-card{position:relative;overflow:visible}
.auction-stage-card .auction-floating-xremoved,
.auction-stage-card body:not(.xremoved-fullscreen-open) .auction-floating-xremoved,
.auction-stage-card .auction-floating-xremoved:not(.is-open){
  position:absolute !important;
  top:16px !important;
  left:16px !important;
  right:auto !important;
  bottom:auto !important;
  z-index:120 !important;
  pointer-events:none !important;
}
.auction-stage-card .auction-floating-xremoved .floating-xremoved-button,
.auction-stage-card .auction-floating-xremoved:not(.is-open) .floating-xremoved-button{
  pointer-events:auto !important;
  width:56px !important;
  min-width:56px !important;
  height:56px !important;
  padding:0 !important;
  border-radius:18px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:0 !important;
}
.auction-stage-card .auction-floating-xremoved .floating-xremoved-button strong{display:none !important;}
.auction-stage-card .auction-floating-xremoved .floating-xremoved-icon{margin:0 !important;}
.auction-stage-card .auction-floating-xremoved .floating-xremoved-button b{
  top:-4px !important;
  right:-4px !important;
  left:auto !important;
  inset-inline-start:auto !important;
}
.auction-stage-card .auction-floating-xremoved.is-open{
  position:fixed !important;
  inset:0 !important;
  pointer-events:auto !important;
  z-index:10050 !important;
}
.auction-stage-card .auction-floating-xremoved.is-open .floating-xremoved-button{display:none !important;}
.auction-stage-card .auction-floating-xremoved.is-open .floating-xremoved-panel{
  position:fixed !important;
  inset:0 !important;
  width:100vw !important;
  height:100dvh !important;
  max-width:none !important;
  max-height:none !important;
  border-radius:0 !important;
  opacity:1 !important;
  visibility:visible !important;
  transform:none !important;
  z-index:10060 !important;
}
.auction-stage-card .auction-floating-xremoved.is-open .floating-xremoved-head{
  position:sticky !important;
  top:0 !important;
  z-index:2 !important;
}
@media (max-width:640px){
  .auction-stage-card .auction-floating-xremoved,
  .auction-stage-card .auction-floating-xremoved:not(.is-open){
    top:12px !important;
    left:12px !important;
  }
  .auction-stage-card .auction-floating-xremoved .floating-xremoved-button,
  .auction-stage-card .auction-floating-xremoved:not(.is-open) .floating-xremoved-button{
    width:52px !important;
    min-width:52px !important;
    height:52px !important;
    border-radius:16px !important;
  }
}

/* Final homepage vehicle card: clean full-width image, price, governorate, title only */
.simple-vehicle-card{
  display:block !important;
  background:#fff !important;
  border:1px solid var(--line) !important;
  border-radius:24px !important;
  overflow:hidden !important;
  box-shadow:0 18px 44px rgba(16,24,40,.08) !important;
}
.simple-vehicle-card .simple-vehicle-thumb{
  position:relative !important;
  display:block !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  aspect-ratio:16 / 10 !important;
  background:#e4e7ec !important;
  overflow:hidden !important;
  border-radius:0 !important;
}
.simple-vehicle-card .simple-vehicle-thumb img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  min-width:100% !important;
  max-width:none !important;
  object-fit:cover !important;
  object-position:center center !important;
  transform:none !important;
}
.simple-vehicle-card:hover .simple-vehicle-thumb img{
  transform:scale(1.025) !important;
}
.simple-vehicle-card .photo-shade{
  position:absolute !important;
  inset:0 !important;
  background:linear-gradient(180deg,rgba(16,24,40,.03) 20%,rgba(16,24,40,.72) 100%) !important;
  pointer-events:none !important;
}
.simple-vehicle-card .simple-gov-pill{
  position:absolute !important;
  top:14px !important;
  right:14px !important;
  z-index:3 !important;
  background:rgba(255,255,255,.94) !important;
  color:#101828 !important;
  border:1px solid rgba(255,255,255,.65) !important;
  box-shadow:0 10px 24px rgba(16,24,40,.12) !important;
  border-radius:999px !important;
  padding:8px 13px !important;
  font-size:14px !important;
  font-weight:950 !important;
  line-height:1 !important;
}
.simple-vehicle-card .simple-price{
  position:absolute !important;
  left:14px !important;
  right:auto !important;
  bottom:14px !important;
  z-index:3 !important;
  background:rgba(16,24,40,.88) !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.18) !important;
  border-radius:999px !important;
  padding:8px 14px !important;
  font-size:25px !important;
  line-height:1 !important;
  font-weight:950 !important;
  text-shadow:none !important;
  box-shadow:0 12px 28px rgba(16,24,40,.2) !important;
}
.simple-vehicle-card .simple-vehicle-body{
  padding:16px 18px 18px !important;
  display:grid !important;
  gap:12px !important;
}
.simple-vehicle-card .simple-vehicle-body h3{
  margin:0 !important;
  font-size:22px !important;
  line-height:1.35 !important;
  font-weight:950 !important;
  color:#101828 !important;
}
.simple-vehicle-card .simple-vehicle-body h3 a{
  color:#101828 !important;
  display:block !important;
}
.simple-vehicle-card .card-actions{
  margin-top:0 !important;
}
.simple-vehicle-card .card-actions .btn{
  width:100% !important;
  min-height:48px !important;
  border-radius:16px !important;
  font-size:16px !important;
}
@media (max-width:640px){
  .simple-vehicle-card{border-radius:20px !important;}
  .simple-vehicle-card .simple-vehicle-thumb{
    aspect-ratio:16 / 10 !important;
  }
  .simple-vehicle-card .simple-gov-pill{
    top:10px !important;
    right:10px !important;
    font-size:13px !important;
    padding:7px 11px !important;
  }
  .simple-vehicle-card .simple-price{
    left:10px !important;
    bottom:10px !important;
    font-size:22px !important;
    padding:8px 12px !important;
  }
  .simple-vehicle-card .simple-vehicle-body{
    padding:14px 14px 16px !important;
  }
  .simple-vehicle-card .simple-vehicle-body h3{
    font-size:20px !important;
  }
}

/* Language switch moved into the dropdown menu */
.nav-lang-link{display:none!important}
@media (max-width:980px){
  .nav-lang-link{display:block!important;background:#f0f6ff!important;color:#064dbf!important;border:1px solid #b2ccff!important;text-align:center}
}

/* Dashboard auction opening time */
.auction-schedule-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:16px;margin:18px 0}
.auction-schedule-list{display:grid;gap:10px}
.auction-schedule-row{display:grid;grid-template-columns:72px minmax(0,1fr) 190px 130px 118px;gap:10px;align-items:end;padding:10px;border:1px solid var(--line);border-radius:16px;background:#f8fafc}
.auction-schedule-row img{width:72px;height:58px;object-fit:cover;border-radius:12px}
.schedule-car-info{display:grid;gap:2px;align-self:center}.schedule-car-info strong{font-weight:950;color:#101828}.schedule-car-info span,.schedule-car-info em{font-style:normal;color:#667085;font-size:12.5px;font-weight:750}
.auction-schedule-row label{display:grid;gap:4px;font-size:12px;color:#667085;font-weight:850}.auction-schedule-row input{height:42px;border:1px solid var(--line);border-radius:12px;padding:0 10px;background:#fff;color:#101828;font-weight:850}.auction-schedule-row .btn{height:42px}
.small-empty{padding:14px;border-radius:14px}
@media(max-width:900px){.auction-schedule-row{grid-template-columns:64px minmax(0,1fr);align-items:center}.auction-schedule-row label,.auction-schedule-row .btn{grid-column:1/-1}.auction-schedule-row img{width:64px;height:54px}}

/* Upcoming auctions when no auction is live */
.upcoming-auctions-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:16px;margin:16px 0}
.upcoming-auction-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.upcoming-auction-card{display:grid;grid-template-columns:96px minmax(0,1fr);gap:10px;align-items:center;border:1px solid var(--line);border-radius:16px;background:#f8fafc;padding:8px;transition:.16s}.upcoming-auction-card:hover{transform:translateY(-2px);border-color:#b2ccff;background:#f0f6ff}.upcoming-auction-card img{width:96px;height:72px;border-radius:12px;object-fit:cover}.upcoming-auction-card strong{display:block;color:#101828;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.upcoming-auction-card span,.upcoming-auction-card em{display:block;color:#667085;font-size:12.5px;font-style:normal;font-weight:800}
@media(max-width:900px){.upcoming-auction-grid{grid-template-columns:1fr}.upcoming-auction-card{grid-template-columns:88px minmax(0,1fr)}.upcoming-auction-card img{width:88px;height:66px}}

/* Auction model changed: group auctions stay open for 3 days */
.auction-group-grid{align-items:stretch}
.auction-owner-panel .section-note{max-width:850px}
.seller-auction-list{display:grid;gap:12px}
.seller-auction-row{
  grid-template-columns:78px minmax(0,1fr) 150px 220px;
  align-items:center;
  background:linear-gradient(180deg,#fff,#f8fbff);
}
.seller-auction-row.is-open{border-color:#b2ccff;background:#f0f6ff}
.seller-auction-row.needs-decision{border-color:#fed7aa;background:#fff7ed}
.seller-auction-price{display:grid;gap:2px;text-align:center;background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px}
.seller-auction-price span{font-size:12px;color:#667085;font-weight:850}
.seller-auction-price strong{font-size:20px;color:#064dbf;font-weight:950;line-height:1}
.seller-auction-price small{font-size:12px;color:#667085;font-weight:800}
.seller-decision-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.seller-schedule-form{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:8px;align-items:end}
.seller-schedule-form label{display:grid;gap:4px;font-size:12px;color:#667085;font-weight:850}
.seller-schedule-form input{height:42px;border:1px solid var(--line);border-radius:12px;padding:0 10px;background:#fff;color:#101828;font-weight:850}
.auction-schedule-row .badge{justify-self:center}
.auction-rules-compact .rules-chip-grid span{font-size:13px}
@media(max-width:980px){
  .seller-auction-row{grid-template-columns:66px minmax(0,1fr);align-items:center}
  .seller-auction-price,.seller-decision-actions,.seller-schedule-form,.seller-auction-row .badge{grid-column:1/-1}
  .seller-decision-actions{grid-template-columns:1fr 1fr}
}
@media(max-width:520px){
  .seller-decision-actions,.seller-schedule-form{grid-template-columns:1fr}
}



/* Top navigation refinement */
.site-header{padding:12px 14px}
.topbar{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:10px 12px;
  border-radius:22px;
  box-shadow:0 10px 26px rgba(16,24,40,.06);
}
.brand{flex:0 0 auto;gap:12px}
.brand-text{font-size:16px;font-weight:950}
.main-nav{
  margin-inline-start:0;
  min-width:0;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
  -ms-overflow-style:none;
  gap:6px;
  padding:5px;
  background:#f8fafc;
  border:1px solid var(--line);
  border-radius:18px;
  justify-content:flex-start;
}
.main-nav::-webkit-scrollbar{display:none}
.nav-link{
  flex:0 0 auto;
  padding:10px 12px;
  border-radius:13px;
  font-size:15px;
  color:#344054;
}
.nav-link:hover,.nav-link.active{
  background:#eaf2ff;
  color:#0847b8;
  box-shadow:inset 0 0 0 1px #cfe0ff;
}
.nav-actions{
  flex:0 0 auto;
  gap:10px;
}
.nav-cta{min-width:84px;font-size:14px}
@media (max-width:1280px){
  .brand-text{font-size:15px}
  .nav-link{font-size:14px;padding:9px 11px}
  .nav-cta{min-width:76px;padding:0 12px}
}
@media (max-width:980px){
  .topbar{display:flex;gap:8px;padding:8px 10px}
  .main-nav{
    position:fixed;top:82px;right:14px;left:14px;z-index:100;display:none;
    background:#fff;border:1px solid var(--line);border-radius:20px;padding:10px;
    box-shadow:var(--shadow-lg);grid-template-columns:repeat(2,1fr);max-height:calc(100vh - 110px);overflow:auto;
  }
  .main-nav.open{display:grid}
}
@media (max-width:640px){
  .site-header{padding:8px}
  .topbar{padding:7px 8px;border-radius:18px;gap:7px}
  .brand-text{font-size:12.3px;line-height:1.2}
  .nav-cta{min-width:auto}
}

/* Final upload version refinements */
.pro-brand{min-width:210px;max-width:280px}
.brand-logo{height:46px;width:220px;object-fit:contain;display:block}
.publish-link{background:#101828!important;color:#fff!important;border:1px solid #101828!important}
@media(max-width:980px){.pro-brand{min-width:160px}.brand-logo{height:40px;width:180px}.publish-link{background:#101828!important;color:#fff!important}}
@media(max-width:640px){.brand-logo{height:36px;width:158px}.pro-brand{min-width:0}.nav-cta{display:inline-flex!important}}

/* Installment list without calculator */
.installment-list-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.installment-list-card{display:grid;grid-template-columns:220px minmax(0,1fr);gap:14px;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow-sm);padding:12px;overflow:hidden}
.installment-car-image{position:relative;border-radius:18px;overflow:hidden;background:#eef2f7;min-height:160px}
.installment-car-image img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3}
.installment-car-image span{position:absolute;top:10px;right:10px;background:#fff;color:#101828;border-radius:999px;padding:7px 12px;font-weight:950;box-shadow:0 8px 22px rgba(16,24,40,.13)}
.installment-car-body{display:grid;gap:10px;align-content:center}.installment-car-body h3{font-size:22px;margin:0;font-weight:950}
.installment-numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.installment-numbers div{background:#f8fafc;border:1px solid var(--line);border-radius:14px;padding:10px}.installment-numbers span{display:block;color:#667085;font-weight:850;font-size:12px}.installment-numbers strong{display:block;color:#101828;font-weight:950;font-size:18px;white-space:nowrap}
@media(max-width:820px){.installment-list-grid{grid-template-columns:1fr}.installment-list-card{grid-template-columns:1fr}.installment-car-image img{aspect-ratio:16/9}.installment-numbers{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:480px){.installment-numbers{grid-template-columns:1fr}.installment-list-card{border-radius:18px;padding:10px}.installment-car-body h3{font-size:19px}}

/* Final publish form */
.publish-car-form input[type="file"]{height:auto;padding:14px;background:#fff;border:1px dashed #b2ccff;border-radius:14px;color:#344054}.publish-car-form textarea{resize:vertical}.publish-car-form small{display:block;margin-top:6px}

/* Cleaner auction grid for many cars */
.auction-group-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.auction-card .thumb{aspect-ratio:16/10;height:auto}.auction-card .thumb img{width:100%;height:100%;object-fit:cover}.auction-card .card-body h3{font-size:18px;line-height:1.35}.auction-card .price{font-size:15px}.auction-card .mini-stats{font-size:12px}
@media(max-width:1100px){.auction-group-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.auction-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.auction-group-grid{grid-template-columns:1fr}}



/* Final auction list refinement + improved brand */
.home-auction-section{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:18px}
.home-auction-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.cards-4{display:grid}
.home-upcoming-auctions{grid-template-columns:repeat(2,minmax(0,1fr))}
.auction-card .price span{color:#0B5CFF;font-weight:950}
.auction-card .card-actions .btn{font-weight:900}
.pro-brand{min-width:250px;max-width:330px}
.brand-logo{height:54px;width:300px}
@media(max-width:1200px){.home-auction-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:980px){.home-auction-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pro-brand{min-width:180px;max-width:220px}.brand-logo{height:42px;width:210px}}
@media(max-width:640px){.home-auction-section{padding:14px}.home-auction-grid,.home-upcoming-auctions{grid-template-columns:1fr}.brand-logo{height:36px;width:176px}}


/* Featured cars slider on homepage */
.featured-slider-section{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm);
  padding:18px;
  overflow:hidden;
}
.slider-controls{display:flex;gap:8px;align-items:center}
.slider-controls button{
  width:42px;height:42px;border-radius:14px;border:1px solid var(--line);
  background:#fff;color:#0f172a;font-size:28px;line-height:1;font-weight:950;
  display:grid;place-items:center;box-shadow:var(--shadow-sm);
}
.slider-controls button:hover{background:var(--brand);color:#fff;border-color:var(--brand)}
.featured-slider{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(260px, 310px);
  gap:14px;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scroll-snap-type:inline mandatory;
  scroll-padding-inline:4px;
  padding:4px 2px 10px;
  scrollbar-width:thin;
}
.featured-slide-card{
  scroll-snap-align:start;
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 8px 24px rgba(16,24,40,.07);
  min-width:0;
}
.featured-slide-thumb{
  position:relative;
  display:block;
  aspect-ratio:16/10;
  overflow:hidden;
  background:#e5e7eb;
}
.featured-slide-thumb img{width:100%;height:100%;object-fit:cover;transition:.22s ease}
.featured-slide-card:hover .featured-slide-thumb img{transform:scale(1.04)}
.featured-slide-thumb:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(16,24,40,.03),rgba(16,24,40,.55));pointer-events:none}
.featured-slide-gov,
.featured-slide-price{position:absolute;z-index:2;border-radius:999px;font-weight:950;box-shadow:0 8px 22px rgba(16,24,40,.16)}
.featured-slide-gov{top:12px;right:12px;background:#fff;color:#101828;padding:7px 12px;font-size:13px}
.featured-slide-price{left:12px;bottom:12px;background:rgba(11,18,32,.88);color:#fff;padding:8px 13px;font-size:20px;border:1px solid rgba(255,255,255,.16)}
.featured-slide-body{padding:13px;display:grid;gap:10px}
.featured-slide-body h3{font-size:18px;line-height:1.35;margin:0;font-weight:950;color:#101828;min-height:48px}
@media(max-width:640px){
  .featured-slider-section{padding:14px;border-radius:20px}
  .featured-slider{grid-auto-columns:minmax(245px, 78vw);gap:10px}
  .slider-controls button{width:38px;height:38px;border-radius:12px;font-size:24px}
  .featured-slide-body h3{font-size:17px;min-height:auto}
  .featured-slide-price{font-size:18px}
}



/* Final home page: featured posts slider + vehicle listings only */
.home-only-listings{max-width:1180px;padding-top:16px}
.home-main-title{font-size:clamp(26px,3vw,38px);margin:6px 0 0;font-weight:950;color:#101828;line-height:1.2}
.home-featured-only{margin-top:12px}
.home-listings-only{margin-top:22px}
.home-only-listings .featured-slider-section{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}
.home-only-listings .latest-simple-section{background:transparent}
@media(max-width:640px){
  .home-only-listings{padding-top:8px}
  .home-main-title{font-size:24px}
  .home-featured-only{margin-top:8px}
  .home-listings-only{margin-top:16px}
}

/* Modern full-width featured slider */
.home-only-listings{max-width:1180px;overflow:visible}
.modern-featured-slider-section{
  width:100vw;
  margin-inline:calc(50% - 50vw);
  margin-top:0;
  position:relative;
  min-height:clamp(360px, 46vw, 620px);
  background:#0b1220;
  overflow:hidden;
  box-shadow:0 24px 70px rgba(16,24,40,.18);
  isolation:isolate;
}
.modern-featured-track{position:absolute;inset:0;overflow:hidden}
.modern-featured-slide{
  position:absolute;
  inset:0;
  opacity:0;
  visibility:hidden;
  transform:scale(1.035);
  transition:opacity .65s ease, transform .9s ease, visibility .65s ease;
}
.modern-featured-slide.is-active{
  opacity:1;
  visibility:visible;
  transform:scale(1);
  z-index:2;
}
.modern-featured-image{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:brightness(1.08) saturate(1.06) contrast(1.02);
}
.modern-featured-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(4,8,18,.42) 0%,rgba(4,8,18,.28) 38%,rgba(4,8,18,.08) 100%),
    linear-gradient(180deg,rgba(4,8,18,.10),rgba(4,8,18,.28));
  z-index:1;
}
.modern-featured-content{
  position:relative;
  z-index:3;
  width:min(1180px,100% - 40px);
  margin:0 auto;
  min-height:clamp(360px, 46vw, 620px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  color:#fff;
  padding:44px 20px 72px;
}
.modern-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.12);
  backdrop-filter:blur(12px);
  border-radius:999px;
  padding:7px 13px;
  font-size:13px;
  font-weight:950;
}
.modern-kicker:before{content:"";width:8px;height:8px;border-radius:50%;background:#f59e0b;box-shadow:0 0 0 5px rgba(245,158,11,.18)}
.modern-featured-content h1{
  max-width:760px;
  margin:18px 0 10px;
  font-size:clamp(34px,5vw,70px);
  line-height:1.1;
  font-weight:950;
  letter-spacing:-1.2px;
  color:#fff;
  text-shadow:0 18px 55px rgba(0,0,0,.36);
}
.modern-featured-meta{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.modern-featured-meta span{
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.2);
  color:#e5e7eb;
  border-radius:999px;
  padding:7px 12px;
  font-weight:900;
}
.modern-featured-price{
  display:block;
  font-size:clamp(30px,4vw,56px);
  line-height:1;
  color:#fff;
  font-weight:950;
  margin:6px 0 22px;
}
.modern-featured-actions{display:flex;gap:10px;flex-wrap:wrap}
.modern-featured-actions .btn{min-width:150px;border-radius:14px}
.modern-featured-actions .btn.ghost{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.25);box-shadow:none}
.modern-slider-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:5;
  width:54px;
  height:54px;
  border:1px solid rgba(255,255,255,.24);
  background:rgba(255,255,255,.14);
  color:#fff;
  backdrop-filter:blur(14px);
  border-radius:18px;
  display:grid;
  place-items:center;
  font-size:38px;
  font-weight:900;
  line-height:1;
  transition:.18s ease;
}
.modern-slider-btn:hover{background:#fff;color:#0b5cff;transform:translateY(-50%) scale(1.04)}
.modern-slider-prev{left:22px}.modern-slider-next{right:22px}
.modern-slider-dots{
  position:absolute;
  z-index:5;
  left:50%;
  bottom:26px;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
  padding:8px 10px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  backdrop-filter:blur(14px);
}
.modern-slider-dots button{
  width:10px;
  height:10px;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.45);
  padding:0;
  transition:.18s ease;
}
.modern-slider-dots button.is-active{width:30px;background:#fff}
.modern-slider-progress{position:absolute;left:0;right:0;bottom:0;height:4px;z-index:5;background:rgba(255,255,255,.16)}
.modern-slider-progress span{display:block;width:0;height:100%;background:linear-gradient(90deg,#0b5cff,#7cc8ff);transition:width .25s linear}
.modern-featured-slider-section.no-featured{min-height:auto;background:transparent;box-shadow:none;padding:18px}
@media (max-width:900px){
  .modern-featured-slider-section,.modern-featured-content{min-height:460px}
  .modern-featured-content{width:calc(100% - 28px);padding:36px 14px 70px}
  .modern-featured-overlay{background:linear-gradient(180deg,rgba(4,8,18,.08),rgba(4,8,18,.42)),linear-gradient(90deg,rgba(4,8,18,.28),rgba(4,8,18,.10))}
  .modern-slider-btn{width:46px;height:46px;border-radius:15px;font-size:32px;top:auto;bottom:18px;transform:none}
  .modern-slider-btn:hover{transform:scale(1.04)}
  .modern-slider-prev{left:16px}.modern-slider-next{right:16px}
  .modern-slider-dots{bottom:22px}
}
@media (max-width:640px){
  .modern-featured-slider-section,.modern-featured-content{min-height:390px}
  .modern-featured-content{justify-content:flex-end;padding:24px 14px 66px;align-items:flex-start}
  .modern-featured-content h1{font-size:30px;letter-spacing:-.5px;margin:12px 0 8px;max-width:95%}
  .modern-featured-price{font-size:31px;margin-bottom:14px}
  .modern-featured-meta span{font-size:12.5px;padding:6px 10px}
  .modern-kicker{font-size:12px;padding:6px 10px}
  .modern-featured-actions .btn{min-width:118px;height:40px;padding:0 12px;font-size:13px;border-radius:12px}
  .modern-slider-btn{width:40px;height:40px;font-size:28px;bottom:12px}
  .modern-slider-dots{bottom:15px;padding:7px 9px;gap:6px}
  .modern-slider-dots button{width:8px;height:8px}
  .modern-slider-dots button.is-active{width:24px}
}


/* Slider visible price + governorate badges */
.modern-featured-badges{
  position:absolute;
  z-index:4;
  top:clamp(18px,3vw,36px);
  left:clamp(16px,4vw,58px);
  right:clamp(16px,4vw,58px);
  width:min(1180px,calc(100% - 32px));
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  pointer-events:none;
}
.modern-featured-gov,
.modern-featured-price-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.28);
  box-shadow:0 14px 40px rgba(0,0,0,.22);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  color:#fff;
  font-weight:950;
}
.modern-featured-gov{
  background:rgba(255,255,255,.13);
  padding:0 16px;
  font-size:15px;
}
.modern-featured-price-badge{
  background:linear-gradient(135deg,#0B5CFF,#003EA8);
  padding:0 18px;
  font-size:clamp(20px,2.5vw,34px);
  letter-spacing:-.4px;
}
@media(max-width:640px){
  .modern-featured-badges{
    top:14px;
    left:12px;
    right:12px;
    width:calc(100% - 24px);
  }
  .modern-featured-gov,
  .modern-featured-price-badge{
    min-height:36px;
    border-radius:14px;
  }
  .modern-featured-gov{
    font-size:13px;
    padding:0 11px;
  }
  .modern-featured-price-badge{
    font-size:22px;
    padding:0 12px;
  }
}


.modern-featured-info-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:2px 0 12px}
.modern-featured-inline-gov,.modern-featured-inline-price{
  display:inline-flex;align-items:center;justify-content:center;min-height:42px;border-radius:999px;
  padding:0 16px;border:1px solid rgba(255,255,255,.25);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  box-shadow:0 12px 30px rgba(0,0,0,.18);font-weight:950;color:#fff
}
.modern-featured-inline-gov{background:rgba(255,255,255,.14);font-size:15px}
.modern-featured-inline-price{background:linear-gradient(135deg,#0B5CFF,#003EA8);font-size:24px;letter-spacing:-.3px}
@media(max-width:640px){
  .modern-featured-info-row{margin:0 0 10px;gap:8px}
  .modern-featured-inline-gov,.modern-featured-inline-price{min-height:36px;border-radius:14px;padding:0 11px}
  .modern-featured-inline-gov{font-size:13px}
  .modern-featured-inline-price{font-size:20px}
}
