/* ============================================================================
   Carzchoice â€” Website Brand Layer
   Primary Blue: #03AFEF   Primary Red: #A72C2D   Neutrals only
   Loaded last so it refines the template without changing any behaviour.
   ========================================================================== */

:root {
    --brand-blue: #03AFEF;
    --brand-blue-hover: #0297d3;
    --brand-blue-dark: #0279a8;
    --brand-blue-soft: #e7f8fe;
    --brand-blue-softer: #f4fbfe;

    --brand-red: #A72C2D;
    --brand-red-hover: #8d2425;
    --brand-red-soft: #fbeeee;

    --ink-900: #131a22;
    --ink-800: #1f2733;
    --ink-700: #37414f;
    --ink-600: #55606f;
    --ink-500: #6f7a89;
    --ink-400: #9aa4b2;

    --line: #e9edf3;
    --line-strong: #dde3ea;
    --surface: #ffffff;
    --surface-alt: #f6f8fb;

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;

    --shadow-1: 0 1px 2px rgba(19, 26, 34, .05), 0 2px 8px rgba(19, 26, 34, .05);
    --shadow-2: 0 10px 30px rgba(19, 26, 34, .10);
    --shadow-3: 0 18px 44px rgba(19, 26, 34, .16);

    --font-display: 'Poppins', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Source Sans Pro', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ------------------------------------------------------------------ base */
body {
    font-family: var(--font-body);
    color: var(--ink-600);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.heading-panel h1,
h1.display-4 {
    font-family: var(--font-display);
    color: var(--ink-900);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.25;
}

h1 { font-size: clamp(1.55rem, 1.3rem + 1vw, 2.1rem); }
h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); }
h3 { font-size: clamp(1.12rem, 1.02rem + .5vw, 1.35rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }

a {
    transition: color .2s ease, background-color .2s ease, border-color .2s ease,
        box-shadow .2s ease, transform .2s ease, opacity .2s ease;
}

a:hover {
    color: var(--brand-blue);
}

::selection {
    background: rgba(3, 175, 239, .22);
    color: var(--ink-900);
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: #cbd3dd;
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: #aab4c1; background-clip: padding-box; }

.main-content-area {
    background-color: var(--surface-alt);
}

.text-muted {
    color: var(--ink-500) !important;
}

.color-red,
.color-red {
    color: var(--brand-red) !important;
}

.text-danger { color: var(--brand-red) !important; }
.text-primary { color: var(--brand-blue) !important; }
.text-info { color: var(--brand-blue-dark) !important; }

/* -------------------------------------------------------------- buttons */
.btn {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .01em;
    border-radius: var(--radius-sm);
    padding: .58rem 1.25rem;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease,
        box-shadow .2s ease, transform .2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    line-height: 1.4;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn:focus-visible,
.btn:focus {
    box-shadow: 0 0 0 3px rgba(3, 175, 239, .28);
}

.btn-theme,
a.btn-theme {
    background-color: var(--brand-blue);
    border: 1.5px solid var(--brand-blue);
    color: #fff;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 14px rgba(3, 175, 239, .28);
}

.btn-theme:hover,
.btn-theme:focus,
.btn-theme:active,
.btn-theme.active,
.open > .dropdown-toggle.btn-theme,
a.btn-theme:hover,
a.btn-theme:focus {
    background-color: var(--brand-blue-hover);
    border-color: var(--brand-blue-hover);
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(3, 175, 239, .34);
    transform: translateY(-1px);
}

.btn-theme.btn-outline {
    background-color: transparent;
    border: 1.5px solid rgba(3, 175, 239, .65);
    color: var(--brand-blue-dark);
    box-shadow: none;
}

.btn-theme.btn-outline:hover,
.btn-theme.btn-outline:focus {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(3, 175, 239, .3);
}

.btn-primary {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--brand-blue-hover);
    border-color: var(--brand-blue-hover);
    color: #fff;
    box-shadow: 0 8px 22px rgba(3, 175, 239, .3);
}

.btn-success {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
}

.btn-success:hover,
.btn-success:focus {
    background-color: var(--brand-blue-hover);
    border-color: var(--brand-blue-hover);
    color: #fff;
}

.btn-danger {
    background-color: var(--brand-red);
    border-color: var(--brand-red);
    color: #fff;
}

.btn-danger:hover,
.btn-danger:focus {
    background-color: var(--brand-red-hover);
    border-color: var(--brand-red-hover);
    color: #fff;
    box-shadow: 0 8px 22px rgba(167, 44, 45, .28);
}

.btn-outline-secondary {
    border-color: var(--line-strong);
    color: var(--ink-600);
}

.btn-outline-secondary:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue-dark);
    background: var(--brand-blue-soft);
}

.btn-sm {
    font-size: 13.5px;
    padding: .4rem .9rem;
}

.btn-lg {
    font-size: 16px;
    padding: .75rem 1.8rem;
    border-radius: var(--radius);
}

.btn-block {
    width: 100%;
}

.btn:disabled,
.btn.disabled {
    opacity: .55;
    transform: none;
    box-shadow: none;
}

/* ----------------------------------------------------------------- cards */
.card {
    background-color: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-1);
    overflow: hidden;
}

.card.shadow,
.card.shadow-sm {
    box-shadow: var(--shadow-1);
}

.card-header {
    background-color: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 16px 20px;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--ink-800);
}

.card-body {
    padding: 20px;
}

.card-title {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--ink-900);
}

/* section headings used across home / listing pages */
.heading-panel h1 {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 1.15rem + .7vw, 1.7rem);
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: -.02em;
    padding-bottom: 14px;
}

.heading-panel h1::before {
    background-color: var(--brand-blue);
    height: 3px;
    width: 64px;
    left: 0;
    right: auto;
    margin: 0;
    bottom: -2px;
    border-radius: 3px;
}

.heading-panel h1::after {
    background-color: var(--line);
    height: 1px;
    width: auto;
    left: 0;
    right: 0;
    margin: 0;
    bottom: -1px;
}

.heading-color {
    color: var(--brand-blue);
}

/* ------------------------------------------------------ listing car cards */
.category-grid-box-1 {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-1);
    background: #fff;
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.category-grid-box-1:hover {
    box-shadow: var(--shadow-2);
    transform: translateY(-4px);
    border-color: rgba(3, 175, 239, .35);
}

.category-grid-box-1 .image {
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}

.category-grid-box-1 .image img {
    transition: transform .45s ease;
}

.category-grid-box-1:hover .image img {
    transform: scale(1.05);
}

.category-grid-box-1 .short-description-1 {
    padding: 16px 18px 18px;
}

.category-grid-box-1 .short-description-1 h3,
.category-grid-box-1 .short-description-1 h3 a {
    font-family: var(--font-display);
    font-size: 16.5px;
    font-weight: 600;
    color: var(--ink-900);
    line-height: 1.4;
    letter-spacing: -.01em;
}

.category-grid-box-1 .short-description-1 h3 a:hover {
    color: var(--brand-blue);
}

.ad-price {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--brand-blue-dark) !important;
}

.category-grid-box-1 .location,
.short-description-1 .location,
p.location {
    color: var(--ink-500);
    font-size: 14px;
    margin-bottom: 14px;
}

.category-grid-box-1 .location i,
.short-description-1 .location i {
    color: var(--brand-red);
}

/* corner ribbon on featured cards */
.featured-ribbon {
    z-index: 3;
}

.featured-ribbon span {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--brand-red);
    color: #fff;
    font-family: var(--font-display);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .28rem .6rem;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(167, 44, 45, .3);
    line-height: 1.2;
}

/* ---------------------------------------------------------------- header */
header.sticky-top {
    box-shadow: 0 1px 0 rgba(19, 26, 34, .06), 0 6px 22px rgba(19, 26, 34, .05);
    border-bottom: 1px solid var(--line);
    z-index: 1030;
}

.header-top {
    background: var(--ink-900);
}

.mega-menu .menu-list-items {
    background: #fff;
}

.mega-menu .menu-links > li > a {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-700);
    padding: 24px 16px;
}

.mega-menu .menu-links > li > a:hover,
.mega-menu .menu-links > li.active > a,
.mega-menu .menu-links > li > a:focus {
    color: var(--brand-blue);
}

.mega-menu .menu-links > li.active > a {
    font-weight: 600;
    position: relative;
}

.mega-menu .menu-links > li.active > a::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    height: 2px;
    background: var(--brand-blue);
    border-radius: 2px;
}

.mega-menu .menu-links > li > a .fa-indicator {
    color: var(--ink-400);
    font-size: 12px;
    margin-left: 5px;
    transition: transform .2s ease;
}

.mega-menu .menu-links > li > a:hover .fa-indicator {
    transform: rotate(180deg);
    color: var(--brand-blue);
}

.menu-logo img {
    height: 46px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

/* ------------------------------------------------ header row layout */
/* one single row: logo | nav (flex-grow) | actions */
@media (min-width: 992px) {
    .menu-list-items .row > .d-flex {
        flex-wrap: nowrap;
        align-items: center;
    }

    .menu-list-items .row > .d-flex > .col-md-2 {
        flex: 1 1 0;
        width: auto;
        max-width: none;
        min-width: max-content;
    }

    .menu-list-items .row > .d-flex > .col-md-7 {
        flex: 0 1 auto;
        width: auto;
        max-width: none;
        min-width: 0;
    }

    .menu-list-items .row > .d-flex > .col-md-4 {
        flex: 1 1 0;
        width: auto;
        max-width: none;
        min-width: max-content;
    }
}

@media (min-width: 993px) {
    .mega-menu .menu-links {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        float: none;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .mega-menu .menu-links > li {
        display: block;
        float: none;
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .mega-menu .menu-links > li > a {
        line-height: 20px;
        padding: 26px 14px;
        width: auto;
    }

    .mega-menu .menu-links > li.active > a::after {
        bottom: 12px;
        left: 14px;
        right: 14px;
    }
}

/* mega dropdown */
.mega-menu .drop-down {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2);
    padding: 22px 24px;
    margin-top: 8px;
    border-top: 3px solid var(--brand-blue);
}

.mega-menu .drop-down h3 {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-400);
    margin-bottom: 12px;
}

.mega-menu .drop-down ul li a {
    color: var(--ink-600);
    font-size: 15px;
    padding: 6px 0;
    display: inline-block;
}

.mega-menu .drop-down ul li a:hover {
    color: var(--brand-blue);
    transform: translateX(3px);
}

.mega-menu .drop-down .by-make li {
    display: inline-block;
    margin: 0 8px 8px 0;
}

.mega-menu .drop-down .by-make img {
    height: 34px;
    width: auto;
    filter: grayscale(100%);
    opacity: .65;
    transition: filter .25s ease, opacity .25s ease, transform .25s ease;
    padding: 4px 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    margin: 5px 0;
}

.mega-menu .drop-down .by-make li a:hover img,
.mega-menu .drop-down .by-make img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-2px);
    border-color: rgba(3, 175, 239, .5);
    box-shadow: var(--shadow-1);
}

/* header action buttons */
.logincall .btn {
    font-size: 14px;
    padding: .5rem 1.1rem;
    border-radius: var(--radius-sm);
}

.logincall .myname {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--ink-800);
    margin-left: 8px;
}

.logincall .dropdown-menu {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-2);
    padding: .45rem;
    margin-top: .55rem;
}

.logincall .dropdown-menu li a {
    display: block;
    padding: .55rem .8rem;
    border-radius: var(--radius-sm);
    color: var(--ink-700);
    font-size: 14.5px;
    font-weight: 500;
}

.logincall .dropdown-menu li a:hover {
    background: var(--brand-blue-soft);
    color: var(--brand-blue-dark);
}

img.resize {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border: 2px solid var(--line-strong) !important;
    border-radius: 50%;
}

/* floating book-now tab */
.mycustombtn {
    background-color: var(--brand-red) !important;
    border: 1px solid var(--brand-red) !important;
    color: #fff !important;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 13px;
    padding: .6rem 1.2rem;
    box-shadow: 0 8px 24px rgba(167, 44, 45, .35);
}

.mycustombtn:hover,
.mycustombtn:focus {
    background-color: var(--brand-red-hover) !important;
    border-color: var(--brand-red-hover) !important;
    color: #fff !important;
}

/* --------------------------------------------------------- search / hero */
#banner::before {
    background: linear-gradient(100deg, rgba(10, 14, 19, .78) 0%, rgba(10, 14, 19, .55) 55%, rgba(10, 14, 19, .45) 100%);
}

.search-container {
    padding-top: 132px;
}

.search-container h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.35rem);
    letter-spacing: -.02em;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 8px;
}

.search-container p {
    color: rgba(255, 255, 255, .82);
    font-size: 17px;
    margin-bottom: 24px;
}

.search-container p strong {
    color: var(--brand-blue);
    font-weight: 600;
}

.search-container .form-group .form-control {
    height: 56px;
    font-size: 15.5px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
}

.search-container .search-form-inner {
    align-items: center;
    gap: 0;
}

.search-container .form-group label {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-600);
    margin-bottom: 6px;
}

.search-container .btn-theme {
    height: 56px;
    padding: 0 2rem;
    font-size: 15.5px;
}

/* body-type tiles */
.box {
    transition: transform .22s ease;
}

.box:hover {
    transform: translateY(-4px);
}

.box h4,
.box h4 a {
    font-family: var(--font-display);
    color: var(--ink-700);
    font-size: 14.5px;
    font-weight: 600;
}

.box:hover h4,
.box:hover h4 a {
    color: var(--brand-blue);
}

.subTitle {
    color: var(--ink-500);
    font-size: 14px;
}

.section-search.card,
.section-search.search-style-2 {
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2);
    overflow: hidden;
}

.section-search .nav-tabs {
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.section-search .nav-tabs .nav-item .nav-link,
.search-style-2.section-search .nav-tabs .nav-link {
    color: var(--ink-500);
    font-family: var(--font-display);
    font-size: 14.5px;
    font-weight: 500;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    padding: 15px 22px;
}

.section-search .nav-tabs .nav-link:hover,
.search-style-2.section-search .nav-tabs .nav-link:hover {
    color: var(--brand-blue-dark);
    background: transparent;
    border-bottom-color: rgba(3, 175, 239, .4);
}

.section-search .nav-tabs .nav-link.active,
.section-search .nav-tabs .nav-link.activelink,
.search-style-2.section-search .nav-tabs .nav-link.active,
.search-style-2.section-search .nav-tabs .nav-link.activelink {
    background: transparent !important;
    color: var(--brand-blue) !important;
    font-weight: 600;
    border-bottom: 2px solid var(--brand-blue) !important;
}

.nav-tabs .nav-link.active {
    background-color: transparent;
    color: var(--brand-blue);
    font-weight: 600;
    border: 1px solid var(--line);
    border-bottom-color: var(--brand-blue);
}

.nav-tabs .nav-link:hover {
    border-color: transparent;
    border-bottom-color: rgba(3, 175, 239, .45);
    color: var(--brand-blue-dark);
}

.tab-content {
    background: #fff;
}

/* --------------------------------------------------------------- forms */
.form-label {
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-700);
    margin-bottom: .4rem;
    letter-spacing: .01em;
}

.form-control,
.form-select,
select.form-control,
select.form-control-sm,
textarea.form-control {
    font-size: 15px;
    color: var(--ink-800);
    background-color: #fff;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    padding: .6rem .9rem;
    min-height: 46px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-control::placeholder {
    color: var(--ink-400);
}

.form-control:hover,
.form-select:hover {
    border-color: #c5cddb;
}

.form-control:focus,
.form-select:focus,
select.form-control:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(3, 175, 239, .16);
    background-color: #fff;
    color: var(--ink-800);
}

.form-control.is-invalid {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(167, 44, 45, .14);
}

.invalid-feedback {
    color: var(--brand-red);
    font-size: 13px;
    font-weight: 600;
}

.form-text {
    color: var(--ink-500);
    font-size: 13.5px;
}

.form-check-input:checked {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
}

.form-check-input:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(3, 175, 239, .18);
}

.input-group-text {
    background: var(--surface-alt);
    border-color: var(--line-strong);
    color: var(--ink-500);
    border-radius: var(--radius-sm);
}

.form-select,
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236f7a89' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .9rem center;
    padding-right: 2.4rem;
}

/* select2 */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    height: 46px;
    font-size: 15px;
    color: var(--ink-800);
    background: #fff;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 44px;
    color: var(--ink-800);
    padding-left: 4px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default .select2-selection--single:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(3, 175, 239, .16);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--brand-blue);
    color: #fff;
}

.select2-dropdown {
    border-color: var(--line-strong);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-2);
}

.select2-container--default .select2-search--dropdown .select2-search__input {
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
}

/* bootstrap-select */
.dropdown-toggle.btn-theme::after {
    vertical-align: .2em;
}

/* -------------------------------------------------------------- tables */
.table {
    color: var(--ink-700);
    font-size: 15px;
    margin-bottom: 0;
}

.table > :not(caption) > * > * {
    background-color: transparent;
    border-color: var(--line);
    padding: .75rem .9rem;
    vertical-align: middle;
}

.table thead th {
    background-color: var(--surface-alt);
    color: var(--ink-500);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    border-bottom: 1px solid var(--line-strong);
    white-space: nowrap;
}

.table-hover > tbody > tr:hover > * {
    background-color: var(--brand-blue-softer);
    color: var(--ink-800);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table-responsive {
    border: 0;
}

/* -------------------------------------------------------------- badges */
.badge {
    font-family: var(--font-display);
    font-size: 11.5px;
    font-weight: 600;
    padding: .4em .75em;
    border-radius: 6px;
    letter-spacing: .03em;
}

.badge.bg-primary { background: var(--brand-blue-soft) !important; color: var(--brand-blue-dark) !important; }
.badge.bg-info { background: var(--brand-blue-soft) !important; color: var(--brand-blue-dark) !important; }
.badge.bg-success { background: #e6f7f1 !important; color: #0f7f63 !important; }
.badge.bg-danger { background: var(--brand-red-soft) !important; color: var(--brand-red) !important; }
.badge.bg-warning { background: #fdf3e2 !important; color: #9a6512 !important; }

/* ----------------------------------------------------------- pagination */
.pagination .page-item .page-link {
    color: var(--ink-700);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    margin: 0 3px;
    font-weight: 600;
    font-size: 14px;
    background: #fff;
}

.pagination .page-item.active .page-link {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
    box-shadow: 0 4px 14px rgba(3, 175, 239, .3);
}

.pagination .page-item.disabled .page-link {
    background: var(--surface-alt);
    color: var(--ink-400);
    border-color: var(--line);
}

.pagination .page-link:hover {
    background-color: var(--brand-blue-soft);
    border-color: rgba(3, 175, 239, .5);
    color: var(--brand-blue-dark);
}

/* -------------------------------------------------- alerts / sweetalert */
.alert {
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-size: 15px;
    padding: .85rem 1.05rem;
}

.swal-modal {
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding-bottom: 18px;
}

.swal-title {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--ink-900);
    font-size: 22px;
    letter-spacing: -.01em;
    padding-bottom: 4px;
}

.swal-text {
    color: var(--ink-600);
    font-size: 15px;
}

.swal-button {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-sm);
    padding: .55rem 1.4rem;
    letter-spacing: .01em;
    box-shadow: none;
}

.swal-button--confirm {
    background: var(--brand-blue);
    color: #fff;
    box-shadow: 0 6px 18px rgba(3, 175, 239, .3);
}

.swal-button--confirm:hover {
    background: var(--brand-blue-hover);
    color: #fff;
}

.swal-button--cancel {
    background: #fff;
    color: var(--ink-700);
    border: 1px solid var(--line-strong);
}

.swal-button--cancel:hover {
    background: var(--surface-alt);
    color: var(--ink-800);
}

.swal-icon--warning {
    border-color: rgba(167, 44, 45, .4);
    color: var(--brand-red);
}

.swal-icon--success {
    border-color: rgba(3, 175, 239, .4);
    color: var(--brand-blue);
}

.swal-icon--info {
    border-color: rgba(3, 175, 239, .4);
    color: var(--brand-blue);
}

/* --------------------------------------------------------- modals / canvas */
.modal-content {
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-3);
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid var(--line);
    padding: 1.15rem 1.4rem;
    background: #fff;
}

.modal-title {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--ink-900);
    font-size: 1.2rem;
    letter-spacing: -.01em;
}

.modal-body {
    padding: 1.4rem;
    color: var(--ink-600);
}

.modal-footer {
    border-top: 1px solid var(--line);
    padding: 1rem 1.4rem;
    background: var(--surface-alt);
}

.modal-dialog {
    border-radius: var(--radius-lg);
}

.offcanvas {
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow-3);
}

.offcanvas-header {
    border-bottom: 1px solid var(--line) !important;
    padding: 1.2rem 1.4rem;
}

.offcanvas-title {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: -.01em;
}

.offcanvas-body {
    padding: 1.4rem;
    color: var(--ink-600);
    font-size: 15.5px;
}

.offcanvas-body .btn-theme {
    margin-top: 18px;
}

/* ---------------------------------------------------------------- footer */
footer.footer-bg {
    background: #0e1319;
    border-top: none;
    padding: 52px 0 0;
    color: var(--ink-400);
}

.footer-bg .footer-top {
    background-color: transparent;
}

/* bottom copyright row sits directly in .footer-top (no container) - kill the
   -15px gutter bleed so it never overflows the viewport */
.footer-top > .row {
    margin-left: 0;
    margin-right: 0;
}

.footer-bg .widget h5,
.footer-bg .widget h4,
.footer-bg .widget h6 {
    font-family: var(--font-display);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .09em;
    margin-bottom: 6px;
}

.footer-bg .widget p {
    color: var(--ink-400);
    font-size: 15px;
    line-height: 1.7;
}

.footer-bg .widget ul li {
    margin-bottom: 4px;
}

.footer-bg .widget ul li a {
    color: #9aa7b5;
    font-size: 15px;
    display: inline-block;
    padding: 4px 0;
}

.footer-bg .widget ul li a:hover {
    color: var(--brand-blue);
    transform: translateX(3px);
}

.footer-bg .widget ul li a i {
    color: inherit;
}

.footer-bg .my-quicklinks ul li a {
    color: #9aa7b5;
    font-weight: 500;
}

.footer-bg .my-quicklinks ul li a:hover {
    color: var(--brand-blue);
}

.footer-bg .border-bottom.border-secondary {
    border-bottom-color: rgba(255, 255, 255, .1) !important;
}

.footer-bg .border-top.border-secondary {
    border-top-color: rgba(255, 255, 255, .1) !important;
}

.footer-bg .text-secondary {
    color: #7d8794 !important;
    font-size: 14.5px;
}

.footer-bg .widget.my-quicklinks li a i {
    color: #8b97a6;
    transition: color .2s ease, transform .2s ease;
}

.footer-bg .widget.my-quicklinks li a:hover i {
    color: var(--brand-blue);
    transform: translateY(-3px) scale(1.08);
}

/* -------------------------------------------------------- mobile bottom nav */
.mobile-menu .nav-box {
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 10px 34px rgba(19, 26, 34, .16);
    background: #fff;
    padding: 8px 6px;
}

.nav__item-link {
    padding: 4px 6px;
    border-radius: 12px;
}

.nav__item-icon {
    color: var(--ink-400);
    font-size: 20px;
    transition: color .2s ease, background-color .2s ease, box-shadow .2s ease,
        transform .2s ease, margin .2s ease;
}

.nav__item-text {
    font-family: var(--font-display);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--ink-500);
    letter-spacing: .01em;
}

.nav__item.active .nav__item-icon {
    margin-top: -26px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--brand-blue), var(--brand-blue-hover));
    color: #fff;
    box-shadow: 0 8px 20px rgba(3, 175, 239, .38);
}

.nav__item.active .nav__item-text {
    transform: scale(1);
    color: var(--brand-blue);
}

/* ------------------------------------------------------------ misc polish */
.accordion-item {
    border: 1px solid var(--line);
    border-radius: var(--radius) !important;
    overflow: hidden;
    margin-bottom: .6rem;
}

.accordion-button {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--ink-800);
    border-radius: var(--radius) !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--brand-blue-softer);
    color: var(--brand-blue-dark);
    font-weight: 600;
    box-shadow: none !important;
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(3, 175, 239, .18) !important;
}

.dropdown-menu {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-2);
    padding: .45rem;
    font-size: 15px;
}

.dropdown-item {
    border-radius: var(--radius-sm);
    padding: .5rem .8rem;
    color: var(--ink-700);
    font-weight: 500;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--brand-blue-soft);
    color: var(--brand-blue-dark);
}

.breadcrumb-item.active {
    color: var(--brand-blue-dark);
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--ink-400);
}

/* sidebar widgets / listing pages */
.sidebar .side-menu nav .nav > li a,
.sidebar .side-menu nav .nav > li > a:hover {
    color: var(--ink-600);
}

.sidebar .side-menu nav .nav > li > a:hover {
    background: var(--brand-blue-softer);
}

ul.category-list-data li:hover::before {
    background: var(--brand-blue);
}

/* pricing / offers */
.pricing .featured a.btn-theme {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
}

/* ======================================================= responsive tweaks */
@media (max-width: 1199.98px) {
    footer.footer-bg {
        padding: 46px 0 0;
    }

    .mega-menu .menu-links > li > a {
        padding: 25px 9px;
        font-size: 14px;
    }

    .logincall .btn {
        font-size: 13.5px;
        padding: .45rem .9rem;
    }

    .logincall ul.listnone > li {
        margin-right: 10px !important;
    }
}

@media (max-width: 991.98px) {
    footer.footer-bg {
        padding: 40px 0 0;
    }

    .mega-menu .drop-down {
        padding: 18px 18px;
        box-shadow: var(--shadow-1);
    }

    .menu-logo img {
        height: 40px;
    }

    .logincall .btn {
        font-size: 13.5px;
        padding: .45rem .85rem;
    }

    .card-body {
        padding: 18px;
    }

    .btn-lg {
        font-size: 15px;
        padding: .65rem 1.4rem;
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 15.5px;
    }

    .section-search .nav-tabs .nav-link,
    .search-style-2.section-search .nav-tabs .nav-link {
        padding: 13px 14px;
        font-size: 13.5px;
    }

    .footer-bg .widget ul li a,
    .footer-bg .widget p {
        font-size: 14.5px;
    }

    .heading-panel h1 {
        padding-bottom: 12px;
    }

    .category-grid-box-1 .short-description-1 {
        padding: 14px 15px 16px;
    }
}

@media (max-width: 575.98px) {
    footer.footer-bg {
        padding: 34px 0 0;
    }

    .menu-logo img {
        height: 32px;
    }

    /* keep header actions off the screen edge (row bleeds -15px) */
    .menu-list-items .row > .d-flex {
        padding-left: 12px;
        padding-right: 12px;
    }

    .section-search .nav-tabs .nav-link,
    .search-style-2.section-search .nav-tabs .nav-link {
        padding: 12px 9px;
        font-size: 11.5px;
    }

    .logincall .btn {
        font-size: 12.5px;
        padding: .4rem .7rem;
    }

    .logincall ul.listnone > li {
        margin-right: 8px !important;
        margin-left: 0 !important;
    }

    .logincall ul.listnone > li:last-child {
        margin-right: 0 !important;
    }

    .btn {
        font-size: 14.5px;
        padding: .55rem 1.05rem;
    }

    .card-body {
        padding: 16px;
    }

    .modal-body,
    .offcanvas-body {
        padding: 1.1rem;
    }
}

/* ============================================================
   Car details — gallery first section (consistent frames)
   ============================================================ */
.car-gallery {
    --cg-radius: 12px;
}
.car-gallery .flexslider {
    position: relative;
    background: transparent;
    border: 0;
}
.car-gallery #single-slider .slides > li img,
.car-gallery .singlepage-detail > .flexslider .slides > li img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--cg-radius);
    display: block;
}
.car-gallery #carousel .slides > li img {
    width: 100%;
    height: 88px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.car-gallery__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 280px;
    padding: 28px;
    text-align: center;
    color: #667085;
    font-size: 14px;
    background: #f7f9fc;
    border: 1px dashed #dde3ea;
    border-radius: var(--cg-radius);
}
.car-gallery__empty i {
    font-size: 44px;
    color: #b9c2ce;
}
@media (max-width: 991.98px) {
    .car-gallery #single-slider .slides > li img,
    .car-gallery .singlepage-detail > .flexslider .slides > li img { height: 300px; }
}
@media (max-width: 575.98px) {
    .car-gallery #single-slider .slides > li img,
    .car-gallery .singlepage-detail > .flexslider .slides > li img { height: 200px; }
    .car-gallery #carousel .slides > li img { height: 64px; }
}
