/* Minimal working styles (safe). We’ll port Laravel SCSS next. */

.dc-scroll-lock { overflow: hidden; }

.dc-header { position: relative; z-index: 9999; font-family: inherit; }

.dc-container {
  max-width: 1320px;
  margin: 0 auto;
  /* padding: 12px 16px; */
  display: flex;
  align-items: center;
  /* gap: 16px; */
  height: 65px;
  justify-content: space-between;
}

.dc-header-bar { background: #fff; border-bottom: 1px solid rgba(0,0,0,.08); }

.dc-logo { display: inline-flex; align-items: center; }

.dc-nav { flex: 1; }
.dc-nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; align-items: center; }
.dc-nav-link, .dc-nav-trigger { background: none; border: 0; padding: 8px 12px; cursor: pointer; font: inherit; color: inherit; text-decoration: none; border-radius: 8px; transition: background 0.15s ease; }
.dc-nav-item { position: relative; }
.dc-caret { display:inline-block; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: 6px; opacity: .5; }

.dc-actions { display: flex; align-items: center; gap: 10px; }
.dc-btn { text-decoration: none; padding: 10px 14px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.dc-btn-outline { border: 1px solid #1e73ff; color: #1e73ff; background: transparent; }
.dc-btn-light { border: 1px solid rgba(0,0,0,.08); background: rgba(0,0,0,.04); color: #111; }

.dc-burger { display: none; }

/* Prevent global a:visited from coloring header/drawer/mega links blue */
.dc-header a,
.dc-header a:visited,
.dc-header a:link,
.dc-nav a,
.dc-nav a:visited,
.dc-mega a,
.dc-mega a:visited,
.dc-drawer a,
.dc-drawer a:visited,
.dc-mobile-list a,
.dc-mobile-list a:visited,
.dc-mobile-acc a,
.dc-mobile-acc a:visited,
.dc-mobile-acc-nested-list a,
.dc-mobile-acc-nested-list a:visited,
.dc-mobile-acc-deep-list a,
.dc-mobile-acc-deep-list a:visited,
.dc-newcars-tab,
.dc-newcars-tab:visited {
  color: #3b3b3b;
}

/* Keep buttons styled consistently regardless of visited state */
.dc-btn-outline,
.dc-btn-outline:visited { color: #1e73ff; }
.dc-btn-light,
.dc-btn-light:visited { color: #111; }
.dc-mobile-login,
.dc-mobile-login:visited,
.dc-mobile-login:hover { color: #fff; }

.dc-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
}

/* .dc-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid rgba(0,0,0,.08); display: none; }
.dc-mega.is-open { display: block; }
.dc-mega-inner { max-width: 1200px; margin: 0 auto; padding: 18px 16px; }
.dc-mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.dc-mega-title { font-weight: 700; margin-bottom: 10px; }
.dc-mega-links { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap: 8px; }
.dc-mega a { text-decoration:none; color: inherit; opacity: .9; } */

/* .dc-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(380px, 92vw);
  background: #fff; transform: translateX(105%); transition: transform .2s ease;
  z-index: 10000;
} */
.dc-drawer.is-open { transform: translateX(0); }
.dc-drawer-header { display:flex; align-items:center; justify-content:space-between; padding: 14px 16px; border-bottom: 1px solid rgba(0,0,0,.08); }
.dc-drawer-close { background:none; border:0; font-size: 28px; cursor:pointer; line-height: 1; }
.dc-drawer-body { padding: 14px 16px; display:flex; flex-direction:column; gap: 14px; }

.dc-mobile-login { display:block; text-align:center; padding: 12px 14px; border-radius: 12px; background:#1e73ff; color:#fff; text-decoration:none; font-weight:700; }

.dc-mobile-list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap: 8px; }
.dc-mobile-list a { text-decoration:none; color: inherit; padding: 10px 0; display:block; }

.dc-acc-trigger { width:100%; text-align:left; background:none; border:0; padding: 10px 0; font: inherit; cursor:pointer; display:flex; justify-content:space-between; align-items:center; }
.dc-acc-panel { padding: 6px 0 10px; }
.dc-acc-title { font-weight:700; margin: 10px 0 6px; }
.dc-acc-links { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap: 8px; }

@media (max-width: 980px) {
  .dc-nav { display: none; }
  .dc-burger { display: inline-block; }
  /* Hide desktop CTA buttons & language switcher on mobile (drawer has its own) */
  .dc-actions .dc-btn-outline,
  .dc-actions .dc-btn-light,
  .dc-actions .dc-lang { display: none; }
}

/* Minimal working styles (safe). We'll port Laravel SCSS next. */
/* ============================================
   MOBILE ACCORDION (MAIN LEVEL)
   ============================================ */

.dc-mobile-acc {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--dc-border);
}

.dc-mobile-acc-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--dc-text);
    border: none;
    background: transparent;
    cursor: pointer;
    transition: var(--dc-transition);
    text-align: left;
    font-family: 'Open Sans';
}

.dc-mobile-acc-trigger:hover {
    color: var(--dc-primary);
}

.dc-mobile-acc-trigger[aria-expanded="true"] {
    color: var(--dc-primary);
    font-weight: 600;
}

.dc-mobile-caret {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: var(--dc-transition);
}

.dc-mobile-acc-trigger[aria-expanded="true"] .dc-mobile-caret {
    transform: rotate(-135deg);
}

.dc-mobile-acc-panel {
    display: none;
    padding: 0 0 10px 0;
}

.dc-mobile-acc-panel[hidden] {
    display: none;
}

.dc-mobile-acc-panel:not([hidden]) {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 2000px;
    }
}

/* ============================================
   MOBILE ACCORDION NESTED (SUBMENU)
   ============================================ */

.dc-mobile-acc-nested {
    margin-bottom: 8px;
}

.dc-mobile-acc-nested-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 0 10px 0px;
    font-size: 16px;
    font-weight: 500;
    color: var(--dc-text-light);
    border: none;
    background: var(--dc-bg-light);
    cursor: pointer;
    border-radius: 4px;
    transition: var(--dc-transition);
    text-align: left;
}

.dc-mobile-acc-nested-trigger:hover {
    background: #e8e8e8;
    color: var(--dc-primary);
}

.dc-mobile-acc-nested-trigger[aria-expanded="true"] {
    background: #e8e8e8;
    color: var(--dc-primary);
}

.dc-mobile-caret-small {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-right: 8px;
    transition: var(--dc-transition);
}

.dc-mobile-acc-nested-trigger[aria-expanded="true"] .dc-mobile-caret-small {
    transform: rotate(-135deg);
}

.dc-mobile-acc-nested-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    background: #f4f5f7;
    max-height: 320px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.dc-mobile-acc-nested-list:not([hidden]) {
    display: flex;
    flex-direction: column;
    gap: 0;
    animation: slideDown 0.2s ease;
}

.dc-mobile-acc-nested-list li {
    border-bottom: 1px solid #e6e8ec;
}
.dc-mobile-acc-nested-list li:last-child { border-bottom: 0; }

.dc-mobile-acc-nested-list a {
    display: block;
    padding: 15px 24px;
    font-size: 15px;
    color: #222;
    text-decoration: none;
    transition: var(--dc-transition);
}

.dc-mobile-acc-nested-list a:hover {
    color: var(--dc-primary);
    background: #ebedf0;
}

/* ============================================
   MOBILE ACCORDION LINK (NO CHILDREN)
   ============================================ */

.dc-mobile-acc-link {
    margin-bottom: 8px;
}

.dc-mobile-acc-link a {
    display: block;
    /* padding: 10px 0 10px 16px; */
    font-size: 16px;
    color: var(--dc-text-light);
    text-decoration: none;
    transition: var(--dc-transition);
}

.dc-mobile-acc-link a:hover {
    color: var(--dc-primary);
}

/* ============================================
   MOBILE ACCORDION SELL LINK - FIXED
   ============================================ */

.dc-mobile-acc-sell {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--dc-border);
}

.dc-mobile-acc-sell a {
    display: block;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    transition: var(--dc-transition);
}

.dc-mobile-acc-sell a:hover {
    color: #333333;
}

.dc-scroll-lock { overflow: hidden; }

.dc-header { position: relative; z-index: 9999; font-family: inherit; }

.dc-container {
  max-width: 1320px;
  margin: 0 auto;
  /* padding: 12px 16px; */
  display: flex;
  align-items: center;
  /* gap: 16px; */
  height: 65px;
  justify-content: space-between;
}
.dc-mega-inner {
    background: #fff;
    border-radius: 0px 0px 18px 18px;
    box-shadow: 0 30px 80px rgba(16, 24, 40, .18);
    overflow: hidden;
}
.dc-mega-footer {	
    padding: 15px;
}
.dc-mega-grid, .dc-newcars-wrap {
    background: transparent !important;
    border: unset !important;
    border-radius: 0 !important;
    box-shadow: unset !important;
    overflow: hidden !important;
}
.dc-mega-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
    background: #fff;
    border-radius: 0px 0px 18px 18px;
    box-shadow: 0 30px 80px rgba(16, 24, 40, .18);
    overflow: hidden;
}
.dc-mega-footer {	
    padding: 15px;
}
.dc-mega-grid, .dc-newcars-wrap {
    background: transparent !important;
    border: unset !important;
    border-radius: 0 !important;
    box-shadow: unset !important;
    overflow: hidden !important;
}
.dc-mobile-list a {
    font-size: 16px;
}

/* ============================================
   DESKTOP MEGA MENU - DISABLE HOVER ON TABS
   ============================================ */

/* Remove hover effects from New Cars tabs */
.dc-newcars-tab {
    /* Hover disabled - only click-based activation */
}

.dc-newcars-tab:hover {
    /* No hover styling */
}

/* Only show active state styling */
.dc-newcars-tab.is-active {
    background-color: #f0f0f0;
    border-left: 3px solid var(--dc-primary);
}

/* ============================================
   NEW CARS CLICKABLE LINKS (Compare & Search)
   ============================================ */

.dc-newcars-link-compare,
.dc-newcars-link-search {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #101828 !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-align: left !important;
    margin-top: 8px !important;
    border-radius: 4px !important;
}



/* ============================================
   MOBILE DRAWER - SELL MY CAR BUTTON
   ============================================ */

.dc-drawer-ctas {
    display: flex;
    gap: 10px;
    padding: 15px 0;
    flex-direction: column;
}

.dc-drawer-ctas .dc-btn {
    width: 100%;
    font-size: 14px;
    padding: 12px 16px;
    text-align: center;
    display: block;
}

.dc-btn-outline {
    border: 1px solid var(--dc-primary);
    color: var(--dc-primary);
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--dc-transition);
    text-decoration: none;
    font-weight: 500;
}

.dc-btn-outline:hover {
    background: var(--dc-primary);
    color: white;
}

/* ============================================
   MOBILE SIMPLE MENU ITEMS
   ============================================ */

.dc-mobile-simple {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--dc-border);
}

.dc-mobile-simple a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    color: var(--dc-text);
    text-decoration: none;
    transition: var(--dc-transition);
}

.dc-mobile-simple a:hover {
    color: var(--dc-primary);
}



/* ..... */

.dc-newcars-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
}

.dc-newcars-tabs {
  border-right: 1px solid rgba(0,0,0,.08);
  padding-right: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dc-newcars-tab {
  width: 100%;
  text-align: left;
  padding: 14px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.dc-newcars-tab.is-active {
  background: rgba(30,115,255,.08);
  border-color: rgba(30,115,255,.15);
  box-shadow: inset 4px 0 0 #1e73ff;
}

.dc-newcars-panel { display: none; }
.dc-newcars-panel.is-active { display: block; }

/* New cars uses 3 columns a lot; adjust as needed */
.dc-mega-grid { 
    grid-template-columns: repeat(4, minmax(180px, 1fr)); 
}

.dc-mega-grid-2 { 
    grid-template-columns: repeat(2, minmax(200px, 1fr)) !important; 
}

.dc-newcars-panel .dc-mega-grid:not(.dc-mega-grid-2):not(.dc-mega-grid-3) {
    grid-template-columns: repeat(4, minmax(180px, 1fr)) !important;
}

.dc-newcars-panel .dc-mega-grid-2 {
    grid-template-columns: repeat(2, minmax(200px, 1fr)) !important;
}
/* .dc-mega-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } keep if needed */
/* .dc-mega-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } */

/* ============================================
   MENU STYLES
   ============================================ */


.dc-nav-trigger {
    display: flex;
    justify-content: space-between;
    transition: transform 0.3s ease;
    align-items: center;
}
/* Ensure dropdown remains visible */
.dc-mega {
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s ease;
    position: absolute; /* This ensures the dropdown takes the full width and doesn't collapse */
}

/* Show the dropdown when it's hovered or active */
.dc-mega.is-open {
    display: block;
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 10; /* Keep the dropdown above other content */
}

/* Prevent closing when hovering over the dropdown area itself */
.dc-mega:hover {
    visibility: visible !important;
    opacity: 1 !important;
}
.dc-nav-item.has-children:hover .dc-caret {
    transform: rotate(225deg); /* Rotate arrow on hover */
}

/* BLACK COLOR FOR "SELL YOUR CAR" LINK */
.dc-mega-footer-link {
    color: #000 !important; /* Change color to black */
}

/* NEW CARS TABBED MENU */
.dc-newcars-link-compare,
.dc-newcars-link-search {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #101828 !important;
    text-decoration: none !important;
    margin-top: 8px !important;
    border-radius: 4px !important;
}

.dc-newcars-link-compare:hover,
.dc-newcars-link-search:hover {
    background-color: #f5f5f5 !important;
    color: var(--dc-primary, #0078FF) !important;
}






/* ===== Laravel-like mega menu container ===== */
/* .dc-mega {
  background: #fff;
  border-bottom: 1px solid rgba(16, 24, 40, 0.08);
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.18);
} */

.dc-mega{
  position:absolute;
  left:0;
  right:0;
  top:100%;
  padding:0px 16px 26px;     /* space around the card */
  background:transparent;     /* important: not white */
  display:none;
  border:0;
  box-shadow:none;
}

/* Make sure dropdown stays open when hovered */
.dc-mega.is-open {
    display: block; /* Keep dropdown visible */
    opacity: 1;
    visibility: visible;
}

/* Dropdown should be hidden by default */
.dc-mega {
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s ease;
}



.dc-mega-inner{
  max-width:1280px;
  margin:0 auto;
  padding:0;
}

.dc-mega-grid,
.dc-newcars-wrap{
  background:#fff;
  /* border:1px solid rgba(16,24,40,.10); */
  border-radius:0px 0px 18px 18px;
  /* box-shadow:0 30px 80px rgba(16,24,40,.18); */
  overflow:hidden;
}

.dc-overlay {
  background: rgba(0,0,0,.55); /* stronger dim like Laravel */
}


/* ===== Header text feel ===== */
.dc-nav-link,
.dc-nav-trigger {
  font-weight: 500;
  font-size: 15px;
  color:#3b3b3b;
}

.dc-nav-trigger:hover,
.dc-nav-link:hover {
    color: #3b3b3b;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 8px;
}

.dc-caret {
  opacity: .45;
  transform: rotate(45deg) translateY(-1px);
}


/* ===== New cars tabbed mega menu ===== */
.dc-newcars-tabs{
  padding:22px 18px;
  border-right:1px solid rgba(16,24,40,.10);
  display:flex;
  flex-direction:column;
  gap:8px;
}

/* .dc-newcars-tabs {
  border-right: 1px solid rgba(16, 24, 40, 0.10);
  padding-right: 18px;
} */

.dc-newcars-tab {
  text-align: left;
  padding: 16px 16px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 500;
  color: #101828;
  position: relative;
}

.dc-newcars-tab.is-active {
  background: rgba(0, 87, 255, 0.06);
  border-color: rgba(0, 87, 255, 0.15);
  box-shadow: none;
}

.dc-newcars-tab.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 4px;
  background: #0057ff;
}


/* ===== Mega menu columns ===== */
.dc-mega-title {
  font-size: 18px;
  font-weight: 700;
  color: #101828;
  margin-bottom: 12px;
}

.dc-mega-links li a{
  font-size:16px;
  font-weight:500;
  color:rgba(16,24,40,.85);
  text-decoration:none;
  display:block;          /* important */
  padding:6px 0;          /* closer to Laravel */
  border-radius:8px;
}

.dc-mega-links li a:hover {
  background: rgba(16, 24, 40, 0.04);
  color: #101828;
}


/* Fix theme list styles inside header mega menu */
.dc-mega ul,
.dc-mega li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.dc-mega-links li {
  list-style: none !important;
}


/* Restore the working mega layout (was overridden by new card CSS) */
.dc-mega-inner > .dc-mega-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.dc-mega-grid > .dc-mega-col{
  width: auto;
  float: none;
}


/* New Cars: restore grid inside tab panels */
.dc-newcars-panel .dc-mega-grid{
  display: grid !important;
  gap: 0 !important;
}

/* If a panel uses grid-2, it should be 2 columns */
.dc-newcars-panel .dc-mega-grid-2{
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

/* Otherwise default newcars panel grids to 4 columns */
.dc-newcars-panel .dc-mega-grid:not(.dc-mega-grid-2):not(.dc-mega-grid-3){
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

/* Column spacing + vertical dividers (Used + New Cars) */
.dc-mega-grid{ gap: 0 !important; }

.dc-mega-col{
  padding: 26px 26px 22px !important;
}

.dc-mega-col + .dc-mega-col{
  border-left: 1px solid rgba(16,24,40,.10) !important;
}

.dc-header-bar{
  position: relative;
  z-index: 1000;
  background: #fff; /* important so it feels connected */
}

.dc-header-bar .dc-mega{
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0 !important;
  border-top: 1px solid rgba(16,24,40,.08); /* optional: makes it feel like one component */
}

/* Mega footer link (Sell your car) */
.dc-mega-footer{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.10);
  text-align: center;
}

.dc-mega-footer-link{
  font-weight: 600;
  text-decoration: underline;
  color: inherit;
}


/* Testing the header overlay */

a.dc-btn.dc-btn-light {
    background: #f2f2f7;
    height: 40px;
    min-width: 140px;
    text-align: center;
    transition: background .3s ease;
    color: #0078ff;
    border-radius: 8px !important;
    border: 0;
}

a.dc-btn.dc-btn-outline {
    padding: 7px 20px;
    border-radius: 8px;
    border: 1.5px solid #0078ff !important;
    color: #0078ff !important;
    background: transparent !important;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.2s ease, color 0.2s ease;
}

a.dc-btn.dc-btn-outline:hover {
    background: #ffffff !important;
    color: #0078ff !important;
}

.wpml-ls {
    justify-content: end;
    background: transparent !important;
}

.wpml-ls-legacy-dropdown .wpml-ls-sub-menu a {
    text-align: center;
}

.wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
    width: 140px;
}

.wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
    left: -12px;
}

.dc-actions {
    gap: 20px;
}

ul.dc-nav-list {
    justify-content: end;
}

.wpml-ls-legacy-dropdown {
    width: 7.5rem;
}
.dc-caret {
    transition: 0.2s ease-out;
}

@media (max-width: 600px){
 .dc-lang {
    display: none !important;
}

a.dc-btn.dc-btn-light {
    display: none !important;
}

div#header {
    padding: 0 10px;
}
.dc-mobile-login {
    border-radius: 8px;
    background: #1e73ff;
    font-weight: 500;
}
a.js-wpml-ls-item-toggle.wpml-ls-item-toggle {border-radius: 8px !important;padding: 12px 16px;}

/* Replace WPML default ▼ arrow with thin chevron like .dc-caret */
.js-wpml-ls-item-toggle:after,
a.js-wpml-ls-item-toggle.wpml-ls-item-toggle:after {
    content: "" !important;
    display: inline-block !important;
    width: 8px !important;
    height: 8px !important;
    border: 0 !important;
    border-right: 2px solid currentColor !important;
    border-bottom: 2px solid currentColor !important;
    transform: rotate(45deg) !important;
    margin-left: 8px !important;
    margin-top: -4px !important;
    opacity: .6 !important;
    vertical-align: middle !important;
    background: none !important;
    transition: transform .15s ease;
}
[dir="rtl"] .js-wpml-ls-item-toggle:after,
[dir="rtl"] a.js-wpml-ls-item-toggle.wpml-ls-item-toggle:after {
    margin-left: 0 !important;
    margin-right: 8px !important;
}

.wpml-ls-item a {
    border-radius: 8px !important;
}
.wpml-ls-legacy-dropdown {
    width: 100%;
}
.wpml-ls-legacy-dropdown>ul {
    width: 100% !Important;
}
.wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
    left: 0;
    width: 100% !important;
}
a.wpml-ls-link {
    padding: 12px 16px;
}
}


/* Minimal working styles (safe). We'll port Laravel SCSS next. */
/* ============================================
   MOBILE ACCORDION (MAIN LEVEL)
   ============================================ */

.dc-mobile-acc {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--dc-border);
}

.dc-mobile-acc-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--dc-text);
    border: none;
    background: transparent;
    cursor: pointer;
    transition: var(--dc-transition);
    text-align: left;
    font-family: 'Open Sans';
}

.dc-mobile-acc-trigger:hover {
    color: var(--dc-primary);
}

.dc-mobile-acc-trigger[aria-expanded="true"] {
    color: var(--dc-primary);
    font-weight: 600;
}

.dc-mobile-caret {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: var(--dc-transition);
}

.dc-mobile-acc-trigger[aria-expanded="true"] .dc-mobile-caret {
    transform: rotate(-135deg);
}

.dc-mobile-acc-panel {
    display: none;
    padding: 0 0 10px 0;
}

.dc-mobile-acc-panel[hidden] {
    display: none;
}

.dc-mobile-acc-panel:not([hidden]) {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 2000px;
    }
}

/* ============================================
   MOBILE ACCORDION NESTED (SUBMENU)
   ============================================ */

.dc-mobile-acc-nested {
    margin-bottom: 8px;
}

.dc-mobile-acc-nested-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 0 10px 0px;
    font-size: 16px;
    font-weight: 500;
    color: var(--dc-text-light);
    border: none;
    background: var(--dc-bg-light);
    cursor: pointer;
    border-radius: 4px;
    transition: var(--dc-transition);
    text-align: left;
}

.dc-mobile-acc-nested-trigger:hover {
    background: #e8e8e8;
    color: var(--dc-primary);
}

.dc-mobile-acc-nested-trigger[aria-expanded="true"] {
    background: #e8e8e8;
    color: var(--dc-primary);
}

.dc-mobile-caret-small {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-right: 8px;
    transition: var(--dc-transition);
}

.dc-mobile-acc-nested-trigger[aria-expanded="true"] .dc-mobile-caret-small {
    transform: rotate(-135deg);
}

.dc-mobile-acc-nested-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    background: #f4f5f7;
    max-height: 320px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.dc-mobile-acc-nested-list:not([hidden]) {
    display: flex;
    flex-direction: column;
    gap: 0;
    animation: slideDown 0.2s ease;
}

.dc-mobile-acc-nested-list li {
    border-bottom: 1px solid #e6e8ec;
}
.dc-mobile-acc-nested-list li:last-child { border-bottom: 0; }

.dc-mobile-acc-nested-list a {
    display: block;
    padding: 14px 24px;
    font-size: 15px;
    color: #222;
    text-decoration: none;
    transition: var(--dc-transition);
}

.dc-mobile-acc-nested-list a:hover {
    color: var(--dc-primary);
    background: #ebedf0;
}

/* ============================================
   MOBILE ACCORDION LINK (NO CHILDREN)
   ============================================ */

.dc-mobile-acc-link {
    margin-bottom: 8px;
}

 /* .dc-mobile-acc-link a{
    display: block;
    padding: 10px 0 10px 16px;
    font-size: 14px;
    color: var(--dc-text-light);
    text-decoration: none;
    transition: var(--dc-transition);
} */

.dc-mobile-acc-link a:hover {
    color: var(--dc-primary);
}

/* ============================================
   MOBILE ACCORDION SELL LINK - FIXED
   ============================================ */

.dc-mobile-acc-sell {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--dc-border);
}

.dc-mobile-acc-sell a {
    display: block;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    transition: var(--dc-transition);
}

.dc-mobile-acc-sell a:hover {
    color: #333333;
}

.dc-scroll-lock { overflow: hidden; }

.dc-header { position: relative; z-index: 9999; font-family: inherit; }

.dc-container {
  max-width: 1320px;
  margin: 0 auto;
  /* padding: 12px 16px; */
  display: flex;
  align-items: center;
  /* gap: 16px; */
  height: 65px;
  justify-content: space-between;
}
.dc-mega-inner {
    background: #fff;
    border-radius: 0px 0px 18px 18px;
    box-shadow: 0 30px 80px rgba(16, 24, 40, .18);
    overflow: hidden;
}
.dc-mega-footer {	
    padding: 15px;
}
.dc-mega-grid, .dc-newcars-wrap {
    background: transparent !important;
    border: unset !important;
    border-radius: 0 !important;
    box-shadow: unset !important;
    overflow: hidden !important;
}
.dc-mega-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
    background: #fff;
    border-radius: 0px 0px 18px 18px;
    box-shadow: 0 30px 80px rgba(16, 24, 40, .18);
    overflow: hidden;
}
.dc-mega-footer {	
    padding: 15px;
}
.dc-mega-grid, .dc-newcars-wrap {
    background: transparent !important;
    border: unset !important;
    border-radius: 0 !important;
    box-shadow: unset !important;
    overflow: hidden !important;
}
.dc-mobile-list a {
    font-size: 16px;
}

/* ============================================
   DESKTOP MEGA MENU - DISABLE HOVER ON TABS
   ============================================ */

/* Remove hover effects from New Cars tabs */
.dc-newcars-tab {
    /* Hover disabled - only click-based activation */
}

.dc-newcars-tab:hover {
    /* No hover styling */
}

/* Only show active state styling */
.dc-newcars-tab.is-active {
    background-color: #f0f0f0;
    border-left: 3px solid var(--dc-primary);
}

/* ============================================
   NEW CARS CLICKABLE LINKS (Compare & Search)
   ============================================ */

.dc-newcars-link-compare,
.dc-newcars-link-search {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333333 !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-align: left !important;
    margin-top: 8px !important;
    border-radius: 4px !important;
}

.dc-newcars-link-compare:hover,
.dc-newcars-link-search:hover {
    background-color: #f5f5f5 !important;
    color: var(--dc-primary, #0078FF) !important;
}



/* ============================================
   MOBILE DRAWER - SELL MY CAR BUTTON
   ============================================ */

.dc-drawer-ctas {
    display: flex;
    gap: 10px;
    padding: 15px 0;
    flex-direction: column;
}

.dc-drawer-ctas .dc-btn {
    width: 100%;
    font-size: 14px;
    padding: 12px 16px;
    text-align: center;
    display: block;
}

.dc-btn-outline {
    border: 1px solid var(--dc-primary);
    color: var(--dc-primary);
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--dc-transition);
    text-decoration: none;
    font-weight: 500;
}

.dc-btn-outline:hover {
    background: var(--dc-primary);
    color: white;
}

/* ============================================
   MOBILE SIMPLE MENU ITEMS
   ============================================ */

.dc-mobile-simple {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--dc-border);
}

.dc-mobile-simple a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    color: var(--dc-text);
    text-decoration: none;
    transition: var(--dc-transition);
}

.dc-mobile-simple a:hover {
    color: var(--dc-primary);
}


/* Make outer mega shell transparent to pointer events */
.dc-mega.is-open {
    pointer-events: none;
}
/* Only the inner content card captures hover */
.dc-mega.is-open .dc-mega-inner {
    pointer-events: auto;
}

/* ============================================
   NEW CARS - REDIRECT LINKS (Compare, Reviews, Search)
   ============================================ */

.dc-newcars-redirect-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-decoration: none !important;
    color: #101828 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    padding: 16px 16px !important;
    border-radius: 10px !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    transition: background 0.2s ease !important;
}

.dc-newcars-redirect-link:hover {
    background: rgba(0, 87, 255, 0.04) !important;
    color: #0057ff !important;
}

/* ============================================
   RTL SUPPORT (Arabic)
   ============================================ */

/* RTL header: rely on natural flex flip. Mobile-only ordering safeguards. */
@media (max-width: 980px) {
    /* Make burger a flex sibling with logo regardless of nesting depth */
    .dc-burger { order: 99; }
    /* In RTL, push burger to visual-left by placing it first via order */
    [dir="rtl"] .dc-burger { order: -1; }
    /* In RTL, logo goes to visual-right */
    [dir="rtl"] .dc-logo { order: 100; }
    /* Hide desktop-only action items on mobile (lang/login/sell stay if needed) */
    [dir="rtl"] .dc-actions { flex-direction: row; }
}

/* Nav list RTL */
[dir="rtl"] .dc-nav-list {
    flex-direction: row-reverse;
}

/* Actions RTL */
[dir="rtl"] .dc-actions {
    flex-direction: row-reverse;
}

/* Caret RTL */
[dir="rtl"] .dc-caret {
    margin-left: 0;
    margin-right: 6px;
}

[dir="rtl"] .dc-nav-trigger[aria-expanded="true"] .dc-caret {
    transform: rotate(225deg);
}

/* ---- NEW CARS TABS RTL ---- */
[dir="rtl"] .dc-newcars-wrap {
    direction: rtl;
    /* grid-template-columns: 1fr 280px; */
}

[dir="rtl"] .dc-newcars-tabs {
    border-right: none;
    border-left: 1px solid rgba(0,0,0,.08);
    padding-right: 0;
    padding-left: 18px;
    direction: rtl;
}

[dir="rtl"] .dc-newcars-tab {
    text-align: right;
}

[dir="rtl"] .dc-newcars-tab.is-active::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .dc-newcars-panels {
    direction: rtl;
}

[dir="rtl"] .dc-redirect-arrow {
    transform: scaleX(-1);
    margin-left: 0;
    margin-right: 8px;
}

/* ---- MOBILE DRAWER RTL ---- */
[dir="rtl"] .dc-drawer {
    right: auto;
    left: 0;
    transform: translateX(-105%);
}

[dir="rtl"] .dc-drawer.is-open {
    transform: translateX(0);
}

[dir="rtl"] .dc-mobile-acc-trigger {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .dc-mobile-acc-nested-trigger {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .dc-mobile-acc-nested-list a {
    text-align: right;
    padding: 10px 16px 10px 0;
}

[dir="rtl"] .dc-mobile-caret {
    margin-left: 0;
    margin-right: 8px;
}

[dir="rtl"] .dc-mobile-caret-small {
    margin-right: 0;
    margin-left: 8px;
}

[dir="rtl"] .dc-mobile-simple a {
    text-align: right;
}

[dir="rtl"] .dc-mobile-login {
    direction: rtl;
}

[dir="rtl"] .dc-drawer-ctas {
    direction: rtl;
}


/* RTL: Mega menu column spacing fixes */
[dir="rtl"] .dc-mega-col {
    padding: 26px 26px 22px !important;
    text-align: right;
}

[dir="rtl"] .dc-mega-col + .dc-mega-col {
    border-right: 1px solid rgba(16,24,40,.10) !important;
    border-left: none !important;
}

[dir="rtl"] .dc-mega-grid {
    direction: rtl;
}

[dir="rtl"] .dc-mega-title {
    text-align: right;
    margin-bottom: 12px;
}

[dir="rtl"] .dc-mega-links {
    text-align: right;
}

[dir="rtl"] .dc-mega-links li a {
    display: block;
    padding: 6px 0;
    text-align: right;
}

/* RTL New Cars tabs spacing */
[dir="rtl"] .dc-newcars-tabs {
    text-align: right;
    border-right: 1px solid rgba(16,24,40,.10) !important;
    border-left: none !important;
}

[dir="rtl"] .dc-newcars-tab {
    text-align: right;
}

[dir="rtl"] .dc-newcars-panel .dc-mega-grid {
    direction: rtl;
}


/* Burger / Close icon swap */
.dc-burger {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: #111;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
@media (max-width: 980px) {
  .dc-burger { display: inline-flex; }
}
.dc-burger svg { display: block; }
.dc-burger .dc-burger-close { display: none; }
.dc-burger .dc-burger-open  { display: block; }
.dc-burger[aria-expanded="true"] .dc-burger-open  { display: none; }
.dc-burger[aria-expanded="true"] .dc-burger-close { display: block; }

/* Drawer drops down below header (NOT a side slide-in) */
.dc-drawer {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--dc-header-h, 64px);   /* sits below the fixed header */
  bottom: 0;
  width: 100%;
  background: #fff;
  z-index: 9990;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  /* hidden state */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.dc-drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Login pill at top of menu */
.dc-drawer-login {
  display: block;
  margin: 14px 16px;
  padding: 14px 16px;
  background: #f5f6f8;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  color: #111;
  text-decoration: none;
}

/* Rows */
.dc-mobile-acc-trigger,
.dc-drawer .dc-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  /* padding: 18px 16px; */
  background: #fff;
  border: 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 16px;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  cursor: pointer;
}
/* arrow is rendered via .dc-mobile-caret span — no ::after needed */

/* Level 4 deep accordion (e.g. Popular makes → Toyota, Honda…) */
.dc-mobile-acc-deep { list-style: none; }
.dc-mobile-acc-deep-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: 0;
  padding: 12px 16px 12px 32px;
  font-size: 15px;
  font-weight: 500;
  color: #111;
  cursor: pointer;
  text-align: left;
}
[dir="rtl"] .dc-mobile-acc-deep-trigger {
  padding: 12px 32px 12px 16px;
  text-align: right;
  flex-direction: row-reverse;
}
.dc-mobile-acc-deep-trigger .dc-mobile-caret-small {
  width: 8px; height: 8px;
  border-right: 2px solid #888;
  border-bottom: 2px solid #888;
  transform: rotate(45deg);
  transition: transform .2s ease;
  display: inline-block;
}
.dc-mobile-acc-deep-trigger[aria-expanded="true"] .dc-mobile-caret-small {
  transform: rotate(-135deg);
}
.dc-mobile-acc-deep-list {
  list-style: none;
  margin: 0;
  padding: 0 0 8px 0;
}
.dc-mobile-acc-deep-list li a {
  display: block;
  padding: 10px 16px 10px 48px;
  color: #444;
  text-decoration: none;
  font-size: 14px;
}
[dir="rtl"] .dc-mobile-acc-deep-list li a {
  padding: 10px 48px 10px 16px;
  text-align: right;
}
.dc-mobile-acc-deep-list li a:hover { color: var(--dc-primary); }

a.dc-mobile-login {
    color: #ffffff;
}
a.dc-mobile-login {
    color: #FFFFFD !important;
}