/* banner css start */

.inner-banner-wrap {
    position: relative;
    overflow: hidden;
}

.inner-banner-wrap .banner-text {
    position: relative;
    bottom: 0px;
    width: 100%;
    padding: 100px 0px;
    display: flex;
    flex-direction: column;
    min-height: 420px;
    justify-content: center;
}

.inner-banner-wrap .banner-image {
    position: absolute;
    width: 100%;
    height: 100%;
}

.inner-banner-wrap .banner-image::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(71.26% 90.98% at 50% 45.33%, rgba(0, 0, 0, 0.00) 0%, #000 100%);
    display: block;
}

.inner-banner-wrap .banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner-text-wrap * {
    color: var(--white);
}

.banner-text-wrap {
    max-width: 500px;
    text-align: center;
    margin: 0 auto;
}

.banner-text-wrap h1 {
    margin-bottom: 0 !important;
}


/* banner css end */

.product-tab-main {
    text-align: center;
    position: relative;
}

.product-tab-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    margin-bottom: 45px;
    scrollbar-width: thin;
    scrollbar-color: #cecece #f3f4f6;
}

.product-cat-tabs {
    display: inline-flex;
    align-items: center;
    /* padding-bottom: 20px; */
}

.product-cat-btn {
    background: transparent;
    border: 0;
    padding: 30px 58px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    text-align: center;
    color: #000000;
    border-radius: 0;
    flex-shrink: 0;
    outline: none;
    position: relative;
    border-top: 1px solid #0000001A;
    border-bottom: 1px solid #0000001A;
    border-left: 1px solid #0000001A;
    ;
}

.product-cat-btn:first-child {
    border-left: 1px solid #0000001A;
}

.product-cat-btn:last-child {
    border-right: 1px solid #0000001A;
}

.product-cat-btn.active,
.product-cat-btn:hover {
    background-color: #387319;
    color: #fff;
}

.product-cat-btn.active:before,
.product-cat-btn:hover:before {
    /* content: "";
    width: 24px;
    height: 24px;
    background: #387319;
    clip-path: polygon(50% 10%, 100% 100%, 0% 100%);
    transform: rotate(60deg);
    position: absolute;
    bottom: -10px;
    left: calc(50% - 8px);
    transition: all 0.3s ease; */
}

.product-title {
    text-align: center;
    margin: 20px 0 30px;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
    font-family: var(--font-inter-tight);
}


/* pagination */

.product-ajax-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.product-ajax-pagination .page-numbers {
    padding: 10px;
    background: #0000001A;
    color: var(--black);
    width: 40px;
    height: 40px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-ajax-pagination .page-numbers.active,
.product-ajax-pagination .page-numbers.current,
.product-ajax-pagination .page-numbers:hover {
    color: #fff;
    background: #387319;
}


/* Products Loader Overlay & Spinner Animation */

#products-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
}

#products-loader .spinner {
    width: 45px;
    height: 45px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #356813;
    border-radius: 50%;
    animation: spinProductLoader 0.8s linear infinite;
}

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

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: -30px;
}

.product-card {
    overflow: hidden;
}

.product-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1.4;
    object-fit: cover;
    display: block;
    transition: .4s;
    overflow: hidden;
}

.product-card:hover .product-image img {
    transform: scale(1.07);
}

@media(max-width:991px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr)
    }
    .product-card h5 {
        margin: 15px 0;
    }
}

@media(max-width:574px) {
    .product-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:991px) {
    .inner-banner-wrap .banner-text {
        padding: 80px 0px;
        min-height: auto;
    }
}

@media (max-width: 1199px) {
    .product-cat-btn {
        padding: 20px 25px;
    }
}

@media (max-width: 991px) {
    .product-cat-btn {
        padding: 15px 20px;
    }
    .product-cat-btn.active:before,
    .product-cat-btn:hover:before {
        bottom: -6px;
    }
    .product-cat-tabs {
        padding-bottom: 5px;
    }
    .product-tab-wrap {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .product-ajax-pagination .page-numbers {
        padding: 5px;
        width: 35px;
        height: 35px;
    }
    .product-ajax-pagination {
        gap: 5px;
    }
    .product-cat-btn {
        padding: 12px 15px;
        font-size: 15px;
    }
}