html {
    height: 100%;
}

body {
    background-size: cover;
    height: calc(100vh - 164px);
    color: white;
    font-family: 'Lato';
}

.green-colour {
    color: white !important;
}


/* Remove spinners from all number inputs - Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Remove spinners - Firefox */
input[type=number] {
  -moz-appearance: textfield;
}


.hero-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://res.cloudinary.com/diyb3lywr/image/upload/v1752313296/DSC03160_vyimj1.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-background::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* dark overlay */
  z-index: 1;
}

.hero-text {
  position: absolute;
  top: 40%;
  left: 90%; /* center horizontally */
  transform: translate(-50%, -50%);
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  color: white;
  letter-spacing: 0.15em;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  z-index: 2;
  max-width: 90vw; /* prevent overflow on small screens */
  white-space: nowrap; /* keep it all on one line */
}


@media (max-width: 768px) {
  .hero-background {
    top: 0;
    background-image: url('https://res.cloudinary.com/diyb3lywr/image/upload/v1752311386/bandr-mobile-background_b3yfqy.jpg');
  }

  .hero-text {
    left: 50%;
    top: 25%;
  }
}

.table, .table td, .table th {
    color: white !important;
}

/* Category search box filter colour */
.select2-container--default .select2-results__option {
    color: black;  /* Change to your desired text color */
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #007bff; /* Background of the highlighted option */
    color: white;              /* Text color of the highlighted option */
}


.landscape-image {
    width: 100%;
    height: 150px; /* or any preferred height */
    overflow: hidden;
    position: relative;
}

.landscape-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

 /* Cookie Consent Etc */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 9999;
  }

.cookie-message {
    color: white !important; /* Change this to whatever text color you want */
    background-color: black !important;  /* Replace with your desired color */
    color: #f0f0f0 !important; 
}

.cookie-message a {
    color: white; /* Bootstrap green or pick your own */
    text-decoration: underline;
}

.cookie-message a:hover {
    color: gray; /* Darker green or your choice */
}

#acceptCookies {
    background-color: white;
    border-color: black;
    color: black;
}

/* Pagination Customer Cars */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.pagination a, .pagination span {
    padding: 0.5rem 1rem;
    background-color: black;
    color: white;  /* Change text color to white */
    cursor: pointer;
    text-decoration: none;
}

.pagination a:hover {
    background-color: #ddd;
    color: black;  /* Change text color on hover to black */
    text-decoration: none;
}

.pagination .active {
    background-color: red !important;  /* Optional: Add a custom background color for active pagination */
    color: red !important;  /* Optional: Customize active page text color */
}





/* About Us Car slideshow */
.car-slider {
    margin-bottom: 30px;
}

.slider img {
    width: 100%;
    height: auto;
}

.slider {
    position: relative;
    width: 100%;
    height: 300px; /* Adjust the height for your images */
}

.slick-prev, .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #000;
}




/* Customer Cars Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    overflow: hidden;
}


/* ====== DELETE CONFIRMATION MODAL STYLES ====== */
.delete-modal {
    background-color: black !important; /* Black background */
    color: white !important; /* White text */
    border: 1px solid white; /* White border */
}

/* Modal Header */
.delete-modal .modal-header {
    background-color: black;
    border-bottom: 1px solid white;
}

/* Modal Title */
.delete-modal .modal-title {
    color: white;
}

/* Close Button */
.delete-modal .modal-header .close {
    color: white;
    opacity: 1;
}

/* Modal Body */
.delete-modal .modal-body {
    background-color: black;
    color: white;
    font-size: 16px;
}

/* Modal Footer */
.delete-modal .modal-footer {
    background-color: black;
    border-top: 1px solid white;
}

/* Buttons */
.delete-modal .btn-danger {
    background-color: red;
    border-color: red;
}

.delete-modal .btn-danger:hover {
    background-color: darkred;
}

.delete-modal .btn-secondary {
    background-color: gray;
    border-color: gray;
}

.delete-modal .btn-secondary:hover {
    background-color: darkgray;
}

/* Image Styling */
.img-thumbnail {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* ====== GENERAL PAGE STYLES ====== */
body {
    background-color: #121212; /* Dark Mode */
    color: white;
}



/* Modal Image */
.modal-content {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 5px;
    object-fit: contain;
    display: block;
    margin: auto;
}

/* Close Button */
.close {
    position: fixed;
    top: 10px;
    right: 15px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1101;
    padding: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
}

.close:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

/* Previous & Next Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px 20px;
    border-radius: 50%;
    transition: 0.3s;
    z-index: 1101;
    color: white !important; /* Force white color */
    text-decoration: none !important; /* Remove any underline effect */
}

/* Remove focus outline */
.prev:focus, .next:focus {
    outline: none;
    box-shadow: none;
}

/* Optional: Prevent blue selection when clicked */
.prev:active, .next:active {
    background: rgba(255, 255, 255, 0.2);
}

/* Position the buttons correctly */
.prev {
    left: 20px;
}

.next {
    right: 20px;
}


.card {
    background-color: transparent;
}

.home-logo {
    max-width: 18em;
    height: auto;
    width: 150%;
}

.navbar-toggler {
    background-color: white;
}

/* Sale prices */
.original-price {
    text-decoration: line-through;
    color: #888;  /* Light gray to indicate a discount */
}

.sale-price {
    color: red;  /* Red color to highlight the discounted price */
    font-weight: bold;
}


/* from Bulma */
.icon {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    height: 1.5rem;
    width: 1.5rem;
}

.logo-font {
    text-transform: uppercase;
}

.main-logo-link {
    width: fit-content;
}

.shop-now-button {
    visibility: hidden;
    background: black;
    color: white;
    min-width: 260px;
}

.test {
    color: green;
    text-decoration: underline;
}



.dropdown-menu {
    background-color: black;
}

.dropdown-background:hover {
    background: black;
}


.my-account-dropdown, .products-home-text {
    color: white;
    font-weight: bold;
}

.products-home-text:hover {
    text-decoration: none;
    color: white;
}

.dropdown-item {
    color: white;
    font-weight: bold;
}


.btn-category:hover {
    background-color: black;
    color: white;
}

.btn-green {
    background: black;
    color: white;
}

.shop-now-button:hover,
.shop-now-button:active,
.shop-now-button:focus,
.btn-green:hover,
.btn-green:active,
.btn-green:focus,
.btn-black:hover,
.btn-black:active,
.btn-black:focus{
    background: #000000;
    color: white;
}

.text-black {
    color: white !important;
}

/* MOVE */

#hint_id_password{
    display: none;
}

.bg-black {
    background: black !important;
}

.bg-white {
    background: url('/media/background.jpg');
    
}

.overlay {
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    position: fixed;
    background: url('/media/background.jpg');
    z-index: -1;
}

.products-text {
    color: white;
    font-size: 15px;
}

a.category-badge > span.badge:hover {
    background: #212529 !important;
    color: #fff !important;
}



.border-black {
    border: 1px solid black !important;
}

.btt-button {
    height: 42px;
    width: 42px;
    position: fixed;
    bottom: 10px;
    right: 10px;
}

.btt-link,
.update-link,
.remove-item {
    cursor: pointer;
}


/* ------------------------------- bootstrap toasts */

.message-container {
    position: fixed;
    top: 72px;
    right: 15px;
    z-index: 99999999999;
}

.custom-toast {
    overflow: visible;
}

.toast-capper {
    height: 2px;
}

/* from CSS-tricks.com: https://css-tricks.com/snippets/css/css-triangle/ */
.arrow-up {
    width: 0; 
    height: 0; 
    border-left: 4px solid transparent;
    border-right: 4px solid transparent; 
    border-bottom: 10px solid black;
    position: absolute;
    top: -10px;
    right: 36px;
}

/* Convenience classes - colors copied from Bootstrap */
.arrow-primary {
    border-bottom-color: #007bff !important;
}

.arrow-secondary {
    border-bottom-color: #6c757d !important;
}

.arrow-success {
    border-bottom-color: #28a745 !important;
}

.arrow-danger {
    border-bottom-color: #dc3545 !important;
}

.arrow-warning {
    border-bottom-color: #ffc107 !important;
}

.arrow-info {
    border-bottom-color: #17a2b8 !important;
}

.arrow-light {
    border-bottom-color: #f8f9fa !important;
}

.arrow-dark {
    border-bottom-color: #343a40 !important;
}

.bag-notification-wrapper {
    height: 100px;
    overflow-x: hidden;
    overflow-y: auto;
}


/* -------------------------------- Media Queries */

/* Slightly larger container on xl screens */
@media (min-width: 1200px) {
  .container {
    max-width: 80%;
  }
}

/* Allauth form formatting */
.allauth-form-inner-content p {
    margin-top: 1.5rem; /* mt-4 */
    color: red; /* text-secondary */
    font-weight: bold;
}

.allauth-form-inner-content input {
    border-color: black;
    border-radius: 0;
}

.allauth-form-inner-content label:not([for='id_remember']) {
    display: none;
}

.allauth-form-inner-content input::placeholder {
    color: black;
}

#signup_form .form-control {
    color: black;
}

#login_form .form-control {
    color: black;
}

/* Product Form */
.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type="file"] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    opacity: 0;
    cursor: pointer;
}

.custom-checkbox .custom-control-label::before {
    border-radius: 0;
    border-color: #dc3545;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
    background-color: #dc3545;
    border-color: #dc3545;
    border-radius: 0;
}

#add-product-form .form-control {
    color: #025715;
}

/* fixed top navbar only on medium and up */
@media (min-width: 992px) {
    .fixed-top-desktop-only {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1030;
    }

    .header-container {
        padding-top: 195px !important;
    }

    .home-link {
        display: none !important;
    }
}

/* pad the top a bit when navbar is collapsed on mobile */
@media (max-width: 991px) {
    .header-container {
        padding-top: 100px !important;
    }

    body {
        height: calc(100vh - 116px);
    }

    .video-overlay video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%; /* Ensures the video covers the width */
        min-height: 100%; /* Ensures the video covers the height */
        width: 100%; /* Full width of the container */
        height: 100%; /* Full height of the container */
        transform: translate(-50%, -50%);
        object-fit: cover; /* Ensure the video scales to cover the container */
        object-position: center; /* Center the video content */
        z-index: -1; /* Place the video behind other content */
    }
}

@media (max-width: 768px) {
    html, body {
        margin: 0;
        padding: 0;
        min-height: 100vh; /* Ensure full viewport height */
        overflow-x: hidden; /* Prevent horizontal scroll */
    }

    .dropdown-menu {
        max-height: 300px;  /* Adjust as needed */
        overflow-y: auto;   /* Allows scrolling if the dropdown content is too long */
        position: absolute; /* Ensures it is positioned correctly */
        z-index: 9999;      /* Make sure the dropdown is on top of other elements */
        width: 100%;        /* Optional: Ensure dropdown takes up full width */
    }

    /* Prevent body from scrolling when dropdown is open */
    body.modal-open {
        overflow: hidden !important; /* Disable background scroll when dropdown is open */
    }

    /* Ensure navbar dropdown container is not clipped or overflowing */
    .navbar-nav {
        position: relative;
    }

    /* Ensure dropdown items have enough space and don't overlap */
    .dropdown-item {
        white-space: normal; /* Allow text to wrap if too long */
        padding: 10px;       /* Adjust padding as needed */
    }

    .prev, .next {
        font-size: 10px;
    }

    /* Video Overlay adjustments for mobile */
    .video-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        overflow: hidden;
    }

    .video-overlay video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: 100%;
        height: 100%;
        transform: translate(-50%, -50%);
        object-fit: cover;
        z-index: -1;
    }
}

/* Developed by CSS */
.developed-by a {
    color: white;  /* Make the link color white */
    text-decoration: underline !important;
}

/* WhatsApp Floating Icon */
.whatsapp-float {
    position: fixed;
    bottom: 80px; /* Directly below scroll-to-top button */
    right: 30px; /* Ensure same right spacing */
    background-color: white;
    color: black;
    font-size: 28px;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
}

.whatsapp-float i {
    font-size: 32px;
}

.whatsapp-float:hover {
    color: white;
    transform: scale(1.1);
    background-color: #000;
    text-decoration: none;
}

/*  Padding for navbar on smaller devices */
@media (max-width: 416px) {
    .navbar {
        padding-right: 10px;
    }
}

.mobile-icon-color {
    color: white !important;
}
