/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Aug 08 2026 | 11:22:29 */
/* =========================================
   PRODUCT GALLERY - DESKTOP
   Left thumbnails + Main image
========================================= */

.single-product .module-product-image.thumb-img-left
.woocommerce-product-gallery__wrapper {
    display: grid !important;
    grid-template-columns: 90px minmax(0, 1fr) !important;
    gap: 15px !important;
    align-items: start !important;
}

/* Main image */
.single-product .module-product-image.thumb-img-left
.woocommerce-product-gallery__wrapper
.woocommerce-product-gallery__image:first-child {
    grid-column: 2 !important;
    grid-row: 1 / span 10 !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Main image itself */
.single-product .module-product-image.thumb-img-left
.woocommerce-product-gallery__image:first-child img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
}

/* Thumbnails */
.single-product .module-product-image.thumb-img-left
.woocommerce-product-gallery__wrapper
.woocommerce-product-gallery__image:not(:first-child) {
    grid-column: 1 !important;
    width: 90px !important;
    height: 110px !important;
    margin: 0 0 10px !important;
    overflow: hidden !important;
}

/* Thumbnail images */
.single-product .module-product-image.thumb-img-left
.woocommerce-product-gallery__image:not(:first-child) img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Hide WooCommerce Sale label inside gallery */
.single-product .module-product-image.thumb-img-left
.woocommerce-product-gallery__wrapper > .onsale {
    display: none !important;
}


/* =========================================
   TABLET - 768px to 1024px
========================================= */

@media (min-width: 768px) and (max-width: 1024px) {

    .single-product .module-product-image.thumb-img-left
    .woocommerce-product-gallery__wrapper {
        grid-template-columns: 75px minmax(0, 1fr) !important;
        gap: 12px !important;
    }

    .single-product .module-product-image.thumb-img-left
    .woocommerce-product-gallery__image:not(:first-child) {
        width: 75px !important;
        height: 90px !important;
        margin-bottom: 8px !important;
    }

}


/* =========================================
   MOBILE - Below 767px
   Horizontal thumbnails below main image
========================================= */

@media (max-width: 767px) {

    .single-product .module-product-image.thumb-img-left
    .woocommerce-product-gallery__wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    /* Main image first */
    .single-product .module-product-image.thumb-img-left
    .woocommerce-product-gallery__wrapper
    .woocommerce-product-gallery__image:first-child {
        order: 1 !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .single-product .module-product-image.thumb-img-left
    .woocommerce-product-gallery__image:first-child img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }

    /* Thumbnail row */
    .single-product .module-product-image.thumb-img-left
    .woocommerce-product-gallery__image:not(:first-child) {
        order: 2 !important;
        width: 70px !important;
        height: 85px !important;
        flex: 0 0 70px !important;
        margin: 0 !important;
    }

    /* Put thumbnails horizontally */
    .single-product .module-product-image.thumb-img-left
    .woocommerce-product-gallery__wrapper {
        flex-wrap: wrap !important;
    }

    .single-product .module-product-image.thumb-img-left
    .woocommerce-product-gallery__image:not(:first-child) img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

}


/* =========================================
   SMALL MOBILE - Below 480px
========================================= */

@media (max-width: 480px) {

    .single-product .module-product-image.thumb-img-left
    .woocommerce-product-gallery__wrapper {
        gap: 8px !important;
    }

    .single-product .module-product-image.thumb-img-left
    .woocommerce-product-gallery__image:not(:first-child) {
        width: 60px !important;
        height: 75px !important;
        flex-basis: 60px !important;
    }

}






.custom-product-lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
}

.custom-product-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.custom-lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    width: 45px;
    height: 45px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 40px;
    line-height: 40px;
    cursor: pointer;
    z-index: 1000000;
}

body.custom-lightbox-open {
    overflow: hidden;
}

@media (max-width: 767px) {

    .custom-product-lightbox {
        padding: 15px;
    }

    .custom-product-lightbox img {
        max-width: 95vw;
        max-height: 85vh;
    }

    .custom-lightbox-close {
        top: 10px;
        right: 12px;
        font-size: 34px;
    }
}




/* =========================================
   ADD TO CART
   ========================================= */

.single-product #tf_sticky_form_wrap form.cart
> button.single_add_to_cart_button[name="add-to-cart"] {

    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;

    height: 50px !important;

    flex: 0 0 320px !important;

    margin: 0 !important;
    padding: 0 25px !important;

    background: #159447 !important;
    background-color: #159447 !important;

    color: #ffffff !important;

    border: none !important;
    border-radius: 30px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 16px !important;
    font-weight: 600 !important;

    box-sizing: border-box !important;
}

.single-product #tf_sticky_form_wrap form.cart
> button.single_add_to_cart_button[name="add-to-cart"]:hover {

    background: #117b3b !important;
    background-color: #117b3b !important;
    color: #ffffff !important;
}


/* =========================================
   BUY NOW - SHIPROCKET
   ========================================= */

/* Parent */
.single-product #tf_sticky_form_wrap
.shiprocket-headless {

    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;

    box-sizing: border-box !important;
}


/* Actual Buy Now button */
.single-product #tf_sticky_form_wrap
.shiprocket-headless
button.sr-headless-checkout.sr-buy-now {

    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;

    height: 50px !important;

    margin: 12px 0 0 0 !important;
    padding: 0 20px !important;

    background: #159447 !important;
    background-color: #159447 !important;

    color: #ffffff !important;

    border: none !important;
    border-radius: 30px !important;

    box-sizing: border-box !important;
}


/* Buy Now hover */
.single-product #tf_sticky_form_wrap
.shiprocket-headless
button.sr-headless-checkout.sr-buy-now:hover {

    background: #117b3b !important;
    background-color: #117b3b !important;

    color: #ffffff !important;
}


/* =========================================
   SHIPROCKET INNER WRAPPER
   Keep it green too
   ========================================= */

.single-product #tf_sticky_form_wrap
button.sr-headless-checkout.sr-buy-now
.sr-d-flex {

    background: transparent !important;
}


/* Text inside Buy Now */
.single-product #tf_sticky_form_wrap
button.sr-headless-checkout.sr-buy-now span {

    color: #ffffff !important;
}



/* =========================================
   ADD TO CART - FINAL
   ========================================= */

.single-product .woocommerce #tf_sticky_form_wrap
form.cart button.single_add_to_cart_button.button.alt {

    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;

    flex: 0 0 320px !important;

    height: 50px !important;

    padding: 0 25px !important;
    margin: 0 !important;

    background: #159447 !important;
    background-color: #159447 !important;

    color: #ffffff !important;

    border: none !important;
    border-radius: 30px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    box-sizing: border-box !important;

    font-size: 16px !important;
    font-weight: 600 !important;
}


/* Hover */
.single-product .woocommerce #tf_sticky_form_wrap
form.cart button.single_add_to_cart_button.button.alt:hover {

    background: #117b3b !important;
    background-color: #117b3b !important;
    color: #ffffff !important;
}