
/* ==========================================================
   Magister Hydraulics header
   ========================================================== */

.site-header {
    position: relative;
    width: 100%;
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    z-index: auto;
}

/* ================================================================
   PRE-FOOTER HELP BLOCK
================================================================ */

.mg-footer-help {
    padding: 48px 0 72px;
    background: #fff;
}

.mg-footer-help__inner {
       display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
    padding: 48px 24px;
    border-radius: 16px;
    background: #F8F8F8;
}
.faq-img img{
    width: 100%;
}

.mg-footer-help__message {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.mg-footer-help__message-icon {
    display: inline-flex;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    color: #BE1A1A;
}

.mg-footer-help__message-icon svg,
.mg-footer-help__button svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mg-footer-help__message-icon circle {
    fill: currentColor;
    stroke: none;
}

.mg-footer-help__copy h2 {
    margin: 0 0 4px;
  font-family: Inter;
font-weight: 700;
font-size: 24px;
line-height: 120%;
letter-spacing: 0%;

}

.mg-footer-help__button.mg-footer-help__button--primary span{
    font-family: Roboto;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
}

.mg-footer-help__button.mg-footer-help__button--secondary span{
    font-family: Roboto;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
}

.mg-footer-help__copy p {
    margin: 0;
    font-family: Inter;
font-weight: 400;
font-size: 20px;
line-height: 120%;
letter-spacing: 0%;

}

.mg-footer-help__actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    margin-left: 24px;
}

.mg-footer-help__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 34px;
    padding: 12px 34px;
    border: 1px solid #BE1A1A;
    border-radius: 6px;

    text-decoration: none !important;
    transition: background-color .2s ease, color .2s ease;
}

.mg-footer-help__button svg {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
}

.mg-footer-help__button--primary,
.mg-footer-help__button--primary:hover,
.mg-footer-help__button--primary:focus-visible {
    color: #fff;
    background: #BE1A1A;
}

.mg-footer-help__button--secondary {
    color: #171717;
    background: #fff;
}

.mg-footer-help__button--secondary:hover,
.mg-footer-help__button--secondary:focus-visible {
    color: #fff;
    background: #BE1A1A;
}

@media (max-width: 767px) {
    .mg-footer-help {
        padding: 24px 0 24px;
    }

    .mg-footer-help .container {
        padding-right: 10px;
        padding-left: 10px;
    }

    .mg-footer-help__inner {
        flex-direction: column;
        justify-content: center;
        min-height: 156px;
        padding: 16px 16px;
        text-align: center;
    }

    .mg-footer-help__message {
        flex-direction: column;
        gap: 8px;
    }

    .mg-footer-help__message-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .mg-footer-help__copy h2 {
        margin-bottom: 4px;
        font-size: 20px;
    }

    .mg-footer-help__copy p {
        font-size: 14px;
        line-height: 1.2;
    }

    .mg-footer-help__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
        width: 100%;
        margin: 16px 0 0;
    }
    .mg-footer-help__button.mg-footer-help__button--primary span{
        font-size: 14px;
    }
    .mg-footer-help__button.mg-footer-help__button--secondary span{
        font-size: 14px;
    }

    .mg-footer-help__button {
        min-width: 0;
        min-height: 35px;
        padding: 6px 5px;
        gap: 5px;
        font-size: 10px;
        white-space: nowrap;
    }

    .mg-footer-help__button svg {
        flex-basis: 20px;
        width: 20px;
        height: 20px;
    }
}

.home-slider__item img {
    width: 100%;
    height: auto;
    display: block;
}

.site-header *,
.site-header *::before,
.site-header *::after {
    box-sizing: border-box;
}

.wc-lps-product__action .added_to_cart.wc-forward{
    color: black;
    font-size: 12px;
    float: right;
    display: block;
    margin: 10px 0 0;
    font-family: "Roboto",sans-serif;
    font-weight: 500;
}
.screen-reader-text{
    display: none;
}

/* Main header */
.site-header__main {
    width: 100%;
    background: #ffffff;
}

.site-header__row {
    display: flex;
    align-items: center;
    min-height: 53px;
    padding: 8px 0 4px;
}

/* Keep the desktop logo/menu row slightly inset from the content edge. */
@media (min-width: 992px) {
    body.home .site-header__main > .container,
    body.tax-product_cat .site-header__main > .container {
        padding-right: 20px;
        padding-left: 20px;
    }
}

/* Logo */
.site-header__logo {
    max-width: 245px;
}

.site-header__logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-header__logo img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Navigation */
.site-header__navigation {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 25px;
}

.site-header__navigation ul li:hover{
    background: #F7F7F7;
    padding: 10px 12px;
}

.site-header__menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-header__menu > li {
    position: relative;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-header__menu > li > a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #b90000;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;

     font-family: "Roboto", sans-serif;
    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}


/* Dropdown arrow */
.site-header__menu > .menu-item-has-children > a::after {
    content: "";
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-right: 1.4px solid currentColor;
    border-bottom: 1.4px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.site-header__menu > .menu-item-has-children:hover > a::after {
    margin-top: 3px;
    transform: rotate(225deg);
}

/* Dropdown menu */
.site-header__menu .sub-menu {
    position: absolute;
    top: calc(100% - 3px);
    left: 50%;
    z-index: 100;
    min-width: 220px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 3px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.13);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}

.site-header__menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.site-header__menu .sub-menu li {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
}

.site-header__menu .sub-menu a {
    display: block;
    padding: 10px 18px;
    color: #333333;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    text-transform: none;
    white-space: nowrap;
}

.site-header__menu .sub-menu a:hover {
    color: #c90000;
    background: #f8f8f8;
    font-weight: 700 !important;
}

/* Actions on the right */
.site-header__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 13px;

}

.site-header__delivery {
    color: #b90000;
    font-size: 14px;
     font-family: "Roboto", sans-serif;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.site-header__delivery:hover {
    color: #e00000;
}

.site-header__account {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    color: #c90000;
    text-decoration: none;
    border-radius: 50%;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.site-header__account:hover {
    color: #ffffff;
    background: #c90000;
}

/* Cart */
.site-header__cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 73px;
    height: 29px;
    padding: 0 13px;
    color: #c90000;
    border: 1.3px solid #c90000;
    border-radius: 20px;
    background: #ffffff;
    text-decoration: none;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.site-header__cart:hover {
    color: #ffffff;
    background: #c90000;
}

.mg-volume-discounts__items  .mg-volume-discounts__item{
        background: #F8F8F8;
    width: max-content;
    padding: 12px 32px;
        border-radius: 8px;
            text-align: center;
}
.mg-volume-discounts__items  .mg-volume-discounts__item .mg-volume-discounts__label{
        font-family: Inter;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
}
.mg-volume-discounts__items  .mg-volume-discounts__item  .mg-volume-discounts__price{
        font-family: Inter;
    font-weight: 700;
    margin-top: 4px;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #FF0000;
}

.mg-volume-discounts__items{
    display: flex;
    gap: 8px;
}
.mg-product-volume-wrap .mg-volume-discounts__title{
         margin: 0;
    font-size: 24px !important;
    display: block;
    color: #1D1D1B;
    text-transform: uppercase;
    font-weight: 700 !important;
    font-family: "Inter", sans-serif;
        margin-bottom: 8px;
}

.mg-product-volume-wrap{
    margin: 32px 0;
}

.mg-product-sibling-variations-wrap .mg-product-variations-links__title{
        font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    margin-bottom: 8px;
}

#wooswipe .thumbnails {
    width: 100%;
}

#wooswipe .thumbnails .thumbnail-nav {
    margin: 0;
}


#wooswipe .thumbnails .slick-track {
    display: flex;
    align-items: center;
}

#wooswipe .thumbnails .slick-slide {
        margin: 0;
            padding: 0;
}



#wooswipe .thumbnails .thumb {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mg-summary-payment-slot .pay-pal-pay-later-wrap img{
    height: 24px;
    width: 20px;
}

.mg-product-price-stock{
        display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.company-info__media img{
        width: 100%;
    border-radius: 8px;
}

.mg-product-price-stock .mg-product-stock.mg-product-stock--in{
          color: #00AC00;
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
}
.mg-product-price-stock__stock img{
    width: 24px;
    height: 24px;
}

.mg-product-price-stock__stock{
        background: #F8F8F8;
    padding: 8px 16px;
    border-radius: 8px;
        display: flex;
    align-items: center;
    gap: 8px;
}

.single-product .quantity {
    width: 154px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border: 1px solid #d5d5d5;
    border-radius: 9px;

    background: #fff;
    overflow: hidden;
}

.single-product .quantity .quantity__button {
    width: 52px;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    margin: 0;

    border: 0;
    background: transparent;

    font-size: 30px;
    font-weight: 300;
    line-height: 1;

    color: #222;

    cursor: pointer;
    box-shadow: none;
}


.mg-product-badges.mg-product-badges--3{
    display: flex;
    gap: 24px;
}
.mg-product-badges.mg-product-badges--3 .mg-product-badges__item{
   display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 24px;
    border-right: 1px solid #BE1A1A;
    width: 25%;
}

.mg-product-badges.mg-product-badges--3 .mg-product-badges__icon{
        height: 40px;
    width: stretch;
}



.mg-product-badges.mg-product-badges--4{
    display: flex;
    gap: 24px;
}
.mg-product-badges.mg-product-badges--4 .mg-product-badges__item{
   display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 24px;
    border-right: 1px solid #BE1A1A;
    width: 25%;
}

.mg-product-badges.mg-product-badges--4 .mg-product-badges__icon{
        height: 40px;
    width: stretch;
}


.mg-product-short-description{
        background: #F8F8F8;
    padding: 16px 24px;
    margin-top: 32px;
    border-radius: 8px;
}

.mg-product-short-description__more{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    color: #BE1A1A;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
}

.mg-product-short-description__more:hover,
.mg-product-short-description__more:focus-visible{
    color: #920f0f;
    text-decoration: underline;
}


#mg-product-full-description,
#mg-product-specifications{
    scroll-margin-top: 120px;
}
.mg-product-short-description ul li{
    list-style: none;
    position: relative;
    padding-left: 36px;
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0%;
    margin-bottom: 16px;
}

.mg-product-short-description ul li::before {
    background: #BE1A1A;
    content: '';
    height: 4px;
    left: 0;
    position: absolute;
    top: .65em;
    width: 20px;
    border-radius: 9999px 0 9999px;
}

.mg-product-badges__item .mg-product-badges__text{
        font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
}

.mg-product-badges.mg-product-badges--3 .mg-product-badges__item img{
        height: 40px;
    width: auto;
}
.mg-product-badges.mg-product-badges--4 .mg-product-badges__item img{
        height: 40px;
    width: auto;
}
.mg-product-badges.mg-product-badges--4 .mg-product-badges__item:last-child {
        padding: 0;
    border: 0px solid;
}
.mg-product-badges.mg-product-badges--3 .mg-product-badges__item:last-child {
        padding: 0;
    border: 0px solid;
}

.mg-product-cart .add-to-cart-btn button{
    font-family: Roboto;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    width: 100%;
    border-radius: 8px;
    height: 56px;
}



.single-product .quantity .quantity__button:hover,
.single-product .quantity .quantity__button:focus {
    background: transparent;
    color: #000;
    box-shadow: none;
}

.single-product .quantity .qty {


    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;

    background: transparent !important;

    text-align: center;

    font-size: 18px;
    font-weight: 600;

    color: #111;

    appearance: textfield;
    -moz-appearance: textfield;



    font-family: Roboto;
font-weight: 700;
font-size: 16px;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}

/* ������� ����������� ��������� number */
.single-product .quantity .qty::-webkit-inner-spin-button,
.single-product .quantity .qty::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.mg-product-price-stock p.price{
    margin: 0;
}

#wooswipe .thumbnails .thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


.mg-product-short-description__more span{
    font-family: Inter;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-thickness: 0%;
    text-decoration-skip-ink: auto;
    color: black;
}

#wooswipe .thumbnails .thumbnail-nav .thumb {
    display: flex;
    align-items: center;
    justify-content: center;
}

#wooswipe .thumbnails .thumbnail-nav .thumb img {
    width: 112px !important;
    height: 100px !important;
    object-fit: contain !important;
    display: block;
        margin-right: 8px;
        border: 1px solid #CECECE;
    border-radius: 8px;
}

#wooswipe .woocommerce-product-gallery__image.single-product-main-image img{
    border: 1px solid #CECECE;
    border-radius: 8px;
        height: 500px;
    object-fit: contain;
}

.product-block .title-product-type{
    font-family: Inter;
    font-weight: 700;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0%;
        color: #1D1D1B;
}

.site-header__cart-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
     font-family: "Roboto", sans-serif;
}

.site-header__cart-count {
    position: absolute;
    top: -7px;
    right: -7px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    color: #ffffff;
    background: #c90000;
    border: 2px solid #ffffff;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
}

.site-header__cart-count.is-empty {
    display: none;
}

/* Search area */
.site-header__search-section {
    width: 100%;
    padding: 0 0 9px;
    background: #ffffff;
}

.site-header__search {
   width: 100%;
    /* min-height: 34px; */
    padding: 5px 9px;
    background: #c90000;
    border-radius: 7px;
    padding: 8px 16px !important;
}

.site-header__search .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{
    width: 100%;
    height: 44px !important;
    font-size: 16px !important;
    line-height: 100%;
    padding: 10px 15px;
    margin: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -webkit-appearance: none;
    box-sizing: border-box;
}

/* FiboSearch */
.site-header__search .dgwt-wcas-search-wrapp {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

.site-header__search .dgwt-wcas-search-form {
    width: 100%;
    margin: 0;
}

.site-header__search .dgwt-wcas-sf-wrapp {
    min-height: 24px;
    padding: 0 !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 3px !important;
}

.site-header__search .dgwt-wcas-search-input {
    width: 100% !important;
    height: 24px !important;
    min-height: 24px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    color: #333333 !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 3px !important;
    box-shadow: none !important;
    font-size: 11px !important;
    line-height: 24px !important;
}

.site-header__search .dgwt-wcas-search-input::placeholder {
    color: #858585 !important;
    opacity: 1;
}

.site-header__search .dgwt-wcas-search-submit {
    height: 24px !important;
    min-height: 24px !important;
    color: #777777 !important;
    background: transparent !important;
    border: 0 !important;
}

.site-header__search .dgwt-wcas-search-submit::before {
    border-color: transparent !important;
}

/* Remove old Bootstrap column behavior inside search */
.site-header__search.col-lg-12 {
    position: relative;
    float: none;
    width: 100%;
    max-width: none;
    padding-left: 9px;
    padding-right: 9px;
}

/* Medium screens */
@media (max-width: 1199px) {
    .site-header__logo {
        flex-basis: 165px;
        max-width: 165px;
    }

    .site-header__logo img {
        width: 135px;
    }

    .site-header__navigation {
        padding: 0 15px;
    }

    .site-header__menu {
        gap: 6px;
    }


}

/* Tablet */
@media (max-width: 991px) {
    .site-header__row {
        flex-wrap: wrap;
        justify-content: space-between;
        padding-top: 10px;
    }

    .site-header__logo {
        flex: 0 0 auto;
        max-width: none;
    }

    .site-header__navigation {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        padding: 2px 0 0;
    }

    .site-header__menu {
        justify-content: flex-start;
        gap: 25px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .site-header__menu::-webkit-scrollbar {
        display: none;
    }

    .site-header__menu > li > a {
        padding: 10px 0;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .site-header__black-line {
        height: 8px;
    }

    .site-header__row {
        min-height: 48px;
        padding: 7px 0 3px;
    }

    .site-header__logo img {
        width: 125px;
    }

    .site-header__delivery {
        display: none;
    }

    .site-header__actions {
        gap: 7px;
    }

    .site-header__navigation {
        padding-top: 3px;
    }

    .site-header__menu {
        gap: 20px;
    }

    .site-header__menu > li > a {
        font-size: 9px;
    }

    .site-header__cart {
        min-width: 66px;
        padding: 0 10px;
    }

    .site-header__search-section {
        padding-bottom: 7px;
    }

    .site-header__search {
        padding: 4px 6px;
        border-radius: 6px;
    }


}

/* ==========================================================
   DESKTOP HEADER / OVERLAY / SHOP MEGA MENU
   ========================================================== */

@media (min-width: 992px) {

    /*
     * ----------------------------------------------------------
     * STACKING ORDER
     * ----------------------------------------------------------
     *
     * ������� ����� header: 30+
     * Overlay:              20
     * Search:               10
     *
     * ������� logo/menu/account/cart �������� �������� �
     * �������������, � ����� � �������� ��������� ��� overlay.
     */

    .pc-menu-sticky {
        position: sticky;
        top: 0;
        z-index: 9;
    }

    .pc-menu-sticky .site-header {
        position: relative;
        z-index: auto;
        isolation: isolate;
        overflow: visible;
    }

    /* ������� ������ ����� ���� �������� ��� overlay. */
    .pc-menu-sticky .site-header__black-line {
        position: relative;
        z-index: 31;
    }

    /* ������ ������� �����: logo + menu + account + cart. */
    .pc-menu-sticky .site-header__main {
        position: relative;
        z-index: 30;
        overflow: visible;
        background: #ffffff;
    }

    .pc-menu-sticky .site-header__main .container,
    .pc-menu-sticky .site-header__row,
    .pc-menu-sticky .site-header__navigation,
    .pc-menu-sticky .site-header__menu {
        overflow: visible;
    }

    /* Overlay ���� ������� ����� header, �� ���� ������. */
    .pc-menu-sticky .site-menu-overlay {
        position: fixed;
        inset: 0;
        z-index: 20;
        background: rgba(0, 0, 0, 0.48);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
            opacity 0.2s ease,
            visibility 0.2s ease;
    }

    body.site-menu-open .pc-menu-sticky .site-menu-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Search ��������� �������� ��� overlay. */
    .pc-menu-sticky .site-header__search-section {
        position: relative;
        z-index: 10;
    }

    /*
     * ----------------------------------------------------------
     * SHOP MEGA MENU
     * ----------------------------------------------------------
     */

    .pc-menu-sticky .site-header__menu > li.menu-item-1925 {
        position: relative;
        z-index: 40;
    }


    /* ����� ������� Shop. */
    .pc-menu-sticky .site-header__menu > li.menu-item-1925 > .sub-menu {
        top: calc(100% - 3px);
        left: 0;
        z-index: 50;
        width: 372px;

        padding: 10px;
        border-radius: 3px 0 0 3px;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }

    .pc-menu-sticky .site-header__menu > li.menu-item-1925:hover > .sub-menu,
    .pc-menu-sticky .site-header__menu > li.menu-item-1925.is-menu-open > .sub-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none !important;
    }

    /* ������ ����� �������. */
    .pc-menu-sticky .site-header__menu > li.menu-item-1925 > .sub-menu > li {
        position: relative;
    }

    .pc-menu-sticky  li.has-new-label::after{
        content: "";
        position: absolute;
        top: 10px;
        right: 24px;
        z-index: 1;
        width: auto;
        height: 18px;
        background-image: url(/wp-content/themes/magisterhyd/img/new-labal-menu.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        aspect-ratio: 40 / 12;
        pointer-events: none;
    }

    .pc-menu-sticky .site-header__menu > li.menu-item-1925 > .sub-menu > li > a {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 38px;
        padding: 9px 34px 9px 12px;
        border-radius: 3px;
        white-space: normal;
        font-family: "Roboto", sans-serif;
    }

    .pc-menu-sticky .site-header__menu > li.menu-item-1925 > .sub-menu > li:hover > a,
    .pc-menu-sticky .site-header__menu > li.menu-item-1925 > .sub-menu > li.is-submenu-active > a {
        color: #BE1A1A;
        background: #F7F7F7;
        font-weight: 700;
    }

    /* ������� ������ � ������� � �������� ����. */
    .pc-menu-sticky .site-header__menu > li.menu-item-1925 > .sub-menu > li.menu-item-has-children > a::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 14px;
        width: 7px;
        height: 7px;
        border-top: 1.4px solid currentColor;
        border-right: 1.4px solid currentColor;
        transform: translateY(-50%) rotate(45deg);
    }

    /* ������ ������� Shop. */
    .pc-menu-sticky .site-header__menu > li.menu-item-1925 > .sub-menu > li > .sub-menu {
        top: -1px;
        left: calc(100% - 1px);
        z-index: 51;
        width: 345px;
        min-width: 345px;
        min-height: calc(100% + 2px);
        max-height: calc(100vh - 160px);
        padding: 10px;
        overflow-x: hidden;
        overflow-y: auto;
        border-radius: 0 3px 3px 0;
        box-shadow: 12px 12px 28px rgba(0, 0, 0, 0.13);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }

    /* ��������� ������ ������� �� hover ��� JS-������. */
    .pc-menu-sticky .site-header__menu > li.menu-item-1925 > .sub-menu > li:hover > .sub-menu,
    .pc-menu-sticky .site-header__menu > li.menu-item-1925 > .sub-menu > li.is-submenu-active > .sub-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none !important;
    }

    .pc-menu-sticky .site-header__menu > li.menu-item-1925 > .sub-menu > li > .sub-menu a {
        padding: 10px 12px;
        white-space: normal;
        border-radius: 3px;
    }
}

@media (min-width: 1200px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1400px;
    }
}


/* ==============================
    HOME PAGE
    ============================== */

.home-slider__item img{
    border-radius: 12px;
}

.home-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 12px 0 40px;
}

.home-slider-prev,
.home-slider-next {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    padding: 0;

    color: #111111;
    background: #eeeeee;
    border: 0;
    border-radius: 50%;

    cursor: pointer;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.home-slider-prev:hover,
.home-slider-next:hover {
    color: #ffffff;
    background: #BE1A1A;
}

.home-slider-controls .home-slider-button {
    position: static;
    transform: none;

     font-family: "Roboto", sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 235px;
    min-height: 52px;
    padding: 12px 28px;

    color: #ffffff;
    background: #BE1A1A;
    border-radius: 8px;

    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.home-slider-controls .home-slider-button:hover {
    color: #ffffff;
    background: #000000;
}

h1.main-category-home-title {
    text-align: center;
    font-weight: 600;
    font-size: 32px;
    margin-bottom: 0px;
        font-family: "Roboto", sans-serif;
        margin-top: 0;
}

.home-categories .main-cat-block{
        border: 2px solid #be1a1a;
    padding: 16px;
    border-radius: 8px;
}
h2.main-category-title {
            color: #000;
        font-size: 14px;
        font-weight: 700;
        margin-top: 16px;
        text-align: center;
        font-family: "Roboto", sans-serif;
}

.main-cat-block .btn-cat-block{
    text-align: center;
}
.main-cat-block .btn-cat-block a{
        position: static;
    transform: none;
    font-family: "Roboto", sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* min-width: 235px; */
    min-height: 52px;
    padding: 12px 28px;
    color: #ffffff;
    background: #BE1A1A;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.main-cat-block .logo-block {
        display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 32px 0 16px;
}

.main-cat-block .logo-block a{
        background: #F8F8F8;
    padding: 30px 36px;
}





/* ==========================================================
   COMPANY INFO
   ========================================================== */

.company-info {
    width: 100%;
    padding: 50px 0 55px;
    background: #f8f8f8;
}

.company-info *,
.company-info *::before,
.company-info *::after {
    box-sizing: border-box;
}

.company-info__section + .company-info__section {
    margin-top: 48px;
}

.company-info__title {
      margin: 0 0 32px;
    color: #242424;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Roboto", sans-serif;
}

.company-info__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 22px;
}

.company-info__media,
.company-info__content {
    min-width: 0;
}



.company-info__video:hover img {
    transform: scale(1.025);
}

.company-info__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 42px;
    color: #ffffff;
    background: #ff0015;
    border-radius: 12px;
    transform: translate(-50%, -50%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.company-info__play svg {
    display: block;
    margin-left: 3px;
}

.company-info__video:hover .company-info__play {
    background: #BE1A1A;
    transform: translate(-50%, -50%) scale(1.07);
}

.company-info__content {
    color: #292929;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.22;
}

.company-info__content p {
    margin: 0 0 17px;
        font-size: 16px;
    font-weight: 400;
    letter-spacing: .8px;
    line-height: 120% !important;
    font-family: "Roboto", sans-serif;
}

.company-info__content p:last-of-type {
    margin-bottom: 0;

}

.company-info__buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 27px;
}

.company-info__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 22px;
    border: 1px solid #cc151b;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    font-family: "Roboto", sans-serif;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.company-info__button--outline {
    color: #222222;
    background: transparent;
}

.company-info__button--outline:hover {
    color: #ffffff;
    background: #c9151b;
    border-color: #BE1A1A;
}



.company-info__button--red {
    color: #ffffff;
    background: #BE1A1A;
    border-color: #BE1A1A;
}

.company-info__button--red:hover {
    color: #ffffff;
        background: black;
    border-color: black;
}

.company-info__video iframe{
    width: 100%;
    height: 420px;
}

/* Large desktop */
@media (min-width: 1200px) {
    .company-info .container {
        max-width: 1400px;
    }

    .company-info__row {
        gap: 22px;
    }

    .company-info__content {
        padding: 0 0 0 0;
    }
}


.main-cat-block .btn-cat-block a:hover{
    background: black;
}

/* Tablet */
@media (max-width: 991px) {
    .company-info {
        padding: 40px 0;
    }

    .company-info__title {
        margin-bottom: 22px;
        font-size: 25px;
    }

    .company-info__row {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .company-info__section--reverse .company-info__media {
        order: 1;
    }

    .company-info__section--reverse .company-info__content {
        order: 2;
    }

    .company-info__section + .company-info__section {
        margin-top: 42px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .company-info {
        padding: 32px 0 38px;
    }

    .company-info__title {
        margin-bottom: 18px;
        font-size: 22px;
    }

    .company-info__content {
        font-size: 14px;
        line-height: 1.35;
    }

    .company-info__content p {
        margin-bottom: 14px;
    }

    .company-info__buttons {
        gap: 10px;
        margin-top: 22px;
    }

    .company-info__button {
        flex: 1 1 auto;
        min-height: 42px;
        padding: 10px 14px;
        font-size: 12px;
        width: 100%;
    }

    .company-info__play {
        width: 54px;
        height: 40px;
    }
}






/* ==========================================================
   HOME VIDEOS
   ========================================================== */

.home-videos {
    width: 100%;
    padding: 56px 0;
    background: #ffffff;
    overflow: hidden;
}

.home-videos *,
.home-videos *::before,
.home-videos *::after {
    box-sizing: border-box;
}

.home-videos__title {

    font-family: "Roboto", sans-serif;
}

.home-videos__slider {
    width: 100%;
}

.home-videos__item {
    width: 100%;
}

.home-videos__video {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #111111;
    border-radius: 6px;
}

.home-videos__video iframe {
    position: absolute;
    inset: 0;

    display: block;
    width: 100%;
    height: 100%;

    border: 0;
}

.home-videos__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 26px;
}

.home-videos__button {
    font-family: "Roboto", sans-serif;
    margin-top: 18px;
}

.home-videos__button:hover {
    color: #ffffff;
    background: #BE1A1A;
    border-color: #BE1A1A;
}

/* ������ ������� ����� ���������� ������ */
.home-videos__slider .owl-stage-outer {
    overflow: visible;
}

.home-videos__slider .owl-stage {
    display: flex;
}

.home-videos__slider .owl-item {
    display: flex;
}

.home-videos__slider .owl-item > .home-videos__item {
    width: 100%;
}

@media (max-width: 991px) {
    .home-videos {
        padding: 38px 0 35px;
    }

    .home-videos__title {
        margin-bottom: 22px;
        font-size: 25px;
    }
}

@media (max-width: 575px) {
    .home-videos {
        padding: 32px 0;
    }

    .home-videos__title {
        margin-bottom: 18px;
        font-size: 22px;
    }

    .home-videos__footer {
        margin-top: 20px;
    }
}



/* ==========================================================
   HOME VIDEOS
   ========================================================== */

.home-videos {
    width: 100%;
    padding: 45px 0 40px;
    overflow: hidden;
    background: #ffffff;
}

.home-videos *,
.home-videos *::before,
.home-videos *::after {
    box-sizing: border-box;
}

.home-videos__title {
    margin: 0 0 28px;
    color: #222222;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.home-videos__slider {
    width: 100%;
}

.home-videos__item {
    width: 100%;
}

.home-videos__preview,
.home-videos__embed {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #111111;
    border: 0;
    border-radius: 6px;
}

.home-videos__preview {
    cursor: pointer;
}

.home-videos__preview img {
    position: absolute;
    inset: 0;

    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    transform: scale(1.02);
    transition:
        transform 0.35s ease,
        opacity 0.35s ease;
}

.home-videos__preview:hover img {
    opacity: 0.92;
    transform: scale(1.045);
}

.home-videos__play {
    position: absolute;
    top: 50%;
    left: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 42px;

    color: #ffffff;
    background: #ff0015;
    border-radius: 12px;

    transform: translate(-50%, -50%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.home-videos__play svg {
    display: block;
    margin-left: 3px;
}

.home-videos__preview:hover .home-videos__play {
    background: #BE1A1A;
    transform: translate(-50%, -50%) scale(1.07);
}

.home-videos__embed iframe {
    position: absolute;
    inset: 0;

    display: block;
    width: 100%;
    height: 100%;

    border: 0;
}

.home-videos__footer {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

.home-videos__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;
    padding: 10px 22px;

    color: #222222;
    background: #ffffff;
    border: 1px solid #d31319;
    border-radius: 6px;

    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.home-videos__button:hover {
    color: #ffffff;
    background: #BE1A1A;
    border-color: #BE1A1A;
}

.home-videos__slider .owl-stage-outer {
    overflow: visible;
}

.home-videos__slider .owl-stage {
    display: flex;
}

.home-videos__slider .owl-item {
    display: flex;
}

@media (max-width: 991px) {
    .home-videos__title {
        font-size: 25px;
    }
}

@media (max-width: 575px) {
    .home-videos {
        padding: 32px 0;
    }

    .home-videos__title {
        margin-bottom: 18px;
        font-size: 22px;
    }

    .home-videos__play {
        width: 54px;
        height: 40px;
    }
}


.company-info__play {
    position: absolute;
    top: 50%;
    left: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 42px;

    color: #ffffff;
    background: #ff0015;
    border-radius: 12px;

    transform: translate(-50%, -50%);
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.company-info__play svg {
    margin-left: 3px;
}

.company-info__video-preview:hover .company-info__play {
    background: #BE1A1A;
    transform: translate(-50%, -50%) scale(1.07);
}

.company-info__video {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 14 / 9;
    background: #111111;
    border-radius: 6px;
}

.company-info__video-preview,
.company-info__video-embed {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.company-info__video-preview {
    padding: 0;
    overflow: hidden;
    background: #111111;
    border: 0;
    cursor: pointer;
}

.mg-product-variation-description figure{
    margin: 0;
}

.mg-product-variation-description ul{
    padding: 0px 0px;
}

.mg-product-reviews-bottom{
    padding: 56px 0 0;
}

.company-info__video-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.company-info__video-preview:hover img {
    opacity: 0.9;
    transform: scale(1.025);
}

.company-info__video-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}







/* ==========================================================
   HOME BLOG
   ========================================================== */

.home-blog {
    width: 100%;
    padding: 56px 0 56px;
    overflow: hidden;
    background: #f8f8f8;
}

.home-blog *,
.home-blog *::before,
.home-blog *::after {
    box-sizing: border-box;
}

.home-blog__title {
    margin: 0 0 24px;
    color: #222222;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
        font-family: "Roboto", sans-serif;
}

.home-blog__slider {
    width: 100%;
}

.home-section.home-categories .logo-block a img{
    height: 30px;
}

.home-blog__slider .owl-stage-outer {
    overflow: hidden;
    touch-action: pan-y;
}

.home-blog__slider .owl-item {
    user-select: none;
    -webkit-user-select: none;
}

.home-blog__slider img {
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.home-blog__item {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
}

.home-blog__image {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #eeeeee;
    border-radius: 5px;
    text-decoration: none;
}

.home-blog__thumbnail {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.home-blog__image:hover .home-blog__thumbnail {
    transform: scale(1.04);
}

.home-blog__item-title {
    margin: 11px 0 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.15;
    font-family: "Roboto", sans-serif;
}

.home-blog__item-title a {
    display: -webkit-box;
    overflow: hidden;
    color: #222222;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color 0.2s ease;
    font-family: "Roboto", sans-serif;
}

.home-blog__item-title a:hover {
    color: #BE1A1A;
}

.home-blog__footer {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.home-blog__button {
       display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 22px;
    color: #222222;
    border: 1px solid #d31319;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    font-family: "Roboto", sans-serif;
    margin-top: 18px;
}

.home-blog__button:hover {
    color: #ffffff;
    background: #BE1A1A;
    border-color: #BE1A1A;
}

@media (max-width: 991px) {
    .home-blog {
        padding: 38px 0;
    }

    .home-blog__title {
        font-size: 25px;
    }
}

@media (max-width: 575px) {
    .home-blog {
        padding: 24px 0;
    }

    .home-blog__title {
        margin-bottom: 16px;
        font-size: 24px;
    }

    .home-blog__item-title {
        font-size: 14px;
    }

    .home-blog__footer {
        margin-top: 0px;
    }
}









/* ==========================================================
   HOME FAQ
   ========================================================== */

.home-faq {
    width: 100%;
    padding: 80px 0;
    background: #ffffff;
}

.home-faq *,
.home-faq *::before,
.home-faq *::after {
    box-sizing: border-box;
}

.home-faq .container {
    max-width: 760px;
}

.home-faq__title {
       margin: 0 0 26px;
    color: #222222;
    font-size: 42px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    font-family: "Roboto", sans-serif;
}

.home-faq__list {
    width: 100%;
}

.home-faq__item {
    border-bottom: 1px solid #d9d9d9;
}

.home-faq__question {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 18px 24px;
    color: #262626;
    background: transparent;
    border: 0;
    text-align: left;
    cursor: pointer;
}

.home-faq__question > span:first-child {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.35;
    font-family: "Roboto", sans-serif;
}

@media (min-width: 1000px){
    .menu-item-1142148{
        display: none;
    }

}

.home-faq__icon {
    position: relative;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
}

.home-faq__icon::before,
.home-faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: #d4141a;
    transform: translate(-50%, -50%);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.home-faq__icon::before {
    width: 12px;
    height: 1.5px;
}

.home-faq__icon::after {
    width: 1.5px;
    height: 12px;
}

.home-faq__item.is-active .home-faq__icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}

.home-faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    padding: 0 24px;
    color: #333333;
    font-size: 12px;
    line-height: 1.35;
    transition:
        grid-template-rows 0.28s ease,
        padding-bottom 0.28s ease;
}

.home-faq__answer > div {
      min-height: 0;
    overflow: hidden;
    font-size: 16px;
    font-weight: 400;
    font-family: "Roboto", sans-serif;
    color: #1D1D1B;
}

.home-faq__item.is-active .home-faq__answer {
    grid-template-rows: 1fr;
    padding-bottom: 17px;
}

.home-faq__footer {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

.home-faq__button {
      display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 22px;
    color: #222222;
    border: 1px solid #d31319;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    font-family: "Roboto", sans-serif;
    margin-top: 18px;
}

.home-faq__button:hover {
    color: #ffffff;
    background: #BE1A1A;
    border-color: #BE1A1A;
}

@media (max-width: 767px) {
    .home-faq {
        padding: 38px 0 42px;
    }

    .home-faq__title {
        margin-bottom: 20px;
        font-size: 32px;
    }

    .home-faq__question {
        padding: 16px 5px;
    }

    .home-faq__question > span:first-child {
        font-size: 15px;
    }

    .home-faq__answer {
        padding-right: 5px;
        padding-left: 5px;
        font-size: 13px;
    }
}





/* ==========================================================
   CATALOG PROMO
   ========================================================== */

.catalog-promo {
    width: 100%;
    padding: 0;
    overflow: hidden;
    background: #F0F0F0;
        padding: 24px 0;
}

.catalog-promo *,
.catalog-promo *::before,
.catalog-promo *::after {
    box-sizing: border-box;
}

.catalog-promo__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.catalog-promo__content {
       position: relative;
    z-index: 2;
    flex: 0 1 52%;
}

.catalog-promo__title {
    margin: 0 0 32px;
    color: #1D1D1B;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    font-family: "Roboto", sans-serif;
}

.bapf_sfilter h3{
    font-family: Roboto;
        font-weight: 700;
        font-size: 18px;
        line-height: 100%;
        letter-spacing: 0%;
        padding: 12px 0;
        margin: 0;
}
.mg-category-filter-ui__all .mg-filter-accordion .bapf_body ul{
        flex-wrap: wrap;
    gap: 18px 8px;
    margin: 0 !important;
    padding: 12px 0 24px !important;
}


#search_box #search_box_form #radius_in_submit{
        flex: none !important;
}

.catalog-promo__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 22px;
    color: #ffffff;
    background: #c9141b;
    border: 1px solid #c9141b;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    font-family: "Roboto", sans-serif;
}



.catalog-promo .container{
        max-width: 1040px;
}

.catalog-promo__image {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 0 1 45%;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.catalog-promo__image img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 240px;
    object-fit: contain;
}

@media (max-width: 991px) {
    .catalog-promo__inner {
        min-height: 220px;
        padding: 28px 30px;
    }

    .catalog-promo__title {
        font-size: 23px;
    }

    .catalog-promo__image img {
        max-height: 180px;
    }
}

@media (max-width: 767px) {
    .catalog-promo__inner {
        flex-direction: column;
        min-height: 0;
        padding: 34px 20px 0px;
        text-align: center;
    }

    .catalog-promo__content,
    .catalog-promo__image {
        flex: none;
        width: 100%;
    }

    .catalog-promo__title {
        max-width: none;
        margin-bottom: 20px;
        font-size: 22px;
    }

    .catalog-promo__image {
        margin-top: 22px;
    }

    .catalog-promo__image img {
        max-height: 190px;
    }
}


.home-section.home-categories a.link-list-main-category.is-new::after{
    top: 6.7px;
}



/* ==========================================================
   SITE FOOTER
   ========================================================== */

.site-footer {
    width: 100%;
    padding: 48px 0 22px;
    color: #a9a9a9;
    background: #1c1c1c;
    font-family: Arial, Helvetica, sans-serif;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
    box-sizing: border-box;
}

.site-footer__grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr)
        minmax(0, 1.15fr)
        minmax(0, 1.1fr);
    gap: 55px;
}

.site-footer__column {
    min-width: 0;
}

.site-footer__title {
    margin: 0 0 32px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    font-family: "Roboto", sans-serif;
}

.site-footer__menu,
.site-footer__contacts {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__menu li + li {
    margin-top: 10px;
}

.site-footer__menu a,
.site-footer__contacts a {
        color: #AEAEAE;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s ease;
    font-family: "Roboto", sans-serif;
}

.site-footer__menu a:hover,
.site-footer__contacts a:hover {
    color: #ffffff;
}

.site-footer__contacts li {
       display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #AEAEAE;
    font-size: 16px;
    line-height: 1.4;
    font-family: "Roboto", sans-serif;
}

.site-footer__contacts li + li {
    margin-top: 10px;
}

.site-footer__contact-icon {
    display: inline-flex;
    flex: 0 0 16px;
    align-items: center;
    justify-content: center;
    width: 16px;
    min-height: 16px;
    color: #c6c6c6;
    font-size: 14px;
}

.site-footer__downloads {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-footer__download {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #a9a9a9;
    font-size: 12px;
    font-style: italic;
    line-height: 1.35;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer__download:hover {
    color: #ffffff;
}

.site-footer__download img {
    display: block;
    flex: 0 0 54px;
    width: 54px;
    height: 72px;
    object-fit: cover;
    object-position: top;
}

.site-footer__download span {
    padding-top: 2px;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
}

.site-footer__social {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 36px;
}

.site-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #ffffff;
    font-size: 15px;
    text-decoration: none;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.site-footer__social a:hover {
    color: #d0181f;
    transform: translateY(-2px);
}

.site-footer__social svg {
    display: block;
    width: 15px;
    height: 15px;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 26px;
    padding-top: 15px;
    border-top: 1px solid #3a3a3a;
}

.site-footer__copyright {
    color: #8d8d8d;
    font-size: 14px;
    line-height: 1.4;
        font-family: "Roboto", sans-serif;
}

.site-footer__payments {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.site-footer__payments img {
      display: block;
    width: auto;
    max-width: max-content;
    height: 32px;
    object-fit: contain;
        border-radius: 6px;
}

/* Tablet */
@media (max-width: 991px) {

    .site-footer {
        padding-top: 42px;
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 50px;
    }

    .site-footer__social {
        margin-top: 32px;
    }
}

/* Mobile */
@media (max-width: 575px) {

    .site-footer {
        padding: 34px 0 20px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .site-footer__title {
                margin-bottom: 14px;
        font-size: 17px;
        border-top: 1px solid #4B4B4B;
        padding-top: 24px;
    }
    .home-faq__answer > div{
        font-size: 14px;
    }

    .site-footer__title:first-of-type {
    border-top: none;
    padding-top: 0;
}

    .site-footer__menu li + li,
    .site-footer__contacts li + li {
        margin-top: 9px;
    }

    .site-footer__menu a,
    .site-footer__contacts,
    .site-footer__contacts a,
    .site-footer__download {
        font-size: 16px;
    }

    .site-footer__social {
                justify-content: space-around;
        margin-top: 32px;
    }

    .site-footer__bottom {
                flex-direction: column-reverse;
        align-items: center;
        gap: 17px;

    }

    .site-footer__payments {
                justify-content: flex-start;
    }

    .site-footer__copyright {
        font-size: 14px;
    }
}

.mobile-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 0 24px;
}

.mobile-slider-prev,
.mobile-slider-next {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;

    color: #111111;
    background: #eeeeee;
    border: 0;
    border-radius: 50%;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.mobile-slider-prev:hover,
.mobile-slider-next:hover {
    color: #ffffff;
    background: #BE1A1A;
}

.mobile-slider-controls .mobile-slider-button {
    position: static;
    left: auto;
    bottom: auto;
    transform: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 180px;
    min-height: 44px;
    padding: 10px 18px;

    color: #ffffff;
    background: #BE1A1A;
    border-radius: 7px;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.mobile-slider-controls .mobile-slider-button:hover {
    color: #ffffff;
    background: #aa0000;
}

@media (max-width: 420px) {
    .mobile-slider-controls {
        gap: 8px;
    }

    .mobile-slider-prev,
    .mobile-slider-next {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .mobile-slider-controls .mobile-slider-button {
        min-height: 42px;
        padding: 9px 14px;
        font-size: 12px;
    }
}


/* =========================================================
   Catalog modal
========================================================= */

.catalog-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.catalog-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.catalog-modal__overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.catalog-modal__dialog {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 780px;
    max-height: calc(100vh - 48px);

    padding: 46px 50px 50px;

    overflow-y: auto;

    background: #ffffff;
    border: 1px solid #d4d4d4;
    border-radius: 12px;

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.22),
        0 5px 20px rgba(0, 0, 0, 0.12);

    transform: translateY(20px) scale(0.98);

    transition: transform 0.25s ease;
}

.catalog-modal.is-open .catalog-modal__dialog {
    transform: translateY(0) scale(1);
}

.catalog-modal__close {
    position: absolute;
    top: 16px;
    right: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    padding: 0;

    color: #1a1a1a;
    font-size: 34px;
    font-weight: 300;
    line-height: 1;

    background: #f3f3f3;
    border: 0;
    border-radius: 50%;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.catalog-modal__close:hover {
    color: #ffffff;
    background: #cb1f25;
    transform: rotate(90deg);
}

.catalog-modal__header {
    margin: 0 auto 34px;

}

.catalog-modal__label {
    display: inline-block;

    margin-bottom: 12px;
    padding: 7px 14px;

    color: #cb1f25;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.8px;
    text-transform: uppercase;

    background: rgba(203, 31, 37, 0.08);
    border-radius: 30px;
}

.catalog-modal__title {
       margin: 0 0 12px;
    color: #111111;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Roboto",sans-serif;
}

.catalog-form__footer input{
        display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 22px;
    border: 1px solid #cc151b;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    font-family: "Roboto", sans-serif;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    background: #cc151b;
    color: white;
}

.catalog-modal__description {
    margin: 0;

    color: #666666;
    font-size: 16px;
    line-height: 1.6;
}


/* =========================================================
   Catalog form
========================================================= */

.catalog-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.catalog-form__field {
    margin-bottom: 22px;
}

.catalog-form__field label {
    display: block;
    margin: 0;
}

.catalog-form__label {
    display: block;

    margin-bottom: 9px;

    color: #171717;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
        font-family: "Roboto",sans-serif;
}

.catalog-form__label > span {
    color: #cb1f25;
}

.catalog-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.catalog-form__control {
    display: block;
    width: 100%;
    height: auto;
    padding: 8px 16px !important;
    color: #171717;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    background: #ffffff;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
        font-family: "Roboto",sans-serif;
}

.catalog-form__control::placeholder {
    color: #999999;
    opacity: 1;
}

.catalog-form__control:focus {
    border-color: #cb1f25;
    box-shadow: 0 0 0 3px rgba(203, 31, 37, 0.1);
}

.catalog-form__textarea {
    min-height: 130px;
    height: 130px;

    padding-top: 15px;
    padding-bottom: 15px;

    resize: vertical;
}

.catalog-form__footer {

    margin-top: 4px;
}

.catalog-form__submit {
    min-width: 210px;
    min-height: 54px;

    padding: 14px 28px;

    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;

    background: #cb1f25;
    border: 2px solid #cb1f25;
    border-radius: 7px;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.catalog-form__submit:hover {
        background: black !important;
    border-color: black !important;
}

.catalog-form__submit:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
}

.catalog-modal .wpcf7-spinner {
    position: absolute;
    margin: 15px 0 0 10px;
}

.catalog-modal .wpcf7-not-valid-tip {
    margin-top: 6px;

    color: #cb1f25;
    font-size: 12px;
    font-weight: 600;
}

.catalog-modal .wpcf7-response-output {
    margin: 20px 0 0 !important;
    padding: 12px 15px !important;

    font-size: 14px;
    line-height: 1.5;
    text-align: center;

    border-radius: 6px;
}

.catalog-modal .wpcf7 form.sent .wpcf7-response-output {
    color: #176c34;
    background: #effbf3;
    border-color: #46b96c;
}

.catalog-modal .wpcf7 form.invalid .wpcf7-response-output,
.catalog-modal .wpcf7 form.unaccepted .wpcf7-response-output,
.catalog-modal .wpcf7 form.payment-required .wpcf7-response-output {
    color: #8a5a00;
    background: #fff8e8;
    border-color: #e6ae37;
}


/* =========================================================
   Catalog section button
========================================================= */

.catalog-promo__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 28px;

    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;

    background: #cb1f25;
    border: 2px solid #cb1f25;
    border-radius: 7px;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.catalog-promo__button:hover {
    color: #cb1f25;
    background: #ffffff;
        border-color: white;
}


/* ������ ��������� �������� ��� �������� ������ */

body.catalog-modal-open {
    overflow: hidden;
}


/* =========================================================
   Responsive
========================================================= */

@media (max-width: 767px) {
    .catalog-modal {
        align-items: flex-end;
        padding: 12px;
    }

    .catalog-modal__dialog {
        max-height: calc(100vh - 24px);

        padding: 42px 20px 28px;

        border-radius: 12px;
    }

    .catalog-modal__close {
        top: 10px;
        right: 10px;

        width: 38px;
        height: 38px;

        font-size: 30px;
    }

    .catalog-modal__header {
        margin-bottom: 26px;
    }

    .catalog-modal__title {
        font-size: 27px;
    }

    .catalog-modal__description {
        font-size: 14px;
    }

    .catalog-form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .catalog-form__field {
        margin-bottom: 18px;
    }

    .catalog-form__control {
        height: 52px;
    }

    .catalog-form__textarea {
        min-height: 120px;
        height: 120px;
    }

    .catalog-form__footer {
        display: block;
    }

    .catalog-form__submit {
        width: 100%;
    }
}

.catalog-form__field br{
    display: none;
}
.catalog-form__field p{
    margin-bottom: 0;
}

.header-account-icon {
        position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    background: #BE1A1A;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
}

.header-account-icon .fa-user {
    font-size: 18px;
}

.header-account-icon .fa-plus {
       position: absolute;
    top: 10px;
    right: 4px;
    font-size: 9px;
    padding: 2px;
    /* background: #d50000; */
    border-radius: 50%;
}

.header-account-icon:hover {
    background: #b70000;
    color: #fff;
    text-decoration: none;
}

.header-account-icon:hover .fa-plus {
    background: #b70000;
}

.product.type-product .mg-shop-section-heading{
    margin-bottom: 0;
        padding: 0;
}
.product.type-product  .mg-shop-section-heading h2{
    margin-bottom: 24px;
}


@media (max-width: 800px){
    h1.main-category-home-title{
        font-size: 18px;
    }


    .home-section.home-categories .logo-block a img{
        height: auto;
    }
    .main-cat-block .btn-cat-block a{
        width: 100%;
    }
    .home-page .main-cat-block .logo-block a{
        min-height: 70px;
    }

    .main-cat-block .logo-block a{
                  padding: 10px 24px;
        width: 47%;
    }
    .home-page .main-cat-block .logo-block a{
            min-height: 70px;
    }

    .home-section.banner-block .owl-dots{
        display: none;
    }

    .rew-block{
        padding: 60px 0 0 ;
    }

    .main-cat-block .logo-block {
   display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 16px 0 16px;
        flex-wrap: wrap;
}
    .main-cat-block .logo-block img{
            max-height: 28px;
    width: 100%;
    object-fit: contain;
    }
    .home-videos__button{
            width: 100%;
    }
    .home-videos__preview, .home-videos__embed{
        height: 202px;
    }
    .home-blog__button{
        width: 100%;
            font-size: 16px;
                                padding: 14px 22px;
    }
    .home-videos__button{
         width: 100%;
            font-size: 16px;
                padding: 14px 22px;
    }
    .home-videos .home-videos__slider .owl-dots {
    align-items: center;
    display: flex !important;
    gap: 4px;
    justify-content: center;
    padding: 16px 0 6px;
}

.home-blog .home-blog__slider .owl-dots {
    align-items: center;
    display: flex !important;
    gap: 4px;
    justify-content: center;
    padding: 16px 0 6px;
}

.home-blog .home-blog__slider .owl-dots .owl-dot {
    display: block;
    width: 8px;
    height: 8px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: #d2d2d2;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.home-blog .home-blog__slider .owl-dots .owl-dot span {
    display: none;
}

.home-blog .home-blog__slider .owl-dots .owl-dot.active {
    background: #000;
    transform: scale(1.25);
}

.home-videos .home-videos__slider .owl-dots .owl-dot {
    display: block;
    width: 8px;
    height: 8px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: #d2d2d2;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.home-videos .home-videos__slider .owl-dots .owl-dot span {
    display: none;
}

.home-videos .home-videos__slider .owl-dots .owl-dot.active {
    background: #000;
    transform: scale(1.25);
}
.home-videos__footer{
    margin-top: 0;
}
.block-header-back {
    padding: 8px 0;
}

    .ti-reviews-container{
        margin-bottom: 0 !important;
    }

    .site-footer__social a i{
        font-size: 20px;
    }

    .site-footer__downloads{
            flex-direction: row;
    }
    .head-mob{
            position: sticky;
    top: 0;
    z-index: 9;
    background: #fff;
    }
    .head-mob {
    transition: filter 0.25s ease;
}

.head-mob.is-scrolled {
    filter:
        drop-shadow(rgba(0, 0, 0, 0.15) 0 4px 8px)
        drop-shadow(rgba(0, 0, 0, 0.3) 0 1px 3px);
}

}

.mobile-bottom-nav {
    display: none;
}


.company-info__section .company-info__row {
    display: flex;
    align-items: stretch;
    gap: 22px;
}

.company-info__section .company-info__media,
.company-info__section .company-info__content {
    flex: 1 1 0;
    min-width: 0;
}

/* ����� ������� ������������� �� ������ ������ */
.company-info__section .company-info__media {
    display: flex;
}

.company-info__section .company-info__video {
    display: flex;
    flex: 1 1 auto;
    width: 100%;
}

/* ������-������ �������� ��� ��������� ������ */
.company-info__section .company-info__video-preview {
    position: relative;
    display: block;
    flex: 1 1 auto;
    width: 100%;
    min-height: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 5px;
    background: #000;
    cursor: pointer;
}

/* �������� ��������� ���� ��� ��������� */
.company-info__section .company-info__video-preview img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ������ Play ������� �� ������ */
.company-info__section .company-info__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 42px;
    color: #fff;
    background: #ff0000;
    border-radius: 10px;
    transform: translate(-50%, -50%);
}


.mg-shop-featured__link {
    position: relative;
    display: block;
    padding-right: 32px;
}

.mg-shop-featured__arrow {
      position: absolute;
    top: 8px;
    right: 0;
    display: block;
    width: 20px;
    height: 20px;
    color: #BE1A1A;
    transition: transform 0.2s ease;
    bottom: 0;
}

.mg-shop-featured__link:hover .mg-shop-featured__arrow {
    transform: translate(2px, -2px);
}


.mg-product-alternatives{
        display: flex;
            align-items: center;
    margin: 16px 0 24px;
    gap: 24px;
}
.mg-product-alternatives__list {
    display: flex;
    gap: 8px;
}
.mg-product-alternatives a{
        font-family: Inter;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    padding: 8px 16px;
    color: white;
    background: black;
    border-radius: 8px;
}

.mg-product-alternatives .mg-product-alternatives__title{
        font-family: Inter;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
}

/* ��������� ������ */
@media (max-width: 991px) {
    .company-info__section .company-info__row {
        flex-direction: column;
    }

    .company-info__section .company-info__video-preview {
        flex: none;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }
}


.home-videos span.home-videos__video-title{
        margin: 11px 0 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.15;
    font-family: "Roboto", sans-serif;
    display: block;
}

@media (max-width: 767px) {

    body {
        padding-bottom: 65px;
    }

    .mobile-bottom-nav__count{
            background: #BE1A1A;
    padding: 4px 6px;
    border-radius: 12px;
    position: absolute;
    top: 5px;
    right: 31px;
    font-size: 10px;
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;

        display: grid;
        grid-template-columns: repeat(4, 1fr);

        min-height: 65px;
        padding: 7px 5px calc(7px + env(safe-area-inset-bottom));

        background: #13191c;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    }

    /*
     * � ����� �������� ���� �������� ���� �������������
     * � ������������� ����� ������.
     */
    body.mobile-nav-at-bottom {
        padding-bottom: 0;
    }

    body.mobile-nav-at-bottom .mobile-bottom-nav {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        z-index: 1;
    }

    .mobile-bottom-nav__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;

        min-width: 0;

        color: #fff;
        font-size: 11px;
        line-height: 1.2;
        text-align: center;
        text-decoration: none;
    }

    .mobile-bottom-nav__item i {
        font-size: 21px;
        line-height: 1;
    }

    .mobile-bottom-nav__item:hover,
    .mobile-bottom-nav__item:focus {
        color: #fff;
        text-decoration: none;
    }

    body.tax-product_cat .mobile-bottom-nav__item--filter {
        appearance: none;
        background: #BE1A1A;
        border: 0;
        border-radius: 8px;
        color: #fff;
        cursor: pointer;
        font-family: inherit;
        grid-column: span 2;
        margin: 0 3px;
        padding: 0;
    }

    body.tax-product_cat .mobile-bottom-nav__item--filter:hover,
    body.tax-product_cat .mobile-bottom-nav__item--filter:focus {
        background: #a50302;
        color: #fff;
        outline: 2px solid rgba(255, 255, 255, .75);
        outline-offset: -3px;
    }

    body.tax-product_cat .mg-category-filter-ui__more {
        display: none;
    }

    .catalog-modal.is-open .catalog-modal__dialog{
            top: 50%;
    position: absolute;
    transform: translate(0%, -50%);
    margin: 12px;
    }
    .home-section.home-categories a.link-list-main-category.is-new::after{
        top: -1.3px;
    }

}








.pc-menu-sticky{
        position: sticky;
    top: 0;
    z-index: 9;
}




/*
 * �� ������ overflow � html � body,
 * ����� �������� sticky-header.
 */
html.mg-cart-popup-lock,
html.mg-cart-popup-lock body {
    overscroll-behavior: none;
}

/*
 * ��������� ��������� ������ �������
 * ���������� �� �������� ��������.
 */
.mg-cart-popup .mg-cart-popup__dialog,
.mg-cart-popup .mg-cart-popup__content,
.mg-cart-popup .mg-cart-popup__items {
    overscroll-behavior: contain;
}

/*
 * ==========================================================
 * �������� ������������� ���������
 * ==========================================================
 */

.mg-cart-popup {
    position: fixed !important;
    inset: 0 !important;

    display: block !important;

    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;

    margin: 0 !important;
    padding: 0 !important;

    visibility: hidden;
    opacity: 0;
    pointer-events: none;

    overflow: hidden !important;
    transform: none !important;

    box-sizing: border-box;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.mg-cart-popup.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

/*
 * ==========================================================
 * ����������
 * ==========================================================
 */

.mg-cart-popup .mg-cart-popup__overlay {
    position: absolute !important;
    z-index: 1 !important;

    /*
     * Overlay ���������� ����� .site-header__main.
     * �������� ��������������� JavaScript.
     */
    top: var(--mg-cart-overlay-top, 0px) !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;

    display: block !important;

    width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: rgba(0, 0, 0, 0.42) !important;

    cursor: pointer;
    opacity: 0;

    appearance: none;
    transform: none !important;

    transition: opacity 0.25s ease;
}

.mg-cart-popup.is-open .mg-cart-popup__overlay {
    opacity: 1;
}

.mg-cart-popup.is-open .mg-cart-popup__overlay {
    opacity: 1;
}


.owl-carousel{
    z-index: 0 !important;
}

/*
 * ==========================================================
 * ���� ���� � 508 ? 615 px
 * ==========================================================
 */
@media (min-width: 1000px){
    .mg-cart-popup .mg-cart-popup__dialog {
           transform: translateY(-8px) scale(0.98) !important;
               top: 88px !important;
                  min-width: 508px !important;
                      right: 28px !important;
    }

}

.mg-cart-popup .mg-cart-popup__dialog {
    position: absolute !important;
    z-index: 2 !important;


       right: max(
            20px,
            calc((100vw - 1240px) / 2)
        ) !important;
    bottom: auto !important;
    left: auto !important;

    display: flex !important;
    flex-direction: column !important;

    width: 508px !important;

    max-width: calc(100vw - 40px) !important;

    height: 615px !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 102px) !important;

    margin: 0 !important;
    padding: 0 28px 30px !important;

    border: 0 !important;
    border-radius: 4px !important;

    background: #ffffff !important;
    color: #111111 !important;

    box-sizing: border-box !important;
    overflow: hidden !important;

    opacity: 0;


    transform-origin: top right !important;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease !important;
}

.mg-cart-popup.is-open .mg-cart-popup__dialog {
    opacity: 1;
}

/*
 * ==========================================================
 * Header
 * ==========================================================
 */

.related-product .mg-shop-product__footer .woocommerce-Price-amount.amount{
    color: black;
}

.mg-cart-popup .mg-cart-popup__header {
    position: relative;

    display: flex;
    flex: 0 0 61px;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 61px;

    border-bottom: 1px solid #d8d8d8;

    box-sizing: border-box;
}

.mg-cart-popup .mg-cart-popup__title {
    margin: 0 !important;
    padding: 0 !important;

    color: #111111 !important;

    font-family: inherit;
    font-size: 16px !important;
    line-height: 1.3 !important;
    font-weight: 500 !important;
    text-transform: none !important;
}

.mg-cart-popup .mg-cart-popup__close {
    position: relative;

    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;

    margin: 0 -8px 0 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 50% !important;

    background: transparent !important;
    color: #111111 !important;

    cursor: pointer;

    appearance: none;
    box-shadow: none !important;
}

.mg-cart-popup .mg-cart-popup__close:hover {
    background: #f3f3f3 !important;
}

.mg-cart-popup .mg-cart-popup__close span,
.mg-cart-popup .mg-cart-popup__close span::before {
    position: absolute;

    display: block;

    width: 16px;
    height: 2px;

    border-radius: 2px;
    background: currentColor;

    content: "";
}

.mg-cart-popup .mg-cart-popup__close span {
    transform: rotate(45deg);
}

.mg-cart-popup .mg-cart-popup__close span::before {
    top: 0;
    left: 0;

    transform: rotate(90deg);
}

/*
 * ==========================================================
 * Notice
 * ==========================================================
 */

.mg-cart-popup .mg-cart-popup__notice {
    display: none;
    flex: 0 0 auto;

    margin: 10px 0 0;
    padding: 10px 12px;

    border: 1px solid #efaaaa;
    border-radius: 4px;

    background: #fff3f3;
    color: #b00000;

    font-size: 13px;
    line-height: 1.4;

    box-sizing: border-box;
}

.mg-cart-popup .mg-cart-popup__notice.is-visible {
    display: block;
}

/*
 * ==========================================================
 * �������
 * ==========================================================
 */

.mg-cart-popup .mg-cart-popup__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;

    width: 100%;
    min-width: 0;
    min-height: 0;

    overflow: hidden;

    box-sizing: border-box;
}

/*
 * ==========================================================
 * ������ �������
 * ==========================================================
 */

.mg-cart-popup .mg-cart-popup__items {
    flex: 1 1 auto;

    width: 100%;
    min-height: 0;

    overflow-x: hidden;
    overflow-y: auto;

    overscroll-behavior: contain;
    scrollbar-width: thin;

    box-sizing: border-box;
}

.mg-cart-popup .mg-cart-popup__items::-webkit-scrollbar {
    width: 5px;
}

.mg-cart-popup .mg-cart-popup__items::-webkit-scrollbar-track {
    background: transparent;
}

.mg-cart-popup .mg-cart-popup__items::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #cfcfcf;
}

.mg-cart-popup .mg-cart-popup__item {
    position: relative;

    display: grid;
    grid-template-columns: 135px minmax(0, 1fr) 26px;
    column-gap: 22px;

    width: 100%;
    min-height: 157px;

    padding: 15px 0 7px;

    box-sizing: border-box;
}

.mg-cart-popup .mg-cart-popup__item-image {
    width: 135px;
    height: 135px;
    overflow: hidden;
}

.mg-cart-popup .mg-cart-popup__item-image a {
    display: block;

    width: 100%;
    height: 100%;
}

.mg-cart-popup .mg-cart-popup__item-image img {
    display: block;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;

    object-fit: contain;
}

.mg-cart-popup .mg-cart-popup__item-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-width: 0;

    padding: 1px 0 9px;

    box-sizing: border-box;
}

.mg-cart-popup .mg-cart-popup__item-info {
    min-width: 0;
}

.mg-cart-popup .mg-cart-popup__item-title {
    display: block;

    margin: 0 !important;
    padding: 0 !important;

    color: #111111 !important;

    font-family: inherit;
    font-size: 16px !important;
    line-height: 1.25 !important;
    font-weight: 500 !important;

    text-decoration: none !important;
    text-transform: none !important;
    overflow-wrap: anywhere;
}

.mg-cart-popup a.mg-cart-popup__item-title:hover {
    color: #c8171d !important;
}

.mg-cart-popup .mg-cart-popup__item-meta {
    margin-top: 7px;

    color: #666666;

    font-size: 12px;
    line-height: 1.4;
}

.mg-cart-popup .mg-cart-popup__item-meta dl {
    margin: 0;
}

.mg-cart-popup .mg-cart-popup__item-meta dt,
.mg-cart-popup .mg-cart-popup__item-meta dd {
    display: inline;

    margin: 0;
}

.mg-cart-popup .mg-cart-popup__item-meta dd::after {
    display: block;
    content: "";
}

.mg-cart-popup .mg-cart-popup__item-price-row {
    display: flex;
    align-items: center;
    gap: 9px;

    min-height: 32px;
    margin-top: 14px;
}

.mg-cart-popup .mg-cart-popup__quantity {
    display: block;

    width: 31px !important;
    min-width: 31px !important;
    max-width: 31px !important;
    height: 32px !important;

    margin: 0 !important;
    padding: 2px !important;

    border: 1px solid #dddddd !important;
    border-radius: 4px !important;

    background: #ffffff !important;
    color: #777777 !important;

    font-family: inherit;
    font-size: 14px !important;
    line-height: 28px !important;
    text-align: center;

    appearance: textfield;
    box-shadow: none !important;

    box-sizing: border-box;
}

.mg-cart-popup .mg-cart-popup__quantity::-webkit-inner-spin-button,
.mg-cart-popup .mg-cart-popup__quantity::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.mg-cart-popup .mg-cart-popup__quantity:focus {
    border-color: #aaaaaa !important;
    outline: none;
}

.mg-cart-popup .mg-cart-popup__multiply {
    color: #777777;

    font-size: 13px;
    line-height: 1;
}

.mg-cart-popup .mg-cart-popup__item-price {
    color: #111111 !important;

    font-family: inherit;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
}

.mg-cart-popup .mg-cart-popup__item-price .amount {
    color: inherit !important;

    font-size: inherit !important;
    font-weight: inherit !important;
}

/*
 * ==========================================================
 * �������� ������
 * ==========================================================
 */

.mg-cart-popup .mg-cart-popup__remove {
    position: relative;

    align-self: end;

    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 24px !important;
    min-width: 24px !important;
    height: 24px !important;

    margin: 0 0 8px !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 50% !important;

    background: #f00000 !important;
    color: #ffffff !important;

    cursor: pointer;

    appearance: none;
    box-shadow: none !important;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.mg-cart-popup .mg-cart-popup__remove:hover {
    background: #BE1A1A !important;
    transform: scale(1.06);
}

.mg-cart-popup .mg-cart-popup__remove span,
.mg-cart-popup .mg-cart-popup__remove span::before {
    position: absolute;

    display: block;

    width: 10px;
    height: 2px;

    border-radius: 2px;
    background: currentColor;

    content: "";
}

.mg-cart-popup .mg-cart-popup__remove span {
    transform: rotate(45deg);
}

.mg-cart-popup .mg-cart-popup__remove span::before {
    top: 0;
    left: 0;

    transform: rotate(90deg);
}

/*
 * ==========================================================
 * �����
 * ==========================================================
 */

.mg-cart-popup .mg-cart-popup__summary {
    flex: 0 0 auto;

    width: 100%;

    border-top: 1px solid #d8d8d8;

    box-sizing: border-box;
}

.mg-cart-popup .mg-cart-popup__summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 51px;

    border-bottom: 1px solid #d8d8d8;

    color: #111111;

    font-family: inherit;
    font-size: 16px;
    line-height: 1.3;

    box-sizing: border-box;
}

.mg-cart-popup .mg-cart-popup__summary-row span,
.mg-cart-popup .mg-cart-popup__summary-row strong {
    color: #111111;

    font-size: inherit;
    font-weight: 400;
}

.mg-cart-popup .mg-cart-popup__summary-row--total {
    border-bottom: 0;
}

.mg-cart-popup .mg-cart-popup__summary-row--total strong {
    font-weight: 500;
}

/*
 * ==========================================================
 * ������
 * ==========================================================
 */

.mg-cart-popup .mg-cart-popup__actions {
    display: grid;
    flex: 0 0 auto;
    grid-template-columns: 1fr 1fr;
    gap: 8px;

    width: 100%;

    padding-top: 7px;

    box-sizing: border-box;
}

.mg-cart-popup .mg-cart-popup__button {
    display: flex !important;
    align-items: center;
    justify-content: center;

    min-height: 43px;

    margin: 0 !important;
    padding: 8px 15px !important;

    border: 1px solid #cb171d !important;
    border-radius: 8px !important;

    font-family: inherit;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    text-align: center;
    text-decoration: none !important;
    text-transform: none !important;

    box-sizing: border-box;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.mg-cart-popup .mg-cart-popup__button--cart {
    background: #ffffff !important;
    color: #c8171d !important;
}

.mg-cart-popup .mg-cart-popup__button--cart:hover {
    background: #c8171d !important;
    color: #ffffff !important;
}

.mg-cart-popup .mg-cart-popup__button--checkout {
    background: #c8171d !important;
    color: #ffffff !important;
}

.mg-cart-popup .mg-cart-popup__button--checkout:hover {
    border-color: #a91015 !important;
    background: #a91015 !important;
    color: #ffffff !important;
}

/*
 * ==========================================================
 * ������ �������
 * ==========================================================
 */

.mg-cart-popup .mg-cart-popup__empty {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 400px;

    padding: 40px 20px;

    text-align: center;

    box-sizing: border-box;
}

.mg-cart-popup .mg-cart-popup__empty-icon {
    margin-bottom: 16px;

    color: #999999;
}

.mg-cart-popup .mg-cart-popup__empty-title {
    margin: 0 0 20px !important;

    color: #111111;

    font-size: 17px;
    line-height: 1.4;
}

.mg-cart-popup .mg-cart-popup__continue {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 43px;

    padding: 10px 25px;

    border-radius: 6px;

    background: #c8171d;
    color: #ffffff !important;

    font-size: 15px;
    text-decoration: none !important;
}

.mg-cart-popup .mg-cart-popup__continue:hover {
    background: #a91015;
    color: #ffffff !important;
}

/*
 * ==========================================================
 * AJAX loader
 * ==========================================================
 */

.mg-cart-popup .mg-cart-popup__loader {
    position: absolute;
    z-index: 20;

    top: 61px;
    right: 0;
    bottom: 0;
    left: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.74);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
}

.mg-cart-popup.is-loading .mg-cart-popup__loader {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mg-cart-popup .mg-cart-popup__spinner {
    display: block;

    width: 36px;
    height: 36px;

    border: 3px solid #dedede;
    border-top-color: #c8171d;
    border-radius: 50%;

    animation: mg-cart-popup-spinner 0.7s linear infinite;
}

@keyframes mg-cart-popup-spinner {
    to {
        transform: rotate(360deg);
    }
}

/*
 * ==========================================================
 * ��������� ��������
 * ==========================================================
 */

@media (max-height: 720px) and (min-width: 768px) {
    .mg-cart-popup .mg-cart-popup__dialog {
        top: 20px !important;
        height: calc(100dvh - 40px) !important;
        max-height: calc(100dvh - 40px) !important;
    }
}

/*
 * ==========================================================
 * ��������� ������
 * ==========================================================
 */

@media (max-width: 767px) {


    .mg-cart-popup .mg-cart-popup__header {
        flex-basis: 55px;
        min-height: 55px;
    }

    .mg-cart-popup .mg-cart-popup__item {
        grid-template-columns: 105px minmax(0, 1fr) 25px;
        column-gap: 13px;

        min-height: 127px;
        padding-top: 14px;
    }

    .mg-cart-popup .mg-cart-popup__item-image {
        width: 105px;
        height: 105px;
    }

    .mg-cart-popup .mg-cart-popup__item-title {
        font-size: 14px !important;
    }

    .mg-cart-popup .mg-cart-popup__item-price {
        font-size: 15px !important;
    }

    .mg-cart-popup .mg-cart-popup__summary-row {
        min-height: 48px;
        font-size: 15px;
    }

    .mg-cart-popup .mg-cart-popup__button {
        font-size: 15px !important;
    }

    .mg-cart-popup .mg-cart-popup__loader {
        top: 55px;
    }
}

@media (max-width: 420px) {
    .mg-cart-popup .mg-cart-popup__item {
        grid-template-columns: 88px minmax(0, 1fr) 24px;
        column-gap: 10px;
    }

    .mg-cart-popup .mg-cart-popup__item-image {
        width: 88px;
        height: 100px;
    }

    .mg-cart-popup .mg-cart-popup__actions {
        grid-template-columns: 1fr;
    }
}







/* =========================================================
   FIX: MOBILE MENU BELOW HEADER
   �������� � ����� ����� style.css
   ========================================================= */

@media (max-width: 991px) {

    html.mobile-menu-open,
    body.mobile-menu-open {
        overflow: hidden !important;
        overscroll-behavior: none;
    }

    /*
     * ����� ������ ��������� ���� ���� � overlay.
     */
    .block-header-back {
        position: relative !important;
        z-index: 9100 !important;
                     padding: 0px 6px;
        width: 100%;
        background: #ffffff !important;
    }

    .block-header-back .row.ai {
        position: relative !important;
        z-index: 9101 !important;

        background: #ffffff !important;
    }

    .block-header-back .row.ai > [class*="col-"],
    .block-header-back .menu_container {
        position: relative;
        overflow: visible !important;
    }

    /*
     * ������ ������� ������� ������ �����.
     */
    .block-header-back .mobile_menu {

        width: 40px;
        height: 46px;

        margin: 0;
        padding: 0;

        color: #1f1f1f;
        font-size: 21px;
        line-height: 1;
        text-decoration: none;

        background: transparent;
        border: 0;

        cursor: pointer;
    }

    /*
     * ��������� ����������� JavaScript � body.
     * 54px � �������� top, ���� JS ��������� ������ ������.
     */
    body.magister-mobile-menu-ready
    > .mobile_menu_container {
        position: fixed !important;
        z-index: 9001 !important;

        top: 54px !important;
        right: auto !important;
        bottom: 0 !important;
        left: 0 !important;

        display: block !important;

        width: 74vw !important;
        max-width: 320px !important;
        height: auto !important;
        max-height: none !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: hidden !important;

        visibility: hidden;
        opacity: 1;
        pointer-events: none;

        background: #ffffff !important;

        transform: translate3d(-100%, 0, 0);

        transition:
            transform 0.3s ease,
            visibility 0s linear 0.3s;

        will-change: transform;
    }

    body.magister-mobile-menu-ready
    > .mobile_menu_container.loaded {
        visibility: visible;
        pointer-events: auto;

        transform: translate3d(0, 0, 0);

        transition:
            transform 0.3s ease,
            visibility 0s linear 0s;
    }

    /*
     * ������� �������� ������ ������ ��� ������.
     */
    body.magister-mobile-menu-ready
    > .mobile_menu_container
    > .mobile_menu_content {
        position: relative;

        display: flex;
        flex-direction: column;

        width: 100% !important;
        height: 100% !important;
        max-height: none !important;

        margin: 0 !important;
        padding: 12px 10px 24px !important;

        overflow-x: hidden !important;
        overflow-y: auto !important;

        background: #ffffff !important;
        box-sizing: border-box;

        scrollbar-width: none;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    body.magister-mobile-menu-ready
    > .mobile_menu_container
    > .mobile_menu_content::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    /*
     * ���������� ������� ���� �� �����,
     * ��������� �������� ������� ������� � �����.
     */
    body.magister-mobile-menu-ready
    > .mobile_menu_container
    .mob-logo-menu {
        display: none !important;
    }

    /*
     * Overlay ����� ����������� � body.
     * �� ���������� ������ ��� ������.
     */
    body.magister-mobile-menu-ready
    > .mobile_menu_overlay {
        position: fixed !important;
        z-index: 9000 !important;

        top: 54px !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;

        width: auto !important;
        height: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        cursor: pointer;

        background: rgba(0, 0, 0, 0.32) !important;

        -webkit-tap-highlight-color: transparent;
    }

    /*
     * ���� ������ ���������� ���� overlay.
     */
    body.magister-mobile-menu-ready
    > .mobile_menu_container {
        isolation: isolate;
    }

    /*
     * �������� ������.
     */
    body.magister-mobile-menu-ready
    #mobile-main-menu.site-header-mobile__menu {
        display: block !important;

        width: 100% !important;
        max-width: none !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: visible !important;

        background: #ffffff !important;
        box-sizing: border-box;
    }

    body.magister-mobile-menu-ready
    #mobile-main-menu,
    body.magister-mobile-menu-ready
    #mobile-main-menu ul,
    body.magister-mobile-menu-ready
    #mobile-main-menu li {
        list-style: none !important;
    }

    body.magister-mobile-menu-ready
    #mobile-main-menu ul,
    body.magister-mobile-menu-ready
    #mobile-main-menu li {
        margin: 0 !important;
        padding: 0 !important;
    }

    /*
     * ������ �������.
     */
    body.magister-mobile-menu-ready
    #mobile-main-menu
    > li {
        position: relative;

        display: block;

        width: 100%;
        min-height: 46px;

        margin: 0 !important;
        padding: 0 !important;

        background: #ffffff;
        border-bottom: 1px solid #f1d7d7;

        box-sizing: border-box;
    }

    body.magister-mobile-menu-ready
    #mobile-main-menu
    > li
    > a {
        display: flex;
        align-items: center;

        width: 100%;
        min-height: 46px;

        margin: 0 !important;
        padding: 8px 44px 8px 5px !important;

        color: #222222 !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 1.35;
        text-align: left;
        text-decoration: none !important;
        text-transform: uppercase;

        background: transparent !important;
        border: 0 !important;

        box-sizing: border-box;
    }

    body.magister-mobile-menu-ready
    #mobile-main-menu
    > li.is-mobile-submenu-open
    > a {
        color: #d60000 !important;
        font-weight: 600 !important;
    }

    /*
     * ������� ������� ������.
     */
    body.magister-mobile-menu-ready
    #mobile-main-menu
    > li.menu-item-has-children
    > .custom-menu-block {
        position: absolute;
        z-index: 4;

        top: 0;
        right: 0;

        display: flex !important;
        align-items: center;
        justify-content: center;

        width: 40px;
        height: 46px;

        margin: 0 !important;
        padding: 0 !important;

        color: #222222;

        background: transparent !important;
        border: 0 !important;

        cursor: pointer;
        box-sizing: border-box;
    }

    body.magister-mobile-menu-ready
    #mobile-main-menu
    > li.menu-item-has-children
    > .custom-menu-block
    > i {
        display: none !important;
    }

    body.magister-mobile-menu-ready
    #mobile-main-menu
    > li.menu-item-has-children
    > .custom-menu-block::before {
        display: block;

        width: 7px;
        height: 7px;

        content: "";

        border-top: 1.5px solid currentColor;
        border-right: 1.5px solid currentColor;

        transform: rotate(45deg);
        transition: transform 0.2s ease;
    }

    body.magister-mobile-menu-ready
    #mobile-main-menu
    > li.is-mobile-submenu-open
    > .custom-menu-block::before {
        transform: rotate(135deg);
    }

    /*
     * ������� ������� ������.
     */
    body.magister-mobile-menu-ready
    #mobile-main-menu
    > li
    > .sub-menu {
        position: static !important;

        display: none !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;

        margin: 0 0 12px !important;
        padding: 7px 6px 8px !important;

        visibility: visible !important;
        opacity: 1 !important;

        background: #f7f7f7 !important;
        border: 0 !important;
        border-radius: 0 0 3px 3px;
        box-shadow: none !important;

        transform: none !important;
        box-sizing: border-box;
    }

    body.magister-mobile-menu-ready
    #mobile-main-menu
    > li.is-mobile-submenu-open
    > .sub-menu {
        display: block !important;
    }

    body.magister-mobile-menu-ready
    #mobile-main-menu
    > li
    > .sub-menu
    > li {
        position: relative !important;

        display: block !important;

        width: 100% !important;
        min-height: 29px;

        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;
        border: 0 !important;
    }

    body.magister-mobile-menu-ready
    #mobile-main-menu
    > li
    > .sub-menu
    > li
    > a {
               display: flex !important;
        align-items: center;
        width: 100% !important;
        margin: 0 !important;
        padding: 16px 42px 16px 5px !important;
        color: #292929 !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 1.35;
        text-decoration: none !important;
        text-transform: none !important;
        white-space: normal;
        background: transparent !important;
        border: 0 !important;
        box-sizing: border-box;
        font-family: "Roboto",sans-serif;
    }

    /*
     * ������ ������� ��������.
     */
    body.magister-mobile-menu-ready
    #mobile-main-menu
    > li
    > .sub-menu
    > li
    > .sub-menu,

    body.magister-mobile-menu-ready
    #mobile-main-menu
    > li
    > .sub-menu
    > li
    > .custom-menu-block {
        display: none !important;
    }
}

@media (max-width: 374px) {

    body.magister-mobile-menu-ready
    > .mobile_menu_container {
        width: 78vw !important;
    }
}

@media (min-width: 992px) {

    body.magister-mobile-menu-ready
    > .mobile_menu_container,

    body.magister-mobile-menu-ready
    > .mobile_menu_overlay {
        display: none !important;
    }
}




@media (max-width: 991.98px) {

    body.mobile-menu-open {
        overflow: hidden;
    }

    /*
     * ���� ��������� ���� �������,
     * ��������� �������� sticky-header.
     */
    body.mobile-menu-open .site-header {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        transform: translateY(0) !important;
        translate: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        z-index: 100001 !important;
    }

    /*
     * �� ������, ���� ���������� ��������� ������� ����� �����.
     * ������ ����� �������� ������ ����� ������� header.
     */
    body.mobile-menu-open .site-header .site-header__top,
    body.mobile-menu-open .site-header .site-header__main,
    body.mobile-menu-open .site-header .site-header__mobile {
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /*
     * ���� ������ ����������������� ������������ ����,
     * � �� ������������ ������������ ��������.
     */
    body.mobile-menu-open .site-menu-overlay {
        position: fixed !important;
        inset: 0 !important;
        z-index: 100000 !important;
    }
}




@media (max-width: 991px) {

    /* ������ ������� ��������� ����� */
    .block-header-back .row.ai {
        min-height: 60px !important;
        height: 60px !important;
        align-items: center !important;
        margin: 0 !important;
    }

    /* ������� ������ ����� */
    .block-header-back .row.ai > [class*="col-"] {
        display: flex;
        align-items: center;
        height: 48px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* ����� ������� � �������� */
    .block-header-back .row.ai > .col-2 {
        justify-content: flex-start;
    }

    /* ����������� ������� � ��������� */
    .block-header-back .row.ai > .col-7 {
        justify-content: center;
    }

    /* ������ ������� � ��������� */
    .block-header-back .row.ai > .col-3 {
        justify-content: flex-end;
    }


    /* ������� */
    .block-header-back .link-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 48px;
    }

    .block-header-back .link-logo img {
        width: auto;
        max-width: 157px;
        max-height: 26px;
        object-fit: contain;
    }

    /* ������ �������� */
    .block-header-back .icon-link-mobile {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        height: 48px;
    }
}








/*
 * ==========================================================
 * ���������� ������ ��� �������� AJAX-�������
 * ==========================================================
 */

.site-header__search-section {
    position: relative;
}

/*
 * ��������� ���� ���� ������.
 */
body.mg-cart-popup-open .site-header__search-section::after {
    content: "";

    position: absolute;
    z-index: 999999;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.42);

    pointer-events: auto;
    cursor: default;
}

/*
 * ��������� �������������� � �������,
 * ���� ������� �������.
 */
body.mg-cart-popup-open .site-header__search-section #search_widget,
body.mg-cart-popup-open .site-header__search-section .wc-lps,
body.mg-cart-popup-open .site-header__search-section .wc-lps__form {
    pointer-events: none;
}

/*
 * ��������� ���������� ������,
 * ���� ��� ���� ������� �� �������.
 */
body.mg-cart-popup-open .site-header__search-section .wc-lps__results {
    display: none !important;
}

/*
 * ����� ������� ������ ���������� ���� ���������� ������.
 */
.mg-cart-popup {
    z-index: 99999999 !important;
}

.mg-cart-popup .mg-cart-popup__dialog {
    z-index: 2 !important;
}

/*
 * ==========================================================
 * AJAX CART � HEADER �������� �������
 * ==========================================================
 */

@media (min-width: 992px) {

    /*
     * ��������� ���� sticky-header ���� overlay �������.
     */
    body.mg-cart-popup-open .site-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 100000000 !important;

        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    /*
     * ������� ����� header:
     * �������, ����, ������� � �������.
     * ��� ������� ��������� �������.
     */
    body.mg-cart-popup-open .site-header__main {
        position: relative !important;
        z-index: 3 !important;

        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;

        background: #ffffff !important;
    }

    /*
     * ���� ������ ����� ��������� ���� ������ overlay,
     * �� ������ ���� ������ ��������� ����������.
     */
    body.mg-cart-popup-open .site-header__search-section {
        position: relative !important;
        z-index: 2 !important;
    }

    /*
     * ��������� ������ �����.
     */
    body.mg-cart-popup-open .site-header__search-section::after {
        content: "";

        position: absolute;
        z-index: 9999;
        inset: 0;

        display: block;

        width: 100%;
        height: 100%;

        background: rgba(0, 0, 0, 0.42);

        pointer-events: auto;
        cursor: default;
    }

    /*
     * ��������� ����������������� � �������,
     * ���� ������� �������.
     */
    body.mg-cart-popup-open
    .site-header__search-section
    #search_widget,
    body.mg-cart-popup-open
    .site-header__search-section
    .wc-lps,
    body.mg-cart-popup-open
    .site-header__search-section
    .wc-lps__form {
        pointer-events: none !important;
    }

    /*
     * �������� ���������� ������,
     * ���� ��� ���� ������� ����� ��������.
     */
    body.mg-cart-popup-open
    .site-header__search-section
    .wc-lps__results {
        display: none !important;
    }

    /*
     * ����� ���� sticky-header,
     * �� ���� ��������� ����������� ��������.
     */
    .mg-cart-popup {
        z-index: 99999999 !important;
    }
}


body.mg-cart-popup-open .site-header__search-section::after {
    content: none !important;
    display: none !important;
}

@media (max-width: 800px){
    .mg-cart-popup__dialog{
        height: 50% !important;
    top: 50% !important;
    transform: translate(0%, -50%) !important;
    right: 20px !important;
    }
    .mg-cart-popup .mg-cart-popup__item-image{
            background: #e8e8e800;
    }

    .wc-lps-panel__heading{
        font-size: 12px;
    }
    .wc-lps-category{
        min-height: auto;
        font-size: 14px;
    }
    .wc-lps-panel__section {
    padding: 16px 16px 0;
}

}






.site-header__menu li.has-new-label {
    position: relative;
}


@media (max-width: 800px){
    .has-new-label::after{
              content: "";
        position: absolute;
        top: 14px;
        right: 24px;
        z-index: 1;
        width: auto;
        height: 16px;
        background-image: url(/wp-content/themes/magisterhyd/img/new-labal-menu.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        aspect-ratio: 40 / 12;
        pointer-events: none;
    }

    .site-header-mobile .header-account-icon{
           padding-left: 3px;
    }

}

.site-header__menu li.has-new-label > a::after {

}







@media (max-width: 991px) {

    .mobile_menu_overlay {
        position: fixed !important;

        top: 0;
        left: 0;
        right: 0;
        bottom: 0;

        width: 100% !important;
        height: 100vh;
        height: 100dvh;

        margin: 0 !important;
        padding: 0 !important;

        /*
         * ����������
         */
        background: rgba(0, 0, 0, 0.55) !important;

        z-index: 99998 !important;

        /*
         * ������� ������ ����������,
         * �� �� ��������� �������.
         */
        display: block !important;

        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;

        transition:
            opacity 0.2s ease,
            visibility 0s linear 0.2s;
    }


    /*
     * ����� ��������� ����
     */
    .mobile_menu_overlay.is-visible {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;

        transition:
            opacity 0.2s ease,
            visibility 0s linear 0s;
    }


    /*
     * ���� ���� ����������� ���� ����������
     */
    .mobile_menu_container {
        z-index: 99999 !important;
    }

    .home-blog__image{
            aspect-ratio: 0 / 1;
    }

}







.mg-shop-category-card__title {
    align-items: center;
    background: var(--mg-red);
    color: #fff;
    display: flex;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    min-height: 72px;
    padding: 16px 18px;
    display: flex;
}

.mg-shop-badge {
    color: #fff;
    font-size: 11px;
    font-style: italic;
    font-weight: 800;
    line-height: 1;
    position: absolute;
    text-transform: uppercase;
    z-index: 2;
}

.mg-shop-badge--new {
    background: var(--mg-red);
    clip-path: polygon(0 0, 100% 0, 75% 100%, 0 100%);
    left: 0;
    min-width: 68px;
    padding: 6px 16px 6px 9px;
    top: 0;
}

.mg-shop-badge--discount {
    color: var(--mg-red);


        font-weight: 900;
    font-style: Regular;
    font-size: 24px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: right;
    font-family: 'Roboto';
    position: absolute;
    right: 8px;
    top: 4px;
}

.mg-shop-product.mg-shop-product--new::after{
       content: '';
    background: url(../img/new-label-product.png);
    position: absolute;
    left: 0;
    top: 0;
    width: 117px;
    height: 24px;
    background-size: contain;
}

.mg-shop-product {
    background: #fff;
    border: 1px solid #d7d7d7;
    border-radius: 9px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    position: relative;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.mg-shop-product:hover {
       border-color: #c90f16;
}

.mg-shop-product__media {
    align-items: center;
       overflow: hidden;
    position: relative;
    min-height: 312px;
}

.mg-shop-product__media img {
       height: 100%;
    object-fit: contain;
    padding: 18px 12px 8px;
    /* transition: transform .25s ease; */
    width: 100%;
    object-position: top;
}


.mg-shop-product__body {
    border-top: 1px solid #ededed;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 10px;
}

.mg-shop-product__price del span{
        color: #8E8E8E !important;
    font-size: 16px !important;
    margin-bottom: 2px;
    font-weight: 400 !important;
}

.mg-shop-product__sku {
       align-self: flex-start;
    background: #F8F8F8;
    border: 1px solid #D1D1D1;
    border-radius: 8px;
    color: #1D1D1B;
    font-size: 14px;
    line-height: 1;
    margin-bottom: 8px;
    padding: 4px 8px;
    position: absolute;
    bottom: 6px;
    left: 16px;
}

.mg-shop-product__title {
       color: #242424;
    display: -webkit-box;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    margin-bottom: 12px;
    min-height: 52px;
    overflow: hidden;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.mg-shop-product__title:hover,
.mg-shop-product__title:focus-visible {
    color: var(--mg-red);
}

.mg-shop-product__footer {
    align-items: flex-end;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    margin-top: auto;
        align-items: center;
}

.mg-shop-product__price {
    color: var(--mg-ink);
    display: flex;
    flex-direction: column;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}


.mg-shop-product__price del {
    color: #8a8a8a;
    font-size: 16px !important;
    font-weight: 500;
    opacity: 1;
}

.mg-shop-product__price ins {
    color: #BE1A1A;
    text-decoration: none;
}

.mg-shop-product__button.button {
      background: #fff !important;
    border: 1px solid #BE1A1A !important;
    border-radius: 5px !important;
    color: var(--mg-ink) !important;
    display: inline-flex !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    height: auto !important;
    line-height: 1.1 !important;
    /* min-height: 34px; */
    padding: 14px 16px !important;
    position: static !important;
    text-align: center;
    width: auto !important;
    margin: 0 !important;
}

.mg-shop-product__button.button:hover{
        background: #c90f16 !important;
    color: #fff !important;
}
.woocommerce ul.products.columns-2 li.product, .woocommerce-page ul.products.columns-2 li.product {
    width: auto;
}
.mg-shop-featured__section--categories.mg-related-categories{
    padding-top: 56px;
}
.products.columns-2 ,  .products.columns-1 , .products.columns-3, .products.columns-4{
        display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 0 1px 10px;
    scroll-behavior: smooth;
    scroll-snap-type: both;
    scrollbar-width: inherit;
    grid-template-columns: max-content;
       flex-wrap: wrap;

}

.mg-product-volume-wrap .woocommerce-Price-amount.amount{
    color: #FF0000;
    font-size: 24px;
}
#wooswipe{
    position: sticky;
    top: 155px;
        margin: 0;
    padding: 0;
}


.home-google-reviews .ti-footer .ti-stars + .ti-rating-text {
    display: none !important;
}
.ti-rating.ti-rating-large{
    display: none !important;
}

.related-product ul.products li{
    width: 24% !important;
}

/* Match the five-column product grid used on category pages. */
@media (min-width: 768px) {
    .single-product .related-product .wc-fbt-products ul.products.columns-5 {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 18px;
        overflow: visible;
        padding: 0;
    }

    .single-product .related-product .wc-fbt-products ul.products.columns-5::before,
    .single-product .related-product .wc-fbt-products ul.products.columns-5::after {
        display: none;
    }

    .single-product .related-product .wc-fbt-products ul.products.columns-5 > li.product {
        float: none !important;
        width: 18.8% !important;
        margin: 0 !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .single-product .related-product .wc-fbt-products ul.products.columns-5 > li.product {
        width: 24% !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .single-product .related-product .wc-fbt-products ul.products.columns-5 > li.product {
        width: 32% !important;
    }
}

.mg-product-specifications::after{
    background: red;
    content: '';
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{
    margin: 0 18px 0 0 !important;
}
.woocommerce ul.products li.product:last-child {
    margin-right: 0 !important;
}
.mg-shop-featured__section.mg-shop-featured__section--products{
    padding: 32px 0 40px;
}

.mg-product-specifications{
        background: #F8F8F8;
    padding: 0px 0 60px;
}

.related-product{
    padding: 48px 0;
}
.related-product h2{
        font-family: Inter;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    padding-bottom: 16px;
    border-bottom: 1px solid #AEAEAE;
    margin-bottom: 24px;
}

.single-product .mg-product-specifications{
        padding-top: 48px;
}

.mg-product-price-stock__stock .mg-product-stock.mg-product-stock--out{
    color: #FF0000;
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    padding: 8px 16px;
}



.mg-shop-product__footer .mg-shop-product__button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mg-shop-product__footer .mg-shop-product__button--loading {
    pointer-events: none;
    opacity: 0.75;
}

.mg-shop-product__footer .mg-shop-product__button--loading::before,
.mg-shop-product__footer .mg-shop-product__button--loading::after {
    content: "";
    width: 14px;
    height: 14px;
    flex: 0 0 14px;

    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;

    animation: mg-shop-button-spin 0.65s linear infinite;
}

/* ������ �������� ����� ������� � ������ ������� */
.mg-shop-product__footer .mg-shop-product__button--loading::after {
    animation-direction: reverse;
}

@keyframes mg-shop-button-spin {
    to {
        transform: rotate(360deg);
    }
}

.mg-shop-product__button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mg-shop-product__button--loading {
    pointer-events: none;
    opacity: 0.75;
}

.mg-shop-product__button--loading::before,
.mg-shop-product__button--loading::after {
    content: "";
    display: block;

    width: 14px;
    height: 14px;

    flex: 0 0 14px;

    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;

    animation: mg-shop-button-spin 0.65s linear infinite;
}

.mg-shop-product__button--loading::after {
    animation-direction: reverse;
}

@keyframes mg-shop-button-spin {
    to {
        transform: rotate(360deg);
    }
}


/* ========================================================
   SHOP / CATEGORY
======================================================== */

.mg-shop-product__button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mg-shop-product__button--loading {
    pointer-events: none;
    opacity: 0.75;
}

.mg-shop-product__button--loading::before,
.mg-shop-product__button--loading::after {
    content: "";
    position: static;
    display: block;

    width: 14px;
    height: 14px;
    flex: 0 0 14px;

    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;

    animation: mg-cart-spin 0.65s linear infinite;
}

.mg-shop-product__button--loading::after {
    animation-direction: reverse;
}


/* ========================================================
   SINGLE PRODUCT
======================================================== */

.add-to-cart-btn .single_add_to_cart_button {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;
}


/*
 * ������� ����������� WooCommerce ����������,
 * ������� ���������� � ���� ������.
 */
.add-to-cart-btn .single_add_to_cart_button.loading::after {
    display: none !important;
    content: none !important;
}


/*
 * ���� ��������
 */
.add-to-cart-btn
.single_add_to_cart_button.mg-single-cart-loading::before,
.add-to-cart-btn
.single_add_to_cart_button.mg-single-cart-loading::after {

    content: "" !important;

    position: static !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    display: block !important;

    width: 14px;
    height: 14px;

    flex: 0 0 14px;

    margin: 0 !important;

    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;

    animation: mg-cart-spin 0.65s linear infinite;
}

.add-to-cart-btn
.single_add_to_cart_button.mg-single-cart-loading::after {
    animation-direction: reverse;
}


.add-to-cart-btn
.single_add_to_cart_button.mg-single-cart-loading {
    pointer-events: none;
    opacity: 0.75;
}


/* ========================================================
   ANIMATION
======================================================== */

@keyframes mg-cart-spin {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}
@media (min-width: 1000px){
    .shop-content-full .mg-shop-carousel__dots{
        display: none;
    }
}

.mg-product-specifications {
    width: 100%;
    margin: 40px 0;
    color: #222;
}

.mg-product-specifications .mg-product-specifications__inner {
    width: 100%;
}

.mg-product-specifications .mg-product-specifications__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 20px;
}

.mg-product-specifications .mg-product-specifications__heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mg-product-specifications .mg-product-specifications__title {
    margin: 0 0 18px;
    padding: 0;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    color: #1f1f1f;
}

.mg-product-specifications .mg-product-specifications__product-name {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    color: #222;
}

.mg-product-specifications .mg-product-specifications__sku {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 32px;
    padding: 5px 13px;
    border: 1px solid #222;
    border-radius: 7px;
    font-size: 13px;
    line-height: 1;
    color: #222;
    background: #fff;
}

.mg-product-specifications .mg-product-specifications__download {
    flex: 0 0 auto;
}

.mg-product-specifications .mg-product-specifications__download-btn:hover {
    background: #a91414;
    color: #fff;
    text-decoration: none;
}

.mg-product-specifications .mg-product-specifications__download-btn svg {
    flex: 0 0 auto;
}


/*
 * ================================================================
 * SPECIFICATIONS TABLE
 * ================================================================
 */

.mg-product-specifications .mg-product-specifications__table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.mg-product-specifications .mg-product-specifications__table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    background: #fff;
}

.mg-product-specifications .mg-product-specifications__table th,
.mg-product-specifications .mg-product-specifications__table td {
    padding: 14px 16px;
    border: 1px solid #dedede;
    text-align: left;
    vertical-align: middle;
    font-size: 13px;
    line-height: 1.4;
}

.mg-product-specifications .mg-product-specifications__table th {
    width: 25%;
    font-weight: 700;
    color: #222;
}

.mg-product-specifications .mg-product-specifications__table td {
    width: 25%;
    font-weight: 400;
    color: #333;
    background: #fff;
}

.mg-product-specifications .mg-product-specifications__table tr:nth-child(even) th,
.mg-product-specifications .mg-product-specifications__table tr:nth-child(even) td {
    background: #f8f8f8;
}


/*
 * ================================================================
 * IMPORTANT NOTE
 * ================================================================
 */

.mg-product-specifications .mg-product-specifications__important {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 25px 24px;
    background: #fff;
    font-size: 13px;
    line-height: 1.6;
    color: #333;
}

.mg-product-specifications .mg-product-specifications__important strong {
    color: #c81818;
    font-weight: 700;
}

.mg-product-specifications .mg-product-specifications__important-icon {
    display: inline-block;
    margin-right: 3px;
    color: #c81818;
}


/*
 * ================================================================
 * SEPARATOR
 * ================================================================
 */

.mg-product-specifications .mg-product-specifications__separator {
    width: 100%;
    height: 1px;
    margin: 42px 0 36px;
    background: #cfcfcf;
}


/*
 * ================================================================
 * ALTERNATIVE PART NUMBERS
 * ================================================================
 */

.mg-product-specifications .mg-product-specifications__alternative {
    width: 100%;
}

.mg-product-specifications .mg-product-specifications__alternative-title {
    margin: 0 0 20px;
    padding: 0;
    font-size: 23px;
    line-height: 1.3;
    font-weight: 700;
    color: #1f1f1f;
}

.mg-product-specifications .mg-product-specifications__alternative-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.mg-product-specifications .mg-product-specifications__alternative-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    background: #fff;
}

.mg-product-specifications .mg-product-specifications__alternative-table th,
.mg-product-specifications .mg-product-specifications__alternative-table td {
    width: 50%;
    padding: 15px 16px;
    border: 1px solid #dedede;
    text-align: left;
    vertical-align: middle;
    font-size: 13px;
    line-height: 1.4;
}

.mg-product-specifications .mg-product-specifications__alternative-table th {
    font-weight: 700;
    color: #222;
    background: #fff;
}

.mg-product-specifications .mg-product-specifications__alternative-table td {
    font-weight: 400;
    color: #333;
}


/*
 * ================================================================
 * ACF WYSIWYG TABLE
 * ================================================================
 */

.mg-product-specifications .mg-product-specifications__acf-table {
    width: 100%;
}

.mg-product-specifications .mg-product-specifications__acf-table table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
}

.mg-product-specifications .mg-product-specifications__acf-table table th,
.mg-product-specifications .mg-product-specifications__acf-table table td {
    padding: 15px 16px;
    border: 1px solid #dedede;
    text-align: left;
    font-size: 13px;
    line-height: 1.4;
}

.mg-product-specifications .mg-product-specifications__acf-table table th {
    font-weight: 700;
}


/*
 * ================================================================
 * BOTTOM NOTE
 * ================================================================
 */

.mg-product-specifications .mg-product-specifications__alternative-note {
    width: 100%;
    margin-top: 20px;
    padding: 24px;
    background: #fff;
    color: #333;
    font-size: 13px;
    line-height: 1.6;
}


/*
 * ================================================================
 * MOBILE
 * ================================================================
 */

@media (max-width: 767px) {

    .mg-product-specifications {
        margin: 25px 0;
    }

    .mg-product-specifications .mg-product-specifications__header {
        flex-direction: column;
        gap: 18px;
    }

    .mg-product-specifications .mg-product-specifications__title {
        font-size: 21px;
    }

    .mg-product-specifications .mg-product-specifications__download {
        width: 100%;
    }

    .mg-product-specifications .mg-product-specifications__download-btn {
        width: 100%;
    }


    /*
     * Specifications:
     * ������ ������� ������������ � ����
     * �������� / ��������
     */

    .mg-product-specifications .mg-product-specifications__table,
    .mg-product-specifications .mg-product-specifications__table tbody {
        display: block;
        width: 100%;
    }

    .mg-product-specifications .mg-product-specifications__table tr {
        display: grid;
        grid-template-columns: minmax(110px, 0.8fr) minmax(0, 1.2fr);
        width: 100%;
    }

    .mg-product-specifications .mg-product-specifications__table th,
    .mg-product-specifications .mg-product-specifications__table td {
        display: block;
        width: auto;
        min-width: 0;
        margin: 0;
        padding: 12px;
        word-break: break-word;
    }

    .mg-product-specifications .mg-product-specifications__table .mg-product-specifications__empty {
        display: none;
    }

    .mg-product-specifications .mg-product-specifications__important {
        padding: 18px;
    }

    .mg-product-specifications .mg-product-specifications__separator {
        margin: 30px 0;
    }

    .mg-product-specifications .mg-product-specifications__alternative-title {
        font-size: 20px;
    }

    .mg-product-specifications .mg-product-specifications__alternative-table th,
    .mg-product-specifications .mg-product-specifications__alternative-table td {
        padding: 12px;
    }

    .mg-product-specifications .mg-product-specifications__alternative-note {
        padding: 18px;
    }
}








/* =========================================================
   SHOP DESCRIPTION
   ========================================================= */

.mg-shop-description .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.mg-shop-description .mg-shop-description__content {
    flex: 1 1 55%;
    max-width: 650px;
}

.mg-shop-description .mg-shop-description__image {
    flex: 0 1 45%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.mg-shop-description .mg-shop-description__image img {
    display: block;
    width: 100%;
    max-width: 560px;
    height: auto;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .mg-shop-description .container {
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
    }

    .mg-shop-description .mg-shop-description__content {
        max-width: 100%;
        flex: none;
    }

    .mg-shop-description .mg-shop-description__image {
        flex: none;
        width: 100%;
        justify-content: center;
    }

    .mg-shop-description .mg-shop-description__image img {
        width: 100%;
        max-width: 100%;
    }
}






.catalog-modal .catalog-modal__thank-you {
    display: none;
    width: 100%;
    padding: 45px 30px;
    text-align: center;
}

.catalog-modal .catalog-modal__thank-you.is-active {
    display: block;
}

.catalog-modal .catalog-modal__thank-you-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f0f8f2;
    color: #2f9348;
}

.catalog-modal .catalog-modal__thank-you-title {
    margin: 0 0 12px;

    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
}

.catalog-modal .catalog-modal__thank-you-description {
    max-width: 420px;
    margin: 0 auto 25px;

    font-size: 16px;
    line-height: 1.6;
}

.catalog-modal .catalog-modal__thank-you-button {
    min-width: 150px;
    padding: 13px 25px;

    border: 0;
    border-radius: 4px;

    cursor: pointer;

    font-size: 15px;
    font-weight: 600;
}

@media (max-width: 575px) {

    .catalog-modal .catalog-modal__thank-you {
        padding: 40px 20px;
    }

    .catalog-modal .catalog-modal__thank-you-title {
        font-size: 26px;
    }

}








/* =========================================================
 * WOOSWIPE MOBILE DOTS
 * ========================================================= */

#wooswipe .wooswipe-mobile-dots {
    display: none;
}

@media (max-width: 767px) {

    /* �������� thumbnails �� ��������� */
    #wooswipe .thumbnails {
        display: none !important;
    }

    .woocommerce ul.products li.product .mg-shop-product__footer .button {
    display: inline-block;
    margin-top: 1em;
    font-size: 14px !important;
    width: 100% !important;
    text-align: center !important;
    display: block !important;
    padding: 12px 0 !important;
}
.mg-category-filter-ui{
    display: none !important;
}

    /* �������� ����������� */
    #wooswipe .woocommerce-product-gallery__image.single-product-main-image {
        width: 100%;
        position: relative;
    }

    #wooswipe .woocommerce-product-gallery__image.single-product-main-image img {
        display: block;
        width: 100%;
               height: 400px;
        object-fit: contain;
    }

    /* ����� */
    #wooswipe .wooswipe-mobile-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 7px;

        width: 100%;
        margin-top: 15px;
                margin-bottom: 8px;
                    }


    .product-block .title-product-type{
        font-size: 24px;
            margin-bottom: 12px;
    }
    .mg-product-price-stock__price .woocommerce-Price-amount.amount bdi{
        font-size: 32px;
    }
    .mg-product-price-stock{
        display: block;
    }
    .mg-product-price-stock__price{
        margin-bottom: 8px;
    }
    .mg-product-price-stock__stock{

    width: max-content;
    }
    .mg-product-price-stock{
        margin-bottom: 6px;
    }
    .mg-product-volume-wrap .mg-volume-discounts__title{
        font-size: 20px !important;
    }
    .mg-product-volume-wrap .woocommerce-Price-amount.amount {
    color: #FF0000;
    font-size: 24px !important;
}
    .single-product .mg-product-variations-links .mg-product-variations-links__title{
        font-size: 14px;
    }
    .single-product .mg-product-variations-links .mg-product-variations-links__list{
        justify-content: flex-start;
    }
    .single-product .mg-product-variations-links .mg-product-variations-links__title{
        font-weight: 400 !important;
        margin-bottom: 16px;
    }
    .mg-product-badges.mg-product-badges--3 .mg-product-badges__item{
            flex-wrap: balance;
    text-align: center !important;
    }
    .mg-product-short-description ul li{
        margin: 0;
    }

    .mg-product-badges.mg-product-badges--3{

    justify-content: center;
}
.mg-product-badges__item .mg-product-badges__text{
    font-size: 14px;
}

.mg-product-short-description ul li {
    list-style: none;
    position: relative;
    padding-left: 36px;
    font-family: Inter;
    font-weight: 400;
    font-size: 14px;
    /* line-height: 100%; */
    letter-spacing: 0%;
    margin-bottom: 8px;
}



    #wooswipe .wooswipe-mobile-dot {
        display: block;

        width: 8px;
        height: 8px;

        padding: 0;
        margin: 0;

        border: 0;
        border-radius: 50%;

        background: #d2d2d2;

        cursor: pointer;

        transition:
            background-color 0.2s ease,
            transform 0.2s ease;
    }

    #wooswipe .wooswipe-mobile-dot.is-active {
        background: #000;
        transform: scale(1.25);
    }
}



/* =========================================================
 * FREQUENTLY BOUGHT TOGETHER
 * MOBILE CAROUSEL � 2.5 PRODUCTS
 * ========================================================= */

@media (max-width: 767px) {

    .related-product .wc-fbt-products {
        overflow: hidden;
    }
    .related-product{
        padding: 48px 0 0;
    }
    .mg-product-variation-description .wp-block-columns.is-layout-flex.wp-block-columns-is-layout-flex{
        gap: 0;
    }

    .mg-product-variation-description h3{
        margin-bottom: 8px;
        font-size: 20px;
    }

    #wooswipe .woocommerce-product-gallery__image.single-product-main-image img{
        border: 0px solid;
    }

    .mg-product-variation-description .wp-block-columns.is-layout-flex.wp-block-columns-is-layout-flex{
        padding-bottom: 40px;
    border-bottom: 1px solid #AEAEAE;
    }
       .single-product .mg-product-specifications .mg-product-specifications__table th,
    .single-product .mg-product-specifications .mg-product-specifications__table td {
        display: table-cell;
        width: 50%;
        min-width: 0;
        padding: 12px !important;
        word-break: break-word;
    }

    .single-product .mg-product-specifications .mg-product-specifications__table tr > th:nth-of-type(1),
    .single-product .mg-product-specifications .mg-product-specifications__table tr > td:nth-of-type(1) {
        background: #fff !important;
    }

    .single-product .mg-product-specifications .mg-product-specifications__table tr > th:nth-of-type(2),
    .single-product .mg-product-specifications .mg-product-specifications__table tr > td:nth-of-type(2) {
        background: #f8f8f8 !important;
    }
    .single-product .mg-product-specifications .mg-product-specifications__important-title {
    display: inline-flex;
    align-items: center;
    vertical-align: top;
    line-height: 1.5;
}

.single-product .mg-product-specifications .mg-product-specifications__important-text {
    vertical-align: top;
    line-height: 1.5;
}
.single-product .mg-product-specifications .mg-product-specifications__important-icon {
    flex: 0 0 auto;
    margin-right: 6px;
}

    .related-product .wc-fbt-products ul.products {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: stretch;

        width: 100%;
        max-width: none;
         gap: 8px;
        margin: 0;
        padding: 0 0 12px;

        overflow-x: auto;
        overflow-y: hidden;

        scroll-snap-type: x proximity;
        scroll-behavior: smooth;

        -webkit-overflow-scrolling: touch;

        /* ������� scrollbar */
        scrollbar-width: none;


    }

    .related-product .wc-fbt-products ul.products::-webkit-scrollbar {
        display: none;
    }


    /*
     * 2.5 ������ �� ������.
     *
     * 2 ������ �������� +
     * �������� ���������.
     */
    .related-product .wc-fbt-products ul.products > li.mg-shop-product {
        flex: 0 0 calc((100% - 24px) / 2.2) !important;

        width: calc((100% - 24px) / 2.2) !important;
        max-width: calc((100% - 24px) / 2.2) !important;

        min-width: 0;

        margin: 0 !important;

        float: none !important;
        clear: none !important;

        scroll-snap-align: start;
    }

    .related-product .wc-fbt-products .mg-shop-product__body {
        text-align: left;
    }

    .related-product h2{
        font-size: 20px;
    }



    /*
     * WooCommerce ���������:
     * first / last
     *
     * ��� �� ������ ������ ��������.
     */
    .related-product .wc-fbt-products ul.products > li.first,
    .related-product .wc-fbt-products ul.products > li.last {
        clear: none !important;
    }


    /*
     * ����������� ��������.
     */
    .related-product .mg-shop-product__media {
        display: block;
        width: 100%;
    }

    .related-product .mg-shop-product__image {
        display: block;

        width: 100%;
        max-width: 100%;
        height: auto;

        object-fit: contain;
    }


    /*
     * ����� ������� title �� �������� ��������.
     */
    .related-product .mg-shop-product__title {
        display: -webkit-box;

        overflow: hidden;

        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

}


/* =========================================================
 * BeRocket Categories Filter
 * �������� �������� ���������, ��������� ������������
 * ========================================================= */

.bapf_attr_product_cat .bapf_body > ul > li.bapf_parent_0 > input,
.bapf_attr_product_cat .bapf_body > ul > li.bapf_parent_0 > label,
.bapf_attr_product_cat .bapf_body > ul > li.bapf_parent_0 > .bapf_ochild {
    display: none !important;
}


/* ������ ���������� �������� ��������� */
.bapf_attr_product_cat .bapf_body > ul > li.bapf_parent_0 > ul {
    display: block !important;
}


/* ������� ������ ������ �� �������� ��������� */
.bapf_attr_product_cat .bapf_body > ul > li.bapf_parent_0 {
    margin: 0 !important;
    padding: 0 !important;
}


/* ��� ������������� ������� ������ ���������� ������ */
.bapf_attr_product_cat .bapf_body > ul > li.bapf_parent_0 > ul {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.wcwl_elements .wcwl_control button{
         font-family: Roboto;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 0 0 0px 8px !important;
}


.side-link.mg-product-variations-links__item--active.is-current{
        background: #BE1A1A;
            border: 1px solid #BE1A1A;
}
.side-link.mg-product-variations-links__item--active.is-current a{
    color: white;
}



.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price{
   color: #ffffff00;
}

.mg-product-price-stock del bdi{
        font-weight: 400 !important;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: 0%;
    text-decoration: line-through;
}

.wcwl_email_elements  input{
        padding: 9px 16px;
    border-radius: 8px;
    border: 1px solid #878787;
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
        float: left;
        width: 70%;
}

.custom-content{
    display: none;
}

@media (max-width: 767px) {

    #wooswipe .woocommerce-product-gallery__image.single-product-main-image {
        overflow: hidden;

        /*
         * ����� �����:
         * ��������� ������������ ������ ��������,
         * �� �������������� ���� ���������� ��� ��������.
         */
        touch-action: pan-y;

        cursor: grab;
        user-select: none;
        -webkit-user-select: none;
    }

       .site-header.site-header-mobile .container{
        padding: 0;
    }
    .mobile-search .search-widget{
        padding: 8px 16px;
    }
    .catalog-promo{
        padding: 24px 0 0;
    }

    #wooswipe .woocommerce-product-gallery__image.single-product-main-image:active {
        cursor: grabbing;
    }

    #wooswipe .woocommerce-product-gallery__image.single-product-main-image img {
        pointer-events: none;
        user-select: none;
        -webkit-user-select: none;
        -webkit-user-drag: none;
    }
    .product.type-product {
    padding: 6px 0px 0px;
}
}





@media (min-width: 1000px){
    .woocommerce  .related-product ul.products li.product{
        margin: 0 12px 0 0 !important;
    }

}


/* ================================================================
   PRODUCT BADGES: FIXED FOUR-COLUMN LAYOUT
================================================================ */

.mg-product-badges.mg-product-badges--3,
.mg-product-badges.mg-product-badges--4 {
    display: grid !important;
    align-items: stretch;
    width: 100%;
    gap: 0 !important;
}

.mg-product-badges.mg-product-badges--3 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mg-product-badges.mg-product-badges--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mg-product-badges.mg-product-badges--3 .mg-product-badges__item,
.mg-product-badges.mg-product-badges--4 .mg-product-badges__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: auto !important;
    padding: 0 18px !important;
    gap: 8px;
    border-right: 1px solid #be1a1a;
    text-align: left;
}

.mg-product-badges.mg-product-badges--3 .mg-product-badges__item:first-child,
.mg-product-badges.mg-product-badges--4 .mg-product-badges__item:first-child {
    padding-left: 0 !important;
}

.mg-product-badges.mg-product-badges--4 .mg-product-badges__item:last-child {
    padding-right: 0 !important;
    border-right: 0 !important;
}

/* With only three badges, keep the divider before the empty fourth slot. */
.mg-product-badges.mg-product-badges--3 .mg-product-badges__item:last-child {
    padding-right: 18px !important;
    border: 0 !important;
    border-right: 0px solid #be1a1a !important;
}



.mg-product-badges.mg-product-badges--3 .mg-product-badges__icon,
.mg-product-badges.mg-product-badges--4 .mg-product-badges__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px !important;
    height: 40px !important;
}

.mg-product-badges.mg-product-badges--3 .mg-product-badges__icon img,
.mg-product-badges.mg-product-badges--4 .mg-product-badges__icon img {
    display: block;
    width: auto !important;
    max-width: 40px;
    height: 40px !important;
    object-fit: contain;
}

.mg-product-badges.mg-product-badges--3 .mg-product-badges__text,
.mg-product-badges.mg-product-badges--4 .mg-product-badges__text {
    min-width: 0;
    line-height: 1.15;
}

@media (max-width: 767px) {
    .mg-product-badges.mg-product-badges--3 .mg-product-badges__item,
    .mg-product-badges.mg-product-badges--4 .mg-product-badges__item {
        flex-wrap: nowrap;
        padding: 0 8px !important;
        gap: 5px;
                display: block !important;
    }
    .mg-product-variation-description .wp-block-column img{
            margin-bottom: 12px;
    }

     .mg-product-badges.mg-product-badges--3 .mg-product-badges__icon, .mg-product-badges.mg-product-badges--4 .mg-product-badges__icon{
        text-align: center;
        font-size: 14px;
                text-align: center !important;
    }
    .mg-product-badges.mg-product-badges--3 .mg-product-badges__icon, .mg-product-badges.mg-product-badges--4 .mg-product-badges__icon{
                margin: 0 auto 10px;
    }
    .mg-shop-featured__section--categories.mg-related-categories{
        padding-top: 48px;
    }

    body.tax-product_cat .mobile-bottom-nav__item--shop .mg-mobile-nav-svg, body.tax-product_cat .mobile-bottom-nav__cart-svg{
                height: 24px !important;
        stroke: currentColor;
        width: 24px !important;
    }
    .mobile-bottom-nav .mobile-bottom-nav__title{
        font-family: Roboto;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    display: block;

    }
    body.tax-product_cat .mobile-bottom-nav{

    }

    .mg-product-badges.mg-product-badges--3 .mg-product-badges__icon,
    .mg-product-badges.mg-product-badges--4 .mg-product-badges__icon {
        flex-basis: 28px;
        width: 28px !important;
        height: 32px !important;
    }

    .mg-product-badges.mg-product-badges--3 .mg-product-badges__icon img,
    .mg-product-badges.mg-product-badges--4 .mg-product-badges__icon img {
        max-width: 40px;
        height: 40px !important;
    }

    .mg-product-badges.mg-product-badges--3 .mg-product-badges__text,
    .mg-product-badges.mg-product-badges--4 .mg-product-badges__text {
        font-size: 14px !important;
        line-height: 1.15;
    }
}


/* ================================================================
   UNIFIED ADD-TO-CART FEEDBACK
================================================================ */

.mg-shop-product__button,
.add-to-cart-btn .single_add_to_cart_button {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.mg-shop-product__button--loading,
.add-to-cart-btn .single_add_to_cart_button.mg-single-cart-loading {
    pointer-events: none;
    opacity: 0.78;
}

/* Remove WooCommerce's absolutely positioned corner indicators. */
.mg-shop-product__button.button.loading::before,
.mg-shop-product__button.button.loading::after,
.mg-shop-product__button.button.added::before,
.mg-shop-product__button.button.added::after,
.add-to-cart-btn .single_add_to_cart_button.loading::before,
.add-to-cart-btn .single_add_to_cart_button.loading::after,
.add-to-cart-btn .single_add_to_cart_button.added::before,
.add-to-cart-btn .single_add_to_cart_button.added::after {
    content: none !important;
    display: none !important;
}

/* One compact spinner immediately after the button text. */
.mg-shop-product__button.button.mg-shop-product__button--loading::after,
.add-to-cart-btn .single_add_to_cart_button.mg-single-cart-loading::after {
    content: "" !important;
    position: static !important;
    display: block !important;
    width: 14px !important;
    height: 14px !important;
    flex: 0 0 14px !important;
    margin: 0 !important;
    border: 2px solid currentColor !important;
    border-right-color: transparent !important;
    border-radius: 50% !important;
    animation: mg-cart-spin 0.65s linear infinite !important;
}


.mg-product-head__sku{
    padding-bottom: 16px;
}






.crp-related-block {
            margin-top: 12px;
            margin-bottom: 20px;
        }


        .crp-related-block .crp-related-block__title {
           font-family: Inter;
font-weight: 700;
font-size: 24px;
margin-bottom: 16px;
line-height: 100%;
letter-spacing: 0%;

        }


        .crp-related-block .crp-related-block__list {
            display: flex;
            flex-wrap: wrap;
            align-items: flex-start;

            gap: 8px;

            margin: 0;
            padding: 0;

            list-style: none;
        }


        .crp-related-block .crp-related-block__item {
            margin: 0;
            padding: 0;

            list-style: none;
        }


        .crp-related-block .crp-related-block__card {
            width: 104px;

            display: flex;
            flex-direction: column;

            overflow: hidden;

            border: 1px solid #BE1A1A;
            border-radius: 5px;

            background: #fff;

            text-decoration: none;

            transition:
                border-color .2s ease,
                transform .2s ease,
                box-shadow .2s ease;
        }


        .crp-related-block .crp-related-block__image-wrap {
            width: 100%;
            height: 104px;

            display: flex;
            align-items: center;
            justify-content: center;

            padding: 5px;

            box-sizing: border-box;

            background: #fff;
        }


        .crp-related-block .crp-related-block__image {
            display: block;

            width: 100%;
            height: 100%;

            max-width: 100%;

            object-fit: contain;
        }


        .crp-related-block .crp-related-block__label {

            display: flex;
            align-items: center;
            justify-content: center;

            padding: 8px 3px;

            box-sizing: border-box;

            background: #BE1A1A;

            color: #fff;

           font-family: Inter;
font-weight: 700;
font-size: 16px;
line-height: 100%;
letter-spacing: 0%;

            text-align: center;

            text-decoration: none;
        }


        .crp-related-block .crp-related-block__card:hover {
            border-color: #000000;
            text-decoration: none;
        }


        .crp-related-block .crp-related-block__card:hover
        .crp-related-block__label {
            background: #000000;
        }


.search-results .products.columns-5{
      display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    overflow: visible;
    padding: 0;
    gap: 16px;
}
.search-results ul.products.columns-5 li{
    float: none !important;
    margin: 0 0 0px !important;
    width: 18.8% !important;
}

.search-results ul.products.columns-5  ul.products::before ,  .search-results ul.products.columns-5::before{
    display: none;
}

        @media (max-width: 767px) {

            .crp-related-block .crp-related-block__list {
                gap: 5px;
            }
            .search-results .products.columns-5{
                    padding: 0px 12px;
            }

            .search-results ul.products.columns-5 li{
                width: 47.8% !important;
            }

            .mg-category-catalog-section__filter{
                position: relative !important;
            }
            .mg-cart-popup .mg-cart-popup__dialog{
                    height: auto !important;
            }
            .mg-cart-popup .mg-cart-popup__empty{
                min-height: auto;
            }
            .mg-category-subcategories-section {
    margin-bottom: 0px !important;
}
.mg-product-badges.mg-product-badges--3{
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mg-product-badges.mg-product-badges--3 .mg-product-badges__icon img{
    width: auto !important;
}

        }







@media (min-width: 1200px) {
    .single-product .mg-product-pricing-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) max-content;
        align-items: start;
        column-gap: 12px;
                margin-bottom: 24px;
    }

    .single-product .mg-product-pricing-layout__primary {
        min-width: 0;
    }

    .single-product .mg-product-volume-wrap {
        align-self: start;
        margin: 0;
    }

    .single-product .mg-product-volume-wrap:not(:has(.mg-volume-discounts)) {
        display: none;
    }

    .single-product .mg-product-volume-wrap > .mg-volume-discounts {
        align-items: center;
        display: flex;
        gap: 12px;
        width: max-content;
        max-width: 100%;
    }

    .single-product .mg-product-volume-wrap .mg-volume-discounts__title {
        flex: 0 0 90px;
        margin: 0;
        font-size: 22px !important;
        line-height: 1.2;
        text-transform: none;
    }

    .single-product .mg-product-volume-wrap .mg-volume-discounts__items {
        flex: 0 0 auto;
        flex-direction: row;
        align-items: stretch;
    }

    .single-product .mg-product-volume-wrap .mg-volume-discounts__item {
        box-sizing: border-box;
        width: 140px;
        padding-right: 6px;
        padding-left: 6px;
    }

    .single-product .mg-product-volume-wrap .mg-volume-discounts__label {
        white-space: nowrap;
    }
}

@media (min-width: 1440px) {
    .single-product .mg-product-pricing-layout {
        column-gap: 24px;
    }

    .single-product .mg-product-volume-wrap > .mg-volume-discounts {
        gap: 16px;
    }

    .single-product .mg-product-volume-wrap .mg-volume-discounts__title {
        flex-basis: 110px;
        width: 110px;
        font-size: 22px !important;
    }

    .single-product .mg-product-volume-wrap .mg-volume-discounts__item {
        width: 151px;
        padding-right: 16px;
        padding-left: 16px;
    }
}

@media (min-width: 1024px) {

    .mg-desktop-sticky-cart {
        position: fixed;
        z-index: 9990;
        right: 0;
        bottom: 0;
        left: 0;
        padding: 10px 12px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(110%);
        transition: transform 240ms ease, opacity 200ms ease, visibility 0s linear 240ms;
        pointer-events: none;
    }

    .mg-desktop-sticky-cart.is-visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition-delay: 0s;
        pointer-events: auto;
        box-shadow: 0 0 24px rgba(0, 0, 0, 0.18);
        background: white;
    }

    .mg-desktop-sticky-cart__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 112px minmax(215px, 320px);
        align-items: center;
        gap: 8px;
        width: min(100%, 1380px);
        min-height: 58px;
        margin: 0 auto;
        padding: 0px 0px;
        border-radius: 7px;
        background: #fff;
    }

    .mg-desktop-sticky-cart__product {
        display: flex;
        min-width: 0;
        align-items: center;
        gap: 12px;
    }

    .mg-desktop-sticky-cart__image {
        width: 56px;
        height: 56px;
        flex: 0 0 44px;
        border: 1px solid #dedede;
        border-radius: 8px;
        object-fit: contain;
        background: #fff;
    }

    .mg-desktop-sticky-cart__info {
        min-width: 0;
    }

    .mg-desktop-sticky-cart__title {
        overflow: hidden;
        margin: 0 0 2px;
        color: #1b1b1b;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.2;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-family: Inter;
    }

    .mg-desktop-sticky-cart.is-visible .mg-desktop-sticky-cart__price p.price .woocommerce-Price-amount.amount{
               display: flex;
        align-items: baseline;
        gap: 5px;
        color: #1b1b1b;
        font-size: 24px !important;
        font-weight: 700 !important;
        line-height: 1.15;
        font-family: 'Inter';
    }

    .mg-desktop-sticky-cart__price p,
    .mg-desktop-sticky-cart__price .price {
        margin: 0;
    }

    .mg-desktop-sticky-cart__price del {
        color: #777;
        font-size: 15px;
        font-weight: 400;
        opacity: 1;
    }

    .mg-desktop-sticky-cart__price ins {
        color: #1b1b1b;
        text-decoration: none;
    }

    .mg-desktop-sticky-cart__quantity {
        display: grid;
        grid-template-columns: 36px 40px 36px;
        height: 56px;
        overflow: hidden;
        border: 1px solid #dedede;
        border-radius: 5px;
        background: #fff;
    }

    .mg-desktop-sticky-cart__quantity button,
    .mg-desktop-sticky-cart__quantity input {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #111;
        font: inherit;
        text-align: center;
        box-shadow: none;
    }

    .mg-desktop-sticky-cart__quantity button {
        cursor: pointer;
        font-size: 20px;
        line-height: 1;
    }

    .mg-desktop-sticky-cart__quantity button:hover {
        background: #f5f5f5;
    }

    .mg-desktop-sticky-cart__quantity input {
        appearance: textfield;
        font-size: 14px;
        font-weight: 500;
    }

    .mg-desktop-sticky-cart__quantity input::-webkit-inner-spin-button,
    .mg-desktop-sticky-cart__quantity input::-webkit-outer-spin-button {
        margin: 0;
        appearance: none;
    }

    .mg-desktop-sticky-cart__button {
        width: 100%;
        height: 56px;
        margin: 0;
        padding: 0 24px;
        border: 0;
        border-radius: 5px;
        background: #BE1A1A;
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        line-height: 42px;
        text-align: center;
        cursor: pointer;
        transition: background-color 160ms ease;

            font-family: Roboto;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    width: 100%;
    border-radius: 8px;
    }

    .mg-desktop-sticky-cart__button:hover {
        background: #b60000;
    }

    .mg-desktop-sticky-cart__button:disabled {
        cursor: not-allowed;
        opacity: 0.55;
    }
}

@media (max-width: 1023px) {
    .mg-desktop-sticky-cart {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mg-desktop-sticky-cart {
        transition: none;
    }
}

/* Desktop product form dimensions from the product-page design. */
@media (min-width: 1024px) {
    .single-product .mg-product-cart form.cart {
        display: grid;
        grid-template-columns: 133px minmax(0, 381px);
        align-items: stretch;
        gap: 8px;
        width: min(522px, 100%);
        margin: 0;
    }

    .single-product .mg-product-cart form.cart::before,
    .single-product .mg-product-cart form.cart::after {
        content: none !important;
        display: none !important;
    }

    .single-product .mg-product-cart form.cart .quantity {
        float: none;
        width: 133px;
        height: 49px;
        margin: 0;
    }

    .single-product .mg-product-cart form.cart .quantity .quantity__button {
        width: 44px;
        height: 49px;
        flex: 0 0 44px;
        font-size: 22px;
    }

    .single-product .mg-product-cart form.cart .quantity input.qty {
        width: 45px;
        height: 49px;
        flex: 0 0 45px;
        font-size: 16px;
    }

    .single-product .mg-product-cart form.cart .add-to-cart-btn {
        float: none;
        width: 100%;
        height: 49px;
        margin: 0;
    }

    .single-product .mg-product-cart form.cart .single_add_to_cart_button {
        width: 100%;
        height: 49px;
        margin: 0;
        font-size: 14px;
    }
}


.company-info__media img{
    height: auto;
}
.home-section.home-categories .logo-block a img{
    width: auto;
}

/* Sale prices in Frequently bought together cards and the desktop sticky cart. */
.single-product .related-product .wc-fbt-products .mg-shop-product__footer .mg-shop-product__price ins .woocommerce-Price-amount.amount,
.single-product .mg-desktop-sticky-cart.is-visible .mg-desktop-sticky-cart__price p.price ins .woocommerce-Price-amount.amount {
    color: #BE1A1A;
}
