@font-face {
    font-family: 'Merriweather';
    src: url('fonts/Merriweather-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Merriweather';
    src: url('fonts/Merriweather-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Merriweather';
    src: url('fonts/Merriweather-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Merriweather';
    src: url('fonts/Merriweather-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Merriweather';
    font-weight: normal;
    font-size: 14px;
    line-height: 1.7;
}

main,
section,
header {
    max-width: 1140px;
    margin: auto;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.menu {
    margin-block: 10px;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

h1.main_h1 {
    font-size: 2em;
}

.current-menu-item a,
.current_page_item a {
    color: #fff;
}

button.single_add_to_cart_button.button.alt,
.woocommerce ul.products li.product .button,
#searchsubmit,
.current_page_item,
.current-menu-item,
.btn {
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 10px 15px;
    border-radius: 50px;
    font-family: 'Merriweather';
    cursor: pointer;
    color: #fff;
    font-weight: normal;
}

:root {
    --primary-color: #000;
    --bg-color: #fff;
}

.header_line1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 15px;
}

.wrap_title {
    text-transform: uppercase;
    font-size: 34px;
    font-weight: 900;
}

#searchform {
    background-color: #ededed;
    border-radius: 50px;
    padding-left: 15px;
}

input#s {
    background-color: #ededed;
    border: none;
    width: 400px;
}

.mslide img {
    height: 400px;
    width: 100%;
    object-fit: cover;
}

.wrap_main_cat {
    display: flex;
    justify-content: space-between;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    box-shadow: 0 0 5px #ccc;
    border: 5px solid #fff;
    position: relative;
}

.woocommerce ul.products li.product .price {
    float: right;
    font-size: 18px;
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    bottom: -5px;
    right: 10px;
}

.wrap_item_cat {
    width: 30%;
    position: relative;
    box-shadow: 0 0 5px #ccc;
    border: 5px solid #fff;
}

.wrap_item_cat img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.name_cat {
    position: absolute;
    left: 15px;
    bottom: 15px;
}

h2.woocommerce-loop-product__title {
    height: 60px;
    display: flex;
    align-items: center;
}

.wrap_banners_os img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    /* filter: opacity(50%); */
}

.wrap_banners_os {
    display: flex;
    gap: 15px;
    flex-wrap: nowrap;
}

.m_banners_os {
    width: 50%;
    position: relative;
    box-shadow: 0 0 5px #ccc;
    border: 5px solid #fff;
}

.name_category_os {
    position: absolute;
    left: 15px;
    bottom: 15px;
}

.wrap_banners_os h3 {
    position: absolute;
    color: var(--primary-color);
    font-size: 28px;
    top: 30%;
    left: 15px;
    font-weight: 900;
    text-shadow: 5px 5px 15px #FFF,
        5px 5px 15px #FFF,
        -5px -5px 15px #fff,
        -5px -5px 15px #fff;
}

.wrapper_esa_copyright {
    width: 85%;
    text-align: center;
    margin: 30px auto 0 auto;
    /* color: #fff; */
    z-index: 1;
    position: relative;
}

.wrapper_esa_shop {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

/* Вариант 1 - Тонкая граница */
aside#secondary {
    border-right: 1px solid #e0e0e0;
    /* background: #f9f9f9; */

    background: rgba(248, 240, 229, 0.4);

}

.pwb-single-product-brands {
    padding: 0;
    margin-top: 10px;
}

span.posted_in {
    display: block;
    margin-top: 15px;
}

button.single_add_to_cart_button.button.alt,
a.button.product_type_external {
    background-color: var(--cta-btn-color) !important;
}

.summary.entry-summary .price {
    font-size: 24px !important;
    color: #000 !important;
    font-weight: 800 !important;
}

:root {
    --cta-btn-color: #4CAF50;
}