/* Product Gallery - Start */
.swiper-wrapper {
    height: fit-content !important;
}
.product-gallery {
    position: sticky;
    top: calc(var(--header-height) + 30px);
    display: flex;
    gap: 15px;
    padding-right: 30px;
}
.gallery-top {
    width: calc(100% - 120px);
    height: fit-content;
}
.gallery-top .swiper-slide img {
    width: 100%;
    height: auto;
    max-height: calc(100dvh - var(--header-height) - 30px - 30px);
    object-fit: cover;
    border-radius: 5px;
    cursor: zoom-in;
}
.gallery-thumbs {
    width: calc(100px + 3px);
    height: fit-content;
    max-height: calc(100dvh - var(--header-height) - 30px - 30px - 30px);
    overflow: auto !important;
    padding-right: 3px !important;
}
.gallery-thumbs .swiper-wrapper {
    transform: translate3d(0px, 0px, 0px) !important;
}
@media (pointer: fine) {
    .gallery-thumbs::-webkit-scrollbar {
        width: 3px;
    }
}
.gallery-thumbs .swiper-slide {
    height: fit-content !important;
    margin-bottom: 10px !important;
}
.gallery-thumbs .swiper-slide img {
    width: 100%;
    height: auto;
    border-radius: 3px;
    cursor: pointer;
}
.gallery-top .swiper-button-prev,
.gallery-top .swiper-button-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 55px;
    background: transparent;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.gallery-top .swiper-button-prev {
    left: 20px;
}
.gallery-top .swiper-button-next {
    right: 20px;
}
.gallery-top .swiper-button-prev::after,
.gallery-top .swiper-button-next::after {
    font-size: 32px;
    font-weight: 500;
    color: #1a2b4c;
    transition: all 0.3s ease;
}
.gallery-top .swiper-button-prev:hover::after,
.gallery-top .swiper-button-next:hover::after {
    color: var(--primary);
}
@media (max-width: 768px) {
    .product-gallery {
        position: relative;
        top: 0;
        display: flex;
        gap: 10px;
        padding-right: 0;
        flex-direction: column-reverse;
    }
    .gallery-thumbs {
        width: 100%;
        height: auto;
    }
    .gallery-top {
        width: 100%;
        height: auto;
    }
    .gallery-top .swiper-button-prev,
    .gallery-top .swiper-button-next {
        width: 38px;
        height: 38px;
    }
    .gallery-top .swiper-button-prev::after,
    .gallery-top .swiper-button-next::after {
        font-size: 36px;
    }
    .gallery-top .swiper-button-prev {
        left: 10px;
    }
    .gallery-top .swiper-button-next {
        right: 10px;
    }
}
/* Product Gallery - End */

/* Product Base - Start */
.product-box {
    padding: 0px 0 70px 0;
    overflow: visible;
}
.product-box .onsale {
    display: none;
}
.sku {
    font-size: 20px;
    line-height: 25px;
    color: #9c9c9c;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.product-details h1.product_title {
    font-family: var(--font-family-1);
    font-size: 28px;
    line-height: 34px;
    font-weight: 500;
    color: var(--black);
    max-width: calc(100% - 80px);
    margin-bottom: 20px;
}
.short-desc {
    color: #474747;
    margin-bottom: 30px;
}
.woocommerce-product-rating,
.product-details form.cart,
.product-details .quantity,
.product-details .compare-btn,
.product-details .wishlist-btn,
.product-details .product_meta,
.product-details .woocommerce-product-details__short-description {
    display: none;
}
.wishlist-box {
    position: absolute;
    top: 0;
    right: 0;
}
.wishlist-box .btn {
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: #f8f8f8;
    border-radius: 100%;
}
.wishlist-box .btn img {
    height: 30px;
}
.coop-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 60px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}
.coop-group .btn-group {
    flex-direction: row;
    flex-wrap: nowrap;
}
.contact-type {
    display: flex;
    gap: 10px;
}
p.coop-text {
    font-family: var(--font-family-1);
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
    margin-top: 5px;
}
@media (max-width: 1279px) {
    .product-details h1.product_title {
        font-size: 24px;
        line-height: 28px;
        max-width: calc(100% - 140px);
    }
    .stock-status {
        right: 15px;
        font-size: 14px;
        line-height: 14px;
    }
}
@media (max-width: 768px) {
    .product-box {
        padding: 15px 0 80px 0;
    }
    .sku {
        font-size: 14px;
        line-height: 17px;
        margin-top: 15px;
    }
    .short-desc {
        margin-bottom: 40px;
        font-size: 14px;
        line-height: 21px;
    }
    .product-details h1.product_title {
        max-width: calc(100% - 0px);
    }
    .col-50 {
        position: relative;
        width: calc(100% - 0px);
    }
    .stock-status {
        position: relative;
        right: initial;
        margin-bottom: 20px;
    }
}
/* Product Base - End */

/* Product Options - Start */
.product-box .color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}
.product-box .color-options .option-head {
    width: 100%;
}
.product-box .color-option {
    position: relative;
    display: flex;
    width: 45px;
    height: 45px;
    border-radius: 100%;
    cursor: pointer;
    border: 4px solid transparent;
    transition: all 0.3s ease;
    background: red;
}
.product-box span.color-option:before {
    content: "не додано";
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 60px;
    padding: 10px;
    border-radius: 5px;
    background: #f0f0f3;
    box-shadow: 0 0 8px rgb(0 0 0 / 15%);
    font-family: var(--font-family-1);
    font-size: 14px;
    line-height: 14px;
    color: #0a121f;
    position: absolute;
    top: 48px;
    left: -10px;
    margin: 0 auto;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}
.product-box span.color-option:hover:before {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* Gold - Start */
.product-box .color-option.gold {
    background: #d7bd82;
}
.product-box .color-option.gold.selected {
    border: 4px solid #a99055;
}
.product-box span.color-option.gold:before {
    content: "Gold";
}
/* Gold - End */

/* Rose Gold - Start */
.product-box .color-option.rose-gold {
    background: #b87333;
}
.product-box .color-option.rose-gold.selected {
    border: 4px solid #a45e2a;
}
.product-box span.color-option.rose-gold:before {
    content: "Rose Gold";
}
/* Rose Gold - End */

/* Inox - Start */
.product-box .color-option.inox {
    background: #e6e6e6;
}
.product-box .color-option.inox.selected {
    border: 4px solid #b3b3b3;
}
.product-box span.color-option.inox:before {
    content: "Inox";
}
/* Inox - End */

/* Grafite - Start */
.product-box .color-option.grafit {
    background: #616169;
}
.product-box .color-option.grafit.selected {
    border: 4px solid #3a3a3a;
}
.product-box span.color-option.grafit:before {
    content: "Grafit";
}
/* Grafite - End */

/* Satyna - Start */
.product-box .color-option.satyna {
    background: #cdcdcd;
}
.product-box .color-option.satyna.selected {
    border: 4px solid #b3b3b3;
}
.product-box span.color-option.satyna:before {
    content: "Satyna";
}
/* Satyna - End */

/* Black - Start */
.product-box .color-option.black {
    background: #222;
}
.product-box .color-option.black.selected {
    border: 4px solid #000;
}
.product-box span.color-option.black:before {
    content: "Black";
}
/* Black - End */

/* Bezowy - Start */
.product-box .color-option.bezowy {
    background: #fcebcc;
}
.product-box .color-option.bezowy.selected {
    border: 4px solid #eeddbd;
}
.product-box span.color-option.bezowy:before {
    content: "Bezowy";
}
/* Bezowy - End */

/* Szary - Start */
.product-box .color-option.szary {
    background: #808080;
}
.product-box .color-option.szary.selected {
    border: 4px solid #5e5b5b;
}
.product-box span.color-option.szary:before {
    content: "Szary";
}
/* Szary - End */

/* Product Options - End */

/* Buy Group - Start */
.buy-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.buy-group .col-left {
    display: flex;
    flex-direction: column;
    width: 80%;
}
.buy-group .price-head {
    width: 100%;
    font-size: 20px;
    line-height: 24px;
}
.buy-group .price {
    position: relative;
    display: flex;
    width: fit-content;
    margin-bottom: 30px;
    font-family: var(--font-family-1);
    font-size: 28px;
    line-height: 33px;
    font-weight: 500;
    color: var(--black);
}
.buy-group .price ins {
    text-decoration: none;
}
.buy-group .price del {
    display: flex;
    align-items: center;
    color: #d3d3d3;
    font-size: 20px;
    line-height: 31px;
    font-weight: 600;
    text-decoration-line: line-through;
    margin-right: 10px;
}
.buy-group .price .per-product {
    margin-left: 5px;
}
.buy-group .col-left .btn-group {
    gap: 15px;
}
.buy-group .col-left .btn-group .btn {
    height: 45px;
}
.buy-group .col-right {
    display: flex;
    flex-direction: column;
    width: 20%;
}
.buy-group .col-right .btn-group {
    justify-content: flex-end;
    gap: 16px;
    padding-top: 31px;
}
.buy-group .col-right .btn-group > div {
    display: flex;
    align-items: center;
    gap: 10px;
}
.buy-group .col-right .btn-group .btn {
    width: 38px;
    height: 38px;
    padding: 8px;
    border-radius: 5px;
}
.buy-group .col-right .btn-group .btn img {
    height: 22px;
}
p.stock {
    display: none;
}
.custom-quantity-input {
    display: flex;
    align-items: center;
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    overflow: hidden;
}
.quantity-btn {
    background: transparent;
    border: none;
    color: #333;
    font-size: 18px;
    padding: 16px 5px;
    width: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.quantity-btn:hover {
    background: var(--gray);
}
.quantity-display {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    width: 30px;
    padding-left: 0;
    padding-right: 0;
    border: none;
    outline: none;
    background: #fff;
}
.buy-group .btn-group {
    width: 100%;
    gap: 15px;
}
.buy-group .btn-group .custom-quantity-input {
    order: 3;
}
.buy-group .btn-group .go-to-cart {
    order: 1;
}
.buy-group .btn-group .buy-one-click {
    order: 2;
	display: none!important;
}
@media (max-width: 1279px) {
    .buy-group {
        flex-direction: column;
        justify-content: flex-start;
        gap: 15px;
    }
    .buy-group .price {
        margin-bottom: 25px;
    }
    .buy-group br {
        display: none;
    }
    .buy-group .col-left {
        width: 100%;
    }
    .buy-group .col-right {
        width: 100%;
    }
    .buy-group .col-right .btn-group {
        padding-top: 25px;
    }
    .product-box .btn-group .btn {
        width: 100%;
    }
    .product-box .btn-group {
        flex-direction: column;
        gap: 15px;
    }
    .custom-quantity-input {
        display: flex;
        align-items: center;
        border: 1px solid #dcdcdc;
        border-radius: 5px;
        overflow: hidden;
        width: 100%;
        justify-content: center;
    }
    .quantity-btn {
        font-size: 24px;
        padding: 8px 5px;
        width: 70px;
        height: 55px;
    }
    .wishlist-box {
        position: relative;
        top: 0;
        right: 0;
        left: 0;
        margin: 40px auto 0 auto;
        display: flex;
        align-items: center;
        gap: 15px;
    }
    .wishlist-text {
        font-family: var(--font-family-1);
        font-weight: 500;
        font-size: 16px;
        line-height: 17px;
        color: #1a2b4c;
    }
    .wishlist-box .btn {
        width: 43px;
        height: 43px;
    }
    .wishlist-box .btn img {
        height: 22px;
    }
}
/* Buy Group - End */

/* Scroll Price - Start */
.mob.scroll-price {
    position: fixed;
    bottom: 0;
    left: 0;
    background: #fafbff;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 15px;
    align-items: center;
    box-shadow: 0px 0px 24px 0px #8e8e8e33;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s ease-in-out;
    z-index: 99999;
}
.mob.scroll-price.active {
    visibility: visible;
    opacity: 1;
    pointer-events: all;
}
.mob.scroll-price .price {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 3px;
}
.mob.scroll-price .btn {
    min-width: 50%;
    height: 45px;
}
@media (max-width: 1279px) {
    body.product-template-default #scrollToTopBtn,
    body.single #scrollToTopBtn,
    body.single-product #scrollToTopBtn {
        display: none !important;
    }
}
/* Scroll Price - End */

/* One Click Order - Start */
.one-click-order .lightbox-section {
    max-width: 620px;
}

/* Product Tabs - Start */
.product-tabs {
    display: flex;
    flex-direction: column;
    margin-top: 35px;
}
.product-tabs .tab {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding: 17px 0;
    border-top: 1px solid var(--gray);
    cursor: pointer;
}
.product-tabs .tab:nth-child(1) {
    border-top: 0px solid var(--gray);
}
.product-tabs .tab .tab-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    line-height: 16px;
    height: 15px;
    font-weight: 600;
}
.product-tabs .tab .tab-title::after {
    content: "";
    display: flex;
    width: 22px;
    height: 22px;
    background: url(/wp-content/themes/shop/img/icons/plus.svg) no-repeat center center;
    background-size: contain;
    transition: all 0.3s ease-in-out;
}
.product-tabs .tab.active .tab-title::after {
    background: url(/wp-content/themes/shop/img/icons/minus.svg) no-repeat center center;
}
.product-tabs .tab .tab-content {
    padding-top: 20px;
}
.product-tabs .tab .tab-content table {
    display: flex;
    width: 100%;
}
/* Product description */
#tab-description {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
#tab-description * {
    color: #474747;
}
#tab-description div {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
#tab-description * {
    margin: 0 !important;
    padding: 0 !important;
}
#tab-description h2,
#tab-description h2 *,
#tab-description h3,
#tab-description h3 * {
    font-size: 20px !important;
    line-height: 26px !important;
}
#tab-description ul,
#tab-description ol {
    display: flex;
    flex-direction: column;
    gap: 5px;
    list-style: none !important;
    margin: 0 !important;
    margin-left: 5px !important;
    padding: 0 !important;
}
#tab-description ul li,
#tab-description ol li {
    display: flex;
    list-style: none !important;
    margin: 0 0 0 0 !important;
    padding: 0 !important;
}
#tab-description ul li:before {
    content: "";
    display: flex;
    width: 6px;
    min-width: 6px;
    height: 6px;
    background: #000;
    border-radius: 100%;
    margin-top: 4px !important;
    margin-right: 5px !important;
}
#tab-description ol li {
    counter-increment: list-counter;
}
#tab-description ol li:before {
    content: counter(list-counter) ". ";
    display: flex;
    border-radius: 100%;
    margin-right: 3px !important;
}
#tab-payment *:not(.btn span) {
    color: #474747;
}
/* Product attributes */
.woocommerce-product-attributes tbody {
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
    width: 100%;
}
.woocommerce-product-attributes tbody tr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: calc(50% - var(--blocks-indent));
    padding: 10px;
    background: #f0f0f3;
    border-radius: 2px;
}
.woocommerce-product-attributes tbody tr:nth-child(4n + 3),
.woocommerce-product-attributes tbody tr:nth-child(4n + 4) {
    background: #fff;
}
.woocommerce-product-attributes tbody tr th {
    color: #0a121f;
    font-size: 14px;
    line-height: 21px;
    font-weight: 400;
    min-width: fit-content;
}
.woocommerce-product-attributes tbody tr td p {
    font-size: 14px;
    line-height: 21px;
    color: #0a121f;
    text-align: right;
}
@media (max-width: 1279px) {
    .woocommerce-product-attributes tbody tr {
        width: calc(100% - 0px);
    }
}
/* Product Tabs - End */

/* Product Reviews - Start */
.review-block {
    margin-top: 50px;
    display: none;
}
#reviews {
    display: flex;
    flex-direction: column-reverse;
    gap: 15px;
}
#tab-title-reviews {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#tab-title-reviews .h3 {
    font-size: 30px;
    line-height: 36px;
}
.woocommerce-Reviews-title,
.clear {
    display: none;
}
#tab-reviews {
    margin-top: 28px;
}
#tab-reviews ol.commentlist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
#tab-reviews ol.commentlist > li {
    display: flex;
    padding: 25px;
    background: #f8f9fb;
    border-radius: 5px;
}
#tab-reviews ol.commentlist > li .comment_container {
    display: flex;
    gap: 10px;
    width: 100%;
}
#tab-reviews ol.commentlist > li img.avatar {
    border-radius: 100%;
    width: 43px;
    height: 43px;
}
#tab-reviews ol.commentlist > li .comment-text {
    display: flex;
    flex-direction: column;
    width: 100%;
}
#tab-reviews ol.commentlist > li .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    order: 1;
}
#tab-reviews ol.commentlist > li .meta > * {
    display: flex;
    font-size: 18px;
    line-height: 20px;
    font-weight: 600;
}
#tab-reviews ol.commentlist > li .meta > span {
    display: none;
}
#tab-reviews ol.commentlist > li .meta > time {
    margin-left: auto;
    font-size: 14px;
    line-height: 14px;
    font-weight: 400;
}
#tab-reviews ol.commentlist > li .star-rating {
    display: flex;
    gap: 5px;
    order: 2;
    margin-top: 10px;
    font-size: 20px;
}
#tab-reviews ol.commentlist > li .description {
    font-size: 16px;
    line-height: 24px;
    margin-top: 15px;
    order: 3;
}
#review_form_wrapper {
    display: none;
}
#review_form .comment-reply-title {
    display: flex;
    font-size: 16px;
    line-height: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}
form#commentform {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.comment-form .stars > span {
    display: flex;
    gap: 6px;
}
.comment-form .stars > span a {
    display: flex;
    padding-top: 3px;
    background: var(--gray);
    border-radius: 5px;
    width: 35px;
    height: 35px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}
.comment-form .stars > span a.active,
.comment-form .stars > span a:hover {
    background: var(--primary);
}
.comment-form .comment-form-comment {
    display: flex;
    flex-direction: column;
}
.comment-form #comment {
    width: 100%;
    color: var(--black);
    padding: 12px 12px 12px 10px;
    outline: none;
    border: none;
    border: 1px solid #e2e2e2;
}

.comment-form input#submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: min-content;
    width: fit-content;
    padding: 15px 24px;
    background: var(--primary);
    color: var(--black);
    margin: 0;
    border: 0;
    font-size: 14px;
    line-height: 14px;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    border-radius: 4px;
    cursor: pointer;
}
/* Product Reviews - End */

/* Related Products - Start */
section.up-sells {
    display: none !important;
}
.related-products {
    padding-bottom: 70px;
}
.related-products .container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.product-list .product-card:nth-child(6) {
    display: none;
}
.related-products .container .btn {
    margin: 0 auto;
}
.random-products {
    padding-bottom: 90px;
}
.random-products .container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.random-products .container .product-list + .btn {
    display: none;
}
.product-card .product-badge:not(:has(.onsale)) {
    display: none;
}

@media (max-width: 1279px) {
    .random-products {
        padding-bottom: 70px;
    }
    .product-list .product-card:nth-child(6) {
        display: flex;
    }
}

/* Recently Viewed Products - Start */
section.recently-viewed-products {
    padding-bottom: 120px;
}
section.recently-viewed-products .container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
@media (max-width: 1279px) {
    .recently-viewed-products .product-card:nth-last-child(1) {
        display: none;
    }
}
/* Recently Viewed Products - End */

.product-gallery .product-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 2;
    background: #ff1b1b;
    border-radius: 3px;
    padding: 6px 10px 6px 10px;
    font-size: 13px;
    line-height: 13px;
    color: #ffffff;
}
.product-badge.expected {
    background: #1a2a4b;
}
.form-lightbox-wrapper.coop.active {
    z-index: 99999;
}
.form-lightbox-wrapper.coop .close-lightbox {
    top: 5px !important;
    right: 5px !important;
    padding: 15px;
}

.form-lightbox-wrapper.coop .form-head .h2 {
    transform: translateY(0px);
    margin-bottom: 5px;
}
.form-lightbox-wrapper.coop .lightbox-section {
    max-height: calc(100vh - var(--header-height) - 40px);
    padding: 50px 10px 40px 45px !important;
    width: 650px;
}
.form-lightbox-wrapper.coop .lightbox-content {
    padding-right: 30px;
    overflow-y: auto;
}
.form-lightbox-wrapper.coop .lightbox-content::-webkit-scrollbar {
    width: 2px;
}

.form-lightbox-wrapper.coop .btn.btn-border.active {
    background: var(--primary) !important;
    border: 2px solid var(--primary) !important;
}
.form-lightbox-wrapper.coop .btn.btn-border.active span {
    color: var(--white) !important;
}
@media (max-width: 1279px) {
    .form-lightbox-wrapper.coop .lightbox-section {
        padding: 50px 30px 20px 30px !important;
        width: 100%;
    }
    .contact-type {
        flex-wrap: wrap;
    }
    .contact-type .btn.btn-small {
        height: 40px;
    }
    .gallery-top .swiper-slide img {
        max-height: 350px;
        object-fit: contain;
    }
    .gallery-thumbs .swiper-slide img {
        max-height: 60px;
        object-fit: contain;
    }
}
