html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
    font-family: "Jost", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    background-color: #FFFFFF;
}

main {
    padding-bottom: 190px;
}

.futuraPTFont {
    font-family: futura-pt;
}

.h-fitContent {
    height: fit-content;
}

.cartTitle {
    line-height: 110%;
    letter-spacing: -0.48px;
}

.productImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.fontSize-108rem {
    font-size: 1.08rem;
}

/* Order Summary Container - Responsive width using Bootstrap breakpoints */
.order-summary-container {
    border-radius: 14px;
    width: 100%;
    height: fit-content;
    background: #F8F8F8;
    border: 1px solid #e5e5e5;
    padding: 20px 24px 0px 24px;
}

/* On large screens (lg and up), limit width to 500px */
@media (min-width: 992px) {
    .order-summary-container {
        max-width: 500px;
    }
}

.order-summary-container .order-summary-btn {
    padding-bottom: 20px;
}

.order-summary-container .collapse {
    padding-bottom: 20px;
}

.order-summary-container .d-none.d-lg-block {
    padding-bottom: 0px;
}

#couponCodeInput {
    background: #FFFFFF !important;
}

/* Form validation styles */
.inputStyling.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.inputStyling.is-valid {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.inputStyling select,
select.inputStyling {
    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-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 16px 12px;
    padding-right: 2.25rem !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.inputStyling select:focus,
select.inputStyling:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Remove extra padding from inner container */
.order-summary-container .p-2 {
    padding: 0 !important;
}

.checkOutBtn {
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 1.08rem;
}

.inputStyling {
    display: flex;
    height: 48px;
    padding: 14px 16px;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 4px;
    border: 1px solid #767676;
    background: #F8F8F8;
    width: 100%;
}

.languageDropdown {
    background: transparent;
    border: none;
}

.languageDropdown:focus-visible, .backBtn:focus, .backBtn:focus-visible, .backBtn:active:focus {
    outline: none !important;
    box-shadow: none !important;
}

.globeIcon {
    margin-top: 1px;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: none !important;
}

.findDealerContainer {    
    max-width: 1120px;
    background-color: white;
}

.requestCouponContainer {
    border: 1.5px solid black;
    border-radius: 10px;
    max-width: 600px;
}

.locationIcon {
    font-size: 50px;
}

.searchIcon {
    font-size: 26px;
}

.container {
    min-height: 100%; /* To ensure the content wrapper takes full height minus the footer */
    box-sizing: border-box;
    padding-bottom: 50px; /* Adjust this value to match the footer height */
}

footer {
    justify-content: space-between;
    align-items: center;
    background-color: black;
    color: white;
    padding: 40px 40px;
    position: absolute;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
    font-size: 15px;
    font-family: 'futura-pt';
}

.mobile select {
    margin-right: 0px !important;
}

#FooterMain select {
    color: #fff !important;
    cursor: pointer;
    margin-right: 15px;
    margin-left: 0 !important;
}

#FooterMain select option {
    color: #000 !important;
}

.footer-left a {
    color: white !important;
    text-decoration: none;
    margin-right: 15px;
}

.footer-left a:hover {
    text-decoration: underline;
}

.footer-right {
    display: flex;
    align-items: center;
}

.footer-left {
    flex-wrap: wrap;
}

.social-icon {
    margin-left: 15px;
    color: #fff !important;
}

.mobile .social-icon {
    margin-left: 0;
    color: #fff !important;
    margin-right: 15px;
}

.mobile .social-icon:last-child {
    margin-right: 0px;
}

.social-icon svg {
    height: 18px; 
    width: 18px;
}

.social-icon img {
    width: 20px;
    height: 20px;
}

.form-check-input:checked {
    background-color: #ffc107;
    border-color: #ffc107;
}

.btn:disabled, .btn.disabled {
    opacity: 0.65;
}

.pricingNotice {
    font-size: 0.8rem;
    color: #6c757d;
    font-style: italic;
    margin-top: 0.5rem;
}

.dealerNotice {
    font-size: 0.8rem;
    color: #6c757d;
    font-style: italic;
    margin-top: 0.5rem;
    text-align: center;
}

.bg-success-subtle {
    background-color: #d1e7dd !important;
}

.text-success-emphasis {
    color: #144E4D !important;
}

.dealerCard .card {
    border: 1.5px solid black;
    background-color: white;
    border-radius: 14px;
}

#dealerCards {
    max-width: 1120px;
}

.greenDistanceBadge {
    font-size: .7rem;
    padding-top: 2px;
    padding-bottom: 2px;
}

.active {
    opacity: 1 !important;
    box-shadow: 8px 12px 16.8px 0px rgba(0, 0, 0, 0.43);
}

.inactive {
    opacity: 20%;
}

.hidden {
    display: none !important;
}

@media screen and (min-width: 992px) {
    body {
        background-color: white !important;
    }

    .dealerCard:last-child {
        padding-right: 0px !important;
    }

    .findDealerContainer {
        border: 1.5px solid black;
        border-radius: 10px;
    }
}

/* Collapsible Order Summary Styles */
.order-summary-btn {
    transition: all 0.3s ease;
}

.order-summary-btn:focus {
    box-shadow: none !important;
    outline: none !important;
}

.order-summary-btn .transition-transform {
    transition: transform 0.3s ease;
}

.order-summary-btn:not(.collapsed) .transition-transform {
    transform: rotate(180deg);
}

/* Global Loading Spinner Styles */
.global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.global-loader-content {
    text-align: center;
    color: white;
}

.global-loader-logo {
    margin-bottom: 30px;
    animation: fadeInUp 0.6s ease-out;
}

.global-loader-logo img {
    max-width: 200px;
    height: auto;
    opacity: 0.9;
}

.global-loader-spinner {
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.global-loader-spinner .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
    color: #ffc107;
}

.global-loader-text {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.8;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .global-loader-logo img {
        max-width: 150px;
    }
    
    .global-loader-spinner .spinner-border {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .global-loader-text {
        font-size: 1rem;
    }
}