.main-image {
    max-height: 400px;
    object-fit: contain;
}

.star-rating {
    display: flex;
    gap: 5px;
    cursor: pointer;
    font-size: 28px;
    color: #ccc;
}

.star-rating .star.selected,
.star-rating .star.hovered {
    color: #ffc107;
    /* gold */
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.lightbox.show {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    animation: fadeIn .25s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    padding: 10px;
    cursor: pointer;
    user-select: none;
    transition: 0.2s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: #ddd;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* Select2 */
/* Make Select2 match Bootstrap Input */
.select2-container .select2-selection--single {
    height: 48px !important;
    padding: 8px 12px;
    border: 1px solid #ced4da !important;
    border-radius: 6px !important;
    display: flex;
    align-items: center;
}

/* Placeholder text */
.select2-container .select2-selection--single .select2-selection__placeholder {
    color: #6c757d !important;
    font-size: 14px;
}

/* Selected text */
.select2-container .select2-selection__rendered {
    color: #212529 !important;
    line-height: 36px !important;
    font-size: 14px;
}

/* Remove blue outline */
.select2-container--default .select2-selection--single:focus {
    outline: none !important;
}

/* Dropdown arrow */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    right: 10px !important;
}

/* Move clear (x) button to the right */
.select2-container--default .select2-selection--single .select2-selection__clear {
    right: 35px !important;
    /* position inside input */
    left: auto !important;
    /* remove default left positioning */
    top: 50% !important;
    transform: translateY(-50%);
    position: absolute !important;
    font-size: 18px !important;
    color: #999;
    cursor: pointer;
}

/* Dropdown menu */
.select2-container .select2-dropdown {
    border-radius: 6px !important;
    border: 1px solid #ced4da !important;
}

/* Highlight item on hover */
.select2-results__option--highlighted {
    background-color: #0d6efd !important;
    color: white !important;
}

/* Dropdown item style */
.select2-results__option {
    padding: 8px 12px;
    font-size: 14px;
}

/* Clear button inside select */
.select2-selection__clear {
    top: 50% !important;
    transform: translateY(-50%);
}

/* Select2 Ends */


.cart-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: #fff;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    display: none;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: fadeSlide 0.4s ease-out;
}

@keyframes fadeSlide {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-social a {
    color: #333;
    transition: 0.3s ease;
}

.footer-social a:hover {
    color: #000;
    transform: translateY(-2px);
}

.filter-bar {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.filterRow,
.sortWrapper {
    display: inline-block !important;
    white-space: normal;
}

.filter-bar::-webkit-scrollbar {
    display: none;
}

.product-image {
    width: 100%;
    height: 260px;
    /* your desired uniform height */
    object-fit: contain;
    /* maintains aspect ratio */
    object-position: center;
}

.policyLink {
    color: #38bdf8;
    /* light blue highlight */
    font-size: 15px;
}

.policyLink:hover {
    text-decoration: underline;
}

.footerAreaWrap {
    background: #0f172a;
    /* dark navy */
    color: #e2e8f0;
    font-family: Inter, system-ui, sans-serif;
}

.footerAside {
    padding-top: 48px;
    padding-bottom: 32px;
}

.ftColsWrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px;
}

.ftCol {
    flex: 1 1 280px;
    min-width: 260px;
}

.ftLocation {
    font-style: normal;
    line-height: 1.6;
    color: #cbd5e1;
    font-size: 15px;
}

.ftLocation strong {
    color: #f1f5f9;
}

.ftLocation a {
    color: #38bdf8;
    /* light blue highlight */
    text-decoration: none;
}

.ftLocation a:hover {
    text-decoration: underline;
}

/* Optional horizontal rule above footer (clean separation) */
.footerAreaWrap::before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #334155, transparent);
    margin-bottom: 24px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .ftColsWrap {
        flex-direction: column;
        gap: 20px;
    }

    .ftCol {
        flex: 1 1 100%;
    }
}
