*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', sans-serif;
}

.action-button {
    color: #fff;
    background-color: #000000;
}
.action-button:hover {
    background-color: #2b2b2b;
}
.action-button:focus {
    background-color: #2b2b2b;
}

/*Шапка*/
.panel-top-container {
    background-color: #F3F2F2;
    display: flex;
    justify-content: center;
}

.panel-top {
    height: 48px;
    display: flex;
    gap: 20px;
    width: 100%;
    align-items: center;
    font-weight: normal;
    box-sizing: border-box;
}

.panel-top__geo {
    display: flex;
    position: relative;
    align-items: center;
}
.panel-top__geo-icon {
    fill: #111111;
    width: 16px;
    height: auto;
    cursor: pointer;
    z-index: 1;
}
.panel-top__geo-label {
    font-weight: 700;
    cursor: pointer;
    margin-left: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    z-index: 1;
}
.panel-top__geo-dropdown {
    right: auto;
    z-index: 5;
    top: 32px;
}
.panel-top__geo-dropdown .cdp {
    left: 25px;
}

.panel-top__menu {
    display: flex;
    margin-left: auto;
    max-width: 510px;
    justify-content: space-between;
    flex: 1 1 auto;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}
.panel-top__menu-item {
    text-decoration: none;
    color: #000;
}
.panel-top__menu-item_bold {
    font-weight: 700;
}

.panel-top__email {
    display: flex;
    margin-left: auto;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}
.panel-top__email-icon {
    width: 20px;
    height: auto;
    fill: #000;
}
.panel-top__email-link {
    margin-left: 10px;
    line-height: 20px;
    text-decoration: none;
    color: #000;
}

.panel-header-container {
    display: flex;
    justify-content: center;
    margin: 22px 0;
}

.panel-header {
    display: flex;
    gap: 20px;
    width: 100%;
    align-items: center;
    font-weight: normal;
    justify-content: space-between;
    box-sizing: border-box;
}

.panel-header__logo {
    display: flex;
    height: 72px;
}
.panel-header__logo svg {
    width: 100%;
    height: 100%;
}
.panel-header__logo-icon {

}
.panel-header__logo-label {
    justify-content: center;
    display: flex;
    flex-direction: column;
    width: 150px;
    padding-top: 2px;
}
.panel-header__logo-label > a {
    text-decoration: none;
    font-size: 17px;
    font-family: 'TT Norms';
    font-weight: 800;
    font-style: normal;
    color: #000;
}
.panel-header__logo-label > span:last-child {
    margin-top: 5px;
    font-size: 12px;
    color: #666666;
}

.panel-header__search {
    display: flex;
    width: 100%;
    max-width: 340px;
    justify-content: center;
    position: relative;
    flex: 1 1 auto;
    transition: 200ms;
}
.panel-header__search--wide {
    max-width: 520px;
}
.panel-header__search-input {
    padding-top:12px;
    padding-bottom: 12px;
    width: 100%;
    border: 1px solid #9E9E9E;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    padding-left: 20px;
    color: #A0A0A0;
    font-weight: 400;
    transition: 200ms;
}
.panel-header__search-input:focus {
    color: #111111;
    border-color: #333333;
}
.panel-header__search-input-submit {
    border: none;
}
.panel-header__search-input-icon {
    position: absolute;
    right: 11px;
    top: 12px;
    width: 24px;
    height: 24px;
    fill: #666666;
}
.mobile-menu__header-open,
.panel-header__search-open {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background-color: #000;
    border-radius: 8px;
    border: unset;
}
.mobile-menu__header-open svg,
.panel-header__search-open svg {
    fill: #fff;
}

.panel-header__phone-container {
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
}
.panel-header__phone {
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    color: #000;
    white-space: nowrap;
}
.panel-header__phone-label {
    color: #8E8E8E;
    font-size: 11px;
    margin-top: 5px;
}

.panel-header__callback {
    flex-shrink: 0;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 115px;
    border-radius: 8px;
    border: none;
    position:relative;
}

.header__callback-form-container {
    top: auto;
    margin-top: 15px;
    z-index: 5;
}
.callback-drop.header__callback-form-container div, .callback-drop.header__callback-form-container p {
    padding: 0 0 0 2px;
}
.panel-header__callback-icon {
    position: absolute;
    top: 50%;
    left: 10px;
    width: 24px;
    height: 24px;
    fill: #fff;
    transform: translateY(-50%);
}
.panel-header__callback-label {
    width: 25px;
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
}

.mobile-menu__callback {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: none;
    position:relative;
}
.mobile-menu__callback-icon {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.panel-header__cart-container {
    display: flex;
    align-items: center;
    height: 100%;
}
.panel-header__cart-button {
    border: none;
    background-color: unset;
    position: relative;
}
.panel-header__cart-button-icon {
    width: 40px;
}
.panel-header__cart-button-count {
    position: absolute;
    padding: 2px 7px 2px 7px;
    background-color: #FF0000;
    border-radius: 50%;
    right: -10px;
    top: 0;
    font-family: 'Inter', sans-serif;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    display: none;
}

.panel-header__cart-label {
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
    margin-left: 15px;
}
.panel-header__cart-label > a {
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    color: #000;
}
.panel-header__cart-price {
    white-space: nowrap;
    font-size: 14px;
    margin-top: 5px;
}
.panel-header__cart-price:after {
    content: ' \0020BD';
}


@media (max-width: 1150px) {
    .panel-header__search {
        max-width: 320px;

    }
}
@media (max-width: 1090px) {
    .panel-header__search {
        max-width: 280px;
    }
}
@media (max-width: 1050px) {
    .panel-header__logo-label {
        width: 130px;
    }
    .panel-header__logo-label > span:last-child {
        font-size: 11px;
    }

    .panel-header__search {
        max-width: 240px;
    }
    .panel-header__search-input {
        font-size: 14px;
    }
    .panel-header__search-input-icon {
        width: 20px;
    }

    .panel-header__phone {
        font-size: 14px;
    }

    .panel-header__callback {
        width: 105px;
        padding-top: 6px;
        padding-bottom: 6px;
    }
    .panel-header__callback-label {
        font-size: 12px;
    }
}

.header-menu-container {
    display: flex;
    justify-content: center;

    font-family: 'Inter', sans-serif;
    margin-bottom: 24px;
}
.header-menu__background {
    display: flex;
    width: 100%;
    box-sizing: border-box;
}
.header-menu {
    background-color: #F3F2F2;
    border-radius: 8px;
    display: flex;
    width: 100%;
    align-items: center;
    font-weight: normal;
    justify-content: space-around;
    box-sizing: border-box;
    /*white-space:break-spaces;*/
    padding: 5px;
}

.header-menu__item {
    width: auto;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    padding: 9px 24px;
    border-radius: 8px;
}
.header-menu__item > a {
    text-decoration: none;
    color: #444444;
    position: relative;
    z-index: 2;
}
.header-menu__item:hover > a {
    color: #000;
}

.header-menu__item:hover {
    background: #fff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.18);
}

.header-menu__sub-item-container {
    position: absolute;
    z-index: 5;
    display: none;
    bottom: auto;
    left: 0;
}
.header-menu__sub-item {
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.14);
    background-color: white;
    flex-direction: column;
    white-space: nowrap;
    border-radius: 8px;
    padding: 18px 25px 18px 25px;
    margin-top: 12px;
    display: flex;
}
.header-menu__sub-item > a {
    color: #111111;
    text-decoration: none;
    font-size: 14px;
    font-weight: normal;
    line-height: 32px;
}
.header-menu__sub-item > a:hover {
    color: #e53935;
}
/*.header-menu__sub-item > a:hover {*/
/*    color: #000;*/
/*}*/

.header-menu__item:hover > .header-menu__sub-item-container {
    display: flex;
}

/*Подвал*/
.panel-footer-container {
    background-color: #F9F9F7;
    display: flex;
    justify-content: center;
    padding-top: 48px;
    padding-bottom: 100px;
    width: 100%;
}

.panel-footer {
    /*height: 48px;*/
    display: flex;
    width: 100%;
    align-items: center;
    font-weight: normal;
    box-sizing: border-box;
    justify-content: space-between;
    gap: 16px;
}
.panel-footer__left-block {
    display: flex;
    flex-direction: column;
    width: 235px;
    font-family: 'Inter', sans-serif;
}

.panel-footer__logo {
    display: flex;
}
.panel-footer__logo-label {
    justify-content: center;
    display: flex;
    flex-direction: column;
    width: 150px;
    padding-top: 2px;
    margin-left: 10px;
}
.panel-footer__logo-label > a {
    text-decoration: none;
    font-size: 17px;
    font-family: 'TT Norms';
    font-weight: 800;
    font-style: normal;
    color: #000;
}
.panel-footer__logo-label > span:last-child {
    margin-top: 5px;
    font-size: 11px;
    color: #666666;
}

.panel-footer__note {
    display: flex;
    flex-direction: column;
    margin-top: 14px;
}
.panel-footer__note > span:first-child {
    font-size: 13px;
    font-weight: 600;
}
.panel-footer__note > span:last-child {
    font-size: 12px;
    font-weight: 400;
    margin-top: 8px;
    color: #666666;
}


.panel-footer__center-block {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 0 44px 0 rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    max-width: 773px;
    width: 100%;
    padding-left: 28px;
    box-sizing: border-box;
    padding-right: 28px;
}
.panel-footer__menu-container {
    position: relative;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-direction: column;
}
.panel-footer__menu-container:nth-child(1) {
    margin-right: 50px;
}
.panel-footer__menu {
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
}
.panel-footer__menu-header {
    font-weight: 700;
    font-size: 14px;
}
.panel-footer__menu > a {
    color: #000000;
    text-decoration: none;
    line-height: 24px;
}
.panel-footer__menu > a:hover {
    color: #e53935;
}
.panel-footer__menu-inner {
    display: flex;
    gap: 30px;
}

.panel-footer__right-block {
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
    height: 100%;
    position: relative;
}
.panel-footer__phone-block {
    display: flex;
    flex-direction: column;
}
.panel-footer__phone {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
}

.panel-footer__phone-label._msk {
    margin-bottom: 20px;
}

.panel-footer__phone-label {
    font-size: 11px;
    font-weight: 400;
    color: #8E8E8E;
}

.panel-footer__button-callback {
    background-color: #000;
    color: #fff;
    border-radius: 8px;
    height: 36px;
    width: 190px;
    border: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}
.panel-footer__button-callback svg {
    padding-bottom: 3px;
    margin-right: 4px;
}
.panel-footer__button-callback svg path {
    fill: #fff;
}

.panel-footer__email-link {
    color: #000;
    font-size: 14px;
    font-weight: 600;
    margin-top: 14px;
}

.footer__callback-form-container {
    top: 0;
    left: -260px;
}
.callback-drop.footer__callback-form-container div, .callback-drop.footer__callback-form-container p {
    padding: 0 0 0 2px;
}

.back-link.active {
    pointer-events: auto;
    cursor: pointer;
}
.back-link.active span {
    color: #000;
}
.back-link.active svg path {
    stroke: black;
}

.back-link {
    display: flex;
    height: 100%;
    width: 139px;
    background-color: #F3F2F2;
    border-radius: 8px;
    text-decoration: none;

    align-items: center;
    justify-content: center;
    padding-top: 14px;
    padding-bottom: 13px;
    box-sizing: border-box;

    pointer-events: none;
    cursor: default;
}
.back-link:hover {
    background-color: #fff;
    border: 1px solid #E7E7E7;
}
.back-link:active {
    background-color: #E4E4E4;
}

.back-link svg {
    width: 15px;
    height: 28px;
    fill: none;
}
.back-link svg path {
    stroke: gray;
}

.back-link span {
    color: gray;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    margin-left: 14px;
}

.button-scroll-top {
    position: fixed;
    display: none;
    left: calc((100vw - 1260px) / 2);
    bottom: 60px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 64px;
    border-radius: 8px;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    z-index: 100;
}

.burger {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 12px 8px;
    background-color: #000;
    border: unset;
    border-radius: 8px;
}
.burger__line {
    height: 2px;
    width: 100%;
    background-color: #fff;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    transition: 200ms;
    z-index: 12000;
}
.mobile-menu:not(.is-active) {
    visibility: hidden;
    opacity: 0;
}
.mobile-menu__inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    height: 100%;
    max-width: 320px;
    padding: 16px;
    background-color: #F3F2F2;
    border-radius: 8px 0 0 8px;
    transform: translateX(0);
    box-shadow: 0 0 8px 6px rgba(0, 0, 0, 0.2);
    transition: 200ms;
}
.mobile-menu:not(.is-active) .mobile-menu__inner {
    transform: translateX(100%);
}
.mobile-menu__header {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}
.mobile-menu__header .panel-top__geo {
    margin-right: auto;
}
.mobile-menu__body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 2px 2px;
    overflow: auto;
}
.mobile-menu__footer {
    margin-top: auto;
}
.mobile-menu__close {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: #000;
    color: #fff;
    border-radius: 8px;
    border: unset;
    font-size: 22px;
}
.mobile-menu__block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.mobile-menu__title {
    font-size: 22px;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #FFEA00;
}
.mobile-menu__list {
    --gap: 8px;
    
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}
.mobile-menu__list--child {
    padding-left: 16px;
}
.mobile-menu__item {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    transition: 200ms;
}
.mobile-menu__item:not(.is-active) .mobile-menu__list--child {
    display: none;
}
.mobile-menu__item.is-active .mobile-menu__item-arrow {
    transform: rotate(180deg);
}
.mobile-menu__item-inner {
    display: flex;
    align-items: center;
    background: #fff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.18);
    border-radius: 8px;
}
.mobile-menu__link {
    flex-grow: 1;
    color: #444444;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 12px;
    font-size: 14px;
}
.mobile-menu__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.mobile-menu__contacts-item {}
.mobile-menu__contacts-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    font-size: 16px;
    color: #444444;
    text-decoration: none;
}
.mobile-menu__item-arrow {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 8px 12px;
    cursor: pointer;
}

.wrap-x-2 {
    z-index: 15000;
}

.prefix_chat-icon {
    bottom: 55px!important;
}

.contacts-row tr {
    display: flex;
    gap: 16px;
}
.contacts-row tr > td:nth-child(1) {
    flex-grow: 1;
}
.contacts-row tr > td:nth-child(2) {
    max-width: 500px;
    width: 100%;
}

#map {
    margin-top: 10px;
}
#map > ymaps {
    width: 100%!important;
}

.btn-primary {
    color: #000;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    border: 1px solid #000;
    background: linear-gradient(#3f3f3f, #000);
    padding: 8px 10px;
    box-shadow: 0 1px 4px 1px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}
.btn-primary:active {
    border-color: #000;
    opacity: 0.9;
}
@media (hover: hover) {
    .btn-primary:hover {
        border-color: #000;
        opacity: 0.9;
    }
}

.add_cart_btns {
    display: flex;
}

.mobile-menu__header-open:active,
.panel-header__search-open:active,
.burger:active,
.mobile-menu__close:active {
    background-color: #2b2b2b;
}
@media (hover: hover) {
    .mobile-menu__header-open:hover,
    .panel-header__search-open:hover,
    .burger:hover,
    .mobile-menu__close:hover {
        background-color: #2b2b2b;
    }
}

@media (max-width: 1290px) {
    .button-scroll-top {
        left: 15px;
    }
}

@media (max-width: 1280px) {
    .header-menu__item {
        padding: 9px 16px;
    }

    .thumb.thumb3 {
        --cols: 4;
    }
}

@media (max-width: 1024px) {
    .panel-footer {
        flex-wrap: wrap;
    }
    .panel-footer-container {
        align-items: flex-start;
    }
    .panel-footer__left-block {
        width: 100%;
    }
    .panel-footer__center-block {
        padding: 28px;
        max-width: unset;
        width: calc(100% - 16px - 190px);
    }
    .panel-footer__right-block {
        flex-shrink: 0;
        width: 190px;
    }
    .panel-footer__menu-inner {
        gap: 20px;
    }
    .panel-footer__menu-inner {
        gap: 15px;
    }
    
    .panel-header__logo {
        margin-right: auto;
    }

    .panel-header-container {
        margin: 16px 0;
    }
    
    .panel-header__search {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        max-width: unset;
        background-color: #fff;
        opacity: 1;
        z-index: 12500;
    }
    .panel-header__search:not(.is-active) {
        visibility: hidden;
        opacity: 0;
    }
    .panel-header__search::before {
        content: '';
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 490;
        background-color: rgba(0, 0, 0, 0.25);
    }
    .panel-header__search-input {
        padding-top: 24px;
        padding-bottom: 24px;
        transform: translateY(0);
        border-radius: 0 0 8px 8px;
        z-index: 510;
    }
    .panel-header__search-input-icon {
        top: 50%;
        transform: translateY(-50%);
    }
    .panel-header__search:not(.is-active) .panel-header__search-input {
        transform: translateY(-100%);
    }
    .panel-header__search-input-submit {
        z-index: 520;
    }

    .thumb.thumb3 {
        --cols: 3;
    }
}

@media (max-width: 768px) {
    .panel-header__logo {
        height: 50px;
    }
    .panel-top-container {
        display: none;
    }
    .panel-header-container {
        margin-top: 8px;
    }

    .panel-header {
        gap: 8px;
    }
    .panel-header__phone-container {
        display: none;
    }
    .panel-header__callback {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        padding: 6px;
    }
    .panel-header__callback-label {
        display: none;
    }

    .panel-footer__center-block {
        width: 100%;
        padding: 15px;
    }
    .panel-footer__left-block {
        width: calc(100% - 190px - 16px);
        order: -2;
    }
    .panel-footer__right-block {
        order: -1;
    }
    .panel-footer__menu-container:nth-child(1) {
        margin-right: 20px;
    }

    .contacts-row > tbody > tr {
        flex-direction: column;
    }
    .contacts-row tr > td:nth-child(2) {
        max-width: 100%;
    }

    .thumb.thumb3 {
        --cols: 2;
    }

    .art {
        padding: 8px 0 13px 9px;
    }
    .th-select {
        padding: 0 9px;
    }
    .numberof {
        padding: 0 0 0 9px;
    }

    .panel-header__callback-icon {
        left: 50%;
        transform: translate(-50%, -50%);
    }
}
@media (max-width: 480px) {
    .panel-footer__menu-container:nth-child(1) {
        margin-right: 0;
    }
    .panel-footer__center-block {
        flex-direction: column;
        gap: 16px;
    }
    .panel-footer-container {
        padding-top: 28px;
    }

    #add_cart {
        width: calc(100% - 30px)!important;
        max-width: 360px;
        padding: 0 15px;
        height: auto!important;
    }
    .add_cart_btns {
        flex-direction: column;
        gap: 8px;
    }
    .add_cart_btns a {
        width: 100%;
        margin-left: 0!important;
    }
}





@media (min-width: 1025px) {
    .show-tablet {
        display: none!important;
    }
}
@media (max-width: 1024px) {
    .hide-tablet {
        display: none!important;
    }
}

@media (min-width: 769px) {
    .show-mobile {
        display: none!important;
    }
}
@media (max-width: 768px) {
    .hide-mobile {
        display: none!important;
    }
}

@media (min-width: 481px) {
    .show-mobile-small {
        display: none!important;
    }
}
@media (max-width: 480px) {
    .hide-mobile-small {
        display: none!important;
    }
}