/* CSS нового хедера
 * https://app.asana.com/0/1144691542787898/1201526614234470/f
*/

@media(min-width: 1440px) {
    .main-menu__list li:not(:last-child) {
        margin-right: 25px;
    }
}

@media(max-width: 1440px) {
    .main-menu__list {
        max-width: 700px;
    }
}


.city-info-top {
    justify-content: space-between;
    margin-top: 4px;
}

.city-select__current {
    padding-right: 43px;
}

.city-select__current:after {
    margin-right: 30px;
}

.header__section--1 {
    padding: 22px 0 10px;
}

.header--inner .header__section--2 {
    padding: 20px 0 25px;
}

.header__section-top-lower {
    display: flex;
    justify-content: space-between;
}

.header__block-wrap {
    display: flex;
    flex-direction: column;
}

.header__search-input {
    width: 100%;
    height: 55px;
    padding-left: 18px;
    padding-right: 68px;
    border: 5px solid #ffaf00;
    color: #292929;
    font-size: 18px;
    font-weight: 400;
    line-height: 18px;
    text-indent: 2px;
    transition: all .3s
}

.header__search-input:focus {
    border: 5px solid #ff5e00;
    background-color: #fbfbfb;
}

.header__search-btn {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    align-items: center;
    width: 68px;
    height: 100%;
    background: 0 0;
    border: 0;
}

.header__search-btn svg {
    width: 22px;
    fill: #000;
    transition: all .3s;
}

.social-media--header {
    margin-right: 30px;
}

.header__phone {
    margin-right: 0;
}

.city-info__timework {
    justify-content: flex-end;
}

.header--inner .header__section--2:after {
    content: none;
}

.menu-section__list {
    justify-content: space-around;
}

.menu-section__list a {
    padding-bottom: 5px;
}

.header__menu--bottom .menu-section__list a {
    font-size: 18px;
    color: #fff;
}

.header__social-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header__call-back {
    margin-bottom: 5px;
}

.city-info__email {
    margin-left: 0;
}

@media(max-width: 1200px) {
    .header__menu--bottom .menu-section__list a {
        font-size: 16px;
    }
}

.phone-text a:not(.city-item) {
    font-weight: 700;
}

button,input,optgroup,select,textarea {
    -webkit-appearance: auto;
}

.breadcrumb {
    background-color: transparent;
}

.section-breadcrumb {
    padding: 10px 0 15px;
}

.section-breadcrumb.section-breadcrumb--no-catalog {
    padding: 10px 0 50px;
}

/* ПЛИТКА ТЕГОВ */

.tile-tags {
    margin-bottom: 30px;
}

.tile-tags__row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.tile-tags__row.tile-tags__row--type {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e3e3e3;
}

.tile-tags__list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tile-tags__name-tag {
    font-size: 14px;
    margin-right: 15px;
}

.tile-tags__link {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    text-decoration: none;
    color: #000;
}

.tile-tags__link:hover,
.tile-tags__link:focus {
    color: #000;
    text-decoration: none;
}

.tile-tags__item {
    margin-right: 7px;
    color: #000;
    background-color: #ffff99;
    /*border: 2px solid #ff9900;*/
    border-radius: 20px;
    margin-bottom: 5px;
}

.tile-tags__row--type .tile-tags__item {
    background-color: #e9defe;
    border-radius: 7px;
}

.tile-tags__row--type .tile-tags__item.active,
.tile-tags__row--type .tile-tags__item:hover
{
    background-color: #c8abfd;
}

.tile-tags__item.active {
    background-color: #ff9900;
}

.tile-tags__item:hover {
    background-color: #ff9900;
}

@media(max-width: 767px) {
    .tile-tags__row {
        flex-direction: column;
        align-items: normal;
    }

    .tile-tags__name-tag {
        font-weight: 700;
        margin-bottom: 10px;
    }

    .tile-tags__link {
        padding: 2px 10px;
    }
}

/* /ПЛИТКА ТЕГОВ */

.section-slider {
    margin-top: 15px;
}

.header__slogan {
    bottom: -170px
}

.header__menu-section {
    padding-bottom: 0;
    max-width: none;
}

/* Левое меню, левый сайдбар */

.left-menu {
    margin-bottom: 0;
    padding-top: 10px;
}

.left-menu__title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

.left-menu-series__list {
    list-style: none;
    padding: 0;
}

.left-menu__item {
    margin-bottom: 6px;
}

.left-menu__link {
    color: rgba(124,53,254,.8);
    text-decoration: none;
    line-height: 16px;
}

.left-menu__link:hover {
    color: rgba(124,53,254,.8);
    text-decoration: underline;
}

.left-menu__link.active {
    color: rgba(124,53,254,.8);
    text-decoration: underline;
}

.left-sidebar {
    background-color: #edf6fc;
}

/* Таблица товаров */
.p-table thead {
    font-size: 14px;
    background-color: #ffff2952;
}

.p-table__img-link {
    display: block;
    /*height: 100px;*/
    width: 100px
}

.p-table__img-link img {
    max-height: 100%;
}

.p-table__img-link--zoom {
    transition: all .5s;
}

.p-table__img-link--zoom:hover {
    border: 2px solid #e3e3e3;
    transform: scale(3.3);
    z-index: 11;
    position: relative;
}

.p-table thead th {
    padding: 10px;
    vertical-align: top;
}

.p-table {
    /*border: 1px solid #ccc;*/  /* граница всей таблицы */
}
.p-table tr {
    /*border: 1px solid #ccc;*/  /* границы между строками */
}

.p-table td, th {
    font-size: 14px;
    /*border: 1px solid #ccc;*/  /* границы между столбцами */
    padding: 0 10px;
}

.table-wrap {
    text-align: center;
    display: inline-block;
    background-color: #fff;
    padding: 2rem 2rem;
    color: #000;
}

.p-table {
    width: 100%;
    margin:0;
    padding:0;
    border-collapse: collapse;
    border-spacing: 0;
}

.p-table tr {
    padding: 5px;
    transition: all .3s
}

.p-table th, table td {
    padding: 10px;
    text-align: center;
}

.p-table th {
    color: #000;
    /*background-color: #f9f9f9;*/
    font-size: 14px;
}

.p-table__link {
    color: rgba(124,53,254,.8);
    text-decoration: none;
    line-height: 16px;
}

.p-table__link:hover {
    color: rgba(124,53,254,.8);
    text-decoration: underline;
}

.p-table-body tr:nth-child(odd) {
    background-color: #f2f2f2;
}

.p-table-body tr td:first-child {
    padding: 0;
}

.p-table-body tr:hover {
    background-color: #7c35ff26;
}

@media(max-width: 1500px) {
    .p-table thead th {
        font-size: 11px;
        padding: 5px;
    }

    .p-table .p-table__link {
        font-size: 12px;
    }

    .p-table__img-link {
        width: 70px;
    }
}

@media screen and (max-width: 1200px) {
    .p-table-body tr:nth-child(odd) {
        background-color: transparent;
    }

    .p-table {
        border-collapse: collapse;
        border: 0;
    }

    .p-table thead {
        display: none;
    }

    .p-table-body {
        display: flex;
        flex-wrap: wrap;
    }

    .p-table tr {
        display: block;
        width: 50%;
        margin-bottom: 10px;
        border: 0;
    }
    .p-table-body td:nth-child(odd):not(:first-child) {
        background-color: #f2f2f2;
    }

    .p-table td {
        display: block;
        text-align: right;
        font-size: 12px;
        padding: 2px 5px;

    }

    .p-table td:before {
        content: attr(data-label);
        float: left;
        text-transform: uppercase;
        font-weight: bold;
    }

    .p-table__img-link {
        width: 100px;
    }
}

@media(max-width: 576px) {
    .p-table tr {
        width: 100%;
    }
}
/* /Таблица товаров */

/* Карточки товаров в разделе каталога */
.product-card--small .product-card__title {
    font-size: 14px;
}

.product-card__head {
    border-bottom: none;
}

.product-card__new-price {
    font-size: 22px;
}

.product-card--small .product-card__text-block {
    max-width: none;
}

.product-card__props li {
    justify-content: space-between;
}

.product-card__props li span:first-child {
    font-size: 14px;
    flex-shrink: 1;
    max-width: none;
}

.product-card__props li span:last-child {
    font-size: 14px;
    text-align: right;
}

.product-card--small .product-card__body {
    min-height: auto;
}

.product-card__body {
    border-bottom: none;
}

.product-card--small .product-card__btn .btn {
    font-size: 14px;
}

.product-card__price-item {
    text-align: start;
}

.products-row--small .product-card {
    width: calc(33.33333% - 26px);
}

@media (max-width: 1199px) {
    .products-row--small .product-card {
        width: calc(50% - 26px);
    }
}

@media(max-width: 767px) {
    .products-row--small .product-card {
        width: 100%;
    }

    .offers-table__body {
        margin: 0;
    }
}

.product-card__prices {
    padding-right: 10px;
}


@media (max-width: 1440px) {
    .product-card__new-price {
        font-size: 18px;
    }
}

.left-wrapper {
    position: relative;
    /*top: -75px;*/
    padding-right: 10px;
}

.left-wrapper--detail {
    top: -103px;
}

.left-wrapper--section {
    top: -75px;
}

/* /Карточки товаров в разделе каталога */

@media (min-width: 1360px) {
    .offers-table__head {
        max-width: 291px;
    }
}

@media screen and (max-width: 1439px) {
    .offers-table__body {
        overflow-x: auto;
        width: 100%;
    }
}

@media(max-width: 1039px) {
    .banner-left {
        display: none;
    }

    .left-wrapper {
        position: static;
        margin-bottom: 30px;
    }
}

.left-sidebar--detail {
    display: none;
}

.left-wrapper.left-wrapper--detail {
    position: static;
}

@media(min-width: 1366px) {
    .products-row--small .product-card--similar {
        width: calc(25% - 26px);
    }
}

/* SMART FILTER PC */

@media(max-width: 1040px) {
    .smart-filter {
        display: none;
    }
}

@media(min-width: 1040px) {
    .mb-filter {
        display: none;
    }

    .js-mb-filter-open {
        display: none;
    }
}

/* Шторка в разделе */

.mb-filter {
    height: 100vh;
    width: 0;
    position: fixed;
    z-index: 999999;
    top: 0;
    right: 0;
    background-color: #edf6fc;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.mb-filter__title {
    padding: 0 15px;
    font-size: 16px;
    font-weight: 600;
}

.mb-filter a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.mb-filter a:hover {
    color: #f1f1f1;
}

.mb-filter .js-mb-filter-close {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.js-mb-filter-open {
    display: none;
    font-size: 15px;
    position: relative;
    background-color: #ff7100;
    color: #fff;
    text-decoration: none;
    padding: 7px 7px 7px 41px;
    margin-bottom: 30px;
}

@media(max-width: 1039px) {
    .js-mb-filter-open {
        display: inline-block;
    }
}


.js-mb-filter-open::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 7px;
    background: url('../img/filter.svg');
    background-repeat: no-repeat;
    width: 24px;
    height: 24px
}

.product-card.product-card--small.product-card--series {
    background: #ffd781;
}
