/* ══════════════════════════════════════════════════════════
   MACCHINAA — NEW DESIGN v3 CSS OVERRIDE
   Orange Dark Theme — applies over the existing theme3 styles
   Rule: change the "car body" (visuals only), keep the "engine" (functions) intact
══════════════════════════════════════════════════════════ */

/* ─── 1. ROOT COLOR VARIABLES ─── */
:root {
  --fristColor:  #FF6500;   /* was blue  #0b388e */
  --secondColor: #0d0d14;   /* was dark  #1d1e20 */
  --thirdColor:  #22c55e;   /* keep green for live indicators */
  --fourthColor: #FF6500;   /* was gold  #ffb838 */
  --orange:      #FF6500;
  --orange2:     #FF8C00;
  --orange3:     #e55800;
  --dark-bg:     #0a0a10;
  --dark-bg2:    #111118;
  --dark-bg3:    #16161e;
  --dark-border: rgba(255,255,255,0.07);
}

/* ─── 2. BODY ─── */
body {
  background-color: var(--dark-bg) !important;
  color: #f0f0f0;
}

/* ─── 3. MAIN HEADER ─── */
.main-header {
  background: #14141a !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  box-shadow: none !important;
  z-index: 10000 !important;
  position: relative;
}
.header-lower {
  background: #14141a !important;
  z-index: 10000 !important;
}
.header-lower.is-fixed,
.header-lower.is-small {
  background: #14141a !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4) !important;
  z-index: 10000 !important;
}

/* ─── FORCE SINGLE-ROW HEADER LAYOUT ─── */
.header-lower .inner-container {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 12px;
  padding: 0 20px;
  max-width: 1600px;
  margin: 0 auto;
}
.header-lower .inner-container .logo-box {
  flex-shrink: 0;
}
.header-lower .inner-container .nav-outer {
  flex: 1;
  min-width: 0;
}
.header-lower .inner-container .header-account {
  flex-shrink: 0;
  gap: 10px !important;                 /* override styles.css 30px */
  margin-inline-start: 10px;            /* space from nav links */
}
/* Force visibility on desktop — Bootstrap's .navbar-collapse defaults to
   visibility:collapse which hides flex children even when display is set. */
@media (min-width: 992px) {
  .main-menu .navbar-collapse,
  .main-menu .navbar-collapse.collapse,
  .main-menu .navigation,
  .main-menu .navigation.clearfix {
    visibility: visible !important;
    display: flex !important;
  }
}

/* Nav links in one line */
.main-menu .navigation {
  display: flex !important;
  flex-wrap: nowrap !important;
  white-space: nowrap;
}
.main-menu .navigation > li {
  flex-shrink: 0;
}

/* ─── 4. MAIN NAV LINKS ─── */
.main-menu .navigation > li > a {
  color: #aaaaaa;
  font-weight: 600;
}
.main-menu .navigation > li > a:hover,
.main-menu .navigation > li.current > a {
  color: #ffffff;
}
.main-menu .navigation > li::after {
  background: var(--orange) !important;
}
/* Dropdown — z-index must be above sticky bars inside page content */
.main-menu .navigation .dropdown2 > ul,
.main-menu .navigation .dropdown2 ul,
.main-header .main-menu .navigation > li > ul {
  background: #1c1c24 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 10px !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5) !important;
  z-index: 10001 !important;
  position: absolute !important;
}
.main-menu .navigation .dropdown2 > ul > li > a,
.main-menu .navigation .dropdown2 ul li a {
  color: #aaa !important;
}
.main-menu .navigation .dropdown2 > ul > li > a:hover,
.main-menu .navigation .dropdown2 ul li a:hover {
  color: #fff !important;
  background: rgba(255,255,255,0.06) !important;
}

/* ─── 5. BUTTONS ─── */
.sc-button,
.sc-button:focus {
  background: linear-gradient(135deg, #FF4500, #FF8C00) !important;
  border: none !important;
  color: #fff !important;
}
.sc-button span,
.sc-button svg {
  color: #fff !important;
}
.sc-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255,101,0,0.3) !important;
}

/* ─── 6. LIVE AUCTION INDICATOR ─── */
.live-auction-indicator {
  background: rgba(229,62,62,0.08) !important;
  border-color: rgba(229,62,62,0.22) !important;
  color: #fc8181 !important;
}
.live-auction-indicator:hover {
  background: rgba(229,62,62,0.14) !important;
  color: #fca5a5 !important;
}
.status-dot {
  background-color: rgba(255,255,255,0.3) !important;
}
.status-dot.pulse {
  background-color: #e53e3e !important;
}
@keyframes statusPulse {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* ─── 7. USER DROPDOWN ─── */
.box-avatar .name {
  color: #f0f0f0 !important;
}
.dropdown-menu.dashboard-menu {
  background: #1c1c24 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 12px !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5) !important;
}
.dropdown-menu.dashboard-menu .dropdown-item {
  color: #aaa !important;
  border-radius: 7px;
}
.dropdown-menu.dashboard-menu .dropdown-item:hover {
  background: rgba(255,255,255,0.06) !important;
  color: #fff !important;
}

/* ─── 8. HEADER STAT PILLS ─── */
.flat-bt-top .btn {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(255,255,255,0.1) !important;
  color: #ddd !important;
}
.flat-bt-top .btn:hover {
  background: rgba(255,255,255,0.1) !important;
}
.flat-bt-top .badge.bg-secondary {
  background: var(--orange) !important;
  color: #fff !important;
}
.flat-bt-top .badge.bg-warning {
  background: rgba(255,101,0,0.15) !important;
  color: var(--orange) !important;
}

/* ─── 9. LANG DROPDOWN ─── */
#langDropdownBtn {
  background: rgba(255,255,255,0.07) !important;
  border-color: rgba(255,255,255,0.1) !important;
  color: #bbb !important;
}
#langDropdown {
  background: #1c1c24 !important;
  border-color: rgba(255,255,255,0.08) !important;
}
#langDropdown .dropdown-item {
  color: #bbb !important;
}
#langDropdown .dropdown-item:hover {
  background: rgba(255,255,255,0.06) !important;
  color: #fff !important;
}

/* ─── 10. MOBILE MENU ─── */
.mobile-menu .menu-box {
  background: #0e0e16 !important;
  border-color: rgba(255,255,255,0.06) !important;
}
.mobile-menu .menu-box .list-group-item {
  background: var(--dark-bg3) !important;
  color: #ddd !important;
  border-color: rgba(255,255,255,0.07) !important;
}
.mobile-menu .menu-box .list-group-item:hover {
  background: rgba(255,255,255,0.07) !important;
  color: #fff !important;
}
.mobile-menu .user-profile-card {
  background: rgba(255,255,255,0.04) !important;
  border-color: rgba(255,255,255,0.08) !important;
}
.mobile-menu .user-info h6 {
  color: #fff !important;
}

/* ─── 11. HERO SECTION ─── */
.hero-section {
  background-image: url('../img/hero-bg.png');
  background-color: #0a0a10;
}
.hero-title {
  color: #fff !important;
  text-shadow: none !important;
  font-size: 49px !important;
  line-height: 1.2 !important;
}
.hero-title small {
  display: block;
  font-size: 29px;
  font-weight: 700;
  color: #aaa;
  margin-bottom: 4px;
}
.hero-title em {
  color: var(--orange) !important;
  font-style: normal !important;
  display: block;
  font-size: 61px !important;
}
.hero-title span {
  color: var(--orange) !important;
}
.hero-subtitle {
  color: rgba(255,255,255,0.85) !important;
}

/* ─── 12. AUCTION CARDS (calendar inside hero) ─── */
.auction-card {
  background: #16161e !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
}
.auction-header {
  background: linear-gradient(135deg, #FF4500, #FF8C00) !important;
  color: #fff !important;
  font-weight: 800;
}
.auction-link {
  color: #ddd !important;
}
.auction-link:hover {
  color: var(--orange) !important;
}
.auction-title.active .auction-link {
  color: var(--orange) !important;
  font-weight: 700;
}
.auction-badge {
  background: rgba(255,101,0,0.12) !important;
  color: var(--orange) !important;
  border-color: rgba(255,101,0,0.2) !important;
}
.auction-timezone, .auction-day {
  color: #666 !important;
}
.glow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,101,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.glow-dot-inner {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  animation: glowPulse 2s infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 4px rgba(255,101,0,0.6); }
  50%       { opacity: 0.4; box-shadow: 0 0 8px rgba(255,101,0,0.2); }
}

/* ─── 13. CTA FOOTER (inside hero section) ─── */
.cta-footer {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-button {
  background: linear-gradient(135deg, #FF4500, #FF8C00) !important;
  color: #fff !important;
  font-weight: 800;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,101,0,0.3) !important;
  color: #fff !important;
}
.cta-text {
  color: #aaa !important;
  font-size: 15px;
}

/* ─── 14. FILTER SEARCH ─── */
.flat-filter-search {
  background: var(--dark-bg2) !important;
  border-top: 1px solid var(--dark-border) !important;
  border-bottom: 1px solid var(--dark-border) !important;
}
.flat-filter-search .flat-tabs {
  background: transparent !important;
}
.wd-find-select .form-group-1 input,
.wd-find-select .nice-select,
.tf-select select {
  background: var(--dark-bg3) !important;
  color: #ddd !important;
  border-color: rgba(255,255,255,0.09) !important;
}
.wd-find-select .nice-select .list {
  background: #1c1c24 !important;
  border-color: rgba(255,255,255,0.08) !important;
}
.wd-find-select .nice-select .option {
  color: #aaa !important;
}
.wd-find-select .nice-select .option:hover,
.wd-find-select .nice-select .option.selected {
  background: rgba(255,101,0,0.08) !important;
  color: var(--orange) !important;
}
.flat-filter-search label {
  color: #999 !important;
}

/* ─── 15. SWIPER / OLD HERO ─── */
/* Keep swiper functional but make it dark-themed */
#hero {
  background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)),
    url("../img/hero-bg.png") no-repeat center center !important;
  background-size: cover !important;
  background-attachment: fixed !important;
}
#hero h1 span {
  color: var(--orange) !important;
}
#hero .btn {
  background: linear-gradient(135deg, #FF4500, #FF8C00) !important;
}
.swiper-button-next,
.swiper-button-prev {
  color: var(--orange) !important;
}

/* ─── 16. CAR LISTING SECTION ─── */
.tf-section,
.tf-section3 {
  background-color: var(--dark-bg2);
}
.heading-section h2,
.heading-section h3 {
  color: #f0f0f0 !important;
}
.box-car-list {
  background: var(--dark-bg3) !important;
  border: 1px solid var(--dark-border) !important;
}
.box-car-list:hover {
  border-color: rgba(255,101,0,0.2) !important;
  box-shadow: 0 16px 32px rgba(0,0,0,0.3) !important;
}
.box-car-list .content {
  background: var(--dark-bg3) !important;
}
.box-car-list h5 a,
.box-car-list .link-style-1 a {
  color: #eee !important;
}
.box-car-list h5 a:hover,
.box-car-list .link-style-1 a:hover {
  color: var(--orange) !important;
}
.box-car-list .money {
  color: var(--orange) !important;
}
.box-car-list .view-car {
  background: rgba(255,101,0,0.1) !important;
  border: 1px solid rgba(255,101,0,0.2) !important;
  color: var(--orange) !important;
  border-radius: 8px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}
.box-car-list .view-car:hover {
  background: var(--orange) !important;
  color: #fff !important;
}
.box-car-list .icons span {
  color: #888 !important;
}
.box-car-list .text-address p {
  color: #666 !important;
}
.flag-tag.success {
  background: rgba(34,197,94,0.15) !important;
  color: #22c55e !important;
  border: none;
}
.flag-tag.style-1 {
  background: rgba(255,255,255,0.08) !important;
  color: #888 !important;
}
.flag-tag.year,
.year.flag-tag {
  background: rgba(255,101,0,0.1) !important;
  color: var(--orange) !important;
  border: 1px solid rgba(255,101,0,0.2) !important;
}

/* ─── 17. PARTNER BRANDS SECTION ─── */
.tf-section3 .partner-item {
  background: var(--dark-bg3) !important;
  border: 1px solid var(--dark-border) !important;
  border-radius: 12px;
}
.tf-section3 .partner-item:hover {
  border-color: rgba(255,101,0,0.2) !important;
}
.tf-section3 .title.text-color-2 {
  color: #f0f0f0 !important;
}

/* ─── 18. CALCULATOR ─── */
.loan-calculator {
  background: var(--dark-bg) !important;
}
.loan-calculator .box-title .title-ct {
  color: var(--orange) !important;
}
.loan-calculator .box-title p {
  color: #888 !important;
}
.loan-calculator fieldset label {
  color: #999 !important;
}
.loan-calculator .tb-my-input {
  background: var(--dark-bg3) !important;
  border-color: rgba(255,255,255,0.1) !important;
  color: #f0f0f0 !important;
}
.loan-calculator .nice-select {
  background: var(--dark-bg3) !important;
  border-color: rgba(255,255,255,0.1) !important;
  color: #ddd !important;
}
.loan-calculator .nice-select .list {
  background: #1c1c24 !important;
  border-color: rgba(255,255,255,0.08) !important;
}
.loan-calculator .nice-select .option {
  color: #aaa !important;
}
.loan-calculator .nice-select .option:hover,
.loan-calculator .nice-select .option.selected {
  background: rgba(255,101,0,0.08) !important;
  color: var(--orange) !important;
}
.loan-calculator .sc-button {
  background: linear-gradient(135deg, #FF4500, #FF8C00) !important;
  color: #fff !important;
}

/* ─── 19. FOOTER ─── */
footer {
  background: #060608 !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
}
footer .footer-top {
  background: transparent !important;
}
footer .footer-top .footer-links h6 {
  color: var(--orange) !important;
}
footer .footer-top .footer-links a {
  color: #666 !important;
}
footer .footer-top .footer-links a:hover {
  color: var(--orange) !important;
}
footer .footer-top .footer-contact p,
footer .footer-top .footer-contact span {
  color: #888 !important;
}
footer .footer-top .footer-contact .social-links a {
  background: rgba(255,101,0,0.1) !important;
  color: var(--orange) !important;
}
footer .footer-top .footer-contact .social-links a:hover {
  background: var(--orange) !important;
  color: #fff !important;
}
.footer-bottom {
  background: #040406 !important;
  color: #444 !important;
}
.footer-bottom a {
  color: var(--orange) !important;
}

/* ─── 20. PRELOADER ─── */
.preload-container {
  background: var(--dark-bg) !important;
}
.preload .middle {
  border-color: rgba(255,101,0,0.25) !important;
  border-top-color: var(--orange) !important;
}

/* ─── 21. SCROLLBAR ─── */
::-webkit-scrollbar-thumb {
  background-color: rgba(255,101,0,0.35) !important;
}
::-webkit-scrollbar-track {
  background: var(--dark-bg2) !important;
}

/* ─── 22. MODALS (Login / Register) ─── */
.popup .modal-content {
  background: #12121a !important;
  border-color: rgba(255,255,255,0.08) !important;
}
.popup .modal-content .form_title {
  color: #f0f0f0 !important;
}
.popup .modal-content label {
  color: #bbb !important;
}
.popup .modal-content .tb-my-input {
  background: var(--dark-bg3) !important;
  border-color: rgba(255,255,255,0.1) !important;
  color: #f0f0f0 !important;
}
.popup .modal-content .sc-button {
  background: linear-gradient(135deg, #FF4500, #FF8C00) !important;
  color: #fff !important;
}
.popup .close {
  color: #888 !important;
}
.popup .close:hover {
  color: #fff !important;
}

/* ─── 23. LOGIN / REGISTER BUTTONS in header ─── */
.login-btn, .Register-btn {
  background: linear-gradient(135deg, #FF4500, #FF8C00) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 700;
  cursor: pointer;
}
.login-btn:hover, .Register-btn:hover {
  opacity: 0.9;
}

/* ─── 24. MENU TABS ─── */
.menu-tab.tab-title .item-title.active {
  background: var(--orange) !important;
  border-color: var(--orange) !important;
}
.menu-tab.tab-title .item-title.active .inner {
  color: #fff !important;
}
.menu-tab.tab-title .item-title:hover {
  border-color: rgba(255,101,0,0.3) !important;
}

/* ─── 25. TEXT COLORS GLOBAL ─── */
.text-color-1 { color: #f0f0f0 !important; }
.text-color-2 { color: #bbb !important; }
.text-color-3 { color: #888 !important; }

/* ─── 26. CARDS / GENERAL CONTAINERS ─── */
.wg-box3, .form-group.wg-box3 {
  background: var(--dark-bg3) !important;
  border-color: rgba(255,255,255,0.08) !important;
}
.content-inner.tab-content {
  background: transparent !important;
}

/* ─── 27. SEARCH MODAL ─── */
#search_Modal .modal-content {
  background: rgba(14,14,22,0.95) !important;
  border-color: rgba(255,255,255,0.08) !important;
  backdrop-filter: blur(20px);
}
.search-field,
#search_bar_modal {
  background: var(--dark-bg3) !important;
  border-color: rgba(255,255,255,0.1) !important;
  color: #f0f0f0 !important;
}

/* ══════════════════════════════════════════
   LOGO BANNERS SECTION (New Section in index.html)
══════════════════════════════════════════ */
.logo-banners-section {
  background: linear-gradient(175deg, #0a0a10 0%, #0e0e16 100%);
  padding: 54px 40px 50px;
  position: relative;
  overflow: hidden;
}
.logo-banners-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255,101,0,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.lbs-header {
  text-align: center;
  margin-bottom: 40px;
}
.lbs-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,101,0,0.08);
  border: 1px solid rgba(255,101,0,0.18);
  color: var(--orange);
  padding: 5px 16px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}
.lbs-h2 {
  font-size: 49px;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 12px;
  color: #f0f0f0;
  letter-spacing: -1px;
}
.lbs-h2 span {
  color: var(--orange);
}
.lbs-p {
  color: #777;
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}
.logo-banners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1150px;
  margin: 0 auto;
}
.logo-banner-card {
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  text-decoration: none;
  display: block;
}
.logo-banner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,101,0,0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.lbc-img {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
}
.lbc-img img {
  max-height: 90px;
  max-width: 100%;
  object-fit: contain;
}
.lbc-copart .lbc-img { background: #000; }
.lbc-iaai   .lbc-img { background: #CC0000; }
.lbc-autopro .lbc-img { background: #0d1b2e; }
.lbc-live-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(0,0,0,0.8);
  border: 1px solid rgba(229,62,62,0.3);
  border-radius: 20px;
  padding: 3px 9px;
  backdrop-filter: blur(6px);
}
.lbc-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e53e3e;
  animation: lbcBlink 1.3s infinite;
}
.lbc-live-txt {
  font-size: 11px;
  font-weight: 700;
  color: #fc8181;
}
@keyframes lbcBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}
.lbc-foot {
  background: #141420;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.lbc-name {
  font-size: 14px;
  font-weight: 800;
  color: #ddd;
}
.lbc-count {
  background: rgba(255,101,0,0.1);
  color: var(--orange);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

/* Responsive logo banners */
@media (max-width: 768px) {
  .logo-banners-section {
    padding: 40px 20px;
  }
  .lbs-h2 {
    font-size: 33px;
  }
  .logo-banners-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .logo-banners-section {
    padding: 40px 24px;
  }
  .lbs-h2 {
    font-size: 39px;
  }
}

/* ─── END OF NEW DESIGN OVERRIDE ─── */

/* ══════════════════════════════════════════════════════════
   PATCH 2 — Fix remaining white background elements
   Identified via live browser inspection
══════════════════════════════════════════════════════════ */

/* ─── SEARCH FILTER BOX (inside #hero swiper) ─── */
.form-sl {
  background: #16161e !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4) !important;
}
.wd-find-select,
.wd-find-select.wd-search-form {
  background: transparent !important;
}
.flat-filter-search .content-inner,
.flat-filter-search .content-tab,
.flat-filter-search .content-inner.tab-content {
  background: transparent !important;
}
.flat-filter-search .flat-tabs {
  background: transparent !important;
}
.flat-filter-search .box-tab {
  background: transparent !important;
}
.flat-filter-search .menu-tab.tab-title .item-title .inner {
  color: #ddd !important;
}
/* filter icon button */
.icon-filter {
  color: #aaa !important;
}
.icon-filter:hover {
  color: var(--orange) !important;
}
/* text inputs inside filter */
.text-field,
.search-field,
input.text-field {
  background: #1c1c24 !important;
  border-color: rgba(255,255,255,0.1) !important;
  color: #f0f0f0 !important;
}
/* trending bar */
.wrap-icon.trending1 {
  background: transparent !important;
  color: #888 !important;
}
.wrap-icon.trending1 a {
  color: #888 !important;
}
.wrap-icon.trending1 strong {
  color: var(--orange) !important;
}

/* ─── CALCULATOR FORM CARD ─── */
.loan-calculator-form,
.loan-calculator-form.w-560 {
  background: #16161e !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4) !important;
  color: #f0f0f0 !important;
  padding: 28px !important;
}
.loan-calculator-form label,
.loan-calculator-form .font-1 {
  color: #999 !important;
}
.loan-calculator-form p,
.loan-calculator-form span {
  color: #bbb !important;
}
.loan-calculator-form .fw-6,
.loan-calculator-form strong {
  color: var(--orange) !important;
}
/* result rows */
.loan-calculator-form .flex-two span:first-child {
  color: #888 !important;
}
.loan-calculator-form .flex-two span:last-child {
  color: #f0f0f0 !important;
}

/* ─── TF ICON BOX (features section) ─── */
.tf-icon-box.style-1 {
  background: #16161e !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 14px !important;
}
.tf-icon-box.style-1 h5,
.tf-icon-box.style-1 .title {
  color: #f0f0f0 !important;
}
.tf-icon-box.style-1 p,
.tf-icon-box.style-1 .sub-title {
  color: #888 !important;
}
.tf-icon-box.style-1 .icon-box {
  background: rgba(255,101,0,0.1) !important;
  border-color: rgba(255,101,0,0.2) !important;
}

/* ─── FIND CARS LINK ─── */
a.find-cars,
.find-cars {
  background: transparent !important;
  color: var(--orange) !important;
}

/* ─── SWIPER BUTTONS ─── */
.swiper-button-next.style-1,
.swiper-button-prev.style-1 {
  background: rgba(255,101,0,0.12) !important;
  border: 1px solid rgba(255,101,0,0.25) !important;
  color: var(--orange) !important;
}
.swiper-button-next.style-1:hover,
.swiper-button-prev.style-1:hover {
  background: var(--orange) !important;
  color: #fff !important;
}
/* Swiper pagination dots */
.swiper-pagination-bullet {
  background: rgba(255,255,255,0.25) !important;
}
.swiper-pagination-bullet-active,
.swiper-pagination4 .swiper-pagination-bullet-active {
  background: var(--orange) !important;
}

/* ─── OFFCANVAS / COMPARE PANEL ─── */
.offcanvas.offcanvas-bottom {
  background: #16161e !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  color: #f0f0f0 !important;
}

/* ─── MISC: NAV-LOGO (mobile) ─── */
.nav-logo {
  background: transparent !important;
}

/* ─── LOGIN MODAL INPUT PASSWORD ─── */
input.input-form.password-input {
  background: #1c1c24 !important;
  border-color: rgba(255,255,255,0.1) !important;
  color: #f0f0f0 !important;
}

/* ─── AUTOCOMPLETE DROPDOWN ─── */
.ui-autocomplete.theme3-autocomplete-menu {
  background: #1c1c24 !important;
  border-color: rgba(255,255,255,0.08) !important;
}
.ui-autocomplete.theme3-autocomplete-menu .ui-menu-item-wrapper {
  color: #bbb !important;
}
.ui-autocomplete.theme3-autocomplete-menu .ui-menu-item-wrapper:hover {
  background: rgba(255,101,0,0.08) !important;
  color: var(--orange) !important;
}

/* ─── HEADING SECTION DIVIDERS ─── */
.heading-section {
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  padding-bottom: 16px !important;
}
.heading-section .tf-btn-arrow {
  color: var(--orange) !important;
  border-color: rgba(255,101,0,0.3) !important;
}
.heading-section .tf-btn-arrow:hover {
  background: var(--orange) !important;
  color: #fff !important;
}

/* ─── SECTION BACKGROUNDS ─── */
.tf-section {
  background: var(--dark-bg2) !important;
}
.tf-section3 {
  background: var(--dark-bg) !important;
}
.loan-calculator.inner-1.bg-2 {
  background: var(--dark-bg) !important;
}

/* ─── TABS CONTENT ─── */
.box-tab .menu-tab .item-title {
  background: transparent !important;
  border-color: rgba(255,255,255,0.1) !important;
}
.box-tab .menu-tab .item-title h5,
.box-tab .menu-tab .item-title .inner {
  color: #aaa !important;
}
.box-tab .menu-tab .item-title.active {
  background: var(--orange) !important;
  border-color: var(--orange) !important;
}
.box-tab .menu-tab .item-title.active h5,
.box-tab .menu-tab .item-title.active .inner {
  color: #fff !important;
}

/* ─── FOOTER LOGO ─── */
.footer-bottom .logo img {
  filter: brightness(1.2) !important;
}
footer .footer-top {
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

/* ─── END PATCH 2 ─── */

/* ══════════════════════════════════════════════════════════
   PATCH 3 — FULL RESPONSIVE DESIGN
   Handles: mobile (<576), tablet (576-991), desktop (992-1399),
   large (1400-1920), ultra-wide (1920+)
══════════════════════════════════════════════════════════ */

/* ─── GLOBAL: Constrain all main content to max-width ─── */
.container2,
.header-lower .container2,
.header-lower > .container2 > .row > .col-lg-12 > .inner-container {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ─── ULTRA-WIDE SCREENS (55" TV, 4K monitors, 1920px+) ─── */
@media (min-width: 1920px) {
  .container2,
  .header-lower .container2 {
    max-width: 1600px;
    margin: 0 auto;
  }

  .header-lower .inner-container {
    max-width: 1600px;
    margin: 0 auto;
  }

  /* Nav links — comfortable size */
  .main-menu .navigation > li > a {
    font-size: 15px;
    padding: 10px 14px;
  }

  /* Logo — cap height */
  .logo-box .logo img {
    max-height: 65px !important;
  }

  /* Constrain hero section */
  .hero-section,
  .tf-section,
  .tf-section3 {
    max-width: 100%;
  }
  .hero-section > *,
  .tf-section > .container,
  .tf-section3 > .container {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Logo banner grid */
  .logo-banners-grid {
    max-width: 1400px;
    margin: 0 auto;
  }

  /* Header stat pills */
  .flat-bt-top .btn {
    font-size: 13px;
    padding: 5px 12px !important;
  }

  /* Header account — comfortable spacing for ultra-wide */
  .header-account {
    gap: 14px !important;
  }
  .live-auction-indicator {
    padding: 5px 10px;
    gap: 6px;
  }
  .live-auction-indicator .status-text {
    font-size: 12px;
  }
}

/* ─── LARGE DESKTOP (1400px - 1919px) ─── */
@media (min-width: 1400px) and (max-width: 1919px) {
  .container2 {
    max-width: 1400px;
  }

  .main-menu .navigation > li > a {
    font-size: 14px;
    padding: 10px 12px;
  }

  .header-account {
    gap: 10px !important;
  }
}

/* ─── STANDARD DESKTOP (992px - 1399px) ─── */
@media (min-width: 992px) and (max-width: 1399px) {
  .container2 {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .main-menu .navigation > li > a {
    font-size: 13px;
    padding: 10px 8px;
  }

  .flat-bt-top .btn {
    font-size: 12px;
    padding: 4px 8px !important;
  }

  .box-avatar .name {
    font-size: 12px;
  }

  .live-auction-indicator {
    padding: 4px 8px;
    gap: 4px;
  }
  .live-auction-indicator .status-text {
    font-size: 11px;
  }

  .header-account {
    gap: 6px !important;
  }

  #langDropdownBtn {
    font-size: 12px !important;
    padding: 4px 10px !important;
  }
}

/* ─── TABLET & MOBILE (max 991px) ─── */
@media (max-width: 991px) {
  /* === CRITICAL: Hide desktop navigation completely === */
  .main-menu,
  .main-menu.show,
  nav.main-menu,
  nav.main-menu.show,
  .main-menu .navbar-collapse,
  .main-menu .navbar-collapse.collapse,
  .main-menu .navbar-collapse.collapse.show,
  .nav-outer,
  .nav-outer .main-menu,
  .main-menu .navigation,
  .main-menu .navigation.clearfix,
  .header-lower .main-menu,
  .inner-container .nav-outer {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    width: 0 !important;
    max-height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
  }

  /* Show hamburger menu button */
  .mobile-nav-toggler.mobile-button {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    position: relative !important;
    pointer-events: auto !important;
    order: -1;
  }

  /* Header layout - single row, compact */
  .header-lower .inner-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px;
    padding: 6px 12px;
    max-height: 65px;
  }

  /* Logo sizing */
  .logo-box {
    flex-shrink: 0;
  }
  .logo-box .logo img {
    max-height: 50px !important;
  }

  /* Header account section - compact row */
  .header-account {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0;
  }

  /* Stat pills - smaller */
  .flat-bt-top .d-flex {
    gap: 4px !important;
  }
  .flat-bt-top .btn {
    font-size: 11px;
    padding: 3px 8px !important;
  }

  /* Live auction indicator */
  .live-auction-indicator {
    padding: 4px 10px !important;
    font-size: 12px;
  }

  /* Language selector */
  #langDropdownBtn {
    font-size: 12px !important;
    padding: 4px 10px !important;
  }

  /* User name - truncate */
  .box-avatar .name {
    font-size: 12px;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Hero section */
  .hero-title {
    font-size: 36px !important;
  }
  .hero-title em {
    font-size: 42px !important;
  }
  .hero-title small {
    font-size: 22px;
  }

  /* Logo banners */
  .logo-banners-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* ─── MOBILE (max 575px) ─── */
@media (max-width: 575px) {
  /* Compact header */
  .header-lower .inner-container {
    padding: 4px 8px;
    gap: 4px;
    max-height: 55px;
  }

  /* Smaller logo */
  .logo-box .logo img {
    max-height: 40px !important;
  }

  /* Hide ALL stat pills on mobile except bell & messages */
  .flat-bt-top .d-flex > button.btn {
    display: none !important;
  }
  /* Keep only the <a> icons (messages + bell) */
  .flat-bt-top .d-flex > a.btn,
  .flat-bt-top .d-flex > .position-relative {
    display: flex !important;
  }

  .flat-bt-top .d-flex {
    gap: 3px !important;
  }
  .flat-bt-top .btn {
    font-size: 10px;
    padding: 3px 7px !important;
  }

  /* User avatar - hide name, show icon only */
  .box-avatar .name {
    display: none !important;
  }

  /* Hide language button text, show just globe icon */
  #langDropdownBtn span,
  #langDropdownBtn svg {
    display: none;
  }
  #langDropdownBtn {
    padding: 5px 8px !important;
    min-width: unset !important;
  }

  /* Live auction - icon only */
  .live-auction-indicator {
    padding: 4px 8px !important;
    font-size: 10px;
  }
  .live-auction-indicator .status-text {
    display: none;
  }

  /* Search icon */
  .search-mobie .header-search-icon {
    width: 32px;
    height: 32px;
  }
  .search-mobie .header-search-icon i {
    font-size: 16px !important;
  }

  /* Hero section */
  .hero-title {
    font-size: 26px !important;
    line-height: 1.3 !important;
  }
  .hero-title em {
    font-size: 32px !important;
  }
  .hero-title small {
    font-size: 18px;
  }
  .hero-subtitle {
    font-size: 14px !important;
  }

  /* Logo banners */
  .logo-banners-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  /* CTA */
  .cta-footer {
    flex-direction: column;
    text-align: center;
  }
  .cta-button {
    width: 100%;
    text-align: center;
  }

  /* Notification panel */
  #msg-notif-panel {
    width: 280px !important;
    right: -20px !important;
    left: auto !important;
  }

  /* Dropdown menu */
  .dropdown-menu.dashboard-menu {
    min-width: 180px !important;
  }
}

/* ─── VERY SMALL MOBILE (max 380px) ─── */
@media (max-width: 380px) {
  .logo-box .logo img {
    max-height: 36px !important;
  }

  .box-avatar .name {
    display: none !important;
  }

  .flat-bt-top {
    display: none !important;
  }

  .live-auction-indicator .status-text {
    display: none;
  }

  .hero-title {
    font-size: 22px !important;
  }
  .hero-title em {
    font-size: 26px !important;
  }

  .logo-banners-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ─── RTL RESPONSIVE FIXES ─── */
@media (max-width: 991px) {
  body.rtl .main-menu .navigation {
    text-align: right;
  }

  body.rtl .header-lower .inner-container {
    flex-direction: row-reverse;
  }

  body.rtl #msg-notif-panel {
    left: auto !important;
    right: 0 !important;
  }

  body.rtl .dropdown-menu.dashboard-menu {
    left: auto !important;
    right: 0 !important;
  }
}

/* ─── PRINT ─── */
@media print {
  .main-header,
  .mobile-menu,
  .preload {
    display: none !important;
  }
}
