﻿.loadingIndicator {
    margin-left: 5px; /* Space between text and spinner */
}

.invoice-link {
    color: #007bff; /* Bootstrap primary color */
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background-color: #f8f9fa; /* Light background for contrast */
    transition: background-color 0.3s ease;
}

    .invoice-link:hover {
        background-color: #e9ecef; /* Slightly darker on hover */
        text-decoration: underline;
    }


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

#coup.disabled {
    pointer-events: none; /* Disables clicks */
    color: gray; /* Optional styling for disabled look */
    opacity: 0.6;
}

#pageOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 9999; /* Ensure it appears above all content */
    display: none; /* Initially hidden */
}

#rating-stars .star {
    font-size: 24px;
    color: gray;
    cursor: pointer;
}

    #rating-stars .star.selected {
        color: gold;
    }

#btnScrollTo {
    left: 10px !important; /* Adjust as needed */
    bottom: 10px !important; /* Adjust as needed */
    width:60px !important;
}

.quantity-container {
    display: flex;
    align-items: center;
}

.quantity-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

    .quantity-btn:hover {
        background-color: #0056b3;
    }

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* semi-transparent black */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 6px solid #fff;
    border-top: 6px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
label.required::after {
    content: " *";
    color: red;
}

input[readonly] {
    background-color: #e9ecef;
    color: #6c757d; /* grey text */
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}
/* Home page hero slides (dark banners, products on the right, text on the left).
   Desktop: the hero keeps the banner's 1920x860 ratio so the whole picture fills the width, nothing cropped.
   Small screens: picture on top (only the product part), text centred underneath. */
.home-hero {
    height: calc(100vw * 860 / 1920);
    min-height: 480px;
    max-height: 860px;
}
.home-hero-slide {
    background-color: #0a1d40;
    background-position: 70% center;
    color: #fff;
}
.home-hero-text {
    text-align: left;
    color: #fff;
}
.home-hero-text h1,
.home-hero-text h2 {
    color: #fff;
    max-width: 640px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.home-hero-kicker {
    display: inline-block;
    margin-bottom: 1rem;
    padding: .35rem .9rem;
    border-radius: 2rem;
    background: rgba(240, 90, 50, .18);
    border: 1px solid rgba(240, 90, 50, .55);
    color: #ffb59e;
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .02em;
}
.home-hero-sub {
    max-width: 520px;
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .82);
    margin-bottom: .9rem;
}
.home-hero-carriers {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.home-hero-carriers span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .3rem .8rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
}
.home-hero-carriers i {
    width: .6rem;
    height: .6rem;
    border-radius: 50%;
}
.home-hero-btn {
    background: #f05a32;
    border-color: #f05a32;
    color: #fff;
    font-weight: 600;
}
.home-hero-btn:hover,
.home-hero-btn:focus {
    background: #d94a25;
    border-color: #d94a25;
    color: #fff;
}
@media (max-width: 991.98px) {
    .home-hero { height: auto; min-height: 0; max-height: none; }
    .home-hero .swiper-wrapper { height: auto !important; }
    /* show the product part of the banner (x 860-1860 of 1920) full width at the top */
    .home-hero-slide {
        display: block !important;
        height: auto !important;
        background-size: 192vw auto !important;
        background-position: 93% top !important;
        background-repeat: no-repeat;
    }
    .home-hero-text {
        position: relative !important;
        text-align: center;
        padding-top: calc(86vw + 1rem);
        padding-bottom: 4rem;
    }
    .home-hero-text h1, .home-hero-text h2, .home-hero-sub { margin-left: auto; margin-right: auto; }
    .home-hero-carriers { justify-content: center; }
}
