:root{--night:#071321;--night2:#0d2034;--gold:#e9b94e;--gold2:#f5d37b;--ink:#172638;--muted:#7b8795;--line:#e8edf2;--paper:#f4f6f8;--white:#fff;--radius:17px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Vazirmatn",Tahoma,sans-serif}a{color:inherit;text-decoration:none}.topbar{height:76px;background:#081523;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(calc((100vw - 1480px)/2),32px);gap:25px}.logo{display:flex;align-items:center;gap:9px;color:#fff;font-size:17px;font-weight:900;line-height:1}.logo small{display:block;font-size:12px;font-weight:600;letter-spacing:1.5px}.logo-mark{font-size:28px;color:var(--gold);transform:skew(-12deg)}.main-nav{display:flex;align-items:center;gap:27px;font-size:13px;color:#d3dbe5}.main-nav a{height:76px;display:flex;align-items:center;border-bottom:2px solid transparent}.main-nav a.current,.main-nav a:hover{color:var(--gold2);border-color:var(--gold)}.login-link{font-size:12px;color:#f1f3f6}.login-link span{font-size:19px;margin-right:8px}
.hero{height:470px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 65% 40%,#34475b 0,#14283c 35%,#071321 75%);color:#fff}.hero-photo{position:absolute;inset:0 0 0 30%;background-size:cover;background-position:center 58%;opacity:.85;mask-image:linear-gradient(90deg,transparent 0%,#000 27%,#000 78%,transparent 100%)}.hero-shade{position:absolute;inset:0;background:linear-gradient(270deg,#071321 0%,rgba(7,19,33,.94) 23%,rgba(7,19,33,.55) 53%,rgba(7,19,33,.12) 100%)}.hero-content{position:relative;z-index:1;max-width:1480px;height:385px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:35px 35px 10px}.hero-copy{width:54%;padding-right:28px}.hero-brand{font-size:39px;font-weight:900;direction:ltr;text-align:right;letter-spacing:-1.4px}.hero-brand b{color:var(--gold)}.hero-copy h1{font-size:19px;margin:2px 0 9px;font-weight:700}.hero-copy p{font-size:13px;color:#d0d8e1;margin:0 0 20px}.searchbar{height:48px;width:min(550px,100%);display:flex;background:#fff;border-radius:30px;padding:4px;box-shadow:0 8px 28px #0004}.searchbar input{flex:1;border:0;outline:0;background:transparent;padding:0 20px;font:inherit;font-size:12px}.searchbar button{width:42px;border:0;border-radius:50%;background:var(--gold);font-size:26px;color:#172638;cursor:pointer}.hero-stats{width:205px;border:1px solid #ffffff24;background:#0b1b2ccf;border-radius:16px;padding:12px 18px;box-shadow:0 12px 35px #0003}.hero-stats div{display:grid;grid-template-columns:1fr 30px;align-items:center;padding:9px 0;border-bottom:1px solid #ffffff19}.hero-stats div:last-child{border:0}.hero-stats strong{font-size:22px;color:var(--gold2)}.hero-stats strong small{font-size:10px}.hero-stats span{grid-column:1;font-size:11px;color:#e1e7ee}.hero-stats b{grid-column:2;grid-row:1/3;font-size:22px;color:var(--gold)}.brand-strip{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);width:min(1480px,calc(100% - 40px));display:flex;align-items:center;justify-content:space-around;gap:10px}.brand-strip span{height:52px;min-width:70px;padding:0 12px;display:grid;place-items:center;background:#ffffff12;border:1px solid #ffffff0d;border-radius:13px;color:#e6edf5;font-size:12px;font-weight:800;direction:ltr}.brand-strip span:last-child{font-size:10px;direction:rtl}
.market-grid{max-width:1480px;margin:17px auto 28px;padding:0 24px;display:grid;grid-template-columns:minmax(0,2.2fr) minmax(250px,1.05fr) 190px;gap:16px;align-items:stretch}.featured-area,.database-card,.action-stack{background:#fff;border:1px solid #e9edf1;border-radius:18px;padding:15px;box-shadow:0 4px 18px #12243a08}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.section-heading h2{font-size:15px;margin:0;font-weight:800}.section-heading a,.section-heading span{font-size:11px;color:#b68a2f}.car-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.car-card{min-width:0;border:1px solid #e7ebef;border-radius:13px;overflow:hidden;background:#fff;box-shadow:0 3px 10px #12243a0a}.car-image{height:105px;display:block;position:relative;background:#e8edf2}.car-image img{width:100%;height:100%;object-fit:cover;display:block}.heart{position:absolute;z-index:2;top:7px;right:8px;width:23px;height:23px;border-radius:50%;background:#fff;color:#29384a;display:grid;place-items:center;font-size:17px}.car-info{padding:7px 10px 9px}.car-info h3{font-size:11px;margin:0 0 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.car-info p{font-size:9px;color:#8a96a3;margin:0 0 5px}.car-info strong{font-size:11px;color:#bd8c2c}.car-info strong small{font-size:9px}.database-card{display:block;color:var(--ink)}.database-card img{width:100%;height:128px;object-fit:cover;border-radius:11px;display:block}.database-card>strong{display:block;text-align:center;font-size:12px;line-height:1.9;margin-top:7px}.database-card .section-heading h2{font-size:13px}.action-stack{display:flex;flex-direction:column;gap:13px}.gold-button{min-height:62px;display:grid;place-items:center;background:linear-gradient(135deg,#f7d47b,#e9b64b);border-radius:13px;color:#1c2938;font-size:15px;font-weight:900;box-shadow:0 7px 17px #c9942d30}.support-card{flex:1;min-height:100px;border-radius:13px;background:linear-gradient(145deg,#10243a,#081522);color:#fff;display:flex;align-items:center;justify-content:center;gap:12px}.support-card>span{font-size:30px;color:var(--gold)}.support-card b{font-size:13px}.support-card small{display:block;color:#b7c2ce;font-size:10px;font-weight:400;margin-top:5px}.footer{max-width:1430px;margin:auto;padding:18px 25px 30px;display:flex;justify-content:space-between;color:#788493;font-size:11px}.footer span:first-child{font-weight:900;color:#b58a37;direction:ltr}
.control-layout{min-height:100vh;display:grid;grid-template-columns:255px 1fr;direction:ltr;background:#f4f6f8}.control-sidebar{background:#091827;color:#dce4ed;padding:28px 19px;display:flex;flex-direction:column;gap:8px;direction:rtl}.control-sidebar .logo{margin:0 8px 20px}.profile{padding:18px 8px 22px;border-bottom:1px solid #ffffff1c;margin-bottom:8px;text-align:center}.avatar{width:55px;height:55px;margin:0 auto 8px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#f5d37b,#b98727);color:#102033;font-size:22px;font-weight:900}.profile b,.profile small{display:block}.profile b{font-size:13px}.profile small{font-size:10px;color:#9aa9b8;margin-top:3px}.control-sidebar>a:not(.logo){padding:12px 13px;border-radius:9px;font-size:12px;color:#c6d0db}.control-sidebar>a.side-active{background:#172d43;color:var(--gold2);border-right:3px solid var(--gold)}.control-sidebar .side-logout{margin-top:auto;background:#dcae46;color:#172638!important;text-align:center;font-weight:800}.control-main{direction:rtl;padding:35px clamp(20px,4vw,65px);max-width:1450px;width:100%;margin:auto}.control-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.control-heading span{font-size:10px;letter-spacing:1px;color:#b58b37;direction:ltr;display:block}.control-heading h1{font-size:25px;margin:4px 0}.control-heading>a{background:#10243a;color:#fff;padding:10px 17px;border-radius:9px;font-size:11px}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.metric{background:#fff;border:1px solid var(--line);border-radius:14px;padding:19px}.metric span,.metric small{display:block;color:#7b8795;font-size:11px}.metric strong{display:block;font-size:27px;color:#10243a;margin:6px 0}.control-panel-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px;margin-bottom:17px}.control-panel-card .section-heading h2{font-size:15px}.admin-table{width:100%;font-size:11px}.table-row{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:12px;padding:12px 9px;border-bottom:1px solid #edf0f3;align-items:center}.table-head{background:#f5f7f9;color:#748091;font-weight:700;border-radius:7px}.empty-row{padding:18px;text-align:center;color:#8793a0}.private-note{padding:15px 18px;background:#fff8e8;border:1px solid #f0dfb8;border-radius:11px;color:#82601e;font-size:11px}
@media(max-width:1050px){.main-nav{gap:12px}.market-grid{grid-template-columns:1fr 1fr}.featured-area{grid-column:1/-1}.action-stack{flex-direction:row}.support-card{min-height:62px}.hero-copy{width:60%}.hero-stats{width:185px}}
@media(max-width:700px){.topbar{height:64px;padding:0 15px}.main-nav{display:none}.login-link{font-size:10px}.hero{height:490px}.hero-photo{inset:0;background-position:48% center;opacity:.58}.hero-shade{background:linear-gradient(0deg,#071321 0%,rgba(7,19,33,.82) 45%,rgba(7,19,33,.18) 100%)}.hero-content{height:385px;padding:35px 20px 0;display:block}.hero-copy{width:100%;padding:0;text-align:center}.hero-brand{text-align:center;font-size:33px}.hero-copy h1{font-size:15px}.hero-copy p{font-size:11px}.searchbar{margin:18px auto 0}.hero-stats{display:none}.brand-strip{bottom:10px;overflow:auto;justify-content:flex-start;padding-bottom:2px}.brand-strip span{flex:0 0 65px;height:45px;font-size:10px}.market-grid{display:flex;flex-direction:column;padding:0 12px;margin-top:12px;gap:12px}.featured-area,.database-card,.action-stack{padding:12px;border-radius:14px}.car-grid{gap:7px}.car-image{height:76px}.car-info{padding:6px}.car-info h3{font-size:9px}.car-info p{font-size:8px}.car-info strong{font-size:9px}.database-card img{height:125px}.action-stack{display:grid;grid-template-columns:1fr 1fr}.gold-button,.support-card{min-height:65px;font-size:11px}.support-card{gap:5px}.support-card>span{font-size:22px}.support-card b{font-size:10px}.footer{padding:15px;gap:8px;flex-wrap:wrap}.control-layout{display:block}.control-sidebar{padding:14px;display:grid;grid-template-columns:repeat(2,1fr);gap:5px}.control-sidebar .logo,.profile{grid-column:1/-1}.control-sidebar .logo{margin-bottom:5px}.profile{padding:8px;border:0}.control-sidebar>a:not(.logo){padding:9px;font-size:10px}.control-sidebar .side-logout{margin:0}.control-main{padding:22px 13px}.control-heading h1{font-size:20px}.metric-grid{grid-template-columns:repeat(2,1fr);gap:8px}.metric{padding:13px}.metric strong{font-size:22px}.control-panel-card{padding:12px;overflow:auto}.table-row{min-width:490px}.private-note{font-size:10px}}

/* FREEZONE MOBILE WEB REFINEMENTS */
.mobile-menu { display: none; }

@media (max-width: 1050px) and (min-width: 701px) {
  .topbar { padding: 0 18px; gap: 12px; }
  .main-nav { gap: 10px; font-size: 11px; }
  .main-nav a { white-space: nowrap; }
  .market-grid { padding: 0 16px; gap: 12px; }
}

@media (max-width: 700px) {
  .topbar {
    height: 66px;
    padding: 0 12px;
    gap: 8px;
    position: relative;
    z-index: 50;
    overflow: visible;
  }

  .logo { font-size: 14px; gap: 6px; flex: 0 0 auto; }
  .logo small { font-size: 10px; }
  .logo-mark { font-size: 24px; }
  .main-nav { display: none; }

  .mobile-menu {
    display: block;
    position: relative;
    flex: 0 0 auto;
    margin-inline-start: auto;
  }

  .mobile-menu > summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 62px;
    min-height: 42px;
    padding: 0 10px;
    border: 1px solid #ffffff2d;
    border-radius: 10px;
    color: #fff;
    font: 700 12px "Vazirmatn", Tahoma, sans-serif;
    cursor: pointer;
  }

  .mobile-menu > summary::-webkit-details-marker { display: none; }
  .mobile-menu > summary::marker { content: ""; }
  .mobile-menu[open] > summary { border-color: #d9ad50; color: #f4d17a; }

  .mobile-nav {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    z-index: 60;
    width: min(285px, calc(100vw - 24px));
    padding: 8px;
    background: #0b1c2e;
    border: 1px solid #ffffff26;
    border-radius: 14px;
    box-shadow: 0 16px 38px #0006;
    display: grid;
    gap: 4px;
  }

  .mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 12px;
    border-radius: 9px;
    color: #edf3f8;
    font-size: 13px;
  }

  .mobile-nav a:hover,
  .mobile-nav a:focus-visible {
    background: #172f47;
    color: var(--gold2);
    outline: none;
  }

  .login-link {
    font-size: 10px;
    white-space: nowrap;
    padding: 8px 0;
    flex: 0 0 auto;
  }

  .login-link span { font-size: 16px; margin-right: 3px; }

  .hero {
    height: auto;
    min-height: 0;
    padding-bottom: 10px;
  }

  .hero-photo {
    inset: 0;
    background-position: 52% center;
    opacity: .5;
    mask-image: none;
  }

  .hero-shade {
    background: linear-gradient(
      0deg,
      #071321 0%,
      rgba(7,19,33,.84) 48%,
      rgba(7,19,33,.28) 100%
    );
  }

  .hero-content {
    height: auto;
    min-height: 330px;
    padding: 38px 14px 12px;
    display: block;
  }

  .hero-copy {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
  }

  .hero-brand { text-align: center; font-size: clamp(30px, 9vw, 37px); }

  .hero-copy h1 {
    font-size: clamp(16px, 4.5vw, 22px);
    line-height: 1.9;
    margin: 8px 0;
  }

  .hero-copy p { font-size: 12px; line-height: 1.9; margin-bottom: 14px; }
  .hero-stats { display: none; }

  .searchbar {
    width: 100%;
    max-width: 550px;
    height: 52px;
    margin: 18px auto 0;
  }

  .searchbar input { min-width: 0; font-size: 12px; padding: 0 12px; }
  .searchbar button { width: 44px; height: 44px; flex: 0 0 44px; }

  .brand-strip {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    margin: 4px 0 0;
    padding: 0 12px 3px;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .brand-strip span {
    flex: 0 0 auto;
    min-width: 76px;
    height: 46px;
    font-size: 11px;
    scroll-snap-align: start;
  }

  .market-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 12px;
    margin: 12px auto 24px;
    gap: 12px;
  }

  .featured-area, .database-card, .action-stack {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
  }

  .section-heading { gap: 8px; flex-wrap: wrap; }
  .section-heading h2 { font-size: 14px; }
  .section-heading a, .section-heading span { font-size: 11px; }

  .car-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .car-card { min-width: 0; border-radius: 12px; }
  .car-image { height: clamp(110px, 31vw, 155px); }
  .heart { width: 30px; height: 30px; font-size: 20px; }
  .car-info { padding: 9px; }
  .car-info h3 { font-size: 13px; white-space: normal; line-height: 1.6; }
  .car-info p { font-size: 10px; line-height: 1.7; }
  .car-info strong { font-size: 12px; }

  .database-card img { height: 160px; }
  .database-card > strong { font-size: 13px; }

  .action-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .gold-button, .support-card {
    min-height: 68px;
    padding: 10px;
    font-size: 12px;
    text-align: center;
  }

  .support-card { gap: 6px; }
  .support-card > span { font-size: 22px; }
  .support-card b { font-size: 11px; }
  .support-card small { font-size: 9px; }

  .footer { padding: 18px 14px; gap: 10px; flex-wrap: wrap; }

  /* Internal user panel */
  .control-layout { display: block; min-height: 100vh; }

  .control-sidebar {
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .control-sidebar .logo, .profile { grid-column: 1 / -1; }
  .control-sidebar .logo { margin: 0 5px 5px; }
  .profile { padding: 8px; border: 0; margin: 0; }
  .avatar { width: 43px; height: 43px; font-size: 18px; }

  .control-sidebar > a:not(.logo) {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 11px;
    font-size: 11px;
  }

  .control-sidebar .side-logout { margin: 0; }

  .control-main { padding: 20px 12px; max-width: none; }

  .control-heading {
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
  }

  .control-heading h1 { font-size: 19px; line-height: 1.6; }

  .control-heading > a {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 9px 12px;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .metric { padding: 12px; min-width: 0; }
  .metric span, .metric small { font-size: 10px; line-height: 1.7; }
  .metric strong { font-size: clamp(18px, 6vw, 23px); overflow-wrap: anywhere; }

  .control-panel-card { padding: 12px; overflow: visible; }
  .admin-table { display: grid; gap: 9px; overflow: visible; }
  .table-row.table-head { display: none; }

  .table-row:not(.table-head) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
    padding: 12px;
    border: 1px solid #edf0f3;
    border-radius: 11px;
    background: #fff;
    gap: 8px;
  }

  .table-row:not(.table-head) > b {
    grid-column: 1 / -1;
    font-size: 13px;
    overflow-wrap: anywhere;
  }

  .table-row:not(.table-head) > span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    font-size: 11px;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }

  .table-row:not(.table-head) > span::before {
    content: attr(data-label);
    font-size: 9px;
    color: #8591a0;
    font-weight: 600;
  }

  .empty-row {
    border: 1px dashed #d7dee6;
    border-radius: 10px;
    padding: 16px;
    font-size: 12px;
  }

  .private-note { font-size: 11px; line-height: 1.9; padding: 12px; }
}

@media (max-width: 360px) {
  .topbar { padding: 0 9px; }
  .logo { font-size: 13px; }
  .mobile-menu > summary { min-width: 56px; padding: 0 7px; }
  .login-link { font-size: 9px; }
  .car-grid { grid-template-columns: 1fr; }
  .car-image { height: 175px; }
  .action-stack { grid-template-columns: 1fr; }
  .control-sidebar > a:not(.logo) { font-size: 10px; padding: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}


/* FREEZONE PUBLIC DATA STATES */
.search-feedback {
    margin: 10px auto 0;
    color: #f3d58f;
    font-size: 12px;
    text-align: center;
    line-height: 1.8;
}

.no-photo {
    width: 100%;
    height: 100%;
    min-height: 100px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #e9edf1, #dce3e9);
    color: #647386;
    font-size: 11px;
    text-align: center;
    padding: 12px;
}

.market-empty {
    grid-column: 1 / -1;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px;
    border: 1px dashed #d7dee6;
    border-radius: 14px;
    background: #f9fafb;
    text-align: center;
}

.market-empty .empty-mark {
    font-size: 30px;
}

.market-empty h3 {
    margin: 0;
    color: #24364a;
    font-size: 14px;
}

.market-empty p {
    margin: 0;
    color: #7b8795;
    font-size: 11px;
    line-height: 1.9;
}

.market-empty a {
    margin-top: 5px;
    color: #a77a24;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 700px) {
    .search-feedback {
        font-size: 11px;
        padding: 0 10px;
    }

    .market-empty {
        min-height: 170px;
        padding: 18px 12px;
    }

    .no-photo {
        min-height: 110px;
        font-size: 10px;
    }
}


/* FREEZONE BRAND STRIP WITH LOCAL LOGOS */
.brand-strip {
    gap: 10px;
    direction: ltr;
    justify-content: space-between;
}

.brand-strip a.brand-item {
    flex: 0 0 126px;
    min-width: 126px;
    height: 62px;
    padding: 7px 9px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    direction: ltr;
    color: #f4f7fa;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 13px;
    box-sizing: border-box;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.brand-strip a.brand-item:hover,
.brand-strip a.brand-item:focus-visible,
.brand-strip a.brand-item.is-active {
    background: rgba(224,179,83,.18);
    border-color: #dfb75f;
    transform: translateY(-2px);
    outline: none;
}

.brand-strip a.brand-item .brand-logo-wrap {
    flex: 0 0 38px;
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 4px;
    display: grid;
    place-items: center;
    background: #fff;
    border-radius: 50%;
    box-sizing: border-box;
}

.brand-strip a.brand-item .brand-logo-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-strip a.brand-item .brand-name {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    height: auto;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #f4f7fa;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .35px;
    line-height: 1.3;
    text-align: left;
    white-space: nowrap;
    direction: ltr;
}

.brand-filter-feedback {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: -2px 0 12px;
    padding: 9px 12px;
    border: 1px solid #ead9b4;
    border-radius: 10px;
    background: #fffaf0;
    color: #6e5425;
    font-size: 11px;
}

.brand-filter-feedback a {
    color: #a47725;
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 1050px) {
    .brand-strip {
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: thin;
        padding-bottom: 4px;
    }
}

@media (max-width: 700px) {
    .brand-strip {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        width: 100%;
        margin: 4px 0 0;
        padding: 0 12px 5px;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x proximity;
    }

    .brand-strip a.brand-item {
        flex: 0 0 122px;
        min-width: 122px;
        height: 58px;
        scroll-snap-align: start;
    }

    .brand-strip a.brand-item .brand-logo-wrap {
        flex-basis: 35px;
        width: 35px;
        min-width: 35px;
        height: 35px;
        min-height: 35px;
    }

    .brand-filter-feedback {
        font-size: 10px;
        padding: 8px 9px;
    }
}

/* FREEZONE PREMIUM BRAND STRIP REFRESH */
/* Vertical brand tiles: circular white emblem above the brand name. */
.brand-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: min(1480px, calc(100% - 40px));
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 20px;
    background: rgba(5, 17, 30, .34);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .18),
                inset 0 1px 0 rgba(255, 255, 255, .07);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.brand-strip a.brand-item {
    position: relative;
    flex: 0 0 88px;
    width: 88px;
    min-width: 88px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 5px 9px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: linear-gradient(145deg,
        rgba(255, 255, 255, .115),
        rgba(255, 255, 255, .055));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09),
                0 4px 12px rgba(0, 0, 0, .10);
    color: #f5f7fa;
    direction: ltr;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease,
                border-color .2s ease, box-shadow .2s ease;
}

.brand-strip a.brand-item::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: #e8bd65;
    opacity: 0;
    transform: scaleX(.45);
    transition: opacity .2s ease, transform .2s ease;
}

.brand-strip a.brand-item:hover,
.brand-strip a.brand-item:focus-visible,
.brand-strip a.brand-item.is-active {
    transform: translateY(-3px);
    border-color: rgba(232, 189, 101, .82);
    background: linear-gradient(145deg,
        rgba(223, 177, 83, .25),
        rgba(223, 177, 83, .11));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14),
                0 7px 18px rgba(0, 0, 0, .18),
                0 0 0 1px rgba(232, 189, 101, .08);
    outline: none;
}

.brand-strip a.brand-item:hover::after,
.brand-strip a.brand-item:focus-visible::after,
.brand-strip a.brand-item.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.brand-strip a.brand-item .brand-logo-wrap {
    flex: 0 0 52px;
    width: 52px;
    min-width: 52px;
    height: 52px;
    min-height: 52px;
    display: grid;
    place-items: center;
    padding: 7px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .98);
    border-radius: 50%;
    background: radial-gradient(circle at 34% 27%, #fff 0%, #fff 56%, #edf0f3 100%);
    box-shadow: 0 3px 9px rgba(0, 0, 0, .18),
                inset 0 1px 2px rgba(255, 255, 255, .95);
}

.brand-strip a.brand-item .brand-logo-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 38px;
    max-height: 38px;
    object-fit: contain;
    object-position: center;
}

.brand-strip a.brand-item .brand-name {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    display: block;
    padding: 0 2px;
    border: 0;
    background: transparent;
    color: #f5f7fa;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .18px;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    direction: ltr;
}

.brand-strip a.brand-item:hover .brand-name,
.brand-strip a.brand-item:focus-visible .brand-name,
.brand-strip a.brand-item.is-active .brand-name {
    color: #ffe0a0;
}

/* At narrower laptop widths, keep cards intact and allow a clean horizontal rail. */
@media (max-width: 1250px) and (min-width: 701px) {
    .brand-strip {
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: thin;
        scrollbar-color: rgba(232, 189, 101, .65) rgba(255, 255, 255, .08);
        scroll-snap-type: x proximity;
    }
    .brand-strip a.brand-item { scroll-snap-align: start; }
}

@media (max-width: 700px) {
    .brand-strip {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        width: 100%;
        margin: 5px 0 0;
        padding: 8px 12px 9px;
        justify-content: flex-start;
        gap: 9px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
        scrollbar-color: rgba(232, 189, 101, .6) rgba(255, 255, 255, .07);
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        background: rgba(5, 17, 30, .27);
        box-shadow: none;
    }

    .brand-strip a.brand-item {
        flex: 0 0 88px;
        width: 88px;
        min-width: 88px;
        height: 100px;
        padding: 8px 5px 9px;
        gap: 7px;
        border-radius: 16px;
        scroll-snap-align: start;
    }

    .brand-strip a.brand-item .brand-logo-wrap {
        flex-basis: 52px;
        width: 52px;
        min-width: 52px;
        height: 52px;
        min-height: 52px;
        padding: 7px;
    }

    .brand-strip a.brand-item .brand-name { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
    .brand-strip a.brand-item,
    .brand-strip a.brand-item::after { transition: none; }
}

/* FREEZONE BRAND LOGO SIZE TUNE */
/* Enlarge the emblem within the white circle without changing the card concept. */
.brand-strip a.brand-item {
    height: 104px;
    padding: 6px 4px 7px;
    gap: 5px;
}

.brand-strip a.brand-item .brand-logo-wrap {
    flex: 0 0 62px;
    width: 62px;
    min-width: 62px;
    height: 62px;
    min-height: 62px;
    padding: 3px;
    border-width: 1px;
}

.brand-strip a.brand-item .brand-logo-wrap img {
    width: 100%;
    height: 100%;
    max-width: 56px;
    max-height: 56px;
    object-fit: contain;
    object-position: center;
    transform: scale(1.04);
    transform-origin: center;
}

@media (max-width: 700px) {
    .brand-strip a.brand-item {
        height: 104px;
        padding: 6px 4px 7px;
        gap: 5px;
    }

    .brand-strip a.brand-item .brand-logo-wrap {
        flex-basis: 62px;
        width: 62px;
        min-width: 62px;
        height: 62px;
        min-height: 62px;
        padding: 3px;
    }

    .brand-strip a.brand-item .brand-logo-wrap img {
        max-width: 56px;
        max-height: 56px;
    }
}

@media (max-width: 360px) {
    .brand-strip a.brand-item {
        flex-basis: 88px;
        width: 88px;
        min-width: 88px;
    }
}

/* FREEZONE BMW + PORSCHE EMBLEM FIT ONLY */
/* Enlarge only the SVG artwork; do not alter the white circular badge or card size. */
.brand-strip a.brand-item[href="/?brand=bmw"] .brand-logo-wrap img,
.brand-strip a.brand-item[data-brand="bmw"] .brand-logo-wrap img {
    transform: scale(1.34);
    transform-origin: center center;
}

.brand-strip a.brand-item[href="/?brand=porsche"] .brand-logo-wrap img,
.brand-strip a.brand-item[data-brand="porsche"] .brand-logo-wrap img {
    transform: scale(1.48);
    transform-origin: center center;
}

@media (max-width: 700px) {
    .brand-strip a.brand-item[href="/?brand=bmw"] .brand-logo-wrap img,
    .brand-strip a.brand-item[data-brand="bmw"] .brand-logo-wrap img {
        transform: scale(1.34);
    }

    .brand-strip a.brand-item[href="/?brand=porsche"] .brand-logo-wrap img,
    .brand-strip a.brand-item[data-brand="porsche"] .brand-logo-wrap img {
        transform: scale(1.48);
    }
}

/* FREEZONE DESKTOP BRAND STRIP SCROLL */
@media (min-width: 701px) {
  .brand-strip {
    direction: ltr;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 12px 9px;
    gap: 10px;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(224, 184, 91, .85) rgba(255, 255, 255, .14);
    -webkit-overflow-scrolling: touch;
  }

  .brand-strip > span {
    flex: 0 0 auto;
  }

  .brand-strip::-webkit-scrollbar {
    height: 6px;
  }

  .brand-strip::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .12);
    border-radius: 10px;
  }

  .brand-strip::-webkit-scrollbar-thumb {
    background: rgba(224, 184, 91, .85);
    border-radius: 10px;
  }
}

/* POSHTE FANS - PWA INSTALL PAGE */
.install-back{font-size:12px;color:#f1d28a;padding:10px 14px;border:1px solid #ffffff26;border-radius:10px}
.install-page{max-width:1080px;margin:34px auto 55px;padding:0 22px}
.install-hero{position:relative;overflow:hidden;text-align:center;padding:42px 24px 34px;border-radius:24px;background:radial-gradient(circle at 50% 0%,#1c3a55 0,#0b1c2d 58%,#071321 100%);color:#fff;box-shadow:0 16px 40px #10243a18}
.install-hero:after{content:"";position:absolute;inset:auto -10% -120px;height:190px;border-radius:50%;background:#e9b94e12;filter:blur(24px);pointer-events:none}
.install-icon{width:92px;height:92px;margin:0 auto 17px;border-radius:23px;overflow:hidden;box-shadow:0 8px 25px #0005}
.install-icon img{width:100%;height:100%;display:block}
.install-eyebrow{color:#f2cf80;font-size:11px;font-weight:800}
.install-hero h1{font-size:clamp(21px,4vw,30px);margin:10px 0;line-height:1.8}
.install-hero>p:not(.install-status){max-width:670px;margin:0 auto;color:#d1dbe5;font-size:13px;line-height:2.2}
.install-primary{position:relative;z-index:1;margin:22px auto 8px;min-height:52px;padding:0 28px;border:0;border-radius:13px;background:linear-gradient(135deg,#f6d681,#e5ad3d);color:#172638;font:inherit;font-size:14px;font-weight:900;cursor:pointer;box-shadow:0 8px 20px #0003}
.install-primary:hover{transform:translateY(-1px);filter:brightness(1.04)}
.install-status{min-height:24px;margin:8px auto 0;color:#f4dca8;font-size:11px;line-height:1.9}
.install-platforms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:18px}
.install-guide{display:grid;grid-template-columns:52px 1fr;gap:14px;padding:22px;background:#fff;border:1px solid #e7ebef;border-radius:17px;box-shadow:0 5px 18px #12243a08}
.guide-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#10243a;color:#f1c76b;font-size:25px;font-weight:900}
.install-guide h2{margin:1px 0 12px;font-size:15px;color:#15283b}
.install-guide ol{margin:0;padding:0 19px 0 0;color:#4e5d6d;font-size:12px;line-height:2.2}
.install-guide li{padding-right:3px;margin-bottom:3px}
.install-guide b{color:#172638}
.guide-note{margin:12px 0 0;padding:10px 12px;border-radius:9px;background:#fff8e9;color:#806125;font-size:10px;line-height:2}
.install-benefits{margin-top:18px;padding:23px;background:#fff;border:1px solid #e7ebef;border-radius:17px}
.install-benefits h2{font-size:16px;margin:0 0 16px}
.benefit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.benefit-grid>div{padding:14px;border-radius:12px;background:#f5f7f9}
.benefit-grid b,.benefit-grid span{display:block}
.benefit-grid b{font-size:12px;color:#a77a27;margin-bottom:6px}
.benefit-grid span{font-size:11px;color:#657384;line-height:1.9}
.install-security{margin:15px 0 0;padding-top:13px;border-top:1px solid #edf0f3;color:#758293;font-size:10px;line-height:1.9}
@media(max-width:700px){
 .install-page{margin:15px auto 30px;padding:0 12px}
 .install-hero{padding:30px 16px 24px;border-radius:17px}
 .install-icon{width:78px;height:78px;border-radius:19px}
 .install-hero>p:not(.install-status){font-size:12px}
 .install-platforms{grid-template-columns:1fr;gap:10px;margin-top:12px}
 .install-guide{padding:16px 13px;grid-template-columns:42px 1fr;gap:10px}
 .guide-icon{width:40px;height:40px;border-radius:12px;font-size:21px}
 .install-guide h2{font-size:14px}
 .install-guide ol{font-size:11px;line-height:2.15}
 .install-benefits{padding:17px 14px;margin-top:12px}
 .benefit-grid{grid-template-columns:1fr;gap:8px}
 .benefit-grid>div{padding:12px}
}

/* POSHTE FANS visual identity and listing badge */
.logo-image{width:64px;height:64px;display:block;object-fit:contain;border-radius:10px;flex:0 0 64px}
.hero-brand{direction:rtl;letter-spacing:0}
.car-badge{position:absolute;z-index:2;top:8px;right:8px;padding:4px 9px;border-radius:7px;background:linear-gradient(135deg,#f6d681,#dca63d);color:#172638;font-size:10px;font-weight:900;box-shadow:0 2px 8px #0003}
@media(max-width:700px){.logo-image{width:54px;height:54px;flex-basis:54px}.car-badge{font-size:9px}}

/* POSHTE FANS - region discovery filters */
.region-filter{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:0 0 14px;padding:11px 12px;border:1px solid #e9edf1;border-radius:12px;background:#f8fafb}
.region-filter label{font-size:11px;font-weight:800;color:#526174}
.region-filter select{min-width:190px;max-width:100%;height:38px;padding:0 12px;border:1px solid #dce3e9;border-radius:9px;background:#fff;color:#24364a;font:inherit;font-size:11px;outline:none}
.region-filter select:focus{border-color:#d8ad55;box-shadow:0 0 0 3px #e9b94e22}
.region-filter button{height:38px;padding:0 15px;border:0;border-radius:9px;background:#10243a;color:#f6d681;font:inherit;font-size:11px;font-weight:800;cursor:pointer}
.region-filter>a{font-size:10px;font-weight:800;color:#9b7024}
@media(max-width:700px){.region-filter{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px}.region-filter label{grid-column:1/-1}.region-filter select{grid-column:1/-1;width:100%;min-width:0}.region-filter button{width:100%}.region-filter>a{align-self:center;text-align:center}}

/* POSHTE FANS - public vehicle detail */
.vehicle-detail-page{max-width:1240px;margin:24px auto 45px;padding:0 22px}
.detail-back{display:inline-flex;align-items:center;min-height:38px;margin-bottom:14px;color:#94702d;font-size:12px;font-weight:800}
.vehicle-detail-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(310px,.9fr);gap:18px;align-items:start}
.vehicle-gallery,.vehicle-summary,.vehicle-specs{background:#fff;border:1px solid #e7ebef;border-radius:18px;box-shadow:0 5px 20px #10243a09}
.vehicle-gallery{padding:12px}
.vehicle-main-photo{position:relative;height:clamp(300px,42vw,520px);overflow:hidden;border-radius:13px;background:#e9edf1}
.vehicle-main-photo>a,.vehicle-main-photo img{display:block;width:100%;height:100%}
.vehicle-main-photo img{object-fit:contain;background:#e9edf1}
.detail-no-photo{height:100%;font-size:13px}
.vehicle-thumbnails{display:flex;gap:9px;overflow-x:auto;padding:11px 1px 2px;scrollbar-width:thin}
.vehicle-thumbnails a{flex:0 0 88px;height:68px;border:1px solid #e2e7ec;border-radius:9px;overflow:hidden;background:#f1f3f5}
.vehicle-thumbnails img{width:100%;height:100%;display:block;object-fit:cover}
.vehicle-summary{padding:23px;position:sticky;top:16px}
.detail-eyebrow{font-size:10px;font-weight:800;color:#b18430}
.vehicle-summary h1{font-size:22px;line-height:1.8;margin:8px 0 4px;color:#15283b}
.detail-location{font-size:11px;color:#788595;margin:0 0 20px}
.detail-price{font-size:25px;font-weight:900;color:#b17e20}
.detail-price small{font-size:11px;font-weight:600}
.detail-divider{height:1px;background:#edf0f3;margin:18px 0}
.vehicle-summary h2{font-size:13px;margin:0 0 7px}
.detail-description{font-size:12px;line-height:2.1;color:#5d6a79;margin:0 0 17px}
.detail-contact{display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;min-height:54px;padding:10px 14px;border-radius:11px;background:linear-gradient(135deg,#f6d681,#e6b44b);color:#172638;font-size:13px;font-weight:900;text-align:center}
.detail-contact span{font-size:12px;direction:ltr}
.detail-contact-muted{background:#f5f7f9;color:#687586;font-size:11px;font-weight:600}
.detail-disclaimer{font-size:10px;color:#8893a0;line-height:1.9;margin:11px 0 0}
.vehicle-specs{margin-top:18px;padding:22px}
.vehicle-specs h2{font-size:16px;margin:0 0 15px}
.spec-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.spec-grid>div{padding:13px;border:1px solid #edf0f3;border-radius:11px;background:#fbfcfd;min-width:0}
.spec-grid span,.spec-grid b{display:block}
.spec-grid span{font-size:10px;color:#8793a0;margin-bottom:5px}
.spec-grid b{font-size:12px;color:#25384b;overflow-wrap:anywhere}
@media(max-width:850px){.vehicle-detail-layout{grid-template-columns:1fr}.vehicle-summary{position:static}.vehicle-main-photo{height:clamp(240px,65vw,460px)}.spec-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:520px){.vehicle-detail-page{margin:13px auto 28px;padding:0 12px}.vehicle-gallery{padding:8px;border-radius:14px}.vehicle-main-photo{height:250px}.vehicle-summary{padding:17px;border-radius:14px}.vehicle-summary h1{font-size:18px}.detail-price{font-size:22px}.vehicle-specs{padding:16px;border-radius:14px}.spec-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.spec-grid>div{padding:11px}.spec-grid b{font-size:11px}}


/* POSHTE FANS - hero car visibility refinement; preserve current brand/logo */
@media (min-width: 701px) {
  .hero-photo {
    inset: 0 0 0 24%;
    opacity: 1;
    background-position: center 54%;
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 100%);
  }
  .hero-shade {
    background: linear-gradient(270deg,
      rgba(7,19,33,.92) 0%,
      rgba(7,19,33,.76) 22%,
      rgba(7,19,33,.34) 49%,
      rgba(7,19,33,.08) 100%);
  }
}
@media (max-width: 700px) {
  .hero-photo {
    opacity: .78;
    background-position: 52% 58%;
  }
  .hero-shade {
    background: linear-gradient(0deg,
      rgba(7,19,33,.88) 0%,
      rgba(7,19,33,.58) 42%,
      rgba(7,19,33,.12) 100%);
  }
}

/* In-page vehicle photo lightbox */
.photo-lightbox{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:28px;background:rgba(3,10,18,.92);backdrop-filter:blur(5px)}
.photo-lightbox.is-open{display:flex}
.photo-lightbox-image{display:block;max-width:min(94vw,1500px);max-height:88vh;object-fit:contain;border-radius:10px;box-shadow:0 18px 70px #0008}
.photo-lightbox-close{position:absolute;top:16px;right:20px;width:48px;height:48px;border:1px solid #ffffff66;border-radius:50%;background:#14283c;color:#fff;font-size:34px;line-height:1;cursor:pointer}
body.lightbox-open{overflow:hidden}
.car-image a{display:block;width:100%;height:100%;cursor:zoom-in}
@media(max-width:700px){.photo-lightbox{padding:14px}.photo-lightbox-image{max-width:96vw;max-height:82vh}.photo-lightbox-close{top:10px;right:10px;width:44px;height:44px}}

/* Internal vehicle-entry workspace */
.inventory-page{width:min(1180px,calc(100% - 36px));margin:34px auto 70px;min-height:65vh}
.inventory-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:30px 0}
.inventory-heading span{font-size:11px;letter-spacing:2px;color:#b28b52;font-weight:800}
.inventory-heading h1{font-size:clamp(25px,4vw,38px);margin:8px 0;color:#f2f4f7}
.inventory-heading p,.inventory-card-title p{margin:0;color:#9ba9b8;font-size:13px}
.inventory-form{display:grid;gap:18px}
.inventory-card{background:#101e2d;border:1px solid rgba(255,255,255,.09);border-radius:18px;padding:24px;margin-bottom:18px;box-shadow:0 12px 32px rgba(0,0,0,.12)}
.inventory-card-title{display:flex;align-items:center;gap:14px;margin-bottom:22px}
.inventory-card-title>span{width:42px;height:42px;border-radius:13px;background:rgba(178,139,82,.14);color:#d8b477;display:grid;place-items:center;font-weight:900}
.inventory-card-title h2{font-size:19px;margin:0 0 5px;color:#f4f5f7}
.inventory-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.inventory-field{display:flex;flex-direction:column;gap:8px;color:#cbd5df;font-size:13px}
.inventory-field input,.inventory-field select,.inventory-field textarea,.inventory-filters input,.inventory-filters select{width:100%;box-sizing:border-box;background:#091522;border:1px solid #2b3c4d;border-radius:10px;color:#f4f6f8;padding:12px 13px;font:inherit;min-height:44px;outline:none}
.inventory-field input:focus,.inventory-field select:focus,.inventory-field textarea:focus{border-color:#c49a5c;box-shadow:0 0 0 3px rgba(196,154,92,.12)}
.inventory-field select option{background:#091522}
.inventory-field textarea{resize:vertical}
.field-wide{grid-column:1/-1}
.field-error{color:#ff9a9a}
.inventory-upload{display:flex;align-items:center;gap:14px;flex-wrap:wrap;border:1px dashed #63758a;border-radius:13px;padding:18px;color:#e8edf2}
.inventory-upload input{max-width:100%;color:#aebdcb}
.inventory-upload strong{color:#dfbd83}
.inventory-upload small{color:#94a3b3}
.inventory-check{display:flex;align-items:center;gap:10px;margin-top:18px;color:#cbd5df;font-size:13px}
.inventory-check input{width:18px;height:18px;accent-color:#c49a5c}
.inventory-publish{font-weight:800;color:#f1d5a7}
.inventory-warning{font-size:12px;line-height:2;color:#d7b77e;background:rgba(178,139,82,.09);border-right:3px solid #b28b52;padding:10px 14px;border-radius:8px;margin:14px 0 0}
.inventory-actions{display:flex;justify-content:flex-start;gap:12px;margin:4px 0 35px}
.inventory-primary,.inventory-secondary,.inventory-filters button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;padding:12px 20px;font:inherit;font-weight:800;text-decoration:none;cursor:pointer}
.inventory-primary,.inventory-filters button{background:#c49a5c;color:#101923}
.inventory-secondary{background:#263747;color:#e6edf4}
.inventory-link-button{white-space:nowrap}
.inventory-errors,.inventory-message{padding:13px 16px;border-radius:10px;margin-bottom:12px;background:rgba(190,70,70,.14);color:#ffb5b5}
.inventory-message.success{background:rgba(55,145,100,.14);color:#a8e4bf}
.inventory-quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}
.inventory-quick-actions a{display:flex;flex-direction:column;gap:7px;padding:19px 21px;background:#112337;border:1px solid rgba(196,154,92,.25);border-radius:14px;text-decoration:none}
.inventory-quick-actions strong{color:#e7c48d;font-size:15px}.inventory-quick-actions span{color:#a9b6c4;font-size:12px}
.inventory-filters{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:10px;margin:22px 0}
.inventory-list-card{padding:10px;overflow:hidden}.inventory-table-wrap{overflow-x:auto}
.inventory-table{width:100%;border-collapse:collapse;min-width:760px;text-align:right}
.inventory-table th,.inventory-table td{padding:15px 13px;border-bottom:1px solid rgba(255,255,255,.08);font-size:13px;color:#d9e0e7}
.inventory-table th{color:#d9b77f;font-weight:800}
.inventory-table td strong,.inventory-table td small{display:block}.inventory-table td small{color:#93a3b2;margin-top:5px}
.inventory-status{display:inline-block;background:rgba(196,154,92,.13);color:#e2c18c;border-radius:20px;padding:5px 10px;white-space:nowrap}
.inventory-empty{text-align:center!important;color:#9ba9b8!important;padding:36px!important}
@media(max-width:760px){.inventory-page{width:calc(100% - 22px);margin-top:18px}.inventory-heading{align-items:flex-start;flex-direction:column}.inventory-card{padding:17px}.inventory-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.inventory-filters{grid-template-columns:1fr}.inventory-quick-actions{grid-template-columns:1fr}.inventory-actions{flex-direction:column}.inventory-actions>*{width:100%;box-sizing:border-box}}
@media(max-width:460px){.inventory-fields{grid-template-columns:1fr}.field-wide{grid-column:auto}.inventory-upload{align-items:flex-start;flex-direction:column}}

/* POSHTE FANS - multi-photo in-page gallery */
.photo-lightbox{
  flex-direction:column;
  gap:14px;
  padding:64px 74px 24px;
}
.photo-lightbox-stage{
  position:relative;
  width:min(100%,1450px);
  height:min(72vh,900px);
  display:flex;
  align-items:center;
  justify-content:center;
}
.photo-lightbox-image{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
}
.photo-lightbox-counter{
  position:absolute;
  bottom:12px;
  left:50%;
  transform:translateX(-50%);
  padding:5px 12px;
  border-radius:20px;
  background:rgba(4,12,20,.72);
  color:#fff;
  font-size:12px;
  direction:ltr;
}
.photo-lightbox-thumbnails{
  display:flex;
  justify-content:center;
  gap:9px;
  width:min(100%,1000px);
  max-width:100%;
  overflow-x:auto;
  padding:5px 2px 10px;
  scrollbar-width:thin;
}
.photo-lightbox-thumbnails button{
  flex:0 0 78px;
  width:78px;
  height:58px;
  padding:2px;
  border:2px solid rgba(255,255,255,.22);
  border-radius:8px;
  background:#172638;
  cursor:pointer;
  opacity:.72;
}
.photo-lightbox-thumbnails button.is-selected{
  border-color:#f0c66f;
  opacity:1;
}
.photo-lightbox-thumbnails img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:5px;
}
.photo-lightbox-prev,.photo-lightbox-next{
  position:absolute;
  top:46%;
  z-index:2;
  width:48px;
  height:58px;
  border:1px solid #ffffff55;
  border-radius:13px;
  background:#14283cdd;
  color:#fff;
  font-size:38px;
  line-height:1;
  cursor:pointer;
}
.photo-lightbox-prev{left:16px}
.photo-lightbox-next{right:16px}
.photo-lightbox-close{z-index:4}
@media(max-width:700px){
  .photo-lightbox{padding:66px 8px 16px;gap:10px}
  .photo-lightbox-stage{height:66vh;width:100%}
  .photo-lightbox-image{max-width:100%;max-height:100%}
  .photo-lightbox-thumbnails{justify-content:flex-start;gap:7px}
  .photo-lightbox-thumbnails button{flex-basis:66px;width:66px;height:52px}
  .photo-lightbox-prev,.photo-lightbox-next{top:38%;width:38px;height:48px;font-size:30px}
  .photo-lightbox-prev{left:7px}
  .photo-lightbox-next{right:7px}
}

/* Private inventory editing controls */
.inventory-row-action{display:inline-flex;align-items:center;padding:7px 11px;border:1px solid rgba(196,154,92,.35);border-radius:8px;color:#e6c58f;text-decoration:none;white-space:nowrap;font-size:12px}
.inventory-row-action:hover{background:rgba(196,154,92,.12)}
.inventory-existing-photos{margin-top:18px;color:#d9e2ea;font-size:13px}
.inventory-photo-grid{display:flex;flex-wrap:wrap;gap:12px;margin-top:10px}
.inventory-photo-item{display:flex;flex-direction:column;gap:5px;width:104px;color:#9eacba;font-size:11px}
.inventory-photo-item img{width:104px;height:76px;object-fit:cover;border-radius:9px;border:1px solid #405365}

/* Private listing preview */
.preview-card{max-width:980px;margin-inline:auto}
.preview-status{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#a9b7c5;font-size:12px;border-bottom:1px solid rgba(255,255,255,.08);padding-bottom:14px}
.preview-status b{color:#e4c18b}
.preview-title{font-size:clamp(24px,4vw,36px);margin:22px 0 8px;color:#f5f7fa}
.preview-price{font-size:24px;font-weight:800;color:#e4c18b;margin-bottom:22px}
.preview-specs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.preview-specs>div{padding:14px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(255,255,255,.025);display:flex;flex-direction:column;gap:6px}
.preview-specs small{color:#92a3b3;font-size:11px}.preview-specs b{color:#edf2f7;font-size:13px}
.preview-section-title{font-size:16px;color:#e8c795;margin:26px 0 12px}
.preview-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}
.preview-photo-grid img{width:100%;height:180px;object-fit:cover;border-radius:12px;border:1px solid rgba(255,255,255,.1)}
.preview-description{color:#d4dde5;line-height:2}
.preview-publish-form{margin:0}
.inventory-status.is-published{border-color:rgba(67,180,125,.45);color:#8ee0b4}
.inventory-row-actions{display:flex;gap:6px;flex-wrap:wrap}
@media(max-width:700px){.preview-specs{grid-template-columns:repeat(2,minmax(0,1fr))}.preview-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.preview-photo-grid img{height:135px}}

.photo-studio-note{margin:0 0 16px;padding:15px 17px;border:1px solid rgba(196,154,92,.28);border-radius:12px;background:rgba(196,154,92,.06);color:#c7d1dc}
.photo-studio-note strong{display:block;color:#e8c795;font-size:13px;margin-bottom:7px}
.photo-studio-note p{margin:0;font-size:12px;line-height:2}
.photo-studio-note code{direction:ltr;unicode-bidi:embed;color:#f0d9b6;font-size:11px}


/* Individual private photo management */
.photo-manager-form{display:grid;gap:14px}
.photo-manager-card{display:grid;grid-template-columns:minmax(220px,34%) 1fr;gap:22px;align-items:start}
.photo-manager-image{min-height:180px;background:#081421;border:1px solid rgba(255,255,255,.08);border-radius:12px;display:grid;place-items:center;overflow:hidden}
.photo-manager-image img{display:block;width:100%;max-height:290px;object-fit:contain}
.photo-manager-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.photo-manager-fields .inventory-field:first-of-type{grid-column:1/-1}
.photo-manager-topline{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#edf2f7}
.photo-manager-state{font-size:11px;padding:5px 10px;border-radius:20px;background:rgba(196,154,92,.13);color:#e6c58f}
.photo-manager-state.is-public{background:rgba(55,145,100,.16);color:#9ce0b7}
.photo-manager-fields .inventory-check{grid-column:1/-1;margin:0}
.photo-manager-delete{justify-self:start;border:1px solid rgba(225,105,105,.45);border-radius:9px;background:rgba(190,70,70,.12);color:#ffb4b4;padding:9px 14px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.photo-manager-delete:hover{background:rgba(190,70,70,.22)}
@media(max-width:700px){.photo-manager-card{grid-template-columns:1fr;gap:14px}.photo-manager-image{min-height:140px}.photo-manager-fields{grid-template-columns:1fr}.photo-manager-fields .inventory-field:first-of-type,.photo-manager-topline,.photo-manager-fields .inventory-check{grid-column:auto}}


/* Private inventory audit timeline */
.history-list{display:grid;gap:0}
.history-item{display:grid;grid-template-columns:18px 1fr;gap:12px;position:relative;padding:0 0 20px}
.history-item:not(:last-child):before{content:"";position:absolute;right:7px;top:16px;bottom:-2px;width:2px;background:rgba(196,154,92,.25)}
.history-dot{width:14px;height:14px;border-radius:50%;background:#c49a5c;border:3px solid #27394a;box-sizing:border-box;margin-top:3px;z-index:1}
.history-content{display:flex;flex-direction:column;gap:5px}
.history-content strong{color:#e8c795;font-size:14px}
.history-content p{margin:0;color:#c5d0db;font-size:12px}
.history-content small{color:#8fa0b0;font-size:11px;direction:ltr;text-align:right}


/* Private deal and commission desk */
.deal-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}
.deal-summary>div{display:flex;flex-direction:column;gap:7px;padding:16px;border:1px solid rgba(196,154,92,.22);border-radius:12px;background:rgba(8,20,33,.55)}
.deal-summary small{font-size:11px;color:#9eafbe}
.deal-summary strong{font-size:15px;color:#e8c795;overflow-wrap:anywhere}
@media(max-width:700px){.deal-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* Financial desk overview */
.deal-overview-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:16px 0;color:#dce5ed;font-size:13px}
.deal-overview-heading span{color:#94a6b7;font-size:11px}
.deal-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}
.deal-overview-card{display:grid;gap:11px}
.deal-overview-title{display:flex;justify-content:space-between;align-items:center;padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.08)}
.deal-overview-title strong{color:#e8c795;font-size:15px}
.deal-overview-title small{color:#91a2b2;font-size:10px}
.deal-overview-card>div:not(.deal-overview-title){display:flex;justify-content:space-between;gap:12px;color:#9fb0bf;font-size:12px}
.deal-overview-card b{color:#e6edf3;font-size:13px}
.deal-overview-card .deal-outstanding{padding-top:10px;border-top:1px solid rgba(196,154,92,.2);color:#e8c795}
.deal-overview-card .deal-outstanding b{color:#e8c795}
.inventory-pagination{display:flex;justify-content:center;align-items:center;gap:20px;padding:18px;color:#b9c7d3;font-size:12px}
.inventory-pagination a{color:#e8c795;text-decoration:none;border:1px solid rgba(196,154,92,.35);border-radius:8px;padding:7px 13px}
@media(max-width:900px){.deal-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.deal-overview-grid{grid-template-columns:1fr}.deal-overview-heading{align-items:flex-start;flex-direction:column}}
/* Refined header branding: larger emblem, safely inside the topbar */
.topbar .logo-image{width:70px;height:70px;flex:0 0 70px;object-fit:contain}
.topbar .logo span{font-family:"Vazirmatn",Tahoma,sans-serif;font-size:19px;font-weight:900;letter-spacing:0;color:#f2d18a;text-shadow:0 1px 8px rgba(218,174,91,.22);white-space:nowrap}
@media(max-width:700px){.topbar{height:64px}.topbar .logo-image{width:58px;height:58px;flex-basis:58px}.topbar .logo span{font-size:15px}}
/* Premium statistics panel */
.hero-stats{
  width:224px;
  padding:13px 18px;
  border:1px solid rgba(222,184,112,.25);
  border-radius:15px;
  background:linear-gradient(145deg,rgba(17,36,55,.96),rgba(7,19,32,.94));
  box-shadow:0 14px 34px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.045);
  backdrop-filter:blur(8px);
}
.hero-stats div{
  grid-template-columns:minmax(0,1fr) 34px;
  align-items:center;
  padding:11px 0;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.hero-stats strong{
  font-size:27px;
  line-height:1.1;
  font-weight:900;
  letter-spacing:-.5px;
  color:#e8c47d;
  font-variant-numeric:tabular-nums;
}
.hero-stats span{
  margin-top:4px;
  font-size:11px;
  line-height:1.8;
  font-weight:600;
  letter-spacing:.05px;
  color:#d7e0e9;
}
.hero-stats b.stats-icon{
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border:1px solid rgba(225,190,121,.28);
  border-radius:10px;
  background:rgba(220,177,99,.08);
  color:#dfbb77;
}
.hero-stats b.stats-icon svg{display:block;width:19px;height:19px}
@media(max-width:1050px){.hero-stats{width:205px}}
/* Header brand restore: keep the approved emblem prominent and wordmark gold */
.topbar{height:84px!important}
.topbar .logo{display:flex;align-items:center;gap:10px;color:#f2d18a!important}
.topbar .logo-image{width:76px!important;height:76px!important;min-width:76px;flex:0 0 76px!important;object-fit:contain}
.topbar .logo span{font-family:"Vazirmatn",Tahoma,sans-serif!important;font-size:19px!important;font-weight:900!important;letter-spacing:0!important;color:#f2d18a!important;-webkit-text-fill-color:#f2d18a!important;text-shadow:0 1px 8px rgba(218,174,91,.25)!important;white-space:nowrap}
.topbar .main-nav a{height:84px}
@media(max-width:700px){.topbar{height:64px!important}.topbar .logo-image{width:58px!important;height:58px!important;min-width:58px;flex-basis:58px!important}.topbar .logo span{font-size:15px!important}.topbar .main-nav a{height:64px}}

/* Final header balance: original banner height, larger emblem only */
.topbar{height:76px!important;min-height:76px!important}
.topbar .main-nav a{height:76px!important}
.topbar .logo{display:flex;align-items:center;gap:10px;overflow:visible}
.topbar .logo-image{width:82px!important;height:82px!important;min-width:82px;flex:0 0 82px!important;object-fit:contain}
.topbar .logo span{color:#f2d18a!important;-webkit-text-fill-color:#f2d18a!important}
@media(max-width:700px){
  .topbar{height:64px!important;min-height:64px!important}
  .topbar .main-nav a{height:64px!important}
  .topbar .logo-image{width:62px!important;height:62px!important;min-width:62px;flex-basis:62px!important}
  .topbar .logo span{font-size:15px!important}
}

/* Small alignment adjustment: lift only the left hero statistics box */
.hero-stats{transform:translateY(-10px)}



/* POSHTE FANS LAUNCH POLISH - advanced vehicle search */
.advanced-filter-panel{
  margin:0 0 16px;
  padding:16px;
  border:1px solid #e8edf2;
  border-radius:15px;
  background:linear-gradient(145deg,#fbfcfd,#f3f6f8);
  box-shadow:inset 0 1px 0 #fff,0 5px 16px rgba(16,36,58,.035);
}
.advanced-filter-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:13px;
}
.advanced-filter-heading div{display:grid;gap:3px}
.advanced-filter-heading strong{font-size:13px;color:#172b40}
.advanced-filter-heading span{font-size:10px;color:#788595;line-height:1.8}
.advanced-filter-heading>a{flex:0 0 auto;color:#9b7024;font-size:10px;font-weight:800}
.advanced-filter-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.filter-field{display:grid;gap:5px;min-width:0}
.filter-field>span{font-size:10px;font-weight:800;color:#647284}
.filter-field input,.filter-field select{
  width:100%;
  min-width:0;
  height:39px;
  padding:0 10px;
  border:1px solid #dfe5eb;
  border-radius:9px;
  background:#fff;
  color:#24364a;
  font:inherit;
  font-size:11px;
  outline:none;
  transition:border-color .18s ease,box-shadow .18s ease;
}
.filter-field input::placeholder{color:#a0aab5}
.filter-field input:focus,.filter-field select:focus{
  border-color:#d7ae59;
  box-shadow:0 0 0 3px rgba(215,174,89,.14);
}
.advanced-filter-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:13px;
  padding-top:12px;
  border-top:1px solid #e8edf2;
}
.filter-check{display:flex;align-items:center;gap:8px;color:#637184;font-size:10px;cursor:pointer}
.filter-check input{width:15px;height:15px;accent-color:#b88931}
.advanced-filter-actions button{
  min-width:138px;
  min-height:40px;
  padding:0 18px;
  border:0;
  border-radius:10px;
  background:linear-gradient(135deg,#f4d17b,#dfad42);
  color:#172638;
  font:inherit;
  font-size:11px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 4px 12px rgba(190,143,53,.18);
}
.advanced-filter-actions button:hover{filter:brightness(1.035);transform:translateY(-1px)}
.filter-error{
  margin:0 0 12px;
  padding:9px 11px;
  border:1px solid #f0d2cc;
  border-radius:9px;
  background:#fff5f3;
  color:#9a4437;
  font-size:10px;
  line-height:1.8;
}
.car-card{
  border-color:#e3e8ed;
  border-radius:14px;
  box-shadow:0 4px 14px rgba(15,35,55,.055);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.car-card:hover{
  transform:translateY(-3px);
  border-color:#dfc17f;
  box-shadow:0 11px 25px rgba(15,35,55,.10);
}
.car-image{height:164px;overflow:hidden;background:#e6ebef}
.car-image>a{display:block;width:100%;height:100%}
.car-image img{transition:transform .35s ease}
.car-card:hover .car-image img{transform:scale(1.035)}
.car-badge{top:10px;right:10px;z-index:3}
.plate-badge{
  position:absolute;
  right:10px;
  bottom:10px;
  z-index:3;
  max-width:calc(100% - 20px);
  padding:5px 9px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.68);
  border-radius:7px;
  background:rgba(7,19,33,.82);
  color:#f4d58f;
  font-size:9px;
  font-weight:800;
  text-overflow:ellipsis;
  white-space:nowrap;
  backdrop-filter:blur(7px);
}
.car-info{padding:11px 12px 13px}
.car-info h3{font-size:12px;line-height:1.8;margin:0 0 7px;white-space:normal;min-height:42px}
.car-info h3 a:hover{color:#a97a25}
.car-spec-chips{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:0 0 7px}
.car-spec-chips span{
  display:inline-flex;
  align-items:center;
  min-height:23px;
  padding:3px 7px;
  border:1px solid #e8edf1;
  border-radius:6px;
  background:#f7f9fa;
  color:#647284;
  font-size:9px;
  line-height:1.45;
}
.car-location{font-size:10px!important;color:#8793a0!important;margin:0 0 7px!important;line-height:1.6}
.car-price{display:block;margin-top:6px;font-size:13px!important;font-weight:900;color:#ad7b22!important}
.car-price small{font-size:9px!important;font-weight:700}
.market-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:15px;
  margin:17px 0 2px;
  color:#738091;
  font-size:10px;
}
.market-pagination a{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 13px;
  border:1px solid #e5d4ae;
  border-radius:8px;
  background:#fffaf0;
  color:#916a25;
  font-weight:800;
}
.market-pagination a:hover{background:#f8edcf}
@media(max-width:1050px){
  .advanced-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:700px){
  .advanced-filter-panel{padding:12px;margin-bottom:12px;border-radius:12px}
  .advanced-filter-heading{align-items:flex-start}
  .advanced-filter-heading strong{font-size:12px}
  .advanced-filter-heading span{font-size:9px}
  .advanced-filter-heading>a{font-size:9px}
  .advanced-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .filter-field>span{font-size:9px}
  .filter-field input,.filter-field select{height:38px;font-size:10px;padding:0 8px}
  .advanced-filter-actions{align-items:stretch;flex-direction:column;gap:10px}
  .advanced-filter-actions button{width:100%;min-height:43px}
  .filter-check{font-size:9px}
  .car-image{height:clamp(125px,34vw,165px)}
  .car-info{padding:9px 9px 11px}
  .car-info h3{font-size:11px;min-height:38px;margin-bottom:6px}
  .car-spec-chips{gap:4px}
  .car-spec-chips span{font-size:8px;padding:3px 5px}
  .car-price{font-size:11px!important}
  .market-pagination{gap:9px;font-size:9px}
}
@media(max-width:380px){
  .advanced-filter-grid{grid-template-columns:1fr}
  .advanced-filter-heading{flex-direction:column}
  .car-image{height:165px}
}
@media(prefers-reduced-motion:reduce){
  .car-card,.car-image img,.advanced-filter-actions button{transition:none}
}

.result-count{display:inline-flex;align-items:center;min-height:27px;padding:4px 9px;border:1px solid #eadfca;border-radius:20px;background:#fffaf0;color:#9a7229;font-size:9px;font-weight:800;white-space:nowrap}
@media(max-width:700px){.result-count{font-size:9px;min-height:25px;padding:3px 8px}}

/* Header logo: proportionate to banner */
.topbar .logo-image{width:60px!important;height:60px!important;min-width:60px;flex:0 0 60px!important;object-fit:contain}
@media(max-width:700px){.topbar .logo-image{width:48px!important;height:48px!important;min-width:48px;flex-basis:48px!important}}
/* Install page brand image */
.install-icon{width:min(220px,70vw)!important;height:120px!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
.install-icon img{object-fit:contain!important}
@media(max-width:700px){.install-icon{width:180px!important;height:100px!important}}
