.product-single{
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}
.breadcrumb{
    padding: 25px 0;
    font-size: 14px;
    font-weight: 300;
}
.breadcrumb a{
    color: #888;
}
.single-product .product main{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    margin: 0 0 50px;
}
.single-product .woocommerce-product-gallery{
    width: 65% !important;
    position: sticky;
    top: 150px;
    display: flex;
    align-items: flex-start;
    gap: 1%;
}
.single-product .woocommerce-product-gallery .main-image {
    width: 90%;
    margin: 0 auto;
    position: relative;
}
.woocommerce-product-gallery .main-image .slides {
    display: flex;
    align-items: flex-start;
    padding: 0;
    margin: 0;
    list-style: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}
.woocommerce-product-gallery .main-image .slides::-webkit-scrollbar {
    display: none;
}
.woocommerce-product-gallery .main-image .slides li {
    flex-shrink: 0;
    width: 50%;
    padding: 0 15px;
    box-sizing: border-box;
}
.woocommerce-product-gallery .main-image .main-img-prev,
.woocommerce-product-gallery .main-image .main-img-next {
    position: absolute;
    top: 50%;
    width: 36px;
    height: 36px;
    padding: 8px;
    background: #ffffffcc;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0;
    transition: 200ms ease-in-out;
    z-index: 2;
    box-sizing: border-box;
}
.woocommerce-product-gallery .main-image .main-img-prev {
    left: 20px;
    transform: translateY(-50%) rotate(180deg);
}
.woocommerce-product-gallery .main-image .main-img-next {
    right: 20px;
    transform: translateY(-50%);
}
.woocommerce-product-gallery .main-image .main-img-prev img,
.woocommerce-product-gallery .main-image .main-img-next img {
    width: 20px;
    display: block;
    margin: 0;
    border-radius: 0;
}
@media (hover: hover) {
    .woocommerce-product-gallery .main-image:hover .main-img-prev,
    .woocommerce-product-gallery .main-image:hover .main-img-next {
        opacity: 1;
    }
    .woocommerce-product-gallery .main-image .main-img-prev:hover,
    .woocommerce-product-gallery .main-image .main-img-next:hover {
        background: #000;
    }
    .woocommerce-product-gallery .main-image .main-img-prev:hover img,
    .woocommerce-product-gallery .main-image .main-img-next:hover img {
        filter: invert(1);
    }
}
.single-product .woocommerce-product-gallery .main-image img{
    max-width: 100%;
    display: block;
    margin: 0;
    border-radius: 10px;
}
.single-product .woocommerce-product-gallery .gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 9%;
    max-height: 500px;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
}
.single-product .woocommerce-product-gallery .gallery::-webkit-scrollbar {
    display: none;
}
.single-product .woocommerce-product-gallery .gallery div {
    width: 100%;
    display: block;
    margin: 0;
    cursor: pointer;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    flex-shrink: 0;
    position: relative;
}
.single-product .woocommerce-product-gallery .gallery img {
    width: 100%;
    display: block;
    margin: 0;
    border-radius: 10px;
}
.single-product .woocommerce-product-gallery .gallery div.active:after {
    content: "";
    width: 75%;
    height: 1px;
    background: #00C853;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}
.image-lightbox{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.88);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.image-lightbox.open{
    display: flex;
}
.image-lightbox .lightbox-close{
    position: fixed;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    transition: 200ms ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
@media (hover: hover) {
    .image-lightbox .lightbox-close:hover{
        background: rgba(255,255,255,0.3);
    }
}
.image-lightbox .lightbox-slides{
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.image-lightbox .lightbox-slides::-webkit-scrollbar{
    display: none;
}
.image-lightbox .lightbox-slides li{
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: center;
    box-sizing: border-box;
    padding: 30px 80px;
}
.image-lightbox .lightbox-slides li img{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 10px;
}
.image-lightbox .lightbox-prev,
.image-lightbox .lightbox-next{
    position: fixed;
    top: 50%;
    width: 36px;
    height: 36px;
    padding: 8px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    z-index: 3;
    box-sizing: border-box;
    transition: 200ms ease-in-out;
}
.image-lightbox .lightbox-prev{
    left: 20px;
    transform: translateY(-50%) rotate(180deg);
}
.image-lightbox .lightbox-next{
    right: 20px;
    transform: translateY(-50%);
}
@media (hover: hover) {
    .image-lightbox .lightbox-prev:hover,
    .image-lightbox .lightbox-next:hover{
        background: rgba(255,255,255,0.3);
    }
}
.image-lightbox .lightbox-prev img,
.image-lightbox .lightbox-next img{
    width: 100%;
    display: block;
    margin: 0;
    filter: invert(1);
}
.image-lightbox .lightbox-single{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px;
    box-sizing: border-box;
}
.image-lightbox .lightbox-single img{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 4px;
}
.single-product .summary.entry-summary{
    width: 33% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}


.single-product .summary .brand{
    color: #aaa;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    margin: 0 0 4px;
}
.single-product .product-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
}
.woocommerce-product-details__short-description, .single-product .subtitle{
    margin: 0 0 30px;
    color: #555;
}
.single-product .description{
    margin: 0 0 30px;
}
.single-product .variations {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 30px;
}
.single-product .variations a{
    width: 70px;
}
.single-product .variations a img{
    width: 100%;
    display: block;
    margin: 0;
    border-radius: 5px;
}
/*.single-product .variations a:first-child img{*/
/*    border: 2px solid #222;*/
/*}*/
.shipping-information{
    margin: 0 0 20px;
}
.shipping-information h4{
    font-size: 14px;
    margin: 0;
}
.shipping-information p{
    font-size: 14px;
    margin: 0;
}
.kifuto-warning {
    width: 100%;
    font-size: 16px;
    color: #b00020;
    margin: 10px 0;
}

.m2-calc {
    background: #f7f7f7;
    border-radius: 10px;
    padding: 15px;
    box-sizing: border-box;
    margin: 0 0 20px;
}
.m2-calc h5 {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 600;
}
.m2-calc > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}
.m2-calc .m2-calc-block {
    width: 45%;
    /*max-width: 192px;*/
}

.m2-calc-total span {
    font-size: 22px;
    font-weight: 700;
}

.m2-calc h6 {
    margin: 0 0 2px;
    font-size: 16px;
    font-weight: 400;
}
.m2-calc p{
    font-size: 12px;
    margin: 0 0 6px;
}
.m2-calc-input {
    display: flex;
    align-items: center;
    border: 1px solid #00C853;
    background: white;
    border-radius: 5px;
    min-width: 0;
}
.m2-calc .m2-calc-input input {
    font-family: 'Nunito Sans', sans-serif;
    background: transparent;
    outline: none;
    font-size: 16px;
    border: none;
    padding: 0 5px 0 0;
    height: 36px;
    text-align: right;
    flex: 1 1 100%;
    min-width: 0;
    width: 100%;
}
.m2-calc-input span {
    color: #aaa;
    font-size: 14px;
    flex: 0 0 30px;
}
.m2-calc-input .m2-calc-buttons{

}
.m2-calc-block .m2-calc-buttons img {
    width: 12px;
    filter: invert(1);
}
.m2-calc-buttons button {
    background: #00C853;
    width: 24px;
    height: 18px;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.m2-calc-reserve{
    display: flex;
    justify-content: space-between;
}
.m2-calc-reserve img {
    width: 18px;
    vertical-align: middle;
}
.m2-reserve{
    display: none;
}
.m2-calc-block .checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 5px;
    border: 1px solid var(--blue);
    position: relative;
    cursor: pointer;
}
.m2-calc-block label:has(input:checked) .checkbox {
    border: 1px solid #00C853;
    background: #00C853;
}
.m2-calc-block label:has(input:checked) .checkbox:after {
    content: "";
    display: block;
    width: 7px;
    height: 4px;
    border-left: .125rem solid white;
    border-bottom: .125rem solid white;
    transform: rotate(-45deg);
    position: absolute;
}
input[type="number"] {
    -moz-appearance: textfield; /* Firefox */
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;   /* Chrome, Safari, Edge */
    margin: 0;
}

.single-product #product-attr {
    font-size: 20px;
    font-weight: 400;
    margin: 0 0 20px;
    height: 40px;
}
.single-product #product-attr #product-size {
    font-size: 13px;
    color: #aaa;
}


.single-product .m2-price {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
}
.m2-price_sale {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #DE0E0E;
    line-height: 1;
}
.m2-price_sale span, .sale-price span {
    color: black;
    text-decoration: line-through;
    font-size: 12px;
    font-weight: 400;
}
.single-product main .regular-price {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px;
}
.single-product main .sale-price {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    font-size: 18px;
    font-weight: 700;
    color:#DE0E0E;
    margin: 0;
    line-height: 1;
}



.cart-input{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 20px;
}
.cart-input input {
    display: block;
    width: 50%;
    border: none;
    outline: none;
    font-size: 22px;
    font-family: 'Nunito Sans', sans-serif;
    text-align: center;
    touch-action: manipulation;
}
.qty-container {
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}
.cart-input .cart-button {
    width: calc(75% - 60px);
    height: 50px;
    border: none;
    padding: 0;
    background: black;
    color: white;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.qty-container button {
    width: 16px;
    flex-shrink: 0;
    background: none;
    border: none;
    outline: navajowhite;
    padding: 0;
    margin: 0;
    touch-action: manipulation;
    cursor: pointer;
}
.qty-container button img{
    width: 100%;
    display: block;
    margin: 0;
    touch-action: manipulation;
}
.single-product main .mini-heart-button{
    width: 50px !important;
    height: 50px !important;
}
.product_meta > span {
    display: block;
    margin: 0 0 5px;
    font-size: 14px;
}
.about-section {
    max-width: 700px;
    margin: 0 auto;
}
.about-section h3{
    font-size: 22px;
    margin: 0 0 10px;
}
.about-section img{
    width: 100%;
    height: auto;
    display: block;
    margin: 0 0 40px;
}


/* Gallery */
.flex-viewport{
    margin: 0 0 3px;
}
.woocommerce div.product div.images .flex-control-thumbs{
    display: flex !important;
    flex-wrap: wrap;
    gap: 3px;
}
.woocommerce div.product div.images li{
    width: calc(10% - 3px) !important;
    float: none !important;
    margin: 0;
    padding: 0;
    list-style: none;
}
.woocommerce div.product div.images img {
    max-width: 100% !important;
    max-height: 700px !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}
.woocommerce div.product .woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1) {
    clear: none !important;
}

.woocommerce table.shop_attributes th {
    font-weight: 700 !important;
    padding: 8px 20px !important;
    text-align: left !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
    vertical-align: baseline !important;
}
.woocommerce table.shop_attributes td {
    font-style: italic !important;
    padding: 8px !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
    vertical-align: baseline !important;
}
span.price span:nth-child(n+2){
    display: none;
}

/* Leverage - Product Benefits */
.leverage {

}
.leverage-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 10px;
    box-sizing: border-box;
}
.leverage-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
.leverage-item span {
    font-size: 12px;
    color: black;
}
.product-pck h3{
    font-size: 30px;
    margin: 0 0 20px;
}
.product-pck > div{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 0 20px;
}
.product-pck > div > div{
    width: 59%;
}
.product-pck-imgs{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}
.product-pck-imgs div img{
    width: 150px;
    display: block;
    margin: 0;
    border-radius: 5px;
}
.product-pck-imgs .plus{
    transform: translateY(-20px);
}
.product-pck-main-img{
    width: 39%;
    display: block;
    margin: 0;
    border-radius: 8px;
}

.product-pck-benefits {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 20px;
}
.product-pck-benefit{
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: #f7f7f7;
    border-left: 3px solid #00C853;
    border-radius: 8px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.product-pck-benefit:hover{
    transform: translateY(-2px);
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
.product-pck-benefit-icon{
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    color: #00C853;
    box-shadow: 0 2px 6px rgba(0,0,0,.05);
}
.product-pck-benefit-icon svg{
    width: 24px;
    height: 24px;
}
.product-pck-benefit h4{
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: #222;
}
.product-pck-benefit p{
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #555;
}
.desc-buttons{
    padding: 0;
    margin: 0 0 20px;
    list-style: none;
    display: flex;
    font-size: 16px;
    overflow: auto;
    scrollbar-width: none;
}
.desc-buttons li.active{
    font-weight: 700;
    border-bottom: 3px solid #00C853;
}
.desc-buttons li{
    padding: 8px 0;
    text-align: center;
    min-width: 170px;
    border-bottom: 3px solid #00C85300;
    cursor: pointer;
    transition: border-bottom .2s ease;
}
.descriptions{
    margin: 0 0 50px;
}
.descriptions > div{
    display: none;
}
.descriptions > div.visible{
    display: flex;
}
.desc{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 5%;
}
.shipping{
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px 4%;
}
.shipping-block{
    width: 48%;
    margin: 0 0 50px;
}
.shipping-block h3{
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px;
}
.shipping-block small{
    display: block;
    margin: 8px 0 0;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}
.shipping-list{
    margin: 0;
    padding: 0;
    list-style: none;
}
.shipping-list li{
    padding: 10px 15px;
    font-size: 14px;
    line-height: 1.5;
}
.shipping-list li:nth-child(odd){
    background: #fafafa;
}
.shipping-link{
    width: 100%;
    margin: 10px 0 0;
    font-size: 14px;
}
.shipping-link a{
    color: #00C853;
    font-weight: 600;
    text-decoration: none;
}
.shipping-link a:hover{
    text-decoration: underline;
}



@media (max-width: 767px){
    .shipping-block{
        width: 100%;
    }
    .image-lightbox .lightbox-slides li,
    .image-lightbox .lightbox-single{
        padding: 60px 10px;
    }
    .image-lightbox .lightbox-prev,
    .image-lightbox .lightbox-next{
        width: 40px;
        height: 40px;
        padding: 10px;
    }
    .image-lightbox .lightbox-prev{
        left: 8px;
    }
    .image-lightbox .lightbox-next{
        right: 8px;
    }
    .image-lightbox .lightbox-close{
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
}
.desc .long-desc{
    width: 55%;
    max-width: 800px;
}
.desc .tabs{
    width: 40%;
    max-width: 450px;
}
.tab.product-attrs {
    max-height: 196px;
    overflow: hidden;
    margin: 0 0 50px;
    padding: 0 0 20px;
    transition: 400ms ease-in-out;
    position: relative;
}
.tab.product-attrs.opened {
    max-height: 600px;
}
.tabs .row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 15px;
    box-sizing: border-box;
}
.tabs .row:nth-child(odd){
    background: #fafafa;
}
.tabs .row h5{
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}
.tabs .row p{
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    opacity: 0.7;
    text-align: right;
}
.tab-title {
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: 700;
}

.tab.active .tab-title:after {
    transform: rotate(45deg);
}
.tabs button {
    width: 100%;
    height: 40px;
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    position: absolute;
    bottom: -6px;
    left: 0;
}
.tabs .tab button:before {
    content: "";
    display: block;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 75%);
    position: absolute;
    bottom: 5px;
    left: 0;
    transition: transform .3s ease-in-out;
}
.tabs .tab button:after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    position: absolute;
    border-bottom: 2px solid var(--blue);
    border-right: 2px solid var(--blue);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: transform .3s ease-in-out;
}
.tabs .tab.opened button:before {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 100%, rgba(255, 255, 255, 1) 100%);
}
.tabs .tab.opened button:after {
    transform: translate(-50%, -50%) rotate(-135deg);
}


@media (max-width: 1023px){
    .product-single {
        padding: 0 10px;
    }

    .single-product .summary.entry-summary {
        width: 100% !important;
    }
    .single-product .woocommerce-product-gallery {
        position: inherit;
    }
    .single-product .woocommerce-product-gallery .gallery{
        display: none;
    }
    .woocommerce-product-gallery .main-image .slides li {
        flex-shrink: 0;
        width: 80%;
    }
    .woocommerce-product-gallery .main-image .main-img-prev,
    .woocommerce-product-gallery .main-image .main-img-next {
        opacity: 1;
        width: 32px;
        height: 32px;
        padding: 6px;
    }
    .woocommerce-product-gallery .main-image .main-img-next {
        right: -20px;
    }
    .woocommerce-product-gallery .main-image .main-img-prev {
        left: -20px;
    }
    .woocommerce-product-gallery .main-image .main-img-prev img,
    .woocommerce-product-gallery .main-image .main-img-next img {
        width: 18px;
    }
    .single-product .woocommerce-product-gallery {
        width: 100% !important;
        margin: 0 0 30px;
    }
    .single-product .product-title {
        font-size: 30px;
    }
    .single-product .variations a {
        width: 60px;
    }
    .qty-container {
        width: 30%;
    }
    .cart-input .cart-button {
        width: 65%;
    }
    .leverage-item {
        flex: 1 1 100%;
    }
    .m2-calc .m2-calc-block {
        width: 100%;
    }
    .product-pck > div > div {
        width: 100%;
    }
    .product-pck-imgs {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        align-items: center;
        justify-content: center;
        margin: 0 0 20px;
        position: relative;
    }
    .product-pck-imgs:after{
        content: "";
        display: block;
        width: 24px;
        height: 24px;
        background: url('img/plus.svg') no-repeat center / contain;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .product-pck-main-img {
        width: 100%;
    }
    .product-pck-imgs .plus{
        display: none;
    }
    .product-pck-imgs > div:nth-of-type(1), .product-pck-imgs > div:nth-of-type(2) {
        display: flex;
        flex-direction: column-reverse;
    }
    .desc-buttons li {
         min-width: 152px;
    }
    .desc .tabs{
        width: 100%;
    }
    .desc .long-desc {
        width: 100%;
    }
}