/* Featured Product Container */


.featured_product_conatiner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    border: 0px solid black;
    gap: 2%;
    margin-top: 5%;
    margin-bottom: 3%;
}


/* Product Header */

.product_header {
    width: 86%;
    font-size: 2.5rem;
    font-family: var(--shop-heading-font), sans-serif;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1a181e;
    text-align: left;
    border: 0px solid red;
    text-align: center;
}


/* Product Slider */

.product_slider {
    width: 86%;
    position: relative;
    overflow: hidden;
    /* Hides content outside the visible area */
    border: 0px solid #ddd;
}


/* Carousel Container */

.carousel-container {
    display: flex;
    transition: transform 0.3s ease-in-out;
    gap: 30px;
}


/* Product Card */

.product-card {
    flex: 0 0 calc(33.33% - 20px);
    /* 3 cards per slide */
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    box-sizing: border-box;
}

.product-card img {
    width: 100%;
    height: auto;
}

.product-name {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: var(--shop-heading-font), sans-serif;
    font-weight: bold;
    border: 0px solid black;
    text-align: left;
    padding: 10px;
}

.product-price {
    font-size: 1rem;
    color: #333;
    margin-bottom: 15px;
}

.link {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: var(--shop-body-font), sans-serif;
    color: #1a181e;
}

.link:hover {
    text-decoration: none;
    color: #007bff;
}

.add-to-cart {
    background-color: white;
    border: 2px solid #1a181e;
    color: #1a181e;
    text-decoration: none;
    display: inline-block;
    font-size: 2rem;
    font-family: var(--shop-body-font), sans-serif;
    font-optical-sizing: auto;
    font-weight: bolder;
    width: 200px;
    text-align: center;
    padding: 5%;
    float: right;
    margin-top: -15%;
    border-radius: 0px;
}

.custom-width {
    width: 90%;
    margin-left: 5%;
}

.price-add {
    border: 0px solid black;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    margin-top: -5%;
}

.product-price {
    border: 0px solid red;
    width: auto;
    text-align: left;
    font-size: 2rem;
}

.add-cart {
    border: 0px solid red;
    width: auto;
    text-align: right;
}

.add-cart a:hover {
    text-decoration: none;
    color: #1a181e;
}


/* Slider Buttons */

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #efefef;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 2%;
    display: flex;
    justify-content: felex-end;
    z-index: 100;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

#prevSlide {
    left: -25px;
}

#nextSlide {
    right: -25px;
}


/* Responsive Design */

@media (max-width: 768px) {
    .product_slider {
        overflow: scroll;
    }
    .product-card {
        flex: 0 0 100%;
        /* 1 card per slide on smaller screens */
    }
    .product_header {
        font-size: 1.8rem;
    }
    .slider-button {
        font-size: 18px;
        padding: 8px;
        display: none;
    }
}


/*category nav*/

.category_container {
    border: 0px solid black;
    width: 89%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 200px;
    background-color: white;
}

.category_slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    width: 100%;
    scrollbar-width: none;
    /* Firefox */
    box-sizing: border-box;
    gap: 1%;
    border: 0px solid red;
    height: 200px;
}

.category_slider::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}

.category_item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-width: 160px;
    text-align: center;
    border-radius: 4px;
    transition: background-color 0.3s;
    height: 180px;
    border: 0px solid #efefef;
}

.category_img {
    width: 145px;
    height: 140px;
    border: 1px solid #efefef;
    border-radius: 15px;
}

.category_img img {
    width: 140px;
    height: 137px;
    border-radius: 100%;
    transition: transform 0.3s ease;
}

.category_img img:hover {
    transform: scale(1.03);
    /* Scale the image by 1.2 times */
}

.category_name {
    width: 100%;
}

.category_name a {
    font-family: var(--shop-body-font), sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    background: transparent;
    color: #1a181e;
    font-size: 1.5rem;
    font-weight: bold;
}

.category_name a:hover {
    text-decoration: none;
}

.subcategory_list {
    display: none;
    /* Optionally hide subcategories for slider */
}

.slider-nav {
    background: #efefef;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    top: 40%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5%;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

.left-nav {
    left: 78px;
    top: 10px;
    position: relative;
}

.right-nav {
    right: 73px;
    top: 10px;
    position: relative;
}

.cat_header {
    font-size: 2.5rem;
    font-family: var(--shop-heading-font), sans-serif;
    font-optical-sizing: auto;
    color: #1a181e;
    font-style: normal;
    text-align: center;
    border-bottom: 1px solid #efefef;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 1%;
    margin-right: 0%;
}

.category_header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 1%;
    margin-bottom: 1%;
}

.line {
    flex-grow: 1;
    height: 2px;
    background-color: #1a181e;
    border: none;
}


/* Responsive adjustments */

@media screen and (max-width: 768px) {
    .cat_header {
        font-size: 2rem;
    }
    .line {
        width: 20%;
    }
}

@media screen and (max-width: 480px) {
    .cat_header {
        font-size: 1.5rem;
    }
    .line {
        width: 15%;
    }
}

@media (max-width: 1280px) {
    .slider-nav {
        display: none;
    }
}


/* Main Product Container */

.product-container {
    width: 90%;
    margin: 0 auto;
}


/* Category Section */

.category-section {
    margin-bottom: 40px;
}


/* Category Header */

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.category-header h2 {
    font-size: 24px;
    margin: 0;
}

.category-header .view-all {
    text-decoration: none;
    color: #007bff;
}

.category-products {
    width: 90%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    border: 0px solid black;
    margin-top: 3%;
    margin-left: 5%;
}

.category-product-slider {
    width: 86%;
    position: relative;
    overflow: scroll;
    /* Hides content outside the visible area */
    border: 1px solid #ddd;
    display: flex;
    transition: transform 0.3s ease-in-out;
    gap: 30px;
    justify-content: space-between;
}

.category-product-card {
    /* 3 cards per slide */
    background: #fff;
    border: 0px solid #ddd;
    border-radius: 5px;
    text-align: center;
    box-sizing: border-box;
    /* width: calc(70% - 12px); */
}

.category-product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px
}

.category-product-card img:hover {
    transform: scale(1.05);
}

.product a:hover {
    text-decoration: none;
}

.category-product-name {
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-family: var(--shop-heading-font), sans-serif;
    border: 0px solid black;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    max-height: 60px;
}

.price-addtocart {
    border: 1px solid black;
    display: flex;
    text-align: center;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
    margin-top: 0%;
    gap: -5px;
    align-items: flex-start;
}

.category-product-price {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
    font-family: var(--shop-body-font), sans-serif;
}

.addto-cart {
    border: 2px solid #1a181e;
    width: 180px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0%;
}

.addto-cart a:hover {
    text-decoration: none;
    color: #1a181e;
}

.add-tocart {
    background-color: white;
    color: #1a181e;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    font-size: 2rem;
    font-family: var(--shop-body-font), sans-serif;
    font-weight: bold;
}

@media (max-width: 768px) {
    .category-product-slider {
        overflow: scroll;
    }
    .category-product-card {
        flex: 0 0 100%;
        /* 1 card per slide on smaller screens */
    }
    .category_header {
        font-size: 1.8rem;
    }
    .slider-button {
        font-size: 18px;
        padding: 8px;
        display: none;
    }
    .cat_header {
        font-size: 1.7rem;
    }
}


/*gallary start*/


/* General Reset */


/* Import Google font - Poppins */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
.gallery * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}


/* Gallery Section */

.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery .images {
    gap: 10px;
    max-width: 95%;
    margin-top: 40px;
    columns: 5 340px;
    list-style: none;
}

.gallery .images .card {
    display: flex;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    margin-bottom: 14px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px;
}

.gallery .images img {
    width: 100%;
    z-index: 2;
    position: relative;
}

.images .details {
    position: absolute;
    z-index: 4;
    width: 100%;
    bottom: -100px;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    justify-content: space-between;
    transition: bottom 0.1s ease;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.images li:hover .details {
    bottom: 0;
}

.photographer {
    color: #fff;
    display: flex;
    align-items: center;
}

.photographer i {
    font-size: 1.4rem;
    margin-right: 10px;
}

.photographer span {
    font-size: 1.05rem;
}

button,
i {
    outline: none;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.2s ease;
}

.details button {
    background: #fff;
    font-size: 1.1rem;
    padding: 3px 8px;
}

.details .download-btn:hover {
    background: #f2f2f2;
}

.gallery .load-more {
    color: #fff;
    background: #8A6CFF;
    margin: 50px 0;
    font-size: 1.2rem;
    padding: 12px 27px;
}

.gallery .load-more.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.gallery .load-more:hover {
    background: #704dff;
}


/* Lightbox Section */

.gallery {
    margin-top: 3%;
}

.lightbox {
    z-index: 5;
    position: fixed;
    visibility: hidden;
    background: rgba(0, 0, 0, 0.65);
}

.lightbox.show {
    visibility: visible;
}

.lightbox .wrapper {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 100%;
    padding: 20px;
    max-width: 850px;
    background: #fff;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.9);
    transition: transform 0.1s ease;
}

.lightbox.show .wrapper {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.wrapper header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .photographer {
    color: #333;
}

header .photographer i {
    font-size: 1.7rem;
    cursor: auto;
}

header .photographer span {
    font-size: 1.2rem;
}

header .buttons i {
    height: 40px;
    width: 40px;
    display: inline-block;
    color: #fff;
    font-size: 1.2rem;
    line-height: 40px;
    text-align: center;
    background: #8A6CFF;
    border-radius: 4px;
    transition: 0.2s ease;
}

header .buttons i:first-child:hover {
    background: #704dff;
}

header .buttons i:last-child {
    margin-left: 10px;
    font-size: 1.25rem;
    background: #6C757D;
}

header .buttons i:last-child:hover {
    background: #5f666d;
}

.wrapper .preview-img {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.preview-img .img {
    max-height: 65vh;
}

.preview-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media screen and (max-width: 688px) {
    .lightbox .wrapper {
        padding: 12px;
        max-width: calc(100% - 26px);
    }
    .wrapper .preview-img {
        margin-top: 15px;
    }
    header .buttons i:last-child {
        margin-left: 7px;
    }
    header .photographer span {
        font-size: 1.1rem;
    }
    .gallery .images {
        max-width: 100%;
        padding: 0 13px;
        margin-top: 20px;
    }
    .images .details {
        bottom: 0px;
    }
    .gallery .load-more {
        padding: 10px 25px;
        font-size: 1.05rem;
    }
}


/*gallary end*/


/*banner container*/

.lg_banner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 5%;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.banner-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.banner-image {
    display: block;
    width: 100%;
    height: auto;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    z-index: 1000;
}

.left-btn {
    left: 10px;
}

.right-btn {
    right: 10px;
}

.slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.Gallery_container {
    border: px solid black;
    margin-top: 2%;
    margin-bottom: 2%;
}

.rowClass {
    display: -ms-flexbox;
    /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap;
    /* IE10 */
    flex-wrap: wrap;
    padding: 0 4px;
}

.columnClass {
    -ms-flex: 25%;
    /* IE10 */
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

.columnClass img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
}


/* Responsive layout - makes a two-column layout instead of four columns */

@media screen and (max-width: 800px) {
    .columnClass {
        -ms-flex: 50%;
        flex: 50%;
        max-width: 50%;
    }
}


/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */

@media screen and (max-width: 600px) {
    .columnClass {
        -ms-flex: 100%;
        flex: 100%;
        max-width: 100%;
    }
}


/* For tablets */

@media screen and (max-width: 768px) {
    .lg_banner-container {
        height: 300px;
    }
}


/* For mobile phones */

@media screen and (max-width: 480px) {
    .lg_banner-container {
        height: 200px;
    }
}


/* Banner Container */

.banner-container {
    width: 90%;
    max-width: var(--shop-container-width, 1180px);
    overflow: hidden;
    margin: 20px auto;
    border: 0px solid black;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Banner Slider */

.banner-slider {
    display: flex;
    overflow-x: auto;
    gap: 2%;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Hides scrollbar for Firefox */
    -ms-overflow-style: none;
    /* Hides scrollbar for IE/Edge */
    border: 0px solid red;
    width: 100%;
    justify-content: flex-start;
}

.banner-slider::-webkit-scrollbar {
    display: none;
    /* Hides scrollbar for WebKit browsers */
}


/* Individual Banner Items */

.banner-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    /* width: calc(100% / 4 - 10px); */
    /* Adjust for 4 banners in a row */
    /* max-width: 350px; */
    border: 0px solid black;
    height: 170px;
    object-fit: fill;
}

.banner-item img {
    width: 350px;
    border-radius: 5px;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.banner-item:hover img {
    transform: scale(1.1);
    /* Scale the image by 1.2 times */
}


/* Responsive Design for Smaller Screens */

@media (max-width: 768px) {
    .banner-item {
        width: 100%;
        /* Wider for easier scrolling on small screens */
    }
    .category_slider {
        height: 150px;
    }
    .category_item {
        min-width: 120px;
        height: 140px;
    }
    .category_img {
        width: 105px;
        height: 100px;
    }
    .category_img img {
        width: 102px;
        height: 97px;
    }
    .category-product-card img {
        width: 100%;
        height: 160px;
    }
    .category-products {
       width: 95%;
        margin-left: 2.5%;
    }
    .out_of_stock{
    font-size: 12px;
}

.category-product-name a{
    font-size: 15px !important;
    font-weight: 500;
}
}
.out_of_stock{
    text-align: start;
    font-size: 12px !important;
}