.top-bar-wrapper {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  box-sizing: border-box;
  --fb-primary: #1877F2;
  --fb-primary-dark: #1464cc;
  --fb-text: #050505;
  --fb-text-sub: #65676B;
  --fb-bg: #ffffff;
  --fb-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0,0,0,0.04);
  --fb-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fb-ease: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.d-flex { display: flex !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }
.align-items-center { align-items: center !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-column { flex-direction: column !important; }
.d-none { display: none !important; }
.d-block { display: block !important; }
.position-absolute { position: absolute !important; }
.position-relative { position: relative !important; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.me-2 { margin-right: 0.5rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.me-auto { margin-right: auto !important; }
.float-end { float: right !important; }
.text-white { color: #fff !important; }
.text-danger { color: #dc3545 !important; }
.text-center { text-align: center !important; }
.container-fluid { width: 100%; padding-right: 0.75rem; padding-left: 0.75rem; margin-right: auto; margin-left: auto; }

@media (min-width: 992px) {
  .d-lg-none { display: none !important; }
  .d-lg-block { display: block !important; }
  .mb-lg-0 { margin-bottom: 0 !important; }
  .navbar-expand-lg { flex-wrap: nowrap; justify-content: flex-start; }
  .navbar-expand-lg .navbar-nav { flex-direction: row; }
  .navbar-expand-lg .navbar-collapse { display: flex !important; flex-basis: auto; }
  .navbar-expand-lg .navbar-toggler { display: none; }

}

@media (max-width: 992px) {
.plan-widget-desktop { display: none !important; }
}

.navbar { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding-top: 0.5rem; padding-bottom: 0.5rem; }
.navbar-brand { padding-top: 0.3125rem; padding-bottom: 0.3125rem; margin-right: 1rem; font-size: 1.25rem; text-decoration: none; white-space: nowrap; }
.navbar-nav { display: flex; flex-direction: column; padding-left: 0; margin-bottom: 0; list-style: none; }
.nav-link { display: block; padding: 0.5rem 1rem; color: #0d6efd; text-decoration: none; transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out; }
.nav-item { margin-bottom: 0; }
.collapse:not(.show) { display: none; }
.navbar-collapse { flex-basis: 100%; flex-grow: 1; align-items: center; }

.dropdown { position: relative; }
.dropdown-menu { position: absolute; z-index: 1000; display: none; min-width: 10rem; padding: 0.5rem 0; margin: 0; font-size: 1rem; color: #212529; text-align: left; list-style: none; background-color: #fff; background-clip: padding-box; border: 1px solid rgba(0,0,0,.15); border-radius: 0.375rem; }
.dropdown-menu.show { display: block; }
.dropdown-item { display: block; width: 100%; padding: 0.25rem 1rem; clear: both; font-weight: 400; color: #212529; text-align: inherit; text-decoration: none; white-space: nowrap; background-color: transparent; border: 0; }
.dropdown-divider { height: 0; margin: 0.5rem 0; overflow: hidden; border-top: 1px solid #e9ecef; }
.dropdown-toggle::after { display: inline-block; margin-left: 0.255em; vertical-align: 0.255em; content: ""; border-top: 0.3em solid; border-right: 0.3em solid transparent; border-bottom: 0; border-left: 0.3em solid transparent; }

.form-control { display: block; width: 100%; padding: 0.375rem 0.75rem; font-size: 1rem; font-weight: 400; line-height: 1.5; color: #212529; background-color: #fff; background-clip: padding-box; border: 1px solid #ced4da; -webkit-appearance: none; -moz-appearance: none; appearance: none; border-radius: 0.375rem; transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out; }
.form-control-sm { min-height: calc(1.5em + 0.5rem + 2px); padding: 0.25rem 0.5rem; font-size: 0.875rem; border-radius: 0.25rem; }
.form-select { display: block; width: 100%; padding: 0.375rem 2.25rem 0.375rem 0.75rem; -moz-padding-start: calc(0.75rem - 3px); font-size: 1rem; font-weight: 400; line-height: 1.5; color: #212529; background-color: #fff; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 16px 12px; border: 1px solid #ced4da; border-radius: 0.375rem; transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out; -webkit-appearance: none; -moz-appearance: none; appearance: none; }
.form-select-sm { padding-top: 0.25rem; padding-bottom: 0.25rem; padding-left: 0.5rem; font-size: 0.875rem; border-radius: 0.25rem; }

.btn { display: inline-block; font-weight: 400; line-height: 1.5; color: #212529; text-align: center; text-decoration: none; vertical-align: middle; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; user-select: none; background-color: transparent; border: 1px solid transparent; padding: 0.375rem 0.75rem; font-size: 1rem; border-radius: 0.375rem; transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out; }
.btn-sm { padding: 0.25rem 0.5rem; font-size: 0.875rem; border-radius: 0.25rem; }
.btn-danger { color: #fff; background-color: #dc3545; border-color: #dc3545; }
.btn-danger:hover { color: #fff; background-color: #bb2d3b; border-color: #b02a37; }

.dropdown-menu[data-bs-popper] {
    top: 65%;
    left: auto;
    margin-top: .25rem;
}
.dropdown-menu.show {
    display: block;
}
a {
  text-decoration: none !important;
  color: #479dff;
}
a:hover {
  color: #215f98;
}
img {
  max-width: 100%;
  display: block;
  vertical-align: middle;
}

.top-bar {
    background: #202733;
    color: #686868;
    font-size: 12px;
    padding: 0px 18px 1px 8px;
    z-index: 999;
    position: relative;
}
.top-bar .bar-left,
.top-bar .bar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.status_my {
    border-left: 1px solid #1c232b;
}
.currency-ticker {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 3px 14px;
    margin-left: auto;
    margin-right: 20px;
    font-size: 11px;
    font-weight: 500;
    height: 28px;
    margin-top: 1px;
}

.curr-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #b4b4b4;
}

.curr-label {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #8a94a6;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.5px;
}

.curr-label i {
    font-size: 12px;
    color: #6c757d;
}

.curr-val {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    color: #e0e0e0;
    transition: color 0.3s ease;
}

.curr-icon {
    font-size: 10px;
}

.curr-up {
    color: #2ecc71;
    animation: flashGreen 1s ease-out;
}

.curr-down {
    color: #e74c3c;
    animation: flashRed 1s ease-out;
}

.curr-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 12px;
}

.curr-loading {
    font-size: 10px;
    color: #666;
    animation: pulse 1.5s infinite;
    padding: 0 10px;
}

@keyframes flashGreen {
    0% { text-shadow: 0 0 5px rgba(46, 204, 113, 0.8); color: #fff; }
    100% { text-shadow: none; color: #2ecc71; }
}

@keyframes flashRed {
    0% { text-shadow: 0 0 5px rgba(231, 76, 60, 0.8); color: #fff; }
    100% { text-shadow: none; color: #e74c3c; }
}

@media(max-width: 768px) {
    .currency-ticker {
        margin: 0;
        width: 100%;
        justify-content: center;
        order: 3;
        border: none;
        background: #1c222c;
        border-top: 1px solid #2e3542;
        margin-top: 2px;
        padding: 5px 0;
        border-radius: 0;
        height: 32px;
        box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
    }
    .status_my {
    width: 100%;
}
    .curr-divider {
        background: rgba(255, 255, 255, 0.1);
    }
.top-bar .bar-left, .top-bar .bar-right {
    display: flex;
    align-items: center;
    gap: 0rem;
}
    
    .curr-val {
        font-size: 13px;
    }
}

select.form-select.form-select-sm.my {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  background: transparent url(https://nextcar-usa.pl/pl/images/down.svg) no-repeat right 10px center;
  background-size: 12px;
  color: #b4b4b4;
  padding-right: 25px;
  padding-left: .5rem;
  width: auto;
  font-weight: 500;
}

.brand-search-bar {
  background: #2e3542;
  padding: 1.5rem 2.5rem;
}
.brand-search-bar .navbar-brand {
  color: #fff;
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  font-family: 'Rubik', sans-serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -.5px;
}
.brand-search-bar .my_name_1 {
  color: #e74c3c;
  margin-left: 2px;
}
.brand-search-bar .my_name_2 {
  color: #359aea;
}
.brand-search-bar .search-wrapper {
  flex: 1;
  min-width: 250px;
  margin-left: 30px;
  position: relative;
}

.navbar-toggler {
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
    font-size: 1.5rem;
    border: none;
    outline: none;
    width: 32px;
    height: 32px;
    padding: 0;
    position: relative;
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #faebd700;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.toggler-icon {
  width: 24px;
  height: 18px;
  position: relative;
  transform: rotate(0deg);
  transition: .5s ease-in-out;
  cursor: pointer;
}
.toggler-icon span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}
.toggler-icon span:nth-child(1) {
  top: 0px;
}
.toggler-icon span:nth-child(2) {
  top: 8px;
}
.toggler-icon span:nth-child(3) {
  top: 16px;
}

.navbar-toggler.open .toggler-icon span:nth-child(1) {
  top: 8px;
  transform: rotate(135deg);
}
.navbar-toggler.open .toggler-icon span:nth-child(2) {
  opacity: 0;
  left: -60px;
}
.navbar-toggler.open .toggler-icon span:nth-child(3) {
  top: 8px;
  transform: rotate(-135deg);
}

.suggestions-list {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  z-index: 9999;
  border-radius: 8px;
  overflow: hidden;
  background: #2e3542;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.25s;
  visibility: hidden;
  pointer-events: none;
}
.suggestions-list.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
  visibility: visible;
  pointer-events: auto;
}
.suggestion-item {
  background: #2e3542;
  color: #fff;
  padding: 9px 15px;
  cursor: pointer;
  font-size: 13px;
  border-bottom: 1px solid #3a424f;
  transition: background-color 0.2s ease;
}
.suggestion-item:last-child {
    border-bottom: none;
}
.suggestion-item:hover, .suggestion-item.active-suggestion {
  background: #3b4554;
  color: #f0f0f0;
}
.suggestion-item strong {
    color: #e74c3c;
    font-weight: 600;
}
.suggestion-item.no-results {
  cursor: default;
  background: #2e3542;
  color: #888;
}

.login-reg-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  font-weight: 500;
  color: #fff;
  background: transparent;
  padding: .35rem .75rem;
  margin-left: 5px;
  border-radius: 4px;
  transition: background .3s;
}
.login-reg-btn:hover {
  background: rgba(255,255,255,.2);
  color: #fff !important;
}
#user-controls {
    position: relative;
}

.sub-nav {
    background: #2e3542;
    padding: 0 1rem;
    border-top: 1px solid #1c232b;
    position: relative; 
    z-index: 99;
}
b, strong {
    font-weight: 500;
}
a#userMenuMobileToggle {
    display: flex!important;
    align-items: center!important;
}
.sub-nav .navbar-nav .nav-link {
    color: #fff;
    padding: .5rem .7rem;
    margin-right: .2rem 3.2px;
    transition: background-color .3s, color .3s, box-shadow .3s;
    border-radius: 4px;
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}
.sub-nav .navbar-nav .nav-link .bi-chevron-down {
  font-size: 0.7em;
  transition: transform 0.2s ease-in-out;
}
.sub-nav .navbar-nav .nav-item:hover .nav-link .bi-chevron-down {
    transform: rotate(180deg);
}

.sub-nav .navbar-nav .nav-link:hover {
  background: rgba(255,255,255,.1);
}
.sub-nav .navbar-nav .nav-link.active {
  background-color: #e74c3c;
  color: #fff;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.15);
}

.dropdown-menu.mega-menu-structured {
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    background: #2e3542;
    min-width: 250px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.vertical-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    background: #232b35;
    width: 260px;
}

.menu-item-row {
    border-bottom: 1px solid #2e3542;
    position: static;
}

.menu-item-row:last-child {
    border-bottom: none;
}

.menu-link-wrapper {
    position: relative;
    display: block;
}

.menu-link-main {
    display: block;
    padding: 12px 20px;
    color: #e0e0e0 !important;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-link-main:hover {
    background: #2e3542;
    color: #fff !important;
}

.menu-link-main i {
    font-size: 11px;
    color: #7f8c8d;
}

.side-panel {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    width: 600px;
    height: 100%;
    background: #2e3542;
    padding: 25px 30px;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
    z-index: 1001;
    border-left: 1px solid #3a424f;
    min-height: 100%;
}

@media (min-width: 992px) {
    .menu-item-row.has-panel:hover .side-panel {
        display: block;
        
    }
    .menu-item-row.has-panel:hover .menu-link-main {
        background: #2e3542;
        color: #fff !important;
    }
    .vertical-menu {
        padding-bottom: 0;
    }
}

.scrollable-panel {
    overflow-y: auto;
    max-height: 600px;
    max-height: calc(100vh - 200px);
}

.scrollable-panel::-webkit-scrollbar {
    width: 6px;
}
.scrollable-panel::-webkit-scrollbar-track {
    background: #2e3542; 
}
.scrollable-panel::-webkit-scrollbar-thumb {
    background: #4a5568; 
    border-radius: 3px;
}
.scrollable-panel::-webkit-scrollbar-thumb:hover {
    background: #606d80; 
}

.panel-section-group {
    margin-bottom: 25px;
}

.panel-heading {
    font-size: 13px;
    text-transform: capitalize;
    color: #7d899c; 
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.side-panel a {
    display: flex;
    align-items: center;
    padding: 12px 0;
    color: #e1e4e8;
    font-size: 14px;
    transition: all 0.2s ease;
    font-weight: 400;
    text-decoration: none;
    padding: 8px 12px;
}

.side-panel a::before {
    content: "\F285";
    font-family: 'bootstrap-icons' !important;
    font-size: 10px;
    color: #7f8c8d;
    margin-right: 8px;
    transition: transform 0.2s ease, color 0.2s ease;
    font-weight: bold;
    display: inline-block;
}

.side-panel a:hover {
    color: #e74c3c !important; 
    text-decoration: none;
    padding-left: 20px; 
}

.side-panel a:hover::before {
    transform: translateX(3px);
    color: #e74c3c !important;
    opacity: 1;
}

.brands-grid-sidebar a, 
.brands-grid a {
    display: flex;
    padding: 8px 12px;
}

.brands-grid-sidebar a::before,
.brands-grid a::before {
    display: none;
}

ul.plain-list {
    list-style: none !important;
    padding-left: 0;
    margin: 0;
}
.plain-list ul li {
    margin-bottom: 25px;
}
.panel-section-group > a {
    margin-bottom: 12px !important; 
    display: flex; 
}

.panel-grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.panel-col {
    display: flex;
    flex-direction: column;
}

.text-gold {
    color: #f39c12 !important;
}

.brands-grid-sidebar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

@media (max-width: 991.98px) {
    .my_nev_12 {
        color: #f0f0f0;
        padding: 10px 20px;
        font-size: 16px;
    }
    .my_nev_13 {
        padding: 10px 20px;
        font-size: 16px;
    }

}

@media (max-width: 991.98px) {
    .dropdown-menu.mega-menu-structured {
        min-width: 100%;
        box-shadow: none;
        background: transparent;
    }
    
    .vertical-menu {
        width: 100%;
        background: transparent;
    }
    
    
    .menu-link-main {
        padding: 12px 15px;
        background: #232b35;
        margin-bottom: 4px;
        border-radius: 6px;
    
    }

    .side-panel {
        position: static;
        width: 100%;
        height: auto;
        box-shadow: none;
        border-left: none;
        padding: 0;
        display: none;
        background: #2a323e; 
        
        max-height: 300px;
        overflow-y: auto;
        overscroll-behavior: contain;
    }
        .scrollable-panel {
        max-height: 300px;
        overflow-y: auto;
    }
    
    .menu-item-row.mobile-active .side-panel {
        display: block;
        padding: 15px;
        animation: slideDown 0.3s ease-out;
    }
    
    .menu-item-row.mobile-active .menu-link-main i {
        transform: rotate(90deg);
        color: #e74c3c;
    }

    .panel-grid-2-col {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .brands-grid-sidebar {
        grid-template-columns: repeat(2, 1fr);
    }
    
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

#user-controls .dropdown-menu {
    background-color: #2e3542;
    border: 1px solid #1c232b;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    padding: 10px 0;
    margin-top: 32px;
    min-width: 180px;
    width: 100%;
}
#user-controls .dropdown-item {
    color: #f0f0f0;
    padding: 10px 20px;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-size: 14px;
    font-weight: 500;
}
#user-controls .dropdown-item:hover {
    background-color: #3b4554;
    color: #fff;
}
#user-controls .dropdown-divider {
    border-top-color: #3a424f;
}

.mega-menu-sm {
    width: 220px;
    background-color: #2e3542;
}

.mega-menu-lg {
    width: 6vw;
    max-width: 800px;
    background-color: #2e3542;
}

.mega-menu .dropdown-item {
    color: #f0f0f0;
    padding: 10px 20px;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-size: 14px;
    font-weight: 400;
}
.mega-menu .dropdown-item:hover {
    background-color: #3b4554;
    color: #fff;
}

.new-badge-glow {
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    color: white;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    text-transform: uppercase;
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.4);
    white-space: nowrap;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    padding: 15px 20px;
}
.brands-grid a, .brands-grid-sidebar a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d0d0d0;
    padding: 8px 12px;
    border-radius: 4px;
    text-align: left;
    transition: all 0.2s ease; 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
}
.brands-grid a:hover, .brands-grid-sidebar a:hover {
    color: #fff;
    text-decoration: none;
    padding-left: 20px; 
}
.brand-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

#guest-controls,
#user-controls {
  display: none;
}
.text-danger {
    --bs-text-opacity: 1;
    color: rgb(231 24 24) !important;
}

.mobile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.mobile-menu-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.plan-widget-desktop {
    display: flex;
    align-items: center;
    background: #ffffff08;
    border: 1px solid #ffffff05;
    padding: 4px 8px;
    border-radius: 4px;
    margin-right: 15px;
    margin-left: 15px;
    height: 38px;
    transition: all 0.3s ease;
    cursor: default;
}

.plan-widget-desktop:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.plan-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #f39c12, #d35400);
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  margin-right: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

.plan-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

.plan-row-top {
  display: flex;
  align-items: center;
  margin-bottom: 2px;
}

.plan-label-mini {
  color: #9aa2b1;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.plan-row-bottom {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.plan-name-val {
    color: #5499ff;
    font-size: 13px;
}

.plan-sep {
  color: #4a5568;
  font-size: 9px;
  margin: 0 4px;
}

.plan-limit-val {
  color: #fff;
  font-size: 11px;
  font-weight: 500;
}

.plan-widget-desktop.no-plan {
    border-color: #e74c3c17;
    background: rgba(231, 76, 60, 0.05);
    cursor: pointer;
    animation: pulse-border 2s infinite;
}
.plan-widget-desktop.no-plan:hover {
    background: rgba(231, 76, 60, 0.15);
    border-color: rgba(231, 76, 60, 0.6);
}
.plan-widget-desktop.no-plan .plan-icon-box {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}
.plan-widget-desktop.no-plan .plan-name-val {
    color: #e74c3c;
}
@keyframes pulse-border {
    0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.2); }
    70% { box-shadow: 0 0 0 4px rgba(231, 76, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}


.plan-widget-mobile {
    background: linear-gradient(to bottom, #353d4a, #2b323d);
    border: 1px solid #454e5e3d;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 14px;
    box-shadow: 0 4px 6px #7b7b7b1a;
}
.plan-widget-mobile.no-plan {
    border: 1px solid rgba(231, 76, 60, 0.3);
    background: linear-gradient(to bottom, #3a2e2e, #2d2323);
}
.plan-widget-mobile.no-plan .plan-mobile-header {
    color: #e74c3c;
    border-bottom-color: rgba(231, 76, 60, 0.2);
}

.plan-mobile-header {
    font-size: 11px;
    color: #8a94a6;
    letter-spacing: 1px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 6px;
    font-weight: 700;
    font-family: sans-serif;
}

.plan-mobile-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.plan-mobile-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #d1d5db;
}
.text-gold { color: #f39c12 !important; }
.text-white { color: #fff !important; }

@media (min-width:992px) {
  #guest-controls {
    display: flex;
  }
  #user-controls {
    display: none;
  }
  #user-controls:hover .dropdown-menu {
    display: block;
  }
}

@media (max-width:991.98px) {
.nav-link {
        font-weight: 600;
    }
.sub-nav .navbar-nav .nav-link {
    justify-content: space-between;
}
  .brand-search-bar {
     flex-wrap: wrap; 
        z-index: 999;
    }

  .brand-search-bar .search-wrapper {
    margin-left: 0;
    margin-top: 0.75rem;
    min-width: 100%;
    width: 100%;
  }

    .navbar-toggler {
        margin-right: 10px;
        margin-top: -15px;
    }

.nev {
    width: 100%;
  }
.nev2 {
    width: 100%;
    margin-top: 16px;
}
.nev3 {
    background: #232b35 !important;
}
.nev3:hover {
    width: 100%;
        background: #4d585f!important;
}
.nev4:hover {
  background: #006cbe!important;
}
.nev5 {
    margin-top: 16px;
}
.nev6 {
        border-radius: 100px !important;
        justify-content: center;
    margin-right: .2rem;
    display: flex;
    justify-content: center;
    background: #232b35 !important;
    height: 42px;
    align-items: center;
    border-radius: 100px;
    gap: 10px;
    color: #fff;
    transition: background .3s;
justify-content: center!important;
}
  a.login-reg-btn.dropdown-toggle {
    display: none !important;
  }
  div#guest-controls {
    display: none !important;
  }
  
  .sub-nav {
      position: sticky; 
      top: 0; 
      z-index: 100; 
      background: #2e3542; 
  }
  
  .sub-nav .navbar-collapse {
        display: block; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        max-height: 85vh; 
        background-color: #2e3542;
        z-index: -1; 
        
        overflow-y: auto;
        border-top: 1px solid #3a424f;
        box-shadow: 0 15px 30px rgba(0,0,0,0.4);
        padding: 1rem;
        padding-bottom: 260px;
        scrollbar-width: thin;

        min-height: 100vh;
        transform: translateY(-120%); 
        opacity: 0;
        visibility: hidden;
        
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                    opacity 0.3s ease, 
                    visibility 0s 0.4s; 
    }

  .sub-nav .navbar-collapse.show {
    transform: translateY(0); 
    opacity: 1;
    visibility: visible;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                opacity 0.3s ease,
                visibility 0s 0s; 
  }

  .sub-nav .navbar-nav {
    align-items: flex-start;
  }
  .sub-nav .navbar-nav .nav-link {
    padding: .75rem 10px;
    width: 100%;
  }
  
  .sub-nav .dropdown-menu,
  .sub-nav .mega-menu, .dropdown-menu.mega-menu-structured {
    position: static !important;
    width: 100% !important;
    background: transparent;
    border: none !important;
    box-shadow: none !important;
    
    display: block !important; 
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    transform: none !important;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                padding 0.3s ease,
                visibility 0.3s;
  }
  
  .sub-nav .nav-item.dropdown:hover > .mega-menu {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
  }

  .sub-nav .nav-item.dropdown .mega-menu.show,
  .sub-nav .nav-item.dropdown .dropdown-menu.show {
    max-height: 2500px;
    opacity: 1;
    visibility: visible;
    padding-top: 5px; 
    padding-bottom: 10px;
  }
  
div#guest-controls-mobile {
        display: flex;
        align-items: stretch;
        gap: 0.5rem;
        flex-direction: column;
    }

          div#guest-controls-mobile .nav-link {
        padding: .5rem 1rem;
        display: flex;
        justify-content: center;
        background: #279af1;
        height: 42px;
        align-items: center;
        border-radius: 100px;
        gap: 10px;
        color: #fff;
        transition: background .3s;
        font-size: 14px;
        font-weight: 400;
    }
  div#user-controls-mobile {
    display: none;
  }
  a.nav-link.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .875rem;
    color: #fff;
    padding: .35rem .75rem;
    border-radius: 4px;
  }
  #user-controls-mobile .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: .5rem;
    background-color: transparent;
    border: none;
    box-shadow: none;
  }
      #user-controls-mobile .dropdown-item {
        color: #f0f0f0;
        padding: 10px 20px;
        font-size: 16px;
    }
  #user-controls-mobile .dropdown-item:hover {
    background-color: #3b4554;
  }
}

@media (max-width:767.98px) {
  .brand-search-bar {
    padding: 1rem 1rem;
  }
  .brand-search-bar .navbar-brand {
    margin-left: 0;
    font-size: 1.5rem;
  }
  .brand-search-bar input.search-input {
    font-size: 13px;
  }
  .sub-nav .navbar-nav .nav-link {
    font-size: 15px;
  }
  ul.dropdown-menu.show {
    font-size: 13px;
  }
  .brands-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width:768px) {
  .top-bar {
    position: sticky;
    top: 0;
    z-index: 999;
  }
  .brand-search-bar {
    position: sticky;
    top: 28px;
    z-index: 999;
  }
  .sub-nav {
    position: sticky;
    top: 88px;
    z-index: 99;
  }
  
  .nav-item.mega-dropdown-static {
    position: static;
  }
  .dropdown-menu.mega-menu-structured {
      position: absolute;
      left: 0; 
      top: 100%;
  }
  
  .nav-item.dropdown .dropdown-menu.mega-menu-structured {
      left: 10px;
      margin-top: 0;
  }
}

@media (max-width:438px) {
    .navbar-toggler {
        margin-right: 10px;
        margin-top: -15px;
    }
  .brands-grid {
      grid-template-columns: 1fr;
  }
}

.mobile-contact-wrapper {
  width: 100%;
  padding: 1.5rem 10px 1rem;
  margin-top: 1rem;
  border-top: 1px solid #3a424f; 
}

.mobile-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-contact-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.contact-hours,
.contact-days,
.contact-label {
  font-size: 0.875rem;
  color: #b4b4b4; 
  margin-bottom: 0;
}

.contact-label {
  margin-top: 0.75rem;
  font-weight: 500;
  color: #ccc;
}

.contact-phone {
  font-size: 1rem;
  font-weight: 500;
  color: #479dff; 
  text-decoration: none;
  transition: color 0.2s;
}

.contact-phone:hover {
  color: #8ac0ff;
}

@media (max-width: 994px) { my-nextcar-topbar { min-height: 179px; }}
@media (max-width: 576px) { my-nextcar-topbar { min-height: 156px; }}
@media (max-width: 768px) { my-nextcar-topbar { min-height: 156px; }}
@media (max-width: 446px) { my-nextcar-topbar { min-height: 201px; }}

#searchInputForm {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 100px;
  height: 38px;
  padding: 0;
  position: relative;
  transition: box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
#searchInputForm.input-active {
    box-shadow: 0 0 0 3px #0d6efd;
}
#searchInputForm.input-active .search-divider {
  background-color: #0d6efd;
}
#searchInputForm.input-active .custom-select-trigger {
  color: #333;
}
#searchInputForm.input-active .custom-arrow {
    color: #359aea;
}

#searchInputForm.input-active .impressive-search-btn {
  color: #e74c3c;
}

#searchInputForm.input-error-blink {
  box-shadow: 0 0 0 3px #e74c3c;
}
#searchInputForm.input-error-blink .search-divider {
  background-color: #e74c3c;
}
#searchInputForm.input-error-blink .custom-select-trigger {
  color: #333;
}
#searchInputForm.input-error-blink .custom-arrow {
    color: #e74c3c;
}
#searchInputForm.input-error-blink .impressive-search-btn {
  color: #e74c3c;
}

#searchInputForm:not(.input-active):not(.input-error-blink) .impressive-search-btn {
  color: #b0b0b0;
}

.custom-select-container {
    position: relative;
    height: 100%;
    flex-shrink: 0;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.custom-select-trigger {
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 20px;
    padding-right: 15px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #777;
    transition: color 0.25s ease;
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
    gap: 8px;
}

.custom-arrow {
    font-size: 12px;
    color: #888;
    transition: transform 0.3s ease, color 0.25s ease;
}

.custom-select-container.open .custom-arrow {
    transform: rotate(180deg);
}

.custom-options {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 160px;
    background: #2e3542;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    overflow: hidden;
    z-index: 10000;
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-select-container.open .custom-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-option {
    padding: 12px 16px;
    font-size: 14px;
    color: #e0e0e0;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    border-bottom: 1px solid #3a424f;
}

.custom-option:last-child {
    border-bottom: none;
}

.custom-option:hover {
    background: #3b4554;
    color: #fff;
}

.custom-option.selected {
    background: #232b35;
    color: #e74c3c;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .custom-options {
        min-width: 180px;
    }
    .custom-option {
        padding: 14px 20px; 
    }
}

.search-divider {
  width: 1px;
  background-color: #e8e8e8;
  height: 22px;
  flex-shrink: 0;
  transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  align-self: center;
}

.search-input-container {
  position: relative;
  display: flex;
  flex-grow: 1;
  align-items: center;
  height: 100%;
}

.brand-search-bar input.search-input {
  background: transparent;
  border: none;
  flex-grow: 1;
  height: 100%;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 15px;
  padding-right: 30px;
  font-size: 13px;
  color: #000000f0;
  outline: none;
  box-shadow: none;
  min-width: 50px;
  border-radius: 0;
  line-height: 38px;
}

.clear-search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #aaa;
  padding: .2rem .4rem;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}
.clear-search-btn:hover {
  color: #e74c3c;
  transform: translateY(-50%) scale(1.1);
}
.clear-search-btn i { display: block; }

.impressive-search-btn {
  background-color: #f8f9fa;
  border: none;
  width: 42px;
  height: 100%;
  border-top-right-radius: 100px;
  border-bottom-right-radius: 100px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 12px;
  position: relative;
  overflow: hidden;
  transition: width 0.08s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.08s cubic-bezier(0.4, 0, 0.2, 1),
              background-color 0.07s ease,
              color 0.07s ease,
              transform 0.05s ease,
              box-shadow 0.07s ease,
              gap 0.08s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 0;
}

.impressive-search-btn i {
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.08s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.07s ease;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.search-btn-text {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transform: translateX(-8px);
  vertical-align: middle;
  margin-left: 0;
  transition: max-width 0.08s cubic-bezier(0.25, 0.1, 0.25, 1),
              opacity 0.05s 0.03s ease-out,
              transform 0.08s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.impressive-search-btn:hover {
  background-color: #e74c3c;
  color: white;
  width: 130px;
  padding: 0 18px 0 12px;
  justify-content: flex-start;
  box-shadow: inset 0 0 0 1px #e74c3c,
              0 3px 10px rgba(231, 76, 60, 0.25);
  gap: 9px;
}

.impressive-search-btn:hover .search-btn-text {
  max-width: 75px;
  opacity: 1;
  transform: translateX(0);
  color: white;
}

.impressive-search-btn:hover i {
  transform: scale(1.05) rotate(5deg);
  color: white;
}

.impressive-search-btn:active {
  transform: scale(0.95);
  background-color: #c0392b;
  color: white;
  box-shadow: inset 0 0 0 1px #c0392b,
              0 1px 4px rgba(192, 57, 43, 0.2);
}

.impressive-search-btn:active i {
  transform: scale(1);
  color: white;
}

.impressive-search-btn:active .search-btn-text {
  opacity: 0.9;
  color: white;
}

.impressive-search-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.35);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1) translate(-50%, -50%);
  transform-origin: 50% 50%;
  z-index: 1;
}

.impressive-search-btn:active::after {
  animation: ripple-effect 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes ripple-effect {
  0% {
    transform: scale(0) translate(-50%, -50%);
    opacity: 1;
  }
  100% {
    transform: scale(18) translate(-50%, -50%);
    opacity: 0;
  }
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  display: none;
}

input[type="search"]::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}

#user-controls-mobile .dropdown-menu.show {
    display: block;
}

input[type="search"]::-moz-search-clear-button {
    display: none;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20, 26, 35, 0.85); 
  backdrop-filter: blur(4px); 
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
  pointer-events: none;
}
.loading-overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.loading-text {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
}
.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-left-color: #e74c3c;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.fb-widget-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10000;
    font-family: var(--fb-font);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 15px; 
}

.fb-hidden { opacity: 0; transform: translateY(20px) scale(0.95); pointer-events: none; }
.fb-visible { 
    opacity: 1; transform: translateY(0) scale(1); 
    transition: all 0.6s var(--fb-ease);
    pointer-events: auto;
}

.fb-content-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    transition: all 0.4s ease;
    transform-origin: right center;
}

.fb-text-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 10px 18px 10px 14px;
    border-radius: 12px 0 0 12px;
    box-shadow: var(--fb-shadow);
    margin-right: -15px;
    padding-right: 25px;
    text-align: right;
    border: 1px solid rgba(255,255,255,0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 50px;
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.fb-label-top {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--fb-text-sub);
    margin-bottom: 2px;
}
.fb-label-bottom {
    font-size: 14px;
    color: var(--fb-text);
    white-space: nowrap;
    line-height: 1.1;
    font-weight: 600;
}

.fb-avatar-area {
    position: relative;
    width: 60px;
    height: 60px;
    cursor: pointer;
    z-index: 2;
    transition: transform 0.3s var(--fb-ease);
}

.fb-avatar-area:hover { transform: scale(1.05); }

.fb-avatar-mask {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid white;
    background: white;
    overflow: hidden;
    box-shadow: var(--fb-shadow);
    position: relative;
}

.fb-img {
    width: 70%;
    height: 80%;
    object-fit: cover;
    position: absolute;
    right: 8px;
    top: 6px;
    z-index: 1;
}

.fb-sheen {
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    z-index: 2;
    pointer-events: none;
}

.fb-avatar-area:hover .fb-sheen {
    animation: sheenAnim 0.7s;
}

@keyframes sheenAnim {
    0% { left: -100%; }
    100% { left: 200%; }
}

.fb-badge-icon {
    position: absolute;
    bottom: -5px;
    right: -3px;
    width: 24px;
    height: 24px;
    background: var(--fb-primary);
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 3;
}
.fb-badge-icon svg { width: 14px; height: 14px; }

.fb-close-btn {
    position: absolute;
    top: 11px;
    right: -17px;
    width: 24px;
    height: 24px;
    background: #f0f2f5;
    border: 1px solid white;
    border-radius: 50%;
    color: #606770;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 10;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    padding: 0;
}

.fb-close-btn:hover { background: #e4e6eb; color: #000; }

.fb-widget-container:hover .fb-close-btn {
    opacity: 1;
    transform: scale(1) translate(-5px, 5px);
}

.fb-reopen-btn {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--fb-primary);
    border: none;
    cursor: pointer;
    box-shadow: var(--fb-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.5);
    transition: all 0.4s var(--fb-ease);
}
.fb-reopen-btn svg { width: 24px; height: 24px; }
.fb-reopen-btn:hover { background: var(--fb-primary-dark); transform: scale(1.1); }

.fb-widget-container.is-minimized .fb-content-wrapper {
    opacity: 0;
    transform: scale(0.8) translateX(20px);
    pointer-events: none;
}

.fb-widget-container.is-minimized .fb-close-btn {
    display: none;
}

.fb-widget-container.is-minimized .fb-reopen-btn {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

@media (max-width: 768px) {
    .fb-widget-container { bottom: 15px; right: 15px; }
    .fb-text-panel { display: none; }
    .fb-close-btn { 
        opacity: 1;
        width: 28px; height: 28px;
        transform: translate(-10px, 0);
        background: white;
    }
}
