.single-product.woocommerce div.product {
    flex-direction: row-reverse;
    gap:64px;
}
@media (min-width: 769px) {
    .single-product.woocommerce div.product div.custom-product-gallery-wrapper.images {
        /* width: 838px; */
        width: calc(100% - 472px - 64px);
        padding: 36px 169px;
        margin: 0;
    }
    .single-product.woocommerce div.product div.summary {
        /* width: calc(100% - 838px - 64px); */
        width: 472px;
        margin: 0;
        padding: 64px 0 0;
    }
}
.product-gallery-slider:not(.slick-initialized) > *:not(:first-child) {
    display: none;
}

.related.products {
    margin-top: 0;
}

.woocommerce div.product .summary .product_title {
    font-weight: 400;
    font-size: 24px;
    leading-trim: NONE;
    line-height: 30px;
    letter-spacing: 0%;
    text-transform: uppercase;
    margin: 0;
    margin-bottom: 4px;
}
.woocommerce div.product .summary .product_meta {
    font-weight: 400;
    font-size: 10px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    color:#0000008C;
    margin: 0;
    margin-bottom: 16px;
}
.woocommerce div.product .summary .price {
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;
    margin: 0;
    margin-bottom: 16px;
}
.woocommerce div.product .summary .price .amount {
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;
}
.woocommerce div.product .summary form.cart {

}
.woocommerce div.product .summary form.cart .variations {
    margin-bottom: 16px;
}
.woocommerce div.product .summary form.cart .variations tr {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 338px;
    justify-content: space-between;
}
.woocommerce div.product .summary form.cart .variations tr .label {
    min-width: auto;
    padding-right: 12px;
}
.woocommerce div.product .summary form.cart .variations tr .label label {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;
}
.woocommerce div.product .summary form.cart .variations tr .label span {
    display: none;
}
.woocommerce div.product .summary form.cart .variations tr .value {
    
}
.woocommerce div.product .summary form.cart .variations tr .value ul {

}
.woocommerce div.product .summary form.cart .variations tr .value ul li {
    padding: 0;
    height: auto;
}
.woocommerce div.product .summary form.cart .variations tr .value ul li .variable-item-contents {
    height: auto;
    white-space: nowrap;
}
.woocommerce div.product .summary form.cart .variations tr .value ul li .variable-item-span-button {
    display: flex;
    align-items: center;
    justify-content: center;
    border:0;
    width: auto;
    height: 38px;
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
    color:#0000008C;
    padding: 10px;
}
.woocommerce div.product .summary form.cart .variations tr .value ul li.selected .variable-item-span-button {
    border:0;
    color:#000;
}
.woocommerce div.product .summary form.cart .variations tr .value ul li:not(.selected) .variable-item-span-button:hover {
    color:#000;
}

.woocommerce div.product .summary .woocommerce-variation-add-to-cart {
    padding: 0;
}
.woocommerce div.product .summary form.cart .qib-button-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    max-width: 338px;
    float: unset;
    margin: 0;
}
.woocommerce div.product .summary form.cart .qib-button-wrapper::before {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;
    min-width: auto;
    margin: 0;
    padding-right: 12px;
}
.woocommerce div.product .summary form.cart .qib-button-wrapper .qib-button.minus {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0px;
    line-height: 0;
    color:transparent;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 12H18' stroke='black' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: .3s;
    border: 0;
    padding: 0;
    margin: 0;
}
.woocommerce div.product .summary form.cart .qib-button-wrapper .qib-button.plus {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0px;
    line-height: 0;
    color:transparent;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 12H12M12 12H18M12 12V18M12 12V6' stroke='black' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: .3s;
    border: 0;
    padding: 0;
    margin: 0;
}
.woocommerce div.product .summary form.cart .qib-button-wrapper .quantity {
    height: auto;
}
.woocommerce div.product .summary form.cart .qib-button-wrapper .quantity input {
    -webkit-appearance: none;
    appearance: none;
    padding: 0;
    margin: 0;
    border:0;
    height: 24px;
    width: 22px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;
}

.woocommerce div.product .summary .accordion {
    width: 100%;
    margin-bottom: 32px;
    /* margin-top: 160px; */
    border: 0;
    position: relative;
    padding-top: 32px;
}
.woocommerce div.product .summary .accordion-item {
    /* position: unset; */
    /* transition: transform 0.3s ease; */
    border: 0;
    margin-bottom: 8px;
}
.woocommerce div.product .summary .accordion-header {
    border: 0;
}
.woocommerce div.product .summary .accordion-button {
    padding: 0;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0%;
    text-transform: uppercase;
    cursor: pointer;
}
.woocommerce div.product .summary .accordion-button::after {
    display: none;
}
.woocommerce div.product .summary .accordion-collapse {
    position: relative;
    height: 238px;
    /* opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease; */
    /* left: 0;
    right: 0;
    bottom: 100%; */
    display: none;
    background-color: #fff;
    padding: 32px 0;
    /* overflow: auto; */
    
}
.woocommerce div.product .summary .accordion-collapse::after {
    content:'';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 32px;
    height: 40px;
    width: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
}
/* .woocommerce div.product .summary .accordion-collapse.show {
    opacity: 1;
    visibility: visible;
} */
.woocommerce div.product .summary .accordion-collapse .accordion-body {
    height: 100%;
    overflow: auto;
    padding: 0;
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0%;
    color:#000;
}
.woocommerce div.product .summary .accordion-collapse .accordion-body::-webkit-scrollbar {
    height: 0;
    width: 0;
}
.woocommerce div.product .summary .accordion-collapse .accordion-body .delivery-content-text {
    position: sticky;
    top:0;
    left: 0;
    right: 0;
    background-color: #fff;
    padding-bottom: 8px;
    margin-bottom: 24px;
}
.woocommerce div.product .summary .accordion-collapse .accordion-body .delivery-content-text > p {
    margin: 0;
}
.woocommerce div.product .summary .accordion-collapse .accordion-body .list_delivery_item_title {
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    margin-bottom: 16px;
}
.woocommerce div.product .summary .accordion-collapse .accordion-body .list_delivery_item-collapse {
    padding: 1px;
}
.woocommerce div.product .summary .accordion-collapse .accordion-body .list_delivery_item-collapse_item {
    margin: 0;
    width: 100%;
}
.woocommerce div.product .summary .accordion-collapse .accordion-body .list_delivery_item-collapse_item_ls {
    width: 60%;
    border: 1px solid #000;
    background-color: #fff;
    margin: -1px 0;
    padding: 8px;
}
.woocommerce div.product .summary .accordion-collapse .accordion-body .list_delivery_item-collapse_item_rs {
    width: calc(40% - 2px);
    border: 1px solid #000;
    background-color: #fff;
    margin: -1px ;
    padding: 8px;
}

.woocommerce div.product .summary .single-product-btns {
    display: flex;
    flex-direction: column;   
    gap:8px;
    width: 100%;
}
.woocommerce div.product .summary .individual-size-btn, 
.woocommerce div.product .summary .woocommerce div.product form.cart .button.single_add_to_cart_button,
.woocommerce div.product .summary button.button.alt {
    width: 100%!important;
    margin: 0!important;
    font-size: 14px;
}
.woocommerce div.product .summary .individual-size-btn {
    order: 3;
}
.woocommerce div.product .summary .single_add_to_cart_button {
    order: 2;
}
.woocommerce div.product .summary .alg-wc-wl-btn {
    order: 1;
    position: unset;
    width: 100%!important;
    height: auto!important;
    background-color: transparent!important;
    font-family: 'Onest', sans-serif;
    border:0!important;
    padding: 0;
    display: flex!important;
    align-items: center;
    justify-content: flex-start;
    gap:16px;
    margin-top: 0;
}
.woocommerce div.product .summary .alg-wc-wl-btn .alg-wc-wl-view-state {
    display: block;
    outline: none;
    padding: 0;
    margin: 0;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19.2373 6.23731C20.7839 7.78395 20.8432 10.2727 19.3718 11.8911L11.9995 20.0001L4.62812 11.8911C3.15679 10.2727 3.21605 7.7839 4.76269 6.23726C6.48961 4.51034 9.33372 4.66814 10.8594 6.5752L12 8.00045L13.1396 6.57504C14.6653 4.66798 17.5104 4.51039 19.2373 6.23731Z' stroke='black' stroke-opacity='0.55' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: .3s;
}
.woocommerce div.product .summary .alg-wc-wl-btn.add .alg-wc-wl-view-state {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19.2373 6.23731C20.7839 7.78395 20.8432 10.2727 19.3718 11.8911L11.9995 20.0001L4.62812 11.8911C3.15679 10.2727 3.21605 7.7839 4.76269 6.23726C6.48961 4.51034 9.33372 4.66814 10.8594 6.5752L12 8.00045L13.1396 6.57504C14.6653 4.66798 17.5104 4.51039 19.2373 6.23731Z' fill='black' stroke='black' stroke-opacity='1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}
.woocommerce div.product .summary .alg-wc-wl-btn .alg-wc-wl-view-state > * {
    display: none;
}
.woocommerce div.product .summary .alg-wc-wl-btn::after {
    content: 'добавить в избранное';
    display: block;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color:#0000008C;
    transition: .3s;
}
.woocommerce div.product .summary .alg-wc-wl-btn.add::after {
    color:#000;
}


@media(max-width:1400px) {
    .single-product.woocommerce div.product div.custom-product-gallery-wrapper.images {
        padding: 36px 69px;
    }
}
@media(max-width:1200px) {
    .single-product.woocommerce div.product div.custom-product-gallery-wrapper.images {
        width: calc(100% - 472px - 24px);
        padding: 24px;
    }
    .single-product.woocommerce div.product {
        gap: 64px 24px;
    }
}
@media(max-width:992px) {
    .single-product.woocommerce div.product div.custom-product-gallery-wrapper.images {
        /* width: 838px; */
        width: 100%;
        padding: 0;
    }
    .single-product.woocommerce div.product div.summary {
        padding: 0;
        width: 100%;
        margin-top: -48px;
    }
    .woocommerce div.product .summary form.cart .variations {
        margin-bottom: 8px;
    }
    .woocommerce div.product .summary .accordion {
        margin-top: 0;
        padding-top: 16px;
    }
    .woocommerce div.product .summary form.cart {
        margin-bottom: 0;
    }
    .woocommerce div.product .summary .accordion-collapse {
        height: 212px;
    }
}
@media(max-width:420px) {
    .woocommerce div.product .summary .accordion-collapse .accordion-body .list_delivery_item-collapse_item {
        flex-direction: row;
    }
    .woocommerce div.product .summary .accordion-collapse .accordion-body {
        font-size: 12px;
    }
    .woocommerce div.product .summary .accordion-collapse {
        height: 232px;
        padding: 16px 0;
    }
    .woocommerce div.product .summary .accordion-collapse::after {
        bottom: 16px;
    }
}