
* {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
.header-font {
    /* font-family: "Playfair Display", serif; */
    font-family: "Smooch Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.accordion {
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-bg: transparent;
}

/* Style the scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.form-control,
.form-select,
.form-check .form-check-input {
    box-shadow: 0 0 !important;
}

span {
    font-family: "Poppins", serif;
    font-weight: normal;
    font-style: normal;
}

body {
    background: #f5f8fa;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
}

.h-xs {
    height: 100px;
}

.h-sm {
    height: 200px;
}

.h-md {
    height: 300px;
}

.h-lg {
    height: 400px;
}


.w-xs {
    width: 100px;
}

.w-sm {
    width: 200px;
}

.w-md {
    width: 300px;
}

.w-lg {
    width: 400px;
}

.object-fit-cover {
    -o-object-fit: cover;
    object-fit: cover;
}

/* BANNERS */
.banner-sm {
    width: 100%;
    height: auto; /* Allow height to adjust based on content */
    max-height: 200px; /* Set a maximum height */
    object-fit: cover;
}

.banner {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: cover;
}

.banner-md {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
}

.banner-lg {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

.banner-full {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.product-img {
    width: 100%;
    height: auto;
    max-height: 180px;
    /* object-fit: contain; theme 1 */
    object-fit: cover;
}

.product-img-lg {
    width: 100%;
    max-height: 300px;
    /* object-fit: contain; theme 1 */
    object-fit: cover;
}

.product-show-img {
    width: 100%;
    max-height: 500px;
    /* object-fit: contain; theme 1 */
    object-fit: cover;
}

.category-img {
    height: 80px;
    width: 80px;
}

.category-img-lg {
    height: 100px;
    width: 100px;
}

.category-img-xl {
    height: 120px;
    width: 120px;
    object-fit: contain;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .product-show-img {
        max-height: 400px;
    }
    .product-img-lg {
        height: 300px;
    }
    .category-img {
        height: 60px;
        width: 60px;
    }
    .category-img-lg {
        height: 80px;
        width: 80px;
    }
    .category-img-xl {
        height: 100px;
        width: 100px;
    }
}

@media (max-width: 576px) {
    .product-show-img {
        height: 300px;
    }
    .product-img-lg {
        height: 250px;
    }
    .category-img {
        height: 40px;
        width: 40px;
    }
    .category-img-lg {
        height: 60px;
        width: 60px;
    }
    .category-img-xl {
        height: 100px;
        width: 100px;
    }
}

@media (max-width: 400px) {
    .product-img-lg {
        height: 150px;
    }
    .category-img {
        height: 30px;
        width: 30px;
    }
}

/* Media query for larger screens */
@media (min-width: 992px) { /* Adjust breakpoint as needed */
    .banner-sm {
        height: 200px;
    }

    .banner {
        height: 350px;
    }

    .banner-md {
        height: 300px;
    }

    .banner-lg {
        height: 400px;
    }

    .product-img {
        height: 200px;
    }
}

/* BRAND */
.brand-img,
.brand-img-md,
.brand-img-lg,
.brand-img-xl {
    height: 80px;          /* Fixed height */
    width: 100%;           /* Full width of the container */
    max-width: 300px;      /* Optional max width to avoid overly large images on big screens */
    object-fit: contain;   /* Maintain aspect ratio, fit inside container */
    opacity: 0.5;
    display: block;        /* Remove inline spacing issues */
    margin: 0 auto;        /* Center image horizontally if max-width is smaller than container */
}

.brand-img-md {
    height: 100px;
}

.brand-img-lg {
    height: 120px;
}

.brand-img-xl {
    height: 140px;
}

/* store */
.store-image {
    height: 150px;
    width: 200px;
    object-fit: cover;
}
.store-description {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
}

@media (max-width: 576px) {
    .store-image {
        height: 180px;
        width: 150px;
        object-fit: cover;
    }
}

/* Optional: Adjust height on smaller screens */
@media (max-width: 576px) {
    .brand-img {
        height: 60px;
    }
}

@media (max-width: 360px) {
    .brand-img {
        height: 50px;
    }
}


/* CATEGORY */
.order-img {
    height: 60px;
    width: 60;
    object-fit: contain;
}

.category-img,
.cart-img {
    height: 100px;
    width: 80px;
    object-fit: cover;
    border-radius: 4px;
}

/* nice select */
.form-select {
    margin-bottom: 0.5rem;
}

.nice-select {
    background-color: rgb(255, 255, 255);
    border: 1px rgba(0, 0, 0, 0.1) solid;
    color: rgba(0, 0, 0, 0.7);

    --bs-form-select-bg-img: none;
}

.nice-select.option {
    color: rgba(0, 0, 0, 0.7);
    padding: auto;
}

select {
    display: none !important;
}

.nice-select {
    font-size: 0.9rem;
    line-height: 22px;
}

.nice-select .current {
    color: rgba(0, 0, 0, 0.9) !important;
}

.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus {
    background-color: rgb(240, 240, 240) !important;
}

.nice-select .option {
    transition: all 0.1s;
}

.nice-select .nice-select-dropdown {
    margin-top: 4px;
    background-color: rgb(255, 255, 255) !important;
    border-radius: 5px;
    box-shadow: 0 0 0 1px rgba(200, 200, 200, 0.2);
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 0;
    transform-origin: 50% 0;
    transform: scale(0.95) translateY(20px);
    transition: all;
}

.nice-select.open .nice-select-dropdown .option.selected,
.nice-select.open .nice-select-dropdown .option.selected:hover {
    color: rgba(255, 255, 255);
    font-weight: 400;
    background-color: var(--bs-primary) !important;
}

.nice-select.open .nice-select-dropdown .option:hover {
    color: rgba(0, 0, 0, 0.9);
    font-weight: 400;
    background-color: rgba(0, 0, 0, 0.05) !important;
}

.nice-select.open .nice-select-dropdown {
    border: 1px rgba(0, 0, 0, 0.1) solid;
    background-color: rgb(255, 255, 255) !important;
}

.nice-select.open .nice-select-dropdown .option {
    background-color: rgb(255, 255, 255) !important;
}

.nice-select:after {
    margin-top: -7px;
    height: 10px;
    width: 10px;
    border: 0 !important;
}

.nice-select-search-box input {
    background-color: rgb(255, 255, 255) !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    color: rgba(0, 0, 0, 0.8) !important;
    border-radius: 5px;
    padding: 0.5rem;
}

.nav-pills {
    --bs-nav-pills-border-radius: 0.375rem;
    --bs-nav-pills-link-active-color: black;
    --bs-nav-pills-link-active-bg: transparent;
}

.nav-pills .nav-link {
    color: var(--bs-gray-600);
}

.nav-link.active {
    font-weight: 500;
}

/* LOADER */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    background-color: #F5F5F5;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease-in-out;
}

#loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-logo {
    height: 4rem;
    width: 4rem;
    object-fit: contain;
}

/* LOADING */
:root {
    --loader-color: #28a745;
    --text-gradient: linear-gradient(to right, #ff8a00, #e52e71);
}

.loader {
    margin-top: 1rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-block;
    border-top: 3px solid var(--loader-color);
    border-right: 3px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* text */
.text-gradient {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* style theme_2 */
.sale-label {
    position: absolute;
    top: 12px;
    left: -120px;
    padding: 6px;
    background-color: var(--bs-primary);
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    transform: rotate(-45deg);
}

@media (max-width: 768px) {
    .sale-label {
        top: 12px;
        left: -80px;
    }
}

/* style theme_3 */
/* Default styles */
/* .product-name,
.category-name,
.product-mrp,
.product-price {
    font-size: 1.2rem;
    font-weight: 500;
} */

.product-name {
    font-size: 1.4rem;
    text-transform: uppercase;
    font-weight: 500;
}

/* Mobile-first media queries */
@media screen and (max-width: 480px) {

    /* Smartphones */
    .product-name,
    .category-name,
    .product-mrp,
    .product-price {
        font-size: 0.9rem;
    }

    .product-mrp,
    .product-price {
        font-size: 0.8rem;
        /* Converted 10px to relative units */
    }
}

@media screen and (max-width: 375px) {

    /* Small smartphones */
    .product-name {
        font-size: 0.85rem;
    }

    .category-name {
        font-size: 0.75rem;
    }

    .product-mrp,
    .product-price {
        font-size: 0.7rem;
    }
}

@media screen and (max-width: 320px) {

    /* Ultra-small devices */
    .product-name {
        font-size: 0.8rem;
    }

    .category-name {
        font-size: 0.7rem;
    }

    .product-mrp,
    .product-price {
        font-size: 0.65rem;
    }
}

.cart-icon {
    height: 3.5rem;
    width: 3.5rem;
    object-fit: contain;
    display: flex;
    align-items: center;
    justify-content: center;
}

body{
    background-image: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
}
