.pgs_btn.default.small {
    display: inline-block;
    padding: 10px 10px;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
}

.home-header .mini-nav {
    border-color: #302f2e;
}

.header .mini-nav {
    font-size: 14px;
    border-bottom: 1px solid #e6e6e6;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.header .mini-nav {
    font-size: 14px;
    border-bottom: 1px solid #e6e6e6;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.header .mini-nav a {
    color: #434343;
}
.btn-mini-app {
    margin-bottom: 2px;
    font-size: 14px;
    padding: 3px 7px;
    font-weight: 400;
}
.btn-mini-app .fa {
    font-size: 26px;
    vertical-align: -5px;
    margin-right: 5px;
}

.text-theme-red {
    color: #e63e46 !important;
}
.bg-theme-red {
    background-color: #e63e46 !important;
}
.b-theme-red-1 {
    border-bottom: 1px solid #e63e46 !important;
}
.ml10 {
    margin-left: 10px !important;
}
.header ul {
    margin-bottom: 0;
}
/* .header-links {
    padding: 5px 10px 6px 1px;
    background-color: #e02d2e;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
} */
 .header-links {
    padding: 0;
}
.header-links>li>a {
    padding: 0;
}
.header-links>li>a:hover, .header-links>li>a:focus {
    background-color: transparent;
    color: #fff !important;
}
.header-links .open>a, .header-links .open>a:hover, .header-links .open>a:focus {
    background-color: transparent;
    border-color: #337ab7;
}


.header-links li {
    line-height: 10px;
    padding-left: 10px;
    list-style: none;
    font-size: 12px;
}
.header-links li a{
    color: #fff;
}

.header-links ul.dropdown-menu li a{
    color: #363636 !important;
}

.header-links li a:hover {
    color: #000;
}
/* .header-links li:first-child {
    border-right: 2px solid #363636;
    padding-right: 10px;
} */
.mini-nav {
    position: relative;
    z-index: inherit;
    background-color: transparent;
    padding: 2px 15px 0px 0;
    margin: 0 25px 0 40px;
    border-bottom: 1px solid #2e3037;
}

.select2-container .select2-selection--single {
    display: inline-flex;
    width: 100%;
    height: 42px;
    color: #323232;
    outline: 0;
    border: 1px solid #e3e3e3;
    border-radius: 0;
}

header.default-new, header.header-fancy {
    position: relative;
    z-index: 9;
    background-color: #fff;
}
.page-wrapper {
    background-color: #f2f3f3;
}
.white-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

header .header-navbar-v2 .header-actions {
    z-index: 0;
}
.upload-image-hint {
    border: 2px dashed #518ecb;
    padding: 30px 25px;
}

.add-photo {
    display: inline-block;
    padding-left: 20px;
}
#plupload_uploader .pickfiles {
    padding: 7px 20px;
    font-size: 16px;
}
.mt5 {
    margin-top: 5px !important;
}

.generic-gray {
    color: #7b8397;
}

.add-photo-info>div .fa {
    float: left;
    margin: 0;
    margin-left: -30px;
    color: #3eb549;
    font-size: 20px;
}

#filelist {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center; /* Center images horizontally */
}

.image-preview {
    position: relative;
    width: 150px;
    height: 150px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: move;
}

.sortable-placeholder {
    width: 150px;
    height: 150px;
    border: 2px dashed #ccc;
    background: #f9f9f9;
}

.main-label {
    position: absolute;
    top: 0px;
    /* left: 26%; */
    transform: translateX(75%);
    /* background: #db2d2e; */
    color: white;
    font-size: 11px;
    /* padding: 2px 6px; */
    border-radius: 3px;
    white-space: nowrap;
}
.nav>li>a:hover, .nav>li>a:focus {
    background-color: #e02d2e;
}
#feature_lists {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
}

#feature_lists li {
    flex: 0 0 calc(33.333% - 10px); /* 3 per row */
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px; /* space between checkbox & text */
    font-size: 14px;
}

#feature_lists input[type="checkbox"] {
    width: 16px;
    height: 16px;
}
#feature_lists span {
    padding-top: 0px;
    padding-left: 3px;
}
.form-group input, .form-group textarea, .news-letter .form-control {
    background: transparent;
    border: 1px solid #e3e3e3;
    margin-bottom: 0px;
}
header .header-navbar-v2.desktopTopFixed .header-logo {
    padding-top: 5px;
    padding-bottom: 5px;
}

.car-list2 ul {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0px 0;
    margin: 0;
    list-style: none;
    width: 100%;
}

.car-list2 ul li {
    flex: 1;                        /* make each li take equal space */
    text-align: center;
    font-size: 12px;;
}
.list-inline>li {
    padding-left: 0px;
    padding-right: 0px;
}
.car-list2 ul li:first-child {
    text-align: left;
}

.car-list2 ul li:last-child {
    text-align: right;
}

.header-text-outlined {
    font-family: initial;
    font-size: 160px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 15px;
}

.header-text-outlined .outlined {
    color: transparent;
    -webkit-text-stroke: 2px #f0f0f0; /* white outline */
    opacity: 1; /* faint background effect */
}

.header-text-outlined .solid {
    color: #f0f0f0;   /* solid white (or any color you want) */
    margin-left: 10px; /* spacing between words */
}

.car-thumb {
    width: 255px !important;
    height: 190px !important;
    object-fit: cover;   /* keeps aspect ratio, fills box */
    display: block;
    border-radius: 6px;  /* optional */
}
.slick-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}
.car-details .col-lg-12 .details-block, .car-details.car-detail-layout-modern-1 .details-block {
    padding: 20px 0 !important;
    background-color: transparent !important;
}
.car-detail-post-option {
    margin-bottom: 10px !important;
    border-bottom: 0px solid #eaeaea !important;
}
.do_mention_us {
    position: absolute;
    bottom: -8px;
    font-size: 12px;    
}
.btn_sidebar_phone_number i {
    float: left;
    font-size: 1.3rem;
    padding-top: 3px;
}

@media (min-width: 768px) {
    .navbar-right {
        float: right !important;
        margin-right: 0;
        margin-top: 10px;
    }
    .sub-pages-header .navbar-right {
        margin-top: 7px !important;
    }
}

.desktopTopFixed .navbar-right {
    margin-top: 8px;
}
.ad-photo-gallery-box {
    margin-bottom: 20px !important;
}

.car-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
}
.feature-item i {
    font-size: 14px;
}

.car-feature-list .feature-item {
    flex: 0 0 calc(33.333% - 10px);
    list-style: none;
    margin-bottom: 0px;
    font-size: 14px;
}

.car-item .car-content a {
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 40px;
    line-height: 20px;

}
.seller-comments {
    padding: 10px 10px 0px 15px !important;    
    font-size: 1rem !important;
}

.ad-save-actions-detail {
    position: absolute; 
    top: 35px; 
    right: 50px;
}
.text-theme-maroon {
    color: #db2d2e;
}

/* #main {
    padding-top: 50px;
} */

.d-flex {
    display: flex;
}
button.btn_sidebar_phone_number {
    padding: 11px !important;
    display: block;
}

.btn-whatsapp {
    background-color: #25D366;
    padding: 6.5px 0 !important;
    width: 100%;
}

.ad_whatsapp_icon {
    padding-left: 5px;
    padding-right: 0px;
}
.ad_whatsapp_icon i {
    font-size: 2rem;
}

.ad_phone_no {
    font-size: 1.3rem;
}

.btn-send-message {
    background-color: #161920;
    padding: 12px !important;
    width: 100%;
    margin-top: 15px;
    font-size: 1rem;
}
.btn-send-message i {
    margin-right: 7px;
}

.chat-sender {
    max-width: 70%;
    padding: 15px;
    border-radius: 12px;
    background-color: #db2d2e;
    color: #fff;
    word-wrap: break-word;
    font-size: 14px;
    line-height: 1.3;
}
.chat-receiver {
    max-width: 70%;
    padding: 15px;
    border-radius: 12px;
    background-color: #161920;
    color: #fff;
    word-wrap: break-word;
    font-size: 14px;
    line-height: 1.3;
}
.chat-timestamp {
    font-size: 0.5em;
    color: #f5f5f5;
    margin-bottom: -10px;
}
.chat-user-icon {
    font-size: 0.70em;
    position: relative;
    top: -1px;
    padding-right: 3px;
}
.chat-message {
    padding: 5px 0;
}


.owl-carousel .owl-item img {
    max-height: 195px;
    object-fit: cover;
}

.ad-list-actions {
    top: 0;
    right: 2%;
    position: absolute;
}

.ad-list-actions .button {
    font-size: 0.7rem;
    padding: 2px 8px;
}
.ad-list-actions ul li a {
    padding: 3px 15px;
}
.ad-list-actions .btn-link:hover {  
    text-decoration: none;
}   
.my-ads-img {
    max-height: 200px;
    object-fit: cover;
}

.well {
    min-height: 20px;
    background-color: #0000001a;
    border: 0px solid #0000001a;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}
.dashboard-profile {
    padding: 10px 18px 30px;
}
.profile-photo {
    border-radius: 50%;
    border: 3px solid #e6eaf3;
    margin-right: 25px;
    overflow: hidden;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 120px;
    height: 120px;
}
.dashboard-profile h2 {
    margin: 0;
    color: #db2d2e;
}
.dashboard-profile p {
    font-size: 0.8rem;
    display: inline-block;
}
.dashboard-nav {
    border: 0px solid #EAEDEF;
    border-collapse: collapse;
    display: table;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: -40px;
    table-layout: fixed;
    text-align: center;
    width: 100%;
}
.dashboard-nav li.active {
    position: relative;
    background-color: #db2d2e;
}
.dashboard-nav li.active i {
    color: #fff;
}
.dashboard-nav li {
    display: inline-block;
    margin-right: 5px;
    border-top-right-radius: 10px !important;
    border-top-left-radius: 10px !important;
    background-color: #161920;
    padding: 0 15px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.dashboard-nav i {
    color: #db2d2e;
}
.dashboard-nav li.active:before {
    content: ' ';
    position: absolute;
    display: block;
    left: 50%;
    bottom: -10px;
    border: 5px solid #db2d2e;
    border-color: #db2d2e transparent transparent;
    margin-left: -5px;
}
.dashboard-nav li a {
    display: block;
    padding: 12px 0;
    color: #fff;
}
.dashboard-nav li.active:after {
    content: ' ';
    position: absolute;
    width: 100%;
    display: block;
    height: 2px;
    background-color: #db2d2e;
    left: 0;
    bottom: 0;
}
.dashboard-nav li:hover {
    background-color: #ffffff24;
}
.tab-vertical.tabs-left .car-item .car-image > img {
    object-fit: cover;
    width: 255px !important;
    height: 190px !important;
}
.bg-success {
    background-color: #48a331 !important;
}

.ad-box-stats {
    position: absolute;
    right: 3%;
    top: 29%;
    font-size: 12px;
    line-height: 01;
    text-align: right;
}
.car-details.car-detail-layout-modern-1 .car-price.aside-price .new-price {
    font-size: 2rem !important;
    padding-top: 8px;
}

.my-ads-sold-wrapper{
    list-style: none;
    position: absolute;
}
.my-ads-sold-wrapper li {
    float: left;
    margin-right: 5px;
}

.badge {
    background-color: none;
}

.danger {
    background: #db2d2e;
}

.success {
    background: #5cb85c;
}

.warning {
    background-color: #f0ad4e;
}
.black {
    background: #323232;
}

.txt-danger {
    color: #db2d2e;
}
.sold-out-label {
    position: absolute;
    top: 6px;
    left: 10px;
    background: rgb(219 45 46);
    color: #fff;
    padding: 0px 5px;
    font-size: .6rem;
}
.drop-down-multilevel .divider {
    height: 1px;
    margin: 9px 0;
    overflow: hidden;
    background-color: #e5e5e5;
}
.cars-top-filters-box-right.view-all-button {
    position: absolute;
    right: 0;
}
.all-cars-list-arch .car-grid .car-image img, .product-listing .car-grid .car-image img {
    object-fit: cover;
    width: 255px !important;
    height: 190px !important;
}

.search-vehicle-info-2 {
    font-size: 13px;
}
.list-unstyled {
    padding-left: 0;
    list-style: none;
}
.search-vehicle-info-2 li {
    list-style: none;
    display: inline-block;
    line-height: 22px !important;
    vertical-align: 1px;
}
.search-vehicle-info-2 li:after {
    content: "|";
    padding-top: 0px;
    padding-right: 7px;
    padding-bottom: 0px;
    padding-left: 10px;
    color: #cbd4d9;
    vertical-align: 1px;
}
.search-vehicle-info-2 li:last-child:after {
    visibility: hidden;
    padding: 0 !important;
    width: 0 !important;
}
.ad-other-details {
    position: relative;
    bottom: -5px;
}
.address-listing {
    padding-top: 0px;
    font-size: 14px;
    margin-bottom: 0;
}
.elementor-widget-cdhl_vehicles-listing .vehicle-listing-view-list .vehicle-listing .car-grid {
    border: 1px solid #e3e3e3;
    background: #fff;
    padding: 15px;
    margin-top: 30px;
    padding-bottom: 8px;
}

.listing-phone-number span {
    font-size: 0.8rem;
}
.listing-phone-number i {
    font-size: 0.6rem;
    padding-right: 5px;
}

button.listing-phone-number {
    padding: 3px 10px !important;
}

button.listing-whatsapp {
    padding: 7px 10px !important;
    background-color: #25D366;
}
.all-cars-list-arch .car-grid .car-details .car-list-seller-info {
    display: flex;
    margin-top: 0px;
    padding-bottom: 5px;
}
.list-inline {
    margin-bottom: 0;
}
.dropdown-menu-right {
    left: auto !important;
}
.top-sell-your-car-button {
    color: #fff !important;
}

.year-dropdown {
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
    display: none;
    z-index: 1000;
}
.year-dropdown div {
    padding: 0px 10px;
    cursor: pointer;
    font-size: 15px;
}
.year-dropdown div:hover {
    background: #f0f0f0;
}
.year-picker {
    position: relative;
    /* width: 200px; */
}
.inline-columns-wrapper {
    display: inline-block;
    margin-bottom: 10px;
    vertical-align: middle;
}
.inline-input {
    display: inline-block;
    width: 42%;
    vertical-align: middle;
}
.inline-input-btn {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    left: 9px;
    top: 0px;
}
.inline-input-btn button {
    padding: 5px 10px !important;
    margin-left: 8px;
}
.inline-input input {
    height: 34px;
    border-radius: 0;
    border-color: #ddd;
    background-color: #fff;
}

.custom-dropdown {
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
    display: none;
    z-index: 1000;
}
.custom-dropdown div {
    padding: 0px 10px;
    cursor: pointer;
    font-size: 15px;
}
.custom-dropdown div:hover {
    background: #f0f0f0;
}
.picker {
    position: relative;
}
.sidebar-filters label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0;
}
.sidebar-filters input[type="checkbox"] {
    margin-right: 5px;
}
.sidebar-filters .badge {
    padding: 3px 7px;
    font-size: 10px;
    background-color: #db2d2e;
}

.swal-city-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-height: 360px;
    overflow: auto;
    padding: 6px 2px;
}
.swal-city-item {
    width: 48%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    box-sizing: border-box;
}
.swal-city-label {
    display: flex;
    gap: 8px;
    align-items: center;
}
.swal-badge {
    padding: 2px 8px;
    border-radius: 12px;
    background: #f1f1f1;
    font-size: 12px;
    border: 1px solid #e0e0e0;
}
.swal-city-item input[type="checkbox"] {
    transform: scale(1.05);
    margin-right: 6px;
}

.btn-google:hover { background-color: #c23321 !important; }
.btn-facebook:hover { background-color: #145dbf !important; }
.btn-linkedin:hover { background-color: #005983 !important; }


.price-slide .slider-range .ui-slider-handle, .year-range-slide .slider-year-range .ui-slider-handle {
    width: 7px;
    height: 16px;
    top: -6px;
    background: #db2d2e;
    border: none;
    margin: 0;
    margin-left: -3px;
    z-index: 1;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
    border-color: #db2d2e;
    background: #db2d2e !important;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    outline: 0;
}
.price-slide .slider-range .ui-slider-handle, .year-range-slide .slider-year-range .ui-slider-handle {
    width: 7px !important;
    height: 16px !important;
    top: -6px !important;
    background: #db2d2e;
    border: none;
    margin: 0;
    margin-left: -3px !important;
    z-index: 1;
}
.ui-slider .ui-slider-handle {
    position: absolute;
    width: 7px;
    height: 16px;
    cursor: default;
    -ms-touch-action: none;
    touch-action: none;
    margin-left: -3px;
}
.ui-slider-horizontal {
    height: 4px !important;
}
.ui-widget.ui-widget-content {
    border: 0px solid #c5c5c5 !important;
}

.dealer-slider-amount.range-amount, .dealer-year-amount.range-amount, .dealer-mileage-amount.range-amount {
    padding: 20px 0 0 0;
    font-weight: bolder;
    color: #363636;
    font-size: 1rem;
}
.vehicle-filter-wrapper {
    position: absolute;
    right: 10px;
    top:10px;
}
.other-filters-wrapper .title {
    margin-bottom: 0px !important;
    padding-bottom: 2px;
}
.other-filters-wrapper .title h6{ 
    margin-bottom: 0px !important;
    margin-top: 5px !important;
}
.sidebar-collapse-wrapper .panel-group {
    margin-bottom: 10px !important;
}

.sidebar-collapse-wrapper {
    padding: 0 20px;
    margin-bottom: 10px;
}

#city-filters, #condition-filters, #registration-filters, #model-filters, #make-filters, #transmission-filters, #assembly-filters, #body-type-filters, #engine-type-filters {
    padding-top: 5px;
}

.other-filters-wrapper {
    padding-top: 5px;
    padding-bottom: 5px;
    display: block;
}

.loading-skeleton .skeleton-box,
.loading-skeleton .skeleton-line {
    background: linear-gradient(90deg, #eee 25%, #ddd 50%, #eee 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.loading-skeleton .skeleton-box {
    width: 265px;
    height: 190px;
    margin: auto;
}

.loading-skeleton .skeleton-line {
    height: 14px;
    margin-bottom: 8px;
}

.loading-skeleton .skeleton-line.w-25 { width: 25%; }
.loading-skeleton .skeleton-line.w-50 { width: 50%; }
.loading-skeleton .skeleton-line.w-75 { width: 75%; }

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.panel-group .panel-heading+.panel-collapse>.list-group, .panel-group .panel-heading+.panel-collapse>.panel-body {
    border-top: 0px solid #ddd;
}

.custom-top-filder-wrapper {
    background: #fff;
    box-shadow: 0 10px 50px rgba(0, 0, 0, .05);
    padding: 45px 35px 35px 35px;
    border: none;
    border-radius: 7px;
}

.custom-top-filder-wrapper .slider-content.vehicle-search-section.style-2.light .search-tab h6{
    color: #db2d2e !important;
    font-size: 2.5rem;
    text-transform: uppercase;
}

.custom-top-filder-wrapper .slider-content.vehicle-search-section.style-2.light .search-tab p {
    color: #323232 !important;
}

.slider-content.vehicle-search-section.style-2 .search-tab .cardealer-tabcontent .form-group .form-control {    
    border: 1px solid rgb(227, 227, 227);   
}
select.selectpicker {
    border: 1px solid #e3e3e3;
    height: auto;
    padding: 12px 15px;
    color: #323232;
}
.slider-content.vehicle-search-section.style-2.light .search-tab .cardealer-tabcontent button:before {
    background: #db2d2e;
}
.slider-content.vehicle-search-section.style-2.light .search-tab .cardealer-tabcontent button:hover {
    color: #fff;
}

.custom-color-select {
    position: relative;
    width: 100%;
    cursor: pointer;
    border: 1px solid #ddd;
    background: #fff;
    padding: 0px;
}

.custom-color-selected {
    padding: 6px 10px;
    font-size: 0.9rem;
    background: #fff;
}

.custom-color-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-top: 4px;
    display: none;
    z-index: 999;
}

.custom-color-option {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    transition: background 0.2s;
}

.custom-color-option:hover {
    background: #f0f0f0;
}

.color-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-right: 8px;
    border: 1px solid #ccc;
}

input.form-control, textarea.form-control  {
    padding: 6px 10px;
    font-size: 0.9rem;
}

select.form-control {
    padding: 6px;
    font-size: 0.9rem;
}

/* Small devices Menu */
/* Hamburger icon on left */
/* .hamburger-icon {
    position: fixed;
    z-index: 999;
    top: 4vh;
    right: 5vw;
    cursor: pointer;
    transition: all 0.5s ease;
} */
.hamburger-icon span {
    display: block;
    width: 30px;
    height: 4px;
    margin: 5px 0;
    background-color: #a39f9f;
    transition: all 0.5s ease;
}
.menu-links li {
    position: relative;
}
.sub-menu {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 200px;
    z-index: 999;
}
.menu-item-has-children:hover > .sub-menu {
    display: block;
}
@media (max-width: 991px) {
    .menu-links {
        flex-direction: column;
    }
    .sub-menu {
        position: static;
    }
}



/* Sliding menu from right */
.menu-pane {
    position: fixed;
    top: 0;
    right: -75vw; /* start hidden on right */
    width: 75vw;
    height: 100vw;
    background-color: #161920;
    transition: all 0.5s ease;
    z-index: 998;
    padding: 2rem;
}

/* Show menu when checkbox checked */
#openmenu:checked ~ .menu-pane {
    right: 0;
}

/* Move hamburger along with menu */
#openmenu:checked ~ .hamburger-icon {
    left: auto;
    right: 75vw; /* same as menu width minus offset */
}

/* Hamburger animation */
#openmenu:checked ~ .hamburger-icon span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    background-color: #161920;
}
#openmenu:checked ~ .hamburger-icon span:nth-child(2) {
    opacity: 0;
}
#openmenu:checked ~ .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    background-color: #161920;
}

/* Menu links */
#secondary-menu.menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
#secondary-menu.menu-links li {
    margin: 1rem 0;
}
#secondary-menu.menu-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}
#secondary-menu.menu-links li .sub-menu {
    display: none;
    margin-left: 1rem;
}
#secondary-menu.menu-links li:hover .sub-menu {
    display: block;
}

/* Hide hamburger/menu on large screens */
@media only screen and (max-width: 600px) {
    .hamburger-icon {
        position: fixed;
        z-index: 999;
        top: 2vh;
        right: 5vw;
        cursor: pointer;
        transition: all 0.5s ease;
    }
    .menu-pane {
        height: auto;
    }
    #secondary-menu ul.sub-menu li {
        margin: 5px 30px;
    }
    #secondary-menu ul {
        list-style: disc;
    }
    header .header-navbar-v2.desktopTopFixed .header-logo {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    header .header-navbar-v2 .header-logo {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    .sticky-logo {
        height: 40px;
    }
    .site-logo {
        height: 40px !important;
    }
    .header-text-outlined {
        font-size: 2.2rem;
    }
    
    .elementor-25579 .elementor-element.elementor-element-7605885 > .elementor-widget-container {
        margin: 0px 15px 0px 25px;
    }
    .elementor-25579 .elementor-element.elementor-element-31f1853 > .elementor-widget-container {
        margin: -37px 0px -20px 0px;
    }

    .cars-top-filters-box-right.view-all-button {
        position: relative;
        right: 0;
        margin-bottom: 15px;
    }
    .car-thumb {
        width: 100% !important;
        height: 300px !important;
        max-height: 300px;
    }
    .ad-other-details {
        bottom: 0;
        padding: 5px 0;
    }
    .all-cars-list-arch .car-grid .car-image img, .product-listing .car-grid .car-image img {
        display: flex;
        width: 100% !important;
    }
    .elementor-column-gap-default>.elementor-column>.elementor-element-populated {
        padding: 0;
    }
    .vehicle-listing-wrapper.vehicle-listing-view-list {
        padding: 0 15px;
    }
    #secondary-menu.menu-links li:hover .sub-menu {
        display: inline;
    }
}

#secondary-menu > li.current-menu-ancestor > a {
    color: #db2d2e !important;
}

/* ================== Side Bar Menu for Small Devices */
/* Base styles */
.responsive-menu {
    width: 100%;
    background: #161920;
    color: #fff;
    position: relative;
}

/* Hamburger icon for mobile */
.hamburger {
    display: none; /* hide by default for large screens */
    width: 30px;
    height: 25px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
}

.hamburger span {
    display: block;
    height: 4px;
    background: #fff;
    border-radius: 2px;
}

/* Menu content */
.menu-content {
    padding: 15px;
}

/* Mobile view */
@media (max-width: 768px) {
    .hamburger {
        display: flex; /* show hamburger on mobile */
    }

    .menu-content {
        display: none; /* collapsed by default */
    }

    .menu-content.show {
        display: block; /* expanded on click */
    }
}

/* Larger screens: always show menu content */
@media (min-width: 769px) {
    .menu-content {
        display: block;
    }

    .hamburger {
        display: block;
    }
}

/* Optional: smooth transition */
.menu-content {
    transition: max-height 0.3s ease;
}



/* Hide checkbox */
.collapse-toggle {
    display: none;
}

/* Panel collapse default: hidden */
.panel-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

/* Show content when checkbox is checked */
.collapse-toggle:checked + .panel-heading + .panel-collapse {
    max-height: 500px; /* adjust based on content */
}

/* Arrow rotation */
.collapse-toggle + .panel-heading .toggle-arrow {
    transition: transform 0.3s ease;
    float: right;
    margin-top: 8px;
}

.collapse-toggle:checked + .panel-heading .toggle-arrow {
    transform: rotate(180deg);
}

.sidebar-collapse-wrapper label.panel-heading {
    padding: 5px 0;
}

.panel-collapse .panel-body {
    padding: 0 0 10px 0;
}





/* Sidebar base */
.sidebar {
  width: 250px;
  background: #090a0d;
  color: #fff;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  padding: 20px;
  transition: transform 0.3s ease;
  z-index: 2000;
}

/* Sidebar nav links */
.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav ul li {
  margin: 15px 0;
}

.sidebar-nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.2s;
}

.sidebar-nav ul li a:hover {
  color: #f0ad4e;
}

/* Overlay for mobile */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1500;
}

/* Sidebar toggle button */
.sidebar-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 15px;
  color: #fff;
  border: none;
  padding: 5px 10px;
  font-size: 16px;
  cursor: pointer;
  z-index: 2500;
}

/* ==================== Responsive ==================== */
@media (max-width: 991px) {
  /* Hide sidebar by default */
  .sidebar {
    transform: translateX(-100%);
  }

nav.sidebar-nav {
    margin-top: 60px;
}

  /* Show when active */
  .sidebar.active {
    transform: translateX(0);
  }

  /* Show toggle button on mobile */
  .sidebar-toggle {
    display: block;
  }

  /* Show overlay when active */
  .sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .custom-top-filder-wrapper {
        margin: 0 20px 0 20px;
    }

    .home-featured-cars-wrapper {
        padding: 0 20px;
        margin-bottom: 40px;
    }
    [class*="col-"] > .car-item {
        display: block;
    }
    .car-list2 ul li {
        font-size: 16px;
    }
    .car-price bdi {
        font-size: 16px;
    }
    .car-item .car-content a {
        font-size: 20px;
        text-align: center;
        padding-top: 5px;
    }
    .car-feature-list .feature-item {
        flex: 0 0 calc(50% - 10px);
        font-size: 16px;
    }
    #listing_sort {
        display: none;
    }
    .right-car-listing-wrapper {
        margin-top: -35px !important;
    }

    .myads-well-wrapper {
        padding: 15px 0;
    }
    .dashboard-nav {
        display: flex;
        margin-right: 0;
        margin-bottom: -35px;
    }
    .dashboard-nav li a {
        padding: 0;
        font-size: 12px;
    }
    .dashboard-nav li {
        padding: 0 5px;
    }
    .profile-photo {
        width: 70px;
        height: 70px;
        margin-top: 18px;
    }
    .dashboard-profile h2 {
        font-size: 1.5rem;
    }
    .myads-intro-wrapper {
        height: 310px;
    }
    #feature_lists li {
        flex: 0 0 calc(50% - 10px);
    }
    .image-preview {
        width: 80px;
        height: 80px;
        display: flex;
        margin-right: 10px !important;
    }
    .image-preview img {
        width: 80px;
        height: 80px;
        object-fit: cover;
    }
}

.sidebar-filter-box {
    padding: 0 10px;
    margin: 15px 0 5px 0;
}

.right-car-listing-wrapper {
    margin-top: -15px;
}

.social-share {
    position: relative;
    display: inline-block;
}

.share-btn {
    background: #db2d2e;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.share-btn i {
    margin-right: 6px;
}

/* Hide icons by default */
#social-links {
    display: none;
    position: absolute;
    top: 45px;
    right: 16px;
    background: #fff;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 100;
}

#social-links ul {
    display: flex;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

#social-links ul li a {
    font-size: 22px;
    transition: transform 0.2s ease;
}

#social-links ul li a:hover {
    transform: scale(1.2);
}

/* Official brand colors */
#social-links .fa-facebook-square { color: #1877F2; }
#social-links .fa-twitter { color: #1DA1F2; }
#social-links .fa-linkedin { color: #0077B5; }
#social-links .fa-whatsapp { color: #25D366; }



.social-share {
    display: flex;
    float: right;
    padding: 0 20px 15px 0;
}

.footer-widget-wrapper li {
    padding: 0 !important;
}

.footer-widget-wrapper li a{
    font-size: 14px;
}