.error {
    color: #D6293E;
}

@media (max-width: 1199px) {
    .car-image {
        height: 320px !important;
    }
}

/* Tablets (portrait, e.g. iPad Air, iPad Mini) */
@media (max-width: 991px) {
    .car-image {
        height: 280px !important;
    }

    /* Fix overlapping on tablets */
    .back-top {
        bottom: 15px !important;
        /* At the very bottom */
        right: 15px !important;
    }

    /* Move coupon button above back-to-top button on tablets */
    .coupon-container {
        bottom: 70px !important;
        /* Positioned above back-to-top button */
        right: 15px !important;
    }
}

/* Mobile landscape */
@media (max-width: 767px) {
    .car-image {
        height: 220px !important;
    }
}

/* Small mobile (e.g. iPhone SE) */
@media (max-width: 575px) {
    .car-image {
        height: 180px !important;
    }

    /* Show back-to-top button on mobile devices at the very bottom */
    .back-top {
        display: block !important;
        width: 36px !important;
        height: 36px !important;
        line-height: 36px !important;
        bottom: 15px !important;
        /* At the very bottom */
        right: 15px !important;
    }

    .back-top:before {
        font-size: 0.7rem !important;
    }

    /* Move coupon button above back-to-top button */
    .coupon-container {
        bottom: 70px !important;
        /* Positioned above back-to-top button */
        right: 15px !important;
    }
}

.bg-x {
    background-color: #000 !important;
}

.text-selectable {
    user-select: text;
    cursor: text;
}


/****for header call and whatsapp button****/
/* Ensure proper button visibility and positioning */
.header-buttons {
    margin-left: auto;
}

.header-buttons .btn {
    white-space: nowrap;
    font-size: 14px;
}

/* Mobile button styles */
.mobile-float-buttons .btn {
    border-width: 2px;
}

.mobile-float-buttons .btn-outline-primary {
    background-color: white;
}

.mobile-float-buttons .btn:active {
    transform: scale(0.95);
}

/* Prevent icon from disappearing on button click/active state */
.header-buttons .btn i,
.mobile-float-buttons .btn i {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

.header-buttons .btn:active i,
.header-buttons .btn:focus i,
.header-buttons .btn:hover i,
.header-buttons .btn.active i,
.mobile-float-buttons .btn:active i,
.mobile-float-buttons .btn:focus i,
.mobile-float-buttons .btn:hover i,
.mobile-float-buttons .btn.active i {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: inherit !important;
}

/* Ensure button text remains visible too */
.header-buttons .btn:active,
.header-buttons .btn:focus,
.mobile-float-buttons .btn:active,
.mobile-float-buttons .btn:focus {
    color: inherit !important;
}

.header-buttons .btn:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

/* Ensure navbar items are properly ordered on desktop */
@media (min-width: 992px) {
    .navbar-collapse {
        flex-grow: 0;
    }
}

/****for header call and whatsapp button****/


/******** start footer call and whatsapp button**********/
/* WhatsApp Button (Real App Style) */
.btn-whatsapp {
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: #fff;
    border: none;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: linear-gradient(45deg, #1EBE5D, #0F6C5B);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.5);
    color: #fff;
}

/* Call Button (Real Phone App Feel - Blue Gradient) */
.btn-call {
    background: linear-gradient(45deg, #34b7f1, #0078d4);
    color: #fff;
    border: none;
    box-shadow: 0 4px 10px rgba(52, 183, 241, 0.4);
    transition: all 0.3s ease;
}

.btn-call:hover {
    background: linear-gradient(45deg, #1da1f2, #005999);
    box-shadow: 0 6px 15px rgba(52, 183, 241, 0.5);
    color: #fff;
}

/* Optional: Slight scale animation */
.btn-call:hover,
.btn-whatsapp:hover {
    transform: scale(1.05);
}

/******** End footer call and whatsapp button**********/



/* 🔴 Snackbar Styling - Top Right Below WhatsApp Button */
.snackbar {
    visibility: hidden;
    position: fixed;
    top: 85px;
    /* adjust as per your header height */
    right: 20px;
    min-width: 320px;
    background-color: #dc3545;
    color: #fff;
    text-align: left;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 15px;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.snackbar.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.snackbar i {
    margin-right: 8px;
}

.list-unstyled li {
    line-height: 1.8;
}

.list-unstyled li span {
    display: inline-block;
    min-width: 24px;
}

@media (max-width: 767px) {
    .list-unstyled li {
        margin-bottom: 1rem !important;
        line-height: 1.8;
        padding-left: 0;
    }

    .list-unstyled li span {
        margin-right: 0.5rem !important;
        display: inline-block;
        min-width: 28px;
    }

    ul:not(.list-unstyled) li {
        margin-bottom: 0.75rem;
        line-height: 1.7;
    }
}

@media only screen and (max-width: 991px) {
    .col-lg-5.position-relative figure,
    .col-lg-5.position-relative figure svg {
        display: none !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .col-lg-5.position-relative {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }

    .col-lg-5.position-relative img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
        .col-sm-1 {
        flex: 0 0 auto;
        width: 16.66667% !important;
    }

    .col-sm-1 img {
        max-width: 80px !important;
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
.dropdown-item {
  text-wrap: auto !important;
}
}
