/*
|--------------------------------------------------------------------------
| Custom WooCommerce Single Product
|--------------------------------------------------------------------------
*/


.kw-single-product-page {

    width: 100%;

    max-width: 1440px;

    margin: 0 auto;

    padding: 16px 16px 42px;

}


/*
|--------------------------------------------------------------------------
| Breadcrumb
|--------------------------------------------------------------------------
*/


.kw-single-breadcrumb {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 35px;

    font-size: 13px;

    line-height: 1.5;

    color: #858585;

}


.kw-single-breadcrumb a {

    color: #555;

    text-decoration: none;

    transition: color .2s ease;

}


.kw-single-breadcrumb a:hover {

    color: #111;

}


.kw-breadcrumb-current {

    color: #222;

    max-width: 300px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

}


.kw-breadcrumb-separator {

    color: #bbb;

}


/*
|--------------------------------------------------------------------------
| Main Product Layout
|--------------------------------------------------------------------------
*/


.kw-single-product-layout {

    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) minmax(370px, 1fr);

    /*grid-template-columns:*/
    /*    82px*/
    /*    minmax(0, 1.35fr)*/
    /*    minmax(*/
    /*        370px,*/
    /*        .9fr*/
    /*    );*/

    gap: 28px;

    align-items: start;

}


/*
|--------------------------------------------------------------------------
| Gallery
|--------------------------------------------------------------------------
*/


.kw-product-gallery-section {

    min-width: 0;

}


.kw-product-thumbnails {

    width: 82px;

}


.kw-product-thumbnails-track {

    display: flex;

    flex-direction: column;

    gap: 12px;

}


.kw-product-thumb {

    width: 80px;
    height: 80px;
    padding: 0px !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 9px !important;
    background: #fff !important;
    cursor: pointer;
    overflow: hidden;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;

}


.kw-product-thumb:hover {

    border-color: #aaa;

}


.kw-product-thumb.active {

    border-color: #111;

    box-shadow:
        0 0 0 1px #111;

}


.kw-product-thumb img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: contain;

}


/*
|--------------------------------------------------------------------------
| Main Image
|--------------------------------------------------------------------------
*/


.kw-product-main-image-section {

    min-width: 0;

}


.kw-product-main-slider {

    width: 100%;

    position: relative;

    overflow: hidden;

    border-radius: 16px;

    background: #f7f7f7;

}


.kw-product-main-slider
.swiper-slide {

    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 540px;

}


.kw-product-image-button {

    width: 100%;

    height: 100%;

    padding: 0 !important;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 0 !important;

    background: transparent;

    cursor: zoom-in;

}


.kw-main-product-image {

    width: 100%;
    height: 580px !important;
    object-fit: cover;
    display: block;
    aspect-ratio: 1 / 1;

}


.kw-product-placeholder {

    width: 100%;

    min-height: 540px;

    display: flex;

    align-items: center;

    justify-content: center;

}


.kw-product-placeholder img {

    width: 100%;

    height: 540px;

    object-fit: contain;

}


/*
|--------------------------------------------------------------------------
| Slider Controls
|--------------------------------------------------------------------------
*/


.kw-product-slider-prev,
.kw-product-slider-next {

    position: absolute;
    z-index: 5;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    font-size: 22px;
    /* border-radius: 50% !important; */
    background: #ddb02947 !important;
    color: #000000 !important;
    cursor: pointer;

    box-shadow: 0 4px 15px rgba(0,0,0,.08);

    transition: background .2s ease, transform .2s ease;

}


.kw-product-slider-prev {

    left: 6px;

}


.kw-product-slider-next {

    right: 6px;

}


.kw-product-slider-prev:hover,
.kw-product-slider-next:hover {

    background: #111 !important;

    color: #fff !important;

}


.kw-product-slider-pagination {

    position: absolute;

    z-index: 5;

    left: 50% !important;

    bottom: 18px !important;

    transform:
        translateX(-50%);

    width: auto !important;

    display: none;

}


.kw-product-slider-pagination
.swiper-pagination-bullet {

    width: 7px;

    height: 7px;
    background: #ddb029;

}


/*
|--------------------------------------------------------------------------
| Mobile Thumbnails
|--------------------------------------------------------------------------
*/


.kw-product-mobile-thumbnails {

    display: none;

}


/*
|--------------------------------------------------------------------------
| Product Details
|--------------------------------------------------------------------------
*/


.kw-product-details-section {

    min-width: 0;

}


.kw-product-summary {

    position: relative;

}


.kw-product-title {

    margin:
        0 0 13px;

    font-size:
        clamp(
            28px,
            3vw,
            42px
        );

    line-height: 1.12;

    letter-spacing:
        -1px;

    color: #161616;

    font-weight: 700;

}


.kw-product-rating {

    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 17px;

}


.kw-product-rating > span {

    font-size: 12px;

    color: #777;

}


.kw-stars .star-rating {

    margin: 0;

}


.kw-product-price {

    margin-bottom: 22px;

    font-size: 25px;

    font-weight: 700;

    color: #111;

}


.kw-product-price del {

    margin-right: 8px;

    color: #aaa;

    font-size: 17px;

    font-weight: 400;

}


.kw-product-price ins {

    text-decoration: none;

}


.kw-product-short-description {

    margin-bottom: 25px;

    color: #666;

    font-size: 14px;

    line-height: 1.75;

}


.kw-product-short-description p {

    margin:
        0 0 8px;

}


.kw-product-short-description p:last-child {

    margin-bottom: 0;

}


/*
|--------------------------------------------------------------------------
| Cart
|--------------------------------------------------------------------------
*/


.kw-product-cart-area {

    margin-bottom: 25px;

}


.kw-product-cart-area
form.cart {

    display: block;

    margin: 0;

}


/*
|--------------------------------------------------------------------------
| WooCommerce Variations
|--------------------------------------------------------------------------
*/


.kw-product-cart-area
.variations {

    width: 100%;

    margin:
        0 0 18px;

    border: 0;

}


.kw-product-cart-area
.variations tr {

    display: flex;
    margin-bottom: 15px;
    align-items: center;
    gap: 10px;

}


.kw-product-cart-area
.variations td {

    display: block;

    padding: 0;

    border: 0;
    line-height: 0;

}
.kw-product-cart-area
.variations th {

    border: 1px solid #80808040;
    border-radius: 6px;

}


.kw-product-cart-area
.variations label {

    display: block;

    margin-bottom: 3px;

    color: #222;

    font-size: 13px;

    font-weight: 600;

}


.kw-product-cart-area
.variations select {

    width: 100%;

    height: 46px;

    padding:
        0 40px 0 13px;

    border:
        1px solid #ddd;

    border-radius: 8px;

    background: #fff;

    color: #333;

    font-size: 13px;

}
.woocommerce-variation-price {

    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;

}


/*
|--------------------------------------------------------------------------
| Variation Reset
|--------------------------------------------------------------------------
*/


.kw-product-cart-area
.reset_variations {

    display: inline-block;

    margin-top: 7px;

    color: #777;

    font-size: 11px;

}


/*
|--------------------------------------------------------------------------
| Quantity
|--------------------------------------------------------------------------
*/


.kw-product-cart-area
.quantity {

    display: inline-flex;

    align-items: center;

    margin:
        0 10px 0 0 !important;

}


.kw-product-cart-area
.quantity input {

    width: 65px !important;
    height: 42px;
    padding: 0 8px !important;
    border: 1px solid #ddd;
    border-radius: 0px;
    background: #fff;
    text-align: center !important;

}
.kw-product-cart-area .quantity #minus_qty-0, 
.kw-product-cart-area .quantity #plus_qty-0 {

    width: 38px;
    display: flex;
    justify-content: center;
    background-color: #ddb029;
    align-items: center;
    outline: 0;
    font-weight: 400;
    z-index: 3;
    position: relative;
    min-height: 42px;

}


/*
|--------------------------------------------------------------------------
| Add to Cart Button
|--------------------------------------------------------------------------
*/


.kw-product-cart-area
.single_add_to_cart_button {

    min-height: 48px;

    padding:
        0 28px;

    border: 0;

    border-radius: 8px;

    background: #111;

    color: #fff;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;

}


.kw-product-cart-area
.single_add_to_cart_button:hover {

    background: #2d2d2d;

    transform:
        translateY(-1px);

}


/*
|--------------------------------------------------------------------------
| Product Meta
|--------------------------------------------------------------------------
*/


.kw-product-meta {

    margin-top: 10px;

    padding-top: 10px;

    border-top: 1px solid #e8e8e8;

}


.kw-product-meta-row {

    display: flex;

    gap: 15px;

    padding:
        6px 0;

    font-size: 12px;

    line-height: 1.5;

}


.kw-meta-label {

    width: 75px;

    flex-shrink: 0;

    color: #888;

}


.kw-meta-value {

    color: #333;

}


.kw-meta-value a {

    color: #333;

    text-decoration: none;

}


.kw-meta-value a:hover {

    text-decoration: underline;

}


/*
|--------------------------------------------------------------------------
| Trust Points
|--------------------------------------------------------------------------
*/


.kw-product-trust {

    display: grid;

    grid-template-columns:
        1fr;

    gap: 10px;

    margin-top: 24px;

    padding:
        18px;

    border:
        1px solid #e9e9e9;

    border-radius: 12px;

    background: #fafafa;

}


.kw-trust-item {

    display: flex;

    align-items: center;

    gap: 11px;

}


.kw-trust-icon {

    width: 28px;

    height: 28px;

    flex: 0 0 28px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #000000;

    color: #ddb029;

    font-size: 12px;

    font-weight: 700;

}


.kw-trust-item strong {

    display: block;

    color: #222;

    font-size: 12px;

}


.kw-trust-item span:not(.kw-trust-icon) {

    display: block;

    margin-top: 2px;

    color: #888;

    font-size: 11px;

}


/*
|--------------------------------------------------------------------------
| Product Tabs
|--------------------------------------------------------------------------
*/


.kw-single-product-tabs-section {

    margin-top: 80px;

}


.kw-product-tabs {

    border-top:
        1px solid #e6e6e6;

}


.kw-product-tab-navigation {

    display: flex;

    align-items: center;

    gap: 35px;

    border-bottom: 1px solid #e6e6e6;
    padding: 5px 0;

}


.kw-product-tab-button {

    position: relative;

    min-height: 42px;

    padding: 0;

    border: 0;

    background: transparent;

    color: #888;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

}


.kw-product-tab-button::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -1px;

    width: 0;

    height: 2px;

    background: #111;

    transition:
        width .25s ease;

}


.kw-product-tab-button.active {

    color: #111;

}


.kw-product-tab-button.active::after {

    width: 100%;

}


.kw-product-tab-panels {

    padding-top: 30px;

}


.kw-product-tab-panel {

    display: none;

    color: #666;

    font-size: 14px;

    line-height: 1.8;

}


.kw-product-tab-panel.active {

    display: block;

}


.kw-product-tab-panel h2,
.kw-product-tab-panel h3 {

    color: #222;

}


.kw-product-tab-panel table {

    width: 100%;

    border-collapse: collapse;

}


.kw-product-tab-panel th,
.kw-product-tab-panel td {

    padding:
        12px 10px;

    border-bottom:
        1px solid #eee;

    text-align: left;

}


.kw-product-tab-panel th {

    width: 30%;

    color: #333;

}


/*
|--------------------------------------------------------------------------
| Reviews
|--------------------------------------------------------------------------
*/


.kw-product-tab-panel
#reviews {

    width: 100%;

}


.kw-product-tab-panel
.commentlist {

    margin: 0 0 35px;

    padding: 0;

    list-style: none;

}


.kw-product-tab-panel
.commentlist li {

    padding:
        20px 0;

    border-bottom:
        1px solid #eee;

}


/*
|--------------------------------------------------------------------------
| Related Products
|--------------------------------------------------------------------------
*/


.kw-related-products-section {

    margin-top: 85px;

}


.kw-section-heading {

    margin-bottom: 30px;

}


.kw-section-heading > span {

    display: block;

    margin-bottom: 6px;

    color: #888;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1.5px;

}


.kw-section-heading h2 {

    margin: 0;

    color: #171717;

    font-size: 30px;

    line-height: 1.2;

}


.kw-related-products-grid {

    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 22px;

}


/*
|--------------------------------------------------------------------------
| Lightbox
|--------------------------------------------------------------------------
*/


.kw-product-lightbox {

    position: fixed;

    z-index: 999999;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 30px;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .25s ease,
        visibility .25s ease;

}


.kw-product-lightbox.active {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}


.kw-lightbox-backdrop {

    position: absolute;

    inset: 0;

    background:
        rgba(
            0,
            0,
            0,
            .88
        );

    backdrop-filter:
        blur(5px);

}


.kw-lightbox-container {

    position: relative;

    z-index: 2;

    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

}


.kw-lightbox-image-wrapper {

    width:
        min(
            90vw,
            1100px
        );

    height:
        min(
            85vh,
            850px
        );

    display: flex;

    align-items: center;

    justify-content: center;

}


.kw-lightbox-image {

    max-width: 100%;

    max-height: 100%;

    width: auto;

    height: auto;

    object-fit: contain;

    border-radius: 4px;

}


.kw-lightbox-close,
.kw-lightbox-prev,
.kw-lightbox-next {

    position: absolute;

    z-index: 4;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 44px;

    height: 44px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .25
        );

    border-radius: 50%;

    background:
        rgba(
            255,
            255,
            255,
            .1
        );

    color: #fff;

    font-size: 20px;

    cursor: pointer;

    transition:
        background .2s ease;

}


.kw-lightbox-close:hover,
.kw-lightbox-prev:hover,
.kw-lightbox-next:hover {

    background:
        rgba(
            255,
            255,
            255,
            .25
        );

}


.kw-lightbox-close {

    top: 25px;

    right: 25px;

}


.kw-lightbox-prev {

    left: 25px;

    top: 50%;

    transform:
        translateY(-50%);

}


.kw-lightbox-next {

    right: 25px;

    top: 50%;

    transform:
        translateY(-50%);

}


.kw-lightbox-counter {

    position: absolute;

    left: 50%;

    bottom: 25px;

    transform:
        translateX(-50%);

    color: rgba(
        255,
        255,
        255,
        .85
    );

    font-size: 12px;

}


body.kw-lightbox-open {

    overflow: hidden;

}


/*
|--------------------------------------------------------------------------
| Desktop Adjustments
|--------------------------------------------------------------------------
*/


@media (max-width: 1200px) {

    .kw-single-product-layout {

        grid-template-columns:
            72px
            minmax(0, 1.2fr)
            minmax(
                330px,
                .9fr
            );

        gap: 20px;

    }


    .kw-product-thumb {

        width: 66px;

        height: 66px;

    }


    .kw-product-thumbnails {

        width: 72px;

    }


    .kw-main-product-image,
    .kw-product-main-slider
    .swiper-slide {

        height: 480px;

        min-height: 480px;

    }

}


/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/


@media (max-width: 900px) {

    .kw-single-product-page {

        padding: 28px 14px 60px;

    }


    .kw-single-product-layout {

        grid-template-columns:
            1fr;

        gap: 30px;

    }


    /*
    |--------------------------------------------------------------------------
    | Gallery
    |--------------------------------------------------------------------------
    */

    .kw-product-gallery-section {

        display: none;

    }


    .kw-product-main-image-section {

        width: 100%;

    }


    .kw-product-main-slider {

        border-radius: 14px;

    }


    .kw-main-product-image {

        height: 520px;

    }


    .kw-product-main-slider
    .swiper-slide {

        min-height: 520px;

    }


    .kw-product-slider-pagination {

        display: block;

    }


    .kw-product-mobile-thumbnails {

        display: flex;

        gap: 10px;

        margin-top: 12px;

        padding-bottom: 5px;

        overflow-x: auto;

        scrollbar-width: thin;

    }


    .kw-mobile-thumb {

        width: 68px;

        height: 68px;

        flex:
            0 0 68px;

        padding: 4px;

        border:
            1px solid #e3e3e3;

        border-radius: 8px;

        background: #fff;

        overflow: hidden;

        cursor: pointer;

    }


    .kw-mobile-thumb.active {

        border-color: #111;
        padding: 1px;

        /*box-shadow: 0 0 0 1px #111;*/

    }


    .kw-mobile-thumb img {

        width: 100%;

        height: 100%;

        object-fit: contain;

    }


    /*
    |--------------------------------------------------------------------------
    | Details
    |--------------------------------------------------------------------------
    */

    .kw-product-details-section {

        width: 100%;

    }


    .kw-product-title {

        font-size: 32px;

    }


    .kw-related-products-grid {

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

    }

}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/


@media (max-width: 600px) {

    .kw-single-product-page {

        padding:
            20px 14px 42px;

    }


    .kw-single-breadcrumb {

        margin-bottom: 22px;

        font-size: 11px;

    }


    .kw-product-main-slider {

        border-radius: 10px;

    }


    .kw-product-main-slider
    .swiper-slide {

        min-height: 360px;

    }


    .kw-main-product-image {

        height: 360px;

    }


    .kw-product-slider-prev,
    .kw-product-slider-next {

        width: 36px;

        height: 36px;

        font-size: 15px;

    }


    .kw-product-slider-prev {

        left: 10px;

    }


    .kw-product-slider-next {

        right: 10px;

    }


    .kw-mobile-thumb {

        width: 60px;

        height: 60px;

        flex-basis: 60px;
        padding: 0px !important;

    }


    .kw-product-title {

        margin-bottom: 10px;

        font-size: 27px;

        letter-spacing: -.6px;

    }


    .kw-product-price {

        font-size: 22px;

    }


    .kw-product-short-description {

        font-size: 13px;

    }


    /*
    |--------------------------------------------------------------------------
    | Add to Cart
    |--------------------------------------------------------------------------
    */

    .kw-product-cart-area
    .quantity {

        margin-right: 7px !important;

    }


    .kw-product-cart-area
    .quantity input {

        width: 55px;

    }


    .kw-product-cart-area
    .single_add_to_cart_button {

        padding:
            0 18px;

        font-size: 12px;

    }


    /*
    |--------------------------------------------------------------------------
    | Tabs
    |--------------------------------------------------------------------------
    */

    .kw-single-product-tabs-section {

        margin-top: 55px;

    }


    .kw-product-tab-navigation {

        gap: 22px;

        overflow-x: auto;

        scrollbar-width: none;

    }


    .kw-product-tab-button {

        flex: 0 0 auto;

        min-height: 36px;

        font-size: 12px;

    }


    .kw-product-tab-panels {

        padding-top: 22px;

    }


    .kw-product-tab-panel {

        font-size: 13px;

    }


    /*
    |--------------------------------------------------------------------------
    | Related
    |--------------------------------------------------------------------------
    */

    .kw-related-products-section {

        margin-top: 60px;

    }


    .kw-section-heading h2 {

        font-size: 25px;

    }


    .kw-related-products-grid {

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 16px 10px;

    }


    /*
    |--------------------------------------------------------------------------
    | Lightbox
    |--------------------------------------------------------------------------
    */

    .kw-product-lightbox {

        padding: 15px;

    }


    .kw-lightbox-image-wrapper {

        width: 100%;

        height: 75vh;

    }


    .kw-lightbox-close {

        top: 15px;

        right: 15px;

    }


    .kw-lightbox-prev {

        left: 10px;

    }


    .kw-lightbox-next {

        right: 10px;

    }


    .kw-lightbox-close,
    .kw-lightbox-prev,
    .kw-lightbox-next {

        width: 38px;

        height: 38px;

        font-size: 16px;

    }


    .kw-lightbox-counter {

        bottom: 15px;

    }

}