.custom-gallery-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 620px;
    overflow: hidden;
}

.main-image {
    position: relative;
    width: 100%;
    max-width: 620px;
}
.main-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
}
.thumbnails {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    overflow-x: auto;      /* позволяет прокручивать содержимое */
    scrollbar-width: none; /* для Firefox */
    -ms-overflow-style: none; /* для IE и Edge */
}
.thumbnails::-webkit-scrollbar {
    display: none; /* для Chrome, Safari и Opera */
}

.thumbnails::before, .thumbnails::after {
    display: none !important;
}
.thumbnails .item-thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: fit-content;
    min-width: fit-content;
}
.thumbnails img {
    margin: 0;
    cursor: pointer;
    border: 1px solid #ddd;
}

.arrow {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    z-index: 100;
}

.left-arrow {
    left: 20px;
}

.right-arrow {
    right: 20px;
}

.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
    float: right;
    width: 100%;
    clear: none;
    max-width: 650px;
    margin-left: 40px;
}

.map-box {
    margin: 40px auto;
}
.map-box img.desktop {
    display: block;
}
.map-box img.mobile {
    display: none;
}

.map-box img {
    width: 100%;
    max-width: 100%;
}

.notes-box {
    width: 100%;
    margin: 30px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.notes-box .item {
    width: 100%;
    max-width: 345px;
}
.notes-box .item h2 {
    font-size: 40px;
    font-weight: 400;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #D5D5D5;
    text-transform: uppercase;
}
.notes-box .item p {
    font-size: 22px;
    font-weight: 400;
}

.images-box {
    width: 100%;
    margin: 30px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.images-box .item {
    width: 100%;
    max-width: 660px;
}
section.services-box {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}
section.services-box .item {
    width: 100%;
    max-width: 320px;
    height: 90px;
}
section.services-box .item .elementor-widget-container  {
    width: 100%;
}
section.services-box .item .elementor-icon-box-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

section.services-box .item .elementor-icon-box-icon, section.services-box .item .elementor-icon-box-icon svg {
    width: 100%;
    max-width: 27px;
    height: auto;
}
section.services-box .item h3 {
    font-family: 'Object Sans';
    font-size: 18px;
    font-weight: 400;
}
section.related.products h2 {
    font-size: 50px;
    text-transform: uppercase;
}

section.related.products .products .product h2.woocommerce-loop-product__title {
    float: left;
    display: flex;
    align-items: center;
    min-height: 40px;
}

section.related.products .products .product span.price {
    float: right;
    display: flex;
    align-items: center;
    min-height: 40px;
    font-weight: 400 !important;
    font-size: 14px !important;
    font-family: 'Object Sans';
}
section.related.products .products .product h2.woocommerce-loop-product__title a, section.related.products .products .product h2.woocommerce-loop-product__title {
    font-weight: normal !important;
    font-size: 14px !important;
    font-family: 'Object Sans';
    margin:0 !important;
}


.page_text_ul ul li {
    margin-bottom: 30px;
    margin-left: 12px;
}
span.smtxt {
    font-size: 16px;
    color: #9C9C9C;
    font-weight: 200;
    width: 100%;
    max-width: 363px;
    display: block;
}

.btn_contact {
    display: flex;
    width: 100%;
    max-width: 404px;
    height: 80px;
    border: 1px solid #000;
    margin-left: auto;
}
.btn_contact.btn_contact_center {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
}
.btn_contact span.svg-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    border-right: 1px solid #000;
}
.btn_contact svg {
    width: 25px;
    height: 25px;
}
.btn_contact span.textlink-box {
    width: 100%;
    color: #000;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.elementor-widget-text-editor .elementor-widget-container a {
    color: #000;
    text-decoration: underline;
}

.woocommerce-breadcrumb a {
    color: #A5A5A5 !important;
}
ul.hfe-breadcrumbs li a, ul.hfe-breadcrumbs li.hfe-breadcrumbs-separator {
    color: #A5A5A5;
}

.product .wiget-block-wrapper {
    display: none;
}
.summary.entry-summary {
    position: relative;
}

.product .wiget-block-wrapper {
    max-width: 360px;
    width: 100%;
    background-color: transparent;
    position: absolute;
    z-index: 1;
    top: 126px;
    right: 20px;
}

/* Стили для списка вкладок */
.tabs-nav {
    list-style: none;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #D5D5D5;
    padding: 0 !important;
    width: 100%;
    margin-bottom: 20px;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
}

.tabs-nav li {
    margin-right: 0;
    list-style-type: none;
}

/* Оформление ссылок на вкладки */
.tabs-nav a {
    font-size: 18px;
    color: #000;
    padding: 13px 0;
}

/* При наведении немного затемняем */
.tabs-nav a:hover {
    color: #999999;
}

/* Активная вкладка */
.tabs-nav a.active {
    color: #999999;
    border-bottom: 1px solid #000;
}

/* Обёртка для контента */
.tabs-container {
    width: 100%;
    margin: 0 auto;
    background: #fff;
    font-size: 20px;
    margin-bottom: 50px;
}

/* Контейнер с содержимым вкладок */
.tab-content {
    display: none; /* по умолчанию скрываем все вкладки */
    padding: 0;
}

/* При необходимости можно добавить стили заголовков, текстов и т. д. */
.tab-content h2 {
    margin-bottom: 10px;
}

.top_title_box_card {
    gap: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.top_title_box_card  .top_title_box_card_left {
    width: 100%;
    max-width: 400px;
}
.top_title_box_card  .top_title_box_card_left .pre_title {
    font-size: 22px;
    color: #999999;
    font-weight: 400;
    text-transform:none;
}
.top_title_box_card  .top_title_box_card_left h1 {
    font-size: 50px;
    color: #101010;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
}
.top_title_box_card  .top_title_box_card_left .under_title {
    font-size: 18px;
    color: #D1AF7C;
    font-weight: 400;
}
.top_title_box_card .top_title_box_card_right .price, .top_title_box_card .top_title_box_card_right .price span {
    font-size: 30px;
    color: #101010;
    text-align: right;
}
div#custom_price_block del, div#custom_price_block ins {
    display: block;
    margin-bottom: 10px;
}
.woocommerce span.onsale {
	background-color: #9b9797 !important;
}
.top_title_box_card .top_title_box_card_right .ics {
    margin-bottom: 5px;
}
.product .woocommerce-variation-price {
    display: none;
}

.my-custom-variations-line {
    display: flex;
    flex-wrap: wrap; /* или nowrap, если точно поместится в одну строку */
    align-items: center;
    gap: 10px;       /* расстояние между элементами */
    /* при необходимости доп. стили */
}

/* Примерно так можно задать ширину селекта */
.variations .value select {
    min-width: 120px;
}

/* Кнопке можно задать свои стили */
.single_add_to_cart_button {
    /* стили под ваш макет */
}
select#pa_objem {
    border-top: 1px solid #BDBDBD;
    border-bottom: 1px solid #BDBDBD;
    border-right: none;
    border-left: none;
    border-radius: 0;
    outline: none;
    width: 100%;
    max-width: 274px;
    min-width: 274px;
    height: 60px;
    font-size: 22px;
    color: #000;
}
.woocommerce div.product form.cart .reset_variations {
    color: #000;
}
.woocommerce div.product form.cart .button {
    height: 70px;
    border-radius: 0;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    float: none !important;
    width: 100%;
    font-size: 22px;
    font-weight: 400;
}
form.variations_form.cart {
    position: relative;
}
.woocommerce div.product form.cart div.quantity {
    float: none !important;
    margin: 0 !important;
    position: absolute;
    top: 0;
    right: 0;
}
.woocommerce div.product form.cart a.added_to_cart.wc-forward {
    height: 70px;
    border-radius: 0;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    float: none !important;
    width: 100%;
    font-size: 22px;
    font-weight: 400;
}
.woocommerce div.product form.cart div.quantity input {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 274px;
    border-top: 1px solid #BDBDBD;
    border-bottom: 1px solid #BDBDBD;
    border-right: none;
    border-left: none;
    border-radius: 0;
    outline: none;
    height: 60px;
    font-size: 22px;
    color: #000;

}
.woocommerce div.product form.cart .variations {
    margin-bottom: 0 !important;
}
.woocommerce div.product form.cart .variations th > label {
    display: none;
}
.woocommerce.single .entry-summary>form.cart {
    display: flex;
    flex-wrap: wrap;
    border-bottom: none !important;
    margin-bottom: 20px !important;
    padding-bottom: 0 !important;
}
.product-price-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 70px;
}
.product-price-info .item {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 18px;
    color: #000;
}

.collection-box {}
.collection-box h4 {
    font-size: 22px;
    color: #999999;
}
.collection-box img {
    margin: 0;
}
.collection-box  p {
    font-size: 20px;
    color: #101010;
}
.collection-box a {
    font-size: 20px;
    color: #000;
    text-decoration: underline;
}
.woocommerce-checkout #payment ul.payment_methods li.active {
    border: 1px solid #D9D9D9;
}
.woocommerce-checkout #payment ul.payment_methods li {
    position: relative;
    cursor: pointer;
    height: 70px;
    line-height: 2;
    font-weight: 400;
    border: 1px solid #000000;
    margin-bottom: 20px!important;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce-checkout #payment div.payment_box {
    position: absolute !important;
    bottom: 0;
    left: 0;
    height: 68px;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dddddd !important;
    font-size: 13px !important;
}

span.outofstock-badge.sale-preset-1 {
    background-color: #EFEFEF !important;
    color: #9B9B9B !important;
}

.icon_part {
    cursor: pointer;
}

.catalog-button {
    margin: 40px auto;
}
.catalog-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 434px;
    height: 70px;
    font-size: 26px;
    font-family: Copperplate;
    border: 1px solid #0A0A0A;
    margin: 0 auto;
    color: #000;
}
.catalog-button a:hover {
    color: #000;
}
.contact_button.contact_button_product span {
    width: 100%;
    max-width: 100%;
    min-height: 46px;
}
.images-box.mobile_v {
    display: none;
}
.images-box.desktop_v {
    display: flex;
}
.subscribe-box {
    width: 100%;
    position: relative;
    max-width: 481px;
}
.subscribe-box label {
    display: block;
}
.subscribe-box input.wpcf7-email {
    display: block;
    height: 49px;
    width: 100%;
    max-width: 481px;
    padding: 15px;
    border: 1px solid #fff;
    color: #BCBCBC;
    background: none !important;
    outline: none;
    border-radius: 0;
}
.subscribe-box input.wpcf7-submit {
    position: absolute;
    right: 10px;
    top: 11px;
    font-size: 0;
    background: url('assets/img/btn-sub.svg') no-repeat center center;
    width: 29px;
    height: 21px;
}
.subscribe-box input.wpcf7-submit:hover {
    background: url('assets/img/btn-sub.svg') no-repeat center center;
}
.collection-box h5 {
    font-size: 40px;
    text-transform: uppercase;
    margin-bottom: 0;
}
.collection-box h6 {
    font-size: 25px;
    text-transform: uppercase;
    margin-top: -10px;
}

footer    .wpcf7-response-output {
    border: 1px solid #46b450 !important;
    color: #bcbcbc;
    text-align: center;
    width: 100%;
    max-width: 300px;
    padding: 0;
    margin: -46px 0 0 0 !important;
}


@media (max-width: 991px) {

    section.services-box.services-box-product {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0;
    }
    section.services-box.services-box-product .item {
        width: 100%;
        max-width: 49% !important;
        margin-bottom: 10px;
    }
    section.services-box.services-box-product .item .elementor-icon-box-icon {
        width: 100%;
        max-width: 19px;
        height: auto;
    }
    section.services-box.services-box-product .item .elementor-icon-box-wrapper {
        padding: 0 23px !important;
    }
    section.services-box.services-box-product .item h3 {
        font-size: 14px !important;
    }
    .images-box.desktop_v {
        display: none;
    }
    .images-box.mobile_v {
        display: block;
    }

    .map-box img.desktop {
        display: none;
    }
    .map-box img.mobile {
        display: block;
    }

    .footer-width-fixer .elementor-widget-container img {
        width: auto !important;
    }
    .catalog-button a {
        width: 100%;
        max-width: 434px;
        height: 60px;
        font-size: 18px;
        font-family: Copperplate;
    }

    .section_mobile_logo {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    .logo_inner_box img {
        max-width: 300px !important;
    }
    .elementor-widget-image img {
        width: 100%;
        max-width: 100%;
    }

    .notes-box {
        justify-content: center;
    }

    section.services-box {
        flex-direction: column;
    }

    section.services-box .item {
        max-width: 100%;
    }

    figure.wp-caption, figure.wp-caption a {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }

    .eael-product-grid .woocommerce ul.products {
        display: flex !important;
        flex-wrap: wrap;
        width: 100% !important;
        gap: 0 !important;
        justify-content: space-between !important;
    }

    .eael-product-grid .woocommerce ul.products li.product {
        float: none !important;
        width: 100% !important;
        max-width: 48% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .betseller_block .eael-product-grid .woocommerce ul.products li.product:nth-child(3), .betseller_block .eael-product-grid .woocommerce ul.products li.product:nth-child(6) {
        width: 100% !important;
        max-width: 100% !important;
    }

    .betseller_block .eael-product-grid .woocommerce ul.products li.product:nth-child(3) img, .betseller_block .eael-product-grid .woocommerce ul.products li.product:nth-child(6) img {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }


    .inspiration_block .eael-product-grid .woocommerce ul.products li.product:nth-child(1), .inspiration_block .eael-product-grid .woocommerce ul.products li.product:nth-child(4) {
        width: 100% !important;
        max-width: 100% !important;
    }

    .inspiration_block .eael-product-grid .woocommerce ul.products li.product:nth-child(1) img, .inspiration_block .eael-product-grid .woocommerce ul.products li.product:nth-child(4) img {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }


    .eael-product-grid .woocommerce .products .product .eael-product-title, .eael-product-grid .woocommerce .products .product .eael-product-price {
        font-size: 16px !important;
        text-align: center !important;
    }

    .header_top_mobile .elementor-container.elementor-column-gap-default {
        display: flex;
        flex-direction: row;
    }

    .header_top_mobile .elementor-container.elementor-column-gap-default > div {
        width: 100%;
        max-width: 33%;
    }

    .box_links_catalog a {
        font-size: 33px !important;
    }


    .product_one .eael-product-grid .woocommerce ul.products li.product {
        width: 100% !important;
        max-width: 100% !important;
    }

    .summary.entry-summary {
        padding: 0 !important;
        margin: 0 !important;
    }

    .contact_button span {
        min-height: 44px !important;
    }

    .thumbnails {
        display: none !important;
    }

    .top_title_box_card .top_title_box_card_left .pre_title {
        font-size: 16px;
    }

    .top_title_box_card .top_title_box_card_left, .top_title_box_card_right {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .top_title_box_card .top_title_box_card_left h1 {
        text-align: center;
        font-size: 35px;
    }

    .top_title_box_card .top_title_box_card_right .price, .top_title_box_card .top_title_box_card_right .price span {
        font-size: 18px;
    }

    select#pa_objem {
        border-top: 1px solid #bdbdbd;
        border-bottom: 1px solid #bdbdbd;
        border-right: none;
        border-left: none;
        border-radius: 0;
        outline: none;
        width: 100%;
        max-width: 45%;
        min-width: 45%;
        height: 60px;
        font-size: 22px;
        color: #000;
    }

    .woocommerce div.product form.cart div.quantity input {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 59%;
        border-top: 1px solid #bdbdbd;
        border-bottom: 1px solid #bdbdbd;
        border-right: none;
        border-left: none;
        border-radius: 0;
        outline: none;
        height: 60px;
        font-size: 22px;
        color: #000;
        margin-left: auto;
    }

    .product-price-info {
        justify-content: center;
    }

    .product-price-info .item {
        font-size: 16px;
    }

    .notes-box .item h2 {
        font-size: 25px;
        text-align: center;
    }

    .notes-box .item p {
        font-size: 18px;
        text-align: center;
    }

    .images-box {
        flex-direction: column;
    }

    section.related.products h2 {
        font-size: 35px;
    }

    .related.products ul.products li:nth-child(3), .related.products ul.products li:nth-child(4) {
        display: none !important;
    }

    .footer-width-fixer img {
        width: 100%;
        max-width: fit-content;
    }
    .tabs-nav a {
        font-size: 16px;
    }
    .tab-content p {
        font-size: 18px;
    }
    .page-template-template-pagebuilder-full-width .elementor-widget-image img {
        width: auto !important;
    }
    .footer-menu-mobile a:nth-child(2n) {
        text-align: right;
    }
    .tags_faq span {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 4px 14px;
        border: 1px solid #000;
    }
    .product .wiget-block-wrapper {
        max-width: 360px;
        width: 100%;
        background-color: transparent;
        position: absolute;
        z-index: 1;
        top: 200px;
        right: 0;
    }


    .last_prod_box_brand .eael-product-grid .woocommerce ul.products {
        display: flex !important;
        justify-content: center !important;
        gap: 5px !important;
    }
    .last_prod_box_brand .eael-product-grid .woocommerce ul.products li.product {
        position: relative !important;
        left: auto !important;
    }

    .collection-box h5 {
        font-size: 30px;
        text-transform: uppercase;
        margin-bottom: 0;
    }
    .collection-box h6 {
        font-size: 20px;
        text-transform: uppercase;
        margin-top: -10px;
    }


    section.related.products .products .product h2.woocommerce-loop-product__title {
        float: none;
        text-align: center;
        justify-content: center;
    }
    section.related.products .products .product span.price {
        float: none;
        text-align: center;
        justify-content: center;
    }
}