pre {
    display: none;
}

.remove svg,
.remove img {
    pointer-events: none;
}

.shop-cart__table {
    width: 100% !important;
    margin-bottom: 28px !important;
    overflow: hidden !important;
}

.shop-cart__table.shop-cart__block {
    padding: 0 !important;
    border: 1px solid #e1e1e1 !important;
    border-radius: 8px !important;
    background: #fff !important;
}

.shop-cart__table-head {
    display: none !important;
}

.shop-cart__table ol {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.shop-cart__table ol > :not(:last-child) {
    margin-bottom: 0 !important;
    border-bottom: 0 !important;
}

.shop-cart__table ol > li.cart-card {
    display: grid !important;
    grid-template-columns: 100px minmax(0, 1fr) 108px 116px 34px 28px !important;
    align-items: center !important;
    gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 128px !important;
    margin: 0 !important;
    padding: 14px 20px !important;
    border: 0 !important;
    border-bottom: 1px solid #e5e5e5 !important;
    border-radius: 0 !important;
    background: #fff !important;
    transition: background-color 0.24s ease, border-color 0.24s ease !important;
}

.shop-cart__table ol > li.cart-card:hover {
    background: #fafafa !important;
}

.shop-cart__table ol > li.shop-cart__item.cart-card {
    max-width: none !important;
}

.shop-cart__table ol > li.cart-card:last-child {
    border-bottom: 0 !important;
}

.shop-cart__table ol > li.cart-card.is-disabled {
    opacity: 1 !important;
    background: #f7f7f7 !important;
}

.shop-cart__table ol > li.cart-card.is-disabled .cart-card__qty,
.shop-cart__table ol > li.cart-card.is-disabled .cart-card__qty input {
    background: #f7f7f7 !important;
}

.shop-cart__table ol > li.cart-card > .cart-card__preview {
    display: block !important;
    grid-column: 1 !important;
    width: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
    height: 100px !important;
    min-height: 100px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    background: #f4f4f4 !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

.cart-card__preview img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: opacity 0.24s ease, filter 0.24s ease !important;
}

.cart-card.is-disabled .cart-card__preview img {
    filter: grayscale(1) !important;
    opacity: 0.48 !important;
}

.cart-card__content {
    grid-column: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 9px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cart-card__title {
    display: -webkit-box !important;
    max-width: 720px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    color: #111 !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    transition: color 0.2s ease !important;
}

.cart-card__title:hover {
    color: #d52623 !important;
}

.cart-card.is-disabled .cart-card__title,
.cart-card.is-disabled .cart-card__meta,
.cart-card.is-disabled .cart-card__price {
    color: #8b8f95 !important;
}

.cart-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 4px 0 !important;
    max-width: 760px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #5b6470 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    list-style: none !important;
    transition: color 0.24s ease !important;
}

.shop-cart__table ol li.cart-card__meta-item,
.shop-cart__table ol .cart-card__meta > li {
    display: inline !important;
    width: auto !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    white-space: nowrap !important;
    list-style: none !important;
}

.cart-card__meta > li:not(:last-child)::after {
    content: "\2022" !important;
    display: inline-block !important;
    margin: 0 12px !important;
    color: #b8bdc3 !important;
}

.shop-cart__table ol > li.cart-card .cart-card__qty {
    grid-column: 3 !important;
    justify-self: center !important;
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    width: 108px !important;
    min-width: 108px !important;
    max-width: 108px !important;
    height: 42px !important;
    padding: 4px !important;
    border: 1px solid #e6e6e6 !important;
    border-radius: 8px !important;
    background: #fff !important;
    transition: background-color 0.24s ease, border-color 0.24s ease !important;
}

.shop-cart__table ol > li.cart-card .cart-card__qty a {
    width: 30px !important;
    height: 32px !important;
    min-width: 30px !important;
    padding: 0 !important;
    border-radius: 6px !important;
}

.shop-cart__table ol > li.cart-card .cart-card__qty input {
    width: 40px !important;
    height: 32px !important;
    min-width: 40px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #111 !important;
    font-size: 16px !important;
    line-height: 32px !important;
    text-align: center !important;
    transition: background-color 0.24s ease, color 0.2s ease, transform 0.18s ease !important;
}

.cart-card__actions {
    display: contents !important;
}

.shop-cart__table ol > li.cart-card .cart-card__price {
    grid-column: 4 !important;
    justify-self: end !important;
    color: #111 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    text-align: right !important;
    transition: color 0.24s ease, opacity 0.18s ease, transform 0.18s ease !important;
}

.shop-cart__table ol > li.cart-card .cart-card__price.is-updating,
.shop-cart__table-total .price.is-updating,
.shop-cart__total .price.is-updating {
    opacity: 0.58 !important;
    transform: translateY(-1px) !important;
}

.shop-cart__table ol > li.cart-card .cart-row-toggle {
    grid-column: 5 !important;
    justify-self: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #111 !important;
    cursor: pointer !important;
    transition: color 0.2s ease, transform 0.18s ease !important;
}

.shop-cart__table ol > li.cart-card .cart-row-toggle:hover {
    transform: scale(1.06) !important;
}

.cart-row-toggle__icon {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    transition: opacity 0.18s ease, transform 0.18s ease !important;
}

.cart-row-toggle__icon--off,
.cart-card.is-disabled .cart-row-toggle__icon--on {
    display: none !important;
}

.cart-card.is-disabled .cart-row-toggle__icon--off {
    display: block !important;
}

.shop-cart__table ol > li.cart-card .remove {
    grid-column: 6 !important;
    justify-self: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #111 !important;
    font-size: 28px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: color 0.2s ease, transform 0.18s ease !important;
}

.shop-cart__table ol > li.cart-card .remove:hover {
    transform: scale(1.08) !important;
}

.shop-cart__table ol > li.cart-card .remove:hover,
.shop-cart__table ol > li.cart-card .cart-row-toggle:hover {
    color: #d52623 !important;
}

.shop-cart__table-total {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 18px !important;
    min-height: 64px !important;
    margin: 0 !important;
    padding: 18px 20px !important;
    border-top: 1px solid #e5e5e5 !important;
    background: #fff !important;
    color: #111 !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
}

.shop-cart__table-total > span {
    display: inline-flex !important;
    align-items: center !important;
    color: #5b6470 !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
}

.shop-cart__table-total .price {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    min-width: 116px !important;
    color: #111 !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    transition: opacity 0.18s ease, transform 0.18s ease !important;
}

@media (max-width: 1100px) {
    .shop-cart__table ol > li.cart-card {
        grid-template-columns: 90px minmax(0, 1fr) 104px 100px 32px 28px !important;
        gap: 14px !important;
        padding: 14px 16px !important;
    }

    .shop-cart__table ol > li.cart-card > .cart-card__preview {
        width: 90px !important;
        min-width: 90px !important;
        max-width: 90px !important;
        height: 90px !important;
        min-height: 90px !important;
    }
}

@media (max-width: 768px) {
    .shop-cart__table ol {
        width: 100% !important;
        border-radius: 0 !important;
    }

    .shop-cart__table ol > li.cart-card {
        grid-template-columns: 74px minmax(0, 1fr) 72px !important;
        grid-template-rows: auto auto auto !important;
        align-items: start !important;
        gap: 8px 12px !important;
        width: 100% !important;
        min-height: 0 !important;
        padding: 14px !important;
    }

    .shop-cart__table ol > li.cart-card > .cart-card__preview {
        grid-column: 1 !important;
        grid-row: 1 / 4 !important;
        width: 74px !important;
        min-width: 74px !important;
        max-width: 74px !important;
        height: 74px !important;
        min-height: 74px !important;
        border-radius: 7px !important;
    }

    .cart-card__content {
        grid-column: 2 !important;
        grid-row: 1 / 3 !important;
        gap: 6px !important;
    }

    .cart-card__title {
        font-size: 13px !important;
        line-height: 1.22 !important;
    }

    .cart-card__meta {
        gap: 3px 0 !important;
        font-size: 11px !important;
        line-height: 1.25 !important;
    }

    .shop-cart__table ol .cart-card__meta > li {
        white-space: normal !important;
    }

    .cart-card__meta > li:not(:last-child)::after {
        margin: 0 7px !important;
    }

    .shop-cart__table ol > li.cart-card .cart-card__price {
        grid-column: 3 !important;
        grid-row: 1 !important;
        justify-self: end !important;
        align-self: start !important;
        font-size: 15px !important;
    }

    .shop-cart__table ol > li.cart-card .cart-card__qty {
        grid-column: 2 !important;
        grid-row: 3 !important;
        justify-self: start !important;
        width: 86px !important;
        min-width: 86px !important;
        max-width: 86px !important;
        height: 30px !important;
        padding: 2px !important;
    }

    .shop-cart__table ol > li.cart-card .cart-card__qty a {
        width: 24px !important;
        min-width: 24px !important;
        height: 24px !important;
    }

    .shop-cart__table ol > li.cart-card .cart-card__qty input {
        width: 32px !important;
        min-width: 32px !important;
        height: 24px !important;
        font-size: 14px !important;
        line-height: 24px !important;
    }

    .shop-cart__table ol > li.cart-card .cart-row-toggle {
        grid-column: 3 !important;
        grid-row: 3 !important;
        justify-self: start !important;
        align-self: center !important;
        width: 28px !important;
        height: 28px !important;
    }

    .shop-cart__table ol > li.cart-card .remove {
        grid-column: 3 !important;
        grid-row: 3 !important;
        justify-self: end !important;
        align-self: center !important;
        width: 28px !important;
        height: 28px !important;
        font-size: 24px !important;
    }

    .shop-cart__table-total {
        min-height: 56px !important;
        padding: 14px !important;
        gap: 12px !important;
    }

    .shop-cart__table-total .price {
        min-width: 0 !important;
        font-size: 18px !important;
    }
}

._shop-contacts-item span {
    display: block;
}

#table-materials td,
#table-materials th {
    border: 1px solid #d52623;
    padding: 5px;
}

.catalog-content__descr ul {
    margin-top: 20px !important;
}

.catalog-content__descr ul > :not(:last-child) {
    margin-bottom: 10px !important;
}

.catalog-content details h3:not(:last-child) {
    margin-bottom: 15px;
}

.text-box p:has(img),
.text-box p:has(picture) {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

@media (min-width: 1201px) {
    .search {
        width: 100%;
        max-width: 400px !important;
    }
}


@media (max-width: 768px) {

    .text-box p:has(img),
    .text-box p:has(picture) {
        flex-direction: column;
        gap: 20px;
    }

    .wrapper {
        min-height: auto !important;
        padding-bottom: 30px;
    }

    .header__top {
        margin-top: 10px;
    }
}

.text-box p:has(picture) picture,
.text-box p:has(img) img {
    height: auto;
    width: auto;
}

.banya {
    margin-bottom: 0 !important;
}

.pages-hero#grid-catalog {
    margin-bottom: 0 !important;
}

.under_content {
    margin-bottom: 1em;
}

p.unit {
    margin-bottom: 1em;
}

.slogan {
    text-align: left;
}

a.max {
    background: linear-gradient(96deg, #5a8cff 0%, #43d6ff calc(100% * 0.75), #8f3fff 99.6%);
}

.map-item__label {
    position: absolute;
    top: 0;
    left: 15px;
    transform: translate(0, -50%);
    background: #fff;
    z-index: 1;
    padding: 0 5px;
    font-size: 0.8em;
}

.map-map {
    min-height: 500px;
}


._list-item h2 {
    scroll-margin-top: 120px;
}

.filter-czvet-ral ul li {
    max-width: none !important;
}

.filter-colors ul {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
}


.filter-colors ul li label[for="под камень"] div {
    background-image: url("https://stynergy.ru/wp-content/uploads/webp-pics-assets/b877b3ab4c45453be0b8/pod-kamen.webp") !important;
}

.filter-colors ul li label[for=оцинкованный] div {
    background-color: #d4d4d4 !important;
}

[data-bccolor="RAL 5002"] {
    background: #2B2C7C;
}

[data-bccolor="RAL 7005"] {
    background: #6B716F;
}

[data-bccolor="RAL 7035"] {
    background: #CBD0CC;
}

[data-bccolor="RAL 8019"],
[data-bccolor="RR 32 (RAL 8019)"] {
    background: #3F3A3A;
}

[data-bccolor="RAL 9006"] {
    background: #A5A8A6;
}

[data-bccolor="RAL 9010"] {
    background: #F7F9EF;
}

[data-bccolor="RR 21"] {
    background: #989ea1;
}

[data-bccolor="RR 23"] {
    background: #4f5358;
}

[data-bccolor="RR 2H3"] {
    background: #2c3539;
}

[data-bccolor="RR 33"] {
    background: #2b2b2c;
}

[data-bccolor="RAL"] {
    background: #F7F9EF;
}

.phone-popup ul {
    max-height: unset !important;
    pointer-events: all !important;
}

.form-invalid-fields {

    &._hide {
        display: none;
    }

    p {
        display: block;
        margin: 1em 0 0.75em 0;
    }

    i {
        display: inline-block;
        margin-right: 7px;
        font-style: normal;
        font-size: 14px;
        color: #d52623;
        cursor: pointer;
    }
}

.shop-cart__shipping {
    margin-bottom: 60px;

    .grid {
        @media (max-width:768px) {
            gap: 12px;
            grid-template-columns: 1fr;
        }
    }

    .buy-item {
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
    }
}

form input,
form textarea {
    scroll-margin-top: 250px;

    @media (max-width:1024px) {
        scroll-margin-top: 125px;
    }
}

.shop-cart__title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;

    @media (max-width:768px) {
        align-items: flex-start;
        flex-direction: column;
    }
}

#share-cart {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #ebebeb;
    padding: 8px 12px;
    border-radius: 6px;
    height: fit-content;
    width: fit-content;

    img,
    svg {
        pointer-events: none;
        stroke: currentColor;
        width: 0.8em;
        height: 0.8em;
        flex: 0 0 auto;
    }
}

.share-toast {
    position: fixed;
    top: 40px;
    right: 30px;

    max-width: 320px;

    padding: 14px 18px;

    background: #222;
    color: #fff;

    border-radius: 8px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .2);

    transform: translateX(120%);
    opacity: 0;

    transition:
        transform .3s ease,
        opacity .3s ease;

    z-index: 999999;

    @media (max-width:1024px) {
        right: 16px;
    }

    &.show {
        transform: translateX(0);
        opacity: 1;
    }
}

.product-message {
    color: #d52623;
    font-weight: 500;
}

.catalog-item__info {
    .product-message {
        margin-bottom: 0;
        max-width: 155px;
    }
}


.single-product__summary {
    display: flex;
    flex-direction: column;

    .product-message {
        margin-bottom: 1em;
        flex: 1 1 auto;
    }
}

[data-catalog-menu] .h3 {
    margin-bottom: 1em;
}

._shop-hero .h1 {
    color: #fff;
    font-weight: 500;
    letter-spacing: normal;
    font-size: 40px;

    @media(max-width: 1290px) {
        font-size: calc(16px + 24 * (100vw - 375px) / 947)
    }

    @media(max-width: 375px) {
        font-size: 16px;
    }
}
