:root {
    --primary-color: #b69d5d;
    --accent-color: #9591fc;
    --color-header: #1e2361;
    --color-gold: #1e2361;
    --color-subgold: #ffe202;
    --color-white: #fff;
    --color-black: #000;
    --bg-lite-color: #f3f3f3;
    --text-color: #262626;
    --border-radius: 10px;
    --lite-color: #fdc56b;
    --dark-color: #1e2361;
}

/* ===== ШРИФТЫ ===== */
@font-face {
    src: url("../fonts/manrope-medium.woff") format("woff");
    font-family: "Manrope";
    font-style: normal;
    font-weight: 500;
}

@font-face {
    src: url("../fonts/manrope-regular.woff") format("woff");
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400;
}

@font-face {
    src: url("../fonts/manrope-light.woff") format("woff");
    font-family: "Manrope";
    font-style: normal;
    font-weight: 300;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Manrope";
}

section {
    max-width: 1280px;
    margin: 80px auto;
}

h1,
h2 {
    text-transform: uppercase;
    color: var(--dark-color);
}

.post_content {
    margin-top: 200px;
}

.wrap_header_menu {
    background-color: var(--accent-color);
}

.wrapper_logo img {
    height: auto;
    max-width: 100px;
}

.btn {
    background-color: var(--accent-color);
    padding: 10px 25px;
    border-radius: var(--border-radius);
    color: var(--color-white);
    border: none;
    font-size: 16px;
    font-weight: 500;
}

.advantages_list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.advantages_item_image {
    max-width: 80px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.advantages_list_item {
    display: flex;
    align-items: center;
    gap: 30px;
    border: 1px solid var(--dark-color);
    border-radius: var(--border-radius);
    padding: 30px;
}

@media (max-width:480px) {
    section {
        margin-top: 70px !important;
        margin-bottom: 0;
        padding: 15px;
    }

    .woocommerce-ordering,
    .woocommerce-result-count {
        float: none !important;
        text-align: center;
    }
}

#popmake-98 input.wpcf7-form-control.wpcf7-tel.wpcf7-validates-as-required.wpcf7-text.wpcf7-validates-as-tel {
    margin-bottom: 10px;
    border-radius: 5px;
    height: 40px;
    padding: 15px;
    width: 100%;
}

/* Стили для кнопки "Заказать" и мессенджеров на странице товара */
.product_order_wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

section.related.products .product_order_wrapper,
.archive .product_order_wrapper {
    padding: 10px;
    justify-content: center;
}

section.related.products .price,
.archive .price {
    text-align: center;
}

.product_order_btn {
    background-color: var(--accent-color);
    color: var(--color-white);
    border: none;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-family: "Manrope";
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}

.product_order_btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.product_messengers {
    display: flex;
    gap: 10px;
}

.product_messenger_item {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.product_messenger_item.tg-item {
    background-color: #0088cc;
}

.product_messenger_item.wa-item {
    background-color: #25D366;
}

.product_messenger_item:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.product_messenger_item svg {
    width: 20px;
    height: 20px;
}

/* Мобильная адаптация для кнопок заказа */
@media (max-width: 768px) {
    .product_order_wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .product_order_btn {
        width: 100%;
        padding: 12px 15px;
        font-size: 14px;
    }

    .product_messengers {
        justify-content: center;
    }

    .product_messenger_item {
        width: 45px;
        height: 45px;
    }

    .product_messenger_item svg {
        width: 22px;
        height: 22px;
    }
}