/* Product grid and cards layered over legacy main.css */

body.chrome-redesign .wrap-content.wrap-content--wide {
    display: block;
    max-width: 1240px;
    padding: 0 24px;
    box-sizing: border-box;
}

body.chrome-redesign .wrap-content.wrap-content--wide > div {
    width: 100%;
}

body.chrome-redesign .storefront,
body.chrome-redesign section.products.storefront {
    font-size: 16px;
}

body.chrome-redesign .storefront__title,
body.chrome-redesign h1.storefront__title {
    background: none;
    padding: 8px 0 20px;
    margin: 0;
    font-size: 32px;
    line-height: 1.2;
    color: #2b2118;
    text-align: left;
}

body.chrome-redesign ul.product-list.product-list--grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

body.chrome-redesign ul.product-list.product-list--grid > li.list-item,
body.chrome-redesign .wrap-content .product-list.product-list--grid .list-item {
    width: auto;
    float: none;
    margin: 0;
    display: flex;
}

body.chrome-redesign .pr-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(43, 33, 24, 0.08);
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 0 16px;
    position: relative;
}

body.chrome-redesign .pr-card__hit,
body.chrome-redesign .pr-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: #c0392b;
    color: #fff;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

/* Виды плашек: Хит (красная, как раньше), Новинка (зелёная), Скидка (оранжевая) */
body.chrome-redesign .pr-card__badge--hit {
    background: #c0392b;
}

body.chrome-redesign .pr-card__badge--new {
    background: #2e9e5b;
}

body.chrome-redesign .pr-card__badge--sale {
    background: #f07a00;
}

body.chrome-redesign .pr-card__img {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f3ebe0;
}

body.chrome-redesign .pr-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.chrome-redesign .pr-card__name {
    display: block;
    padding: 12px 16px 8px;
    font-size: 18px;
    font-weight: 700;
    color: #2b2118;
    text-decoration: none;
    min-height: 3.2em;
}

body.chrome-redesign .pr-card__name:hover {
    color: #c0392b;
}

body.chrome-redesign .pr-card__form {
    padding: 0 16px;
    text-align: left;
}

body.chrome-redesign .pr-card__weights {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 10px;
}

body.chrome-redesign .pr-card__chip {
    border: 1px solid #efe4d4;
    background: #fffaf4;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    color: #2b2118;
    cursor: pointer;
}

body.chrome-redesign .pr-card__chip.is-active,
body.chrome-redesign .pr-card__chip:hover {
    border-color: #e2430b;
    color: #e2430b;
    background: #fff1ea;
}

body.chrome-redesign .pr-card__select,
body.chrome-redesign .pr-card__qty,
body.chrome-redesign .pr-card .line-2nd {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

body.chrome-redesign .pr-card__meta {
    color: #7a6a58;
    font-size: 14px;
    margin: 0 0 10px;
}

body.chrome-redesign .pr-card__buy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

body.chrome-redesign ul.product-list .pr-card .pr-price,
body.chrome-redesign .pr-card .pr-price {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #2b2118;
}

body.chrome-redesign .pr-card .old_price {
    display: block;
    font-size: 13px;
    color: #9a8b7a;
    text-decoration: line-through;
    font-weight: 400;
}

body.chrome-redesign .pr-card form.card-ctrls button.pr-add-to-card,
body.chrome-redesign .pr-card .pr-add-to-card {
    background: #e2430b;
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

body.chrome-redesign .pr-card .pr-add-to-card:hover {
    background: #c0392b;
    color: #fff;
}

body.chrome-redesign .img-badge-main {
    display: none;
}

@media screen and (max-width: 1100px) {
    body.chrome-redesign ul.product-list.product-list--grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media screen and (max-width: 768px) {
    body.chrome-redesign ul.product-list.product-list--grid {
        /* minmax(0, 1fr): колонки не раздуваются под содержимое карточки и не выходят за экран */
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    /* Старая вёрстка добавляла каждой карточке внутренние отступы и пунктирную рамку */
    body.chrome-redesign ul.product-list.product-list--grid > li.list-item,
    body.chrome-redesign ul.product-list.product-list--grid > li.list-item:last-child {
        padding: 0;
        border: 0;
        min-width: 0;
    }

    body.chrome-redesign .pr-card {
        padding-bottom: 12px;
        border-radius: 14px;
    }

    body.chrome-redesign .pr-card__badge {
        top: 8px;
        left: 8px;
        padding: 6px 11px;
        font-size: 14px;
    }

    body.chrome-redesign .pr-card__name {
        padding: 10px 12px 6px;
        min-height: 2.6em;
        font-size: 15px;
        line-height: 1.25;
    }

    /* Форма занимает остаток карточки, поэтому цена и кнопка прижаты к низу и стоят ровно в ряду */
    body.chrome-redesign .pr-card__form {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        padding: 0 12px;
    }

    body.chrome-redesign .pr-card__weights {
        gap: 6px;
        margin-bottom: 8px;
    }

    /* Кнопки размера удобно нажимать пальцем */
    body.chrome-redesign .pr-card__chip {
        min-height: 36px;
        padding: 6px 12px;
        font-size: 13px;
    }

    /* Цена над кнопкой: в узкой карточке они не помещаются в одну строку и перекрывали друг друга */
    body.chrome-redesign .pr-card__buy {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    body.chrome-redesign .pr-card .pr-price {
        font-size: 18px;
    }

    body.chrome-redesign .pr-card form.card-ctrls button.pr-add-to-card,
    body.chrome-redesign .pr-card .pr-add-to-card {
        width: 100%;
        min-height: 40px;
        padding: 9px 10px;
        font-size: 14px;
    }

    body.chrome-redesign .storefront__title,
    body.chrome-redesign h1.storefront__title {
        font-size: 24px;
        padding-left: 0;
    }

    body.chrome-redesign .pr-card__name {
        font-size: 15px;
        min-height: 2.8em;
        padding: 10px 12px 6px;
    }

    body.chrome-redesign .pr-card__form {
        padding: 0 12px;
    }

    body.chrome-redesign .pr-card .pr-add-to-card {
        padding: 8px 10px;
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    body.chrome-redesign .wrap-content .product-list.product-list--grid .list-item {
        width: auto;
    }
}

body.chrome-redesign .why-bars {
    padding: 48px 0 24px;
    text-align: center;
    font-size: 16px;
}

body.chrome-redesign .why-bars__title {
    margin: 0 0 28px;
    font-size: 28px;
    color: #c0392b;
    font-weight: 700;
}

body.chrome-redesign .why-bars__list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 16px;
    margin: 0;
    padding: 0;
    text-align: left;
}

body.chrome-redesign .why-bars__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #f0c27a;
    border-radius: 999px;
    padding: 10px 16px 10px 10px;
    font-size: 15px;
    color: #2b2118;
}

body.chrome-redesign .why-bars__list li span {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff4e0;
    color: #c0392b;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.chrome-redesign .why-bars__list li:last-child {
    grid-column: 2;
}

/* Главная: подкатегории осетинских пирогов и пироги под слайдером */
body.chrome-redesign .home-pies {
    padding: 24px 0 8px;
}

body.chrome-redesign .home-pies .w-limiter {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

body.chrome-redesign .home-subcats {
    margin: 0 0 24px;
    border-bottom: 1px solid #e8ddcd;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

body.chrome-redesign .home-subcats ul {
    display: flex;
    gap: 6px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
}

body.chrome-redesign .home-subcats a {
    display: block;
    padding: 8px 2px 10px;
    font-size: 15px;
    color: #2b2118;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

body.chrome-redesign .home-subcats a:hover {
    color: #c0392b;
    border-bottom-color: #c0392b;
}

body.chrome-redesign .home-pies__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
}

body.chrome-redesign .home-pies__block + .home-pies__block {
    margin-top: 40px;
}

body.chrome-redesign h1.home-pies__title,
body.chrome-redesign h2.home-pies__title {
    margin: 0;
    padding: 0;
    background: none;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-align: left;
    color: #2b2118;
}

body.chrome-redesign .home-pies__all {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 16px;
    color: #e2430b;
    text-decoration: none;
    border-bottom: 1px dashed currentColor;
}

@media screen and (max-width: 768px) {
    body.chrome-redesign .home-pies .w-limiter {
        padding: 0 16px;
    }

    body.chrome-redesign .home-pies__head {
        flex-wrap: wrap;
        gap: 6px 16px;
    }

    body.chrome-redesign h1.home-pies__title,
    body.chrome-redesign h2.home-pies__title {
        font-size: 22px;
    }
}

/* Главная: пироги листаются вбок по 4 штуки, снизу полоски страниц */
body.chrome-redesign .home-pies ul.product-list.product-list--grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 2px 0 6px;
}

body.chrome-redesign .home-pies ul.product-list.product-list--grid::-webkit-scrollbar {
    display: none;
}

body.chrome-redesign .home-pies ul.product-list.product-list--grid > li.list-item {
    flex: 0 0 calc((100% - 60px) / 4);
    scroll-snap-align: start;
}

body.chrome-redesign .home-pies__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 18px 0 0;
}

body.chrome-redesign .home-pies__dots button {
    width: 60px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: #e0e0e0;
    cursor: pointer;
}

body.chrome-redesign .home-pies__dots button.is-active {
    background: #ffab00;
}

@media screen and (max-width: 1100px) {
    body.chrome-redesign .home-pies ul.product-list.product-list--grid > li.list-item {
        flex-basis: calc((100% - 40px) / 3);
    }
}

@media screen and (max-width: 768px) {
    body.chrome-redesign .home-pies ul.product-list.product-list--grid {
        gap: 12px;
    }

    body.chrome-redesign .home-pies ul.product-list.product-list--grid > li.list-item {
        flex-basis: calc((100% - 12px) / 2);
    }

    body.chrome-redesign .home-pies__dots button {
        width: 36px;
    }
}

/* Главная: акции листаются вбок по 3 штуки */
body.chrome-redesign .home-promos .shares ul {
    flex-wrap: nowrap;
    gap: 34px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-top: 30px;
}

body.chrome-redesign .home-promos .shares ul::-webkit-scrollbar {
    display: none;
}

body.chrome-redesign .home-promos .shares ul li {
    flex: 0 0 calc((100% - 68px) / 3);
    width: auto;
    margin: 0 0 34px;
    scroll-snap-align: start;
}

@media screen and (max-width: 900px) {
    body.chrome-redesign .home-promos .shares ul {
        gap: 16px;
    }

    body.chrome-redesign .home-promos .shares ul li {
        flex-basis: calc((100% - 16px) / 2);
    }
}

@media screen and (max-width: 560px) {
    body.chrome-redesign .home-promos .shares ul li {
        flex-basis: 100%;
    }
}

/* Главная: блок акций стоит под пирогами */
body.chrome-redesign .home-promos {
    padding: 36px 16px 8px;
}

body.chrome-redesign .about-cards {
    padding: 16px 0 40px;
    font-size: 16px;
}

body.chrome-redesign .about-cards__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

body.chrome-redesign .about-card {
    background: #fff;
    border: 1px solid #f0c27a;
    border-radius: 20px;
    padding: 28px;
}

body.chrome-redesign .about-card h2 {
    margin: 0 0 12px;
    font-size: 22px;
    text-align: center;
    color: #2b2118;
}

body.chrome-redesign .about-card p,
body.chrome-redesign .about-card li {
    color: #4a3f34;
    line-height: 1.5;
}

body.chrome-redesign .about-card ul {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

/* Перечисления: тире в начале каждого пункта, перенос строки выровнен по тексту */
body.chrome-redesign .about-card ul li {
    position: relative;
    padding-left: 22px;
}

body.chrome-redesign .about-card ul li::before {
    content: "–";
    position: absolute;
    left: 4px;
    top: 0;
    color: #e2430b;
    font-weight: 700;
}

body.chrome-redesign .about-note {
    background: #f6ead3;
    border-radius: 16px;
    padding: 24px 28px;
    color: #4a3f34;
    line-height: 1.55;
}

body.chrome-redesign .about-note p {
    margin: 0;
}

body.chrome-redesign .read-more {
    margin: 40px 0 10px;
    text-align: center;
}

body.chrome-redesign .read-more__title {
    margin: 0 0 16px;
    font-size: 24px;
    color: #2b2118;
}

body.chrome-redesign .read-more__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}

body.chrome-redesign .read-more__list a {
    display: inline-block;
    background: #fff;
    border: 1px solid #efe4d4;
    border-radius: 999px;
    padding: 8px 16px;
    text-decoration: none;
    color: #2b2118;
    font-size: 14px;
}

body.chrome-redesign .read-more__list a:hover {
    border-color: #c0392b;
    color: #c0392b;
}

@media screen and (max-width: 900px) {
    body.chrome-redesign .why-bars__list {
        grid-template-columns: 1fr 1fr;
    }

    body.chrome-redesign .why-bars__list li:last-child {
        grid-column: auto;
    }

    body.chrome-redesign .about-cards__grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 600px) {
    body.chrome-redesign .why-bars__list {
        grid-template-columns: 1fr;
    }
}

body.chrome-redesign .contacts-band {
    background: #fffaf4;
    padding: 28px 0 0;
    font-size: 14px;
}

body.chrome-redesign .contacts-band__title {
    margin: 0;
    padding: 0 24px 12px;
    text-align: center;
    font-size: 24px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #2b2118;
}

body.chrome-redesign .contacts-band__grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    min-height: 380px;
    border-top: 1px solid #efe4d4;
}

body.chrome-redesign .contacts-band__map {
    min-height: 380px;
    background: #e8e4dc;
}

body.chrome-redesign .contacts-band__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: 0;
}

body.chrome-redesign .contacts-band__info {
    background: #fff;
    padding: 16px 20px 18px;
    overflow: auto;
    text-align: center;
    color: #2b2118;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

body.chrome-redesign .contacts-band__logo {
    width: 96px;
    height: 96px;
    max-width: none;
    margin: 0 auto 10px;
    display: block;
    object-fit: contain;
}

body.chrome-redesign .contacts-band__info img:not(.contacts-band__logo) {
    display: none;
}

body.chrome-redesign .contacts-band__info br {
    display: none;
}

body.chrome-redesign .contacts-band__info p,
body.chrome-redesign .contacts-band__info span {
    display: block;
    margin: 0 0 4px;
}

body.chrome-redesign .contacts-band__info a,
body.chrome-redesign .contacts-band__info a span {
    display: inline;
    margin: 0;
}

body.chrome-redesign .contacts-band__info a {
    color: #e2430b;
}

body.chrome-redesign .contacts-band__info p.big-1,
body.chrome-redesign .contacts-band__info span.big-1,
body.chrome-redesign .contacts-band__info p.big-2,
body.chrome-redesign .contacts-band__info span.big-2 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.15;
    color: #e2430b;
    margin: 2px 0 6px;
    opacity: 1 !important;
    visibility: visible !important;
}

@media screen and (max-width: 900px) {
    body.chrome-redesign .contacts-band__grid {
        grid-template-columns: 1fr;
    }

    body.chrome-redesign .contacts-band__map iframe,
    body.chrome-redesign .contacts-band__map {
        min-height: 280px;
    }
}

body.chrome-redesign div.slider {
    height: 280px;
    max-width: 1240px;
    margin: 12px auto 0;
    background: #f7f2ea;
    border-radius: 16px;
    overflow: hidden;
}

body.chrome-redesign div.slider div.gallery-cell,
body.chrome-redesign div.slider div.sl-itm,
body.chrome-redesign div.slider .flickity-viewport {
    height: 280px;
}

body.chrome-redesign div.slider div.sl-itm {
    padding: 0;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #f7f2ea;
}

body.chrome-redesign div.slider a.slider-ctrls.prev {
    left: 12px;
}

body.chrome-redesign div.slider a.slider-ctrls.next {
    right: 12px;
}

body.chrome-redesign .hits-slider {
    padding: 28px 0 8px;
    background: #fffaf4;
    font-size: 16px;
}

body.chrome-redesign .hits-slider .w-limiter {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

body.chrome-redesign .hits-slider__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 16px;
}

body.chrome-redesign .hits-slider__title {
    margin: 0;
    font-size: 28px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #2b2118;
}

body.chrome-redesign .hits-slider__ctrls {
    display: flex;
    gap: 8px;
}

body.chrome-redesign .hits-slider__btn {
    width: 40px;
    height: 40px;
    border: 1px solid #efe4d4;
    background: #fff;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    color: #2b2118;
    cursor: pointer;
}

body.chrome-redesign .hits-slider__btn:hover {
    border-color: #e2430b;
    color: #e2430b;
}

body.chrome-redesign .hits-slider__list {
    list-style: none;
    margin: 0;
    padding: 0 0 8px;
}

body.chrome-redesign .hits-slider__list > li.list-item {
    width: 25%;
    float: none;
    margin: 0;
    padding: 0 10px 16px;
    box-sizing: border-box;
}

@media screen and (max-width: 1100px) {
    body.chrome-redesign .hits-slider__list > li.list-item {
        width: 33.333%;
    }
}

@media screen and (max-width: 768px) {
    body.chrome-redesign div.slider,
    body.chrome-redesign div.slider div.gallery-cell,
    body.chrome-redesign div.slider div.sl-itm,
    body.chrome-redesign div.slider .flickity-viewport {
        height: 180px;
        border-radius: 0;
    }

    body.chrome-redesign .hits-slider__title {
        font-size: 22px;
    }

    body.chrome-redesign .hits-slider__list > li.list-item {
        width: 50%;
        padding: 0 6px 12px;
    }
}

@media screen and (max-width: 480px) {
    body.chrome-redesign .hits-slider__list > li.list-item {
        width: 80%;
    }
}


/* ===== Мобильная версия, этап 2: страница товара ===== */
@media screen and (max-width: 768px) {
    /* Поля страницы одинаковые с главной */
    body.chrome-redesign .wrap-content.wrap-content--wide {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* В шаблоне задан верхний отступ 60px: на телефоне он лишний */
    body.chrome-redesign .open-product {
        padding-top: 16px !important;
    }

    /* Старые правила делали из блока «таблицу» с фиксированной картинкой 403px; возвращаем нормальную колонку */
    body.chrome-redesign div.open-product div.flex {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: auto;
        margin: 0 0 20px;
        overflow: visible;
        text-align: left;
        float: none;
    }

    body.chrome-redesign .open-product .flex > div,
    body.chrome-redesign .open-product .flex > div:first-child,
    body.chrome-redesign .open-product .flex > div:last-child {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    body.chrome-redesign .open-product .flex .img {
        margin: 0 0 16px;
        overflow: hidden;
        border-radius: 14px;
    }

    body.chrome-redesign .open-product .flex .img img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    body.chrome-redesign .open-product .flex .name {
        font-size: 22px;
        line-height: 1.2;
        margin: 0 0 10px;
    }

    body.chrome-redesign .open-product .flex .price {
        font-size: 30px;
        margin-bottom: 16px;
    }

    /* Выбор размера и количество в одну строку, при нехватке места переносятся */
    body.chrome-redesign .open-product .flex .wrap-count {
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 16px;
    }

    body.chrome-redesign .open-product .flex .wrap-count select {
        flex: 1 1 120px;
        width: auto;
        min-width: 110px;
        height: 48px;
        margin-right: 0;
        font-size: 17px;
    }

    body.chrome-redesign .open-product .flex .wrap-count .count {
        flex: 1 1 150px;
        width: auto;
        min-width: 150px;
        height: 48px;
    }

    body.chrome-redesign .open-product .flex .wrap-count .count span {
        padding: 10px;
    }

    body.chrome-redesign .open-product .flex .add-cart {
        width: 100%;
        height: 50px;
        margin: 0 0 16px;
        line-height: 50px;
        font-size: 17px;
    }

    /* «Условия доставки»: во всю ширину, а подсказка раскрывается под кнопкой, а не вылетает за экран */
    body.chrome-redesign .open-product .flex .delivery-block {
        width: 100%;
        margin: 0;
    }

    body.chrome-redesign .open-product .flex .delivery-block .delivery {
        height: 48px;
        cursor: pointer;
    }

    body.chrome-redesign .open-product .flex .delivery-block p {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        height: auto;
        margin: 8px 0 0;
        padding: 14px 36px 14px 14px;
        box-sizing: border-box;
        text-align: left;
        border-radius: 12px;
    }

    body.chrome-redesign .open-product .flex .delivery-block p span {
        position: static;
        top: auto;
        transform: none;
        font-size: 15px;
        line-height: 1.4;
    }

    body.chrome-redesign .open-product .flex .delivery-block p .close-delivery-modal {
        width: 24px;
        height: 24px;
        top: 6px;
        right: 6px;
        text-align: center;
    }

    body.chrome-redesign div.open-product div.desc {
        margin: 0 0 20px;
        font-size: 16px;
        line-height: 1.5;
        font-weight: 400;
    }

    body.chrome-redesign .open-product .desc ul li {
        padding: 8px 0;
    }
}
@media screen and (max-width: 768px) {
    /* Форма комментария и отзывы на странице товара */
    body.chrome-redesign .add-comment,
    body.chrome-redesign .add-comment form,
    body.chrome-redesign .add-comment .form-group,
    body.chrome-redesign .add-comment input,
    body.chrome-redesign .add-comment textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    body.chrome-redesign div.comments-box ul li p {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* ===== Мобильная версия, этап 3: главная ===== */
@media screen and (max-width: 768px) {
    /* Слайдер выше, чем сам баннер (1694×450, ~3,8:1): картинка крупнее, по краям чуть обрезается (cover) */
    body.chrome-redesign div.slider,
    body.chrome-redesign div.slider div.gallery-cell,
    body.chrome-redesign div.slider div.sl-itm,
    body.chrome-redesign div.slider .flickity-viewport {
        height: 40vw;
        min-height: 140px;
    }

    body.chrome-redesign div.slider {
        margin-top: 8px;
    }

    body.chrome-redesign div.slider div.sl-itm {
        background-size: cover;
    }

    /* Подпись поверх баннера, если клиент её задал: мельче, чтобы не закрывала картинку */
    body.chrome-redesign div.slider div.sl-itm span.name {
        font-size: 16px;
        line-height: 1.2;
    }

    body.chrome-redesign div.slider div.sl-itm span.weight-price {
        font-size: 13px;
    }

    /* Карточки акций: заголовок переносится на несколько строк, а не обрезается; белая часть по высоте текста */
    body.chrome-redesign .home-promos .shares ul li .gr-block {
        min-height: 0;
        padding-bottom: 8px;
    }

    body.chrome-redesign .home-promos .shares ul li .gr-block b {
        position: relative;
        top: -22px;
        display: block;
        height: auto;
        min-height: 44px;
        margin: 0 auto -22px;
        padding: 8px 12px;
        box-sizing: border-box;
        font-size: 17px;
        line-height: 1.25;
    }

    body.chrome-redesign .home-promos .shares ul li .gr-block p {
        position: static;
        width: calc(100% - 10px);
        height: auto;
        min-height: 40px;
        margin: 0 auto;
        padding: 30px 12px 12px;
        box-sizing: border-box;
        font-size: 14px;
        line-height: 1.4;
    }

    /* «10 причин»: поля по краям, как у остальных блоков */
    body.chrome-redesign .why-bars .w-limiter {
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }

    body.chrome-redesign .why-bars {
        padding-top: 32px;
    }

    body.chrome-redesign .why-bars__title {
        font-size: 22px;
        margin-bottom: 18px;
    }

    body.chrome-redesign .why-bars__list li {
        padding: 8px 14px 8px 8px;
    }

    /* Отзывы: заголовок и значок кавычек были рассчитаны на большой экран */
    body.chrome-redesign span.caption {
        font-size: 26px;
        margin: 24px 0 12px;
    }

    body.chrome-redesign div.review-list div.review-item {
        min-height: 0;
        padding: 56px 8px 0;
        background-size: 38px;
    }

    body.chrome-redesign div.review-list div.review-item span.name {
        font-size: 20px;
    }

    body.chrome-redesign div.review-list div.review-item p {
        font-size: 15px;
        line-height: 1.45;
        margin: 10px 0;
    }

    body.chrome-redesign div.review-list div.review-item span.date {
        font-size: 14px;
    }
}

/* ===== Мобильная версия, этап 4: корзина и оформление заказа ===== */
@media screen and (max-width: 768px) {
    /* Заголовок страницы (Корзина, О нас и другие) был рассчитан на большой экран */
    body.chrome-redesign h1.caption {
        font-size: 28px;
        margin: 20px 0 14px;
    }

    body.chrome-redesign section.card .w-limiter {
        padding: 0 16px;
        box-sizing: border-box;
    }

    body.chrome-redesign section.card div.card-table-box {
        padding: 0;
        margin: 0 0 16px;
        border-bottom: 0;
        overflow: visible;
    }

    body.chrome-redesign section.card div.card-table-box div.card-info {
        width: auto;
        margin: 0 0 16px;
        font-size: 17px;
        line-height: 1.4;
    }

    body.chrome-redesign section.card div.card-table-box div.card-info b {
        font-size: 30px;
    }

    body.chrome-redesign section.card div.card-table-box div.card-info a {
        display: block;
        padding: 8px 0;
        font-size: 15px;
    }

    /* Таблица позиций превращена в карточки: раньше количество, цена и сумма уезжали за край экрана */
    body.chrome-redesign section.card div.card-table-box-inner {
        margin: 0;
        padding: 0;
        overflow: visible;
    }

    body.chrome-redesign section.card table.card-table,
    body.chrome-redesign section.card table.card-table tbody {
        display: block;
        width: 100%;
        font-size: 15px;
    }

    body.chrome-redesign section.card table.card-table tr {
        position: relative;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px 12px;
        margin: 0 0 12px;
        padding: 14px 12px;
        background: #fff;
        border-radius: 14px;
        box-shadow: 0 4px 14px rgba(43, 33, 24, 0.08);
    }

    body.chrome-redesign section.card table.card-table td,
    body.chrome-redesign section.card table.card-table tr:nth-child(even) td {
        display: block;
        width: auto;
        min-width: 0;
        padding: 0;
        background: none;
        text-align: left;
    }

    body.chrome-redesign section.card table.card-table td.picture {
        display: none;
    }

    body.chrome-redesign section.card table.card-table td.delete {
        position: absolute;
        top: 2px;
        right: 2px;
    }

    /* Крестик «удалить» крупнее, чтобы попадать пальцем */
    body.chrome-redesign section.card table.card-table td.delete a {
        width: 40px;
        height: 40px;
        margin: 0;
    }

    body.chrome-redesign section.card table.card-table td.delete a::before,
    body.chrome-redesign section.card table.card-table td.delete a::after {
        left: 9px;
        top: 19px;
    }

    body.chrome-redesign section.card table.card-table td.name {
        grid-column: 1 / -1;
        padding-right: 36px;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.3;
    }

    body.chrome-redesign section.card table.card-table td.name a {
        color: #2b2118;
        text-decoration: none;
    }

    body.chrome-redesign section.card table.card-table td.weight select,
    body.chrome-redesign section.card table.card-table td.weight .my-select,
    body.chrome-redesign section.card table.card-table td.weight .selectric-wrapper,
    body.chrome-redesign section.card table.card-table td.weight input {
        width: 100%;
        min-width: 0;
        height: 44px;
        box-sizing: border-box;
        font-size: 16px;
    }

    body.chrome-redesign section.card table.card-table td.count input.pr-count {
        width: 100%;
        height: 44px;
        box-sizing: border-box;
        text-align: center;
        font-size: 16px;
    }

    body.chrome-redesign section.card table.card-table td.price {
        color: #7a6a58;
        white-space: normal;
    }

    body.chrome-redesign section.card table.card-table td.price::before {
        content: 'Цена: ';
    }

    body.chrome-redesign section.card table.card-table td.total-price {
        color: #c0392b;
        font-size: 17px;
        font-weight: 700;
        text-align: right;
        white-space: normal;
    }

    body.chrome-redesign section.card table.card-table td.total-price::before {
        content: 'Сумма: ';
        color: #7a6a58;
        font-size: 15px;
        font-weight: 400;
    }

    /* Оплата, доставка и сумма к оплате */
    body.chrome-redesign section.card div.order-info {
        padding: 8px 0 0;
    }

    body.chrome-redesign section.card div.order-info div.order-info-item {
        margin: 0 0 22px;
    }

    body.chrome-redesign section.card div.order-info-item span.title {
        font-size: 20px;
        margin: 0 0 10px;
    }

    body.chrome-redesign section.card div.order-info-subitem {
        font-size: 15px;
        line-height: 1.4;
    }

    body.chrome-redesign section.card div.order-info-subitem label {
        font-size: 16px;
    }

    body.chrome-redesign section.card span.payment-amount {
        display: block;
        margin: 0 0 16px;
        font-size: 20px;
        text-align: center;
    }

    body.chrome-redesign section.card span.payment-amount b {
        font-size: 28px;
    }

    body.chrome-redesign section.card button.order-button {
        width: 100%;
        max-width: 100%;
        min-height: 52px;
        box-sizing: border-box;
    }
}
@media screen and (max-width: 768px) {
    /* Картинка товара в корзине скрыта во всех строках, в том числе чётных */
    body.chrome-redesign section.card table.card-table td.picture,
    body.chrome-redesign section.card table.card-table tr:nth-child(even) td.picture {
        display: none;
    }

    /* Круглые переключатели «Оплата / Доставка» не должны выходить за левый край */
    body.chrome-redesign section.card div.order-info {
        padding-left: 34px;
    }

    /* Поля формы заказа на всю ширину колонки */
    body.chrome-redesign section.card div.add-order-box,
    body.chrome-redesign section.card div.order-fields {
        width: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body.chrome-redesign section.card div.order-fields input[type="text"],
    body.chrome-redesign section.card div.order-fields textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        font-size: 16px;
    }

    body.chrome-redesign section.card div.order-fields input[type="text"] {
        height: 48px;
    }
}
@media screen and (max-width: 768px) {
    /* Сообщения об ошибках формы заказа: заметные и под своим полем */
    body.chrome-redesign section.card div.order-fields .help-block {
        margin: 4px 0 0 18px;
        font-size: 13px;
        line-height: 1.3;
        text-align: left;
        color: #c0392b;
    }

    body.chrome-redesign section.card div.order-fields .has-error input,
    body.chrome-redesign section.card div.order-fields .has-error textarea {
        border-color: #c0392b;
    }
}
/* ===== Мобильная версия, этап 5: общее (шапка, шрифт, нажимаемые элементы, подвал) ===== */
.site-header__tel { display: none; }

@media screen and (max-width: 768px) {
    body.chrome-redesign { font-size: 15px; line-height: 1.45; }

    /* верхняя полоса: «Доставка по Москве» слева, телефон справа — звонок в одно касание */
    body.chrome-redesign .site-header__top-inner { display: flex; align-items: center; justify-content: space-between; }
    body.chrome-redesign .site-header__delivery,
    body.chrome-redesign .site-header__tel { display: inline-flex; align-items: center; min-height: 36px; font-size: 14px; }
    body.chrome-redesign .site-header__tel { font-weight: 700; color: inherit; text-decoration: none; white-space: nowrap; }

    body.chrome-redesign .site-header__burger { min-height: 40px; min-width: 64px; font-size: 15px; }

    /* меню категорий в раскрытом виде: строки под палец */
    body.chrome-redesign .site-header__cats-list > li > a { display: block; padding: 12px 0; min-height: 44px; font-size: 16px; }
    body.chrome-redesign .site-header__dropdown a { display: block; padding: 10px 0; font-size: 15px; }

    /* подвал: ссылки не ниже 40 px, текст крупнее */
    body.chrome-redesign .site-footer__list li a,
    body.chrome-redesign .site-footer__list li { font-size: 15px; }
    body.chrome-redesign .site-footer__list li a { display: block; padding: 10px 0; min-height: 40px; box-sizing: border-box; }
    body.chrome-redesign .site-footer__list { gap: 0; }
    body.chrome-redesign .site-footer__title { font-size: 18px; }
    body.chrome-redesign .site-footer__bottom .copyright { font-size: 13px; line-height: 1.4; }

    /* блок «Контакты» над подвалом: телефоны и почта крупнее и с запасом по высоте */
    body.chrome-redesign .contacts-band__info { font-size: 15px; }
    body.chrome-redesign .contacts-band__info a { display: inline-block; padding: 8px 0; font-size: 17px; }

    /* ссылки «Условия доставки», «На главную» и подобные */
    body.chrome-redesign .cart-place a { display: inline-block; padding: 10px 14px; }
}
@media screen and (max-width: 768px) {
    body.chrome-redesign .site-header__cats-list,
    body.chrome-redesign .site-header__cats-list > li > a { text-align: left; }
    body.chrome-redesign .site-header__cats-list > li > a { font-weight: 700; padding-left: 4px; }
    body.chrome-redesign .site-header__dropdown { padding: 0 0 6px 16px; margin: 0; }
    body.chrome-redesign .site-header__dropdown a { text-align: left; font-weight: 400; padding-left: 4px; }
}
@media screen and (max-width: 768px) {
    body.chrome-redesign .site-header__cats-list { align-items: stretch; }
    body.chrome-redesign .site-header__cats-list > li { width: 100%; }
}
/* ===== Мобильная версия, этап 6: контакты, доставка, текстовые страницы ===== */
@media screen and (max-width: 768px) {
    body.chrome-redesign section.contacts p { font-size: 16px; line-height: 1.45; margin: 0 0 12px; padding: 0; }
    body.chrome-redesign section.contacts p.big-1 { font-size: 26px; line-height: 1.2; margin: 4px 0 14px; }
    body.chrome-redesign section.contacts p.big-2 { font-size: 24px; line-height: 1.2; margin: 0 0 14px; }
    body.chrome-redesign section.contacts a { display: inline-block; padding: 6px 0; }

    body.chrome-redesign section.text .post { font-size: 16px; line-height: 1.5; }
    body.chrome-redesign section.text .post ol,
    body.chrome-redesign section.text .post ul { padding-left: 0; margin: 0 0 16px; }
    body.chrome-redesign section.text .post ol li { font-size: 16px; line-height: 1.5; min-height: 28px; padding: 2px 0 12px 40px; margin: 0; }
    body.chrome-redesign section.text .post ol li::before { left: 0; }
    body.chrome-redesign section.text .post h2 { font-size: 20px; line-height: 1.3; margin: 12px 0 8px; }
    body.chrome-redesign section.text .post h3 { font-size: 18px; line-height: 1.3; }
    body.chrome-redesign section.text .post a { display: inline-block; padding: 4px 0; }
    body.chrome-redesign section.text .post img { max-width: 100%; height: auto; }
    body.chrome-redesign section.text .post table { display: block; max-width: 100%; overflow-x: auto; }
}
@media screen and (max-width: 768px) {
    body.chrome-redesign section.text .w-limiter > p,
    body.chrome-redesign section.text .w-limiter > ul li { font-size: 16px; line-height: 1.5; }
    body.chrome-redesign section.text .w-limiter > p { margin: 0 0 14px; padding: 0; }
    body.chrome-redesign section.text .w-limiter > ul { padding-left: 4px; margin: 0 0 16px; }
    body.chrome-redesign section.text .w-limiter > ul li { padding: 3px 0 8px 22px; }
    body.chrome-redesign section.text .w-limiter > h2 { font-size: 20px; line-height: 1.3; margin: 16px 0 10px; }
    body.chrome-redesign section.text .w-limiter > p.strong { font-size: 17px; }
    body.chrome-redesign .about-picture { min-height: 170px; display: flex; align-items: flex-end; box-sizing: border-box; background-size: cover; background-position: center; margin: 0 0 18px; padding: 0; }
    body.chrome-redesign .about-picture span { display: block; width: 100%; box-sizing: border-box; padding: 28px 14px 14px; font-size: 20px; line-height: 1.25; background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,0)); }
}
@media screen and (max-width: 768px) {
    body.chrome-redesign section.text .about-picture { max-width: none !important; background-size: cover !important; }
    body.chrome-redesign section.text .about-picture span { font-size: 20px !important; line-height: 1.25 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; margin: 0 !important; width: 100% !important; position: static !important; }
    body.chrome-redesign section.text .w-limiter > ul li { padding-bottom: 2px; line-height: 1.4; }
}
@media screen and (max-width: 768px) {
    body.chrome-redesign section.text .about-picture { margin: 0 -20px 18px !important; width: auto !important; display: block !important; position: relative; height: 200px; }
    body.chrome-redesign section.text .about-picture span { position: absolute !important; left: 0 !important; right: 0 !important; bottom: 0 !important; width: auto !important; }
}
@media screen and (max-width: 768px) {
    body.chrome-redesign .add-comment { margin: 0 0 40px !important; left: 0 !important; }
}

/* ===== Оформление заказа: форма слева, карточка «Ваш заказ» справа ===== */
body.chrome-redesign form.checkout { color: #2b2118; text-align: left; font-size: 15px; margin: 24px 0 0; }
body.chrome-redesign form.checkout .checkout__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
body.chrome-redesign form.checkout .checkout__main { min-width: 0; }

body.chrome-redesign form.checkout .checkout__head {
    margin: 30px 0 16px; padding: 16px 22px; background: #fbf1df; border-radius: 18px;
    font-size: 20px; line-height: 1.2; font-weight: 600; color: #2b2118; text-align: left; text-transform: none;
}
body.chrome-redesign form.checkout .checkout__head:first-child { margin-top: 0; }

body.chrome-redesign form.checkout .checkout__field { margin: 0 0 14px; padding: 0; }
body.chrome-redesign form.checkout .checkout__field input,
body.chrome-redesign form.checkout .checkout__field textarea {
    display: block; width: 100%; max-width: 100%; box-sizing: border-box; height: 46px; margin: 0; padding: 0 16px;
    border: 1px solid #e6d9c6; border-radius: 10px; background: #fff; box-shadow: none;
    font: inherit; font-size: 15px; color: #2b2118; text-align: left;
}
body.chrome-redesign form.checkout .checkout__field textarea { height: auto; min-height: 96px; padding: 12px 16px; resize: vertical; }
body.chrome-redesign form.checkout .checkout__field input:focus,
body.chrome-redesign form.checkout .checkout__field textarea:focus { outline: 0; border-color: #e2430b; }
body.chrome-redesign form.checkout .checkout__field input::placeholder,
body.chrome-redesign form.checkout .checkout__field textarea::placeholder { color: #8d7f6f; }
body.chrome-redesign form.checkout .checkout__field .help-block { margin: 4px 0 0 4px; font-size: 13px; line-height: 1.3; color: #c0392b; text-align: left; }
body.chrome-redesign form.checkout .checkout__field.has-error input,
body.chrome-redesign form.checkout .checkout__field.has-error textarea { border-color: #c0392b; }

body.chrome-redesign form.checkout .checkout__cols { display: grid; gap: 14px; }
body.chrome-redesign form.checkout .checkout__cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.chrome-redesign form.checkout .checkout__cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* переключатели: оранжевый круг, как на zakazpirogov */
body.chrome-redesign form.checkout .checkout__options { margin: 0 0 18px; }
body.chrome-redesign form.checkout .checkout__option { position: relative; margin: 0; padding: 8px 0 8px 34px; min-height: 28px; font-size: 15px; line-height: 1.35; }
body.chrome-redesign form.checkout .checkout__option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; display: block; }
body.chrome-redesign form.checkout .checkout__option label { display: block; margin: 0; color: #2b2118; font-size: 16px; cursor: pointer; position: static; }
body.chrome-redesign form.checkout .checkout__option input[type="radio"] + label::before {
    content: ''; display: block; position: absolute; left: 0; top: 9px; width: 22px; height: 22px; box-sizing: border-box;
    border: 2px solid #e2430b; border-radius: 50%; background: #fff;
}
body.chrome-redesign form.checkout .checkout__option input[type="radio"]:checked + label::after {
    content: ''; display: block; position: absolute; left: 0; top: 9px; width: 22px; height: 22px; box-sizing: border-box;
    border-radius: 50%; background: #e2430b; box-shadow: inset 0 0 0 4px #fff; border: 2px solid #e2430b;
}
body.chrome-redesign form.checkout .checkout__option input[type="radio"]:focus-visible + label::before { box-shadow: 0 0 0 3px rgba(226, 67, 11, .25); }
body.chrome-redesign form.checkout .checkout__option small { display: block; margin: 2px 0 0; font-size: 13px; line-height: 1.35; color: #7a6a58; }

body.chrome-redesign form.checkout .checkout__newsletter { margin: 4px 0 0; font-size: 14px; color: #4a3f34; }
body.chrome-redesign form.checkout .checkout__newsletter .checkbox { margin: 0; }
body.chrome-redesign form.checkout .checkout__newsletter label { display: flex; align-items: center; gap: 10px; min-height: 36px; cursor: pointer; }
body.chrome-redesign form.checkout .checkout__newsletter input[type="checkbox"] { width: 20px; height: 20px; accent-color: #e2430b; margin: 0; }

/* карточка «Ваш заказ» */
body.chrome-redesign form.checkout .checkout__summary {
    position: sticky; top: 150px; box-sizing: border-box; padding: 24px; background: #fff;
    border: 1px solid #efe4d4; border-radius: 22px; box-shadow: 0 6px 24px rgba(43, 33, 24, .06);
}
body.chrome-redesign form.checkout .checkout__summary-title { margin: 0 0 14px; padding: 0 0 14px; border-bottom: 1px solid #efe4d4; font-size: 18px; font-weight: 600; text-align: left; }
body.chrome-redesign form.checkout .checkout__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; font-size: 15px; }
body.chrome-redesign form.checkout .checkout__row b { font-size: 16px; font-weight: 600; white-space: nowrap; }
body.chrome-redesign form.checkout .checkout__hint { margin: 2px 0 6px; font-size: 13px; line-height: 1.35; color: #7a6a58; text-align: left; }
body.chrome-redesign form.checkout .checkout__total { margin: 10px 0 16px; padding: 14px 0 0; border-top: 1px solid #efe4d4; }
body.chrome-redesign form.checkout .checkout__total span.payment-amount { display: block; margin: 0; font-size: 20px; font-weight: 600; text-align: left; text-transform: uppercase; }
body.chrome-redesign form.checkout .checkout__total span.payment-amount b { font-size: 24px; }
body.chrome-redesign form.checkout button.checkout__submit {
    display: block; width: 100%; max-width: 100%; min-height: 50px; box-sizing: border-box; margin: 0; padding: 12px 16px;
    border: 0; border-radius: 10px; background: #e2430b; color: #fff; font-size: 16px; font-weight: 700; cursor: pointer;
}
body.chrome-redesign form.checkout button.checkout__submit:hover { background: #c93a08; }
body.chrome-redesign form.checkout .checkout__consent { margin: 12px 0 0; font-size: 12px; line-height: 1.4; color: #7a6a58; text-align: left; }

@media screen and (max-width: 980px) {
    body.chrome-redesign form.checkout .checkout__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    body.chrome-redesign form.checkout .checkout__summary { position: static; }
}
@media screen and (max-width: 768px) {
    body.chrome-redesign form.checkout { margin-top: 16px; }
    body.chrome-redesign form.checkout .checkout__head { padding: 14px 16px; font-size: 18px; border-radius: 16px; margin-top: 24px; }
    body.chrome-redesign form.checkout .checkout__field input { font-size: 16px; height: 48px; }
    body.chrome-redesign form.checkout .checkout__field textarea { font-size: 16px; }
    body.chrome-redesign form.checkout .checkout__summary { padding: 18px; border-radius: 18px; }
    body.chrome-redesign form.checkout .checkout__cols { gap: 10px; }
}

/* ===== Карточки товаров: одинаковое фото без обрезки, ровные веса и цены ===== */
body.chrome-redesign .pr-card__img { aspect-ratio: 1 / 1; background: #fff; }
body.chrome-redesign .pr-card__img img { object-fit: contain; }

/* Название всегда занимает три строки: кнопки веса и цена в соседних карточках стоят на одном уровне */
body.chrome-redesign .pr-card__name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    line-height: 1.25;
    min-height: calc(3 * 1.25em + 18px);
    box-sizing: content-box;
}

/* Между весом и ценой — заметный отступ */
body.chrome-redesign .pr-card__weights { margin-bottom: 16px; }
body.chrome-redesign .pr-card .pr-price { line-height: 1.2; padding: 2px 0; }

@media screen and (max-width: 768px) {
    body.chrome-redesign .pr-card__name { min-height: calc(3 * 1.25em + 16px); }
    body.chrome-redesign .pr-card__weights { margin-bottom: 16px; }
    body.chrome-redesign .pr-card__buy { gap: 10px; }
}

/* ===== Мобильная шапка: одна компактная строка + блок с логотипом под ней ===== */
.site-header__infobtn, .mobile-brand { display: none; }

@media screen and (max-width: 768px) {
    /* верхняя тёмная полоса на телефоне не нужна: слоган и телефон стоят в блоке под шапкой; полоса служит панелью разделов */
    body.chrome-redesign header.site-header .site-header__top { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; color: #2b2118; box-shadow: 0 12px 24px rgba(43, 33, 24, .14); max-height: calc(100vh - 80px); overflow: auto; }
    body.chrome-redesign.header-info-open header.site-header .site-header__top { display: block; }
    body.chrome-redesign header.site-header .site-header__delivery,
    body.chrome-redesign header.site-header .site-header__tel { display: none; }
    body.chrome-redesign header.site-header .site-header__top-inner { display: block; padding-top: 6px; padding-bottom: 10px; min-height: 0; }
    body.chrome-redesign header.site-header .site-header__info { display: block; overflow: visible; }
    body.chrome-redesign header.site-header .site-header__info-list { display: block; padding: 0; }
    body.chrome-redesign header.site-header .site-header__info-list li { display: block; border-bottom: 1px solid #f1e8da; }
    body.chrome-redesign header.site-header .site-header__info-list li:last-child { border-bottom: 0; }
    body.chrome-redesign header.site-header .site-header__info-list a { display: block; padding: 13px 4px; min-height: 44px; box-sizing: border-box; font-size: 16px; font-weight: 600; color: #2b2118; }
    body.chrome-redesign header.site-header .site-header__info-list a.red { color: #e2430b; }

    /* панель «Меню» тоже накладывается поверх страницы, а не раздвигает шапку */
    body.chrome-redesign header.site-header .site-header__cats { position: absolute; top: 100%; left: 0; right: 0; box-shadow: 0 12px 24px rgba(43, 33, 24, .14); }

    /* строка шапки: оранжевая «Меню» · Корзина · бургер */
    body.chrome-redesign header.site-header .site-header__main-inner { flex-wrap: nowrap; gap: 10px; padding-top: 9px; padding-bottom: 9px; }
    body.chrome-redesign header.site-header .site-header__logo { display: none; }
    body.chrome-redesign header.site-header .site-header__burger {
        display: inline-flex; align-items: center; justify-content: center; gap: 8px; order: 0;
        min-height: 46px; min-width: 0; padding: 0 16px; border: 0; border-radius: 12px;
        background: #ffab00; color: #fff; font-size: 17px; font-weight: 700; line-height: 1;
    }
    body.chrome-redesign header.site-header .site-header__burger-icon { flex: 0 0 auto; }
    body.chrome-redesign.header-cats-open header.site-header .site-header__burger { background: #e2430b; }
    body.chrome-redesign header.site-header div.card-indicator { margin-left: auto; order: 2; }
    body.chrome-redesign header.site-header .site-header__infobtn {
        display: inline-flex; align-items: center; justify-content: center; order: 3; flex: 0 0 auto;
        width: 44px; height: 46px; margin: 0 -6px 0 0; padding: 0; border: 0; background: none; color: #2b2118; cursor: pointer;
    }
    body.chrome-redesign header.site-header .site-header__infobtn-close { display: none; }
    body.chrome-redesign.header-info-open header.site-header .site-header__infobtn-open { display: none; }
    body.chrome-redesign.header-info-open header.site-header .site-header__infobtn-close { display: block; }

    /* блок внутри закреплённой шапки: логотип слева, слоган и телефон справа */
    body.chrome-redesign .mobile-brand { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 16px; background: #fffaf4; border-bottom: 1px solid #efe4d4; }
    body.chrome-redesign .mobile-brand__logo { flex: 0 0 auto; display: block; line-height: 0; }
    body.chrome-redesign .mobile-brand__logo img { display: block; width: auto; height: 52px; max-width: 76px; object-fit: contain; }
    body.chrome-redesign .mobile-brand__text { min-width: 0; text-align: right; }
    body.chrome-redesign .mobile-brand__text p { margin: 0 0 2px; font-size: 11px; line-height: 1.25; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #2b2118; }
    body.chrome-redesign .mobile-brand__text a { display: inline-block; padding: 0; font-size: 19px; line-height: 1.2; font-weight: 800; color: #2b2118; text-decoration: none; white-space: nowrap; }
}
@media screen and (max-width: 360px) {
    body.chrome-redesign header.site-header .site-header__burger { padding: 0 12px; font-size: 16px; }
    body.chrome-redesign header.site-header div.card-indicator .card-indicator__label { font-size: 13px; }
    body.chrome-redesign .mobile-brand__logo img { width: auto; height: 46px; max-width: 66px; }
    body.chrome-redesign .mobile-brand__text a { font-size: 17px; }
}

/* Раскрытое меню на телефоне: строки плотнее (раньше высота пункта складывалась с отступами и доходила до 68 px) */
@media screen and (max-width: 768px) {
    body.chrome-redesign header.site-header .site-header__cats-list { padding: 4px 0 6px; }
    body.chrome-redesign header.site-header .site-header__cats-list > li > a {
        display: flex; align-items: center; box-sizing: border-box; min-height: 44px; padding: 8px 4px; line-height: 1.25; border-bottom: 0;
    }
    body.chrome-redesign header.site-header .site-header__dropdown { padding: 0 0 4px 16px; }
    body.chrome-redesign header.site-header .site-header__dropdown a {
        display: flex; align-items: center; box-sizing: border-box; min-height: 38px; padding: 6px 4px; line-height: 1.25;
    }
}
@media screen and (max-width: 768px) {
    /* вся панель «Меню» помещается на экран без прокрутки, если позволяет высота телефона */
    body.chrome-redesign header.site-header .site-header__cats { max-height: calc(100vh - 80px); overflow: auto; }
}

/* ===== Всплывающее окно товара и выбор веса кнопками ===== */
html.pm-open, html.pm-open body { overflow: hidden; }

.pm-overlay {
    position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
    padding: 24px; box-sizing: border-box; background: rgba(43, 33, 24, .55); overflow: auto;
}
.pm-loading { color: #fff; font-size: 18px; }

.pm-dialog {
    position: relative; width: 100%; max-width: 860px; max-height: calc(100vh - 48px); overflow: auto;
    background: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}
.pm-close {
    position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%;
    background: #f6efe6; color: #2b2118; font-size: 28px; line-height: 40px; padding: 0; cursor: pointer;
}
.pm-close:hover { background: #fde2d6; color: #e2430b; }

.pm-body { display: flex; gap: 28px; padding: 28px; box-sizing: border-box; }
.pm-pic { flex: 0 0 46%; max-width: 46%; align-self: flex-start; background: #fff; border: 1px solid #efe4d4; border-radius: 16px; overflow: hidden; }
.pm-pic img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.pm-info { flex: 1 1 auto; min-width: 0; text-align: left; }

.pm-name { margin: 0 44px 10px 0; font-size: 26px; line-height: 1.2; font-weight: 700; text-transform: uppercase; color: #2b2118; }
.pm-price { margin: 0 0 16px; font-size: 32px; line-height: 1.15; color: #e2430b; font-style: italic; font-family: Georgia, 'Times New Roman', serif; }
.pm-price .old_price { margin-right: 8px; font-size: 20px; color: #9a8c7c; text-decoration: line-through; }
.pm-meta { margin: 0 0 16px; font-size: 16px; font-weight: 700; color: #2b2118; }

.pm-weights { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.pm-chip {
    min-height: 42px; padding: 8px 18px; border: 1px solid #efe4d4; border-radius: 999px; background: #fffaf4;
    font-size: 16px; font-weight: 700; color: #2b2118; cursor: pointer;
}
.pm-chip:hover, .pm-chip.is-active { border-color: #e2430b; color: #e2430b; background: #fff1ea; }

.pm-select { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.pm-buy { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; }
.pm-count { display: flex; align-items: center; flex: 0 0 auto; height: 52px; border-radius: 26px; background: #f1ece5; padding: 0 4px; }
.pm-count button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; font-size: 24px; line-height: 44px; color: #2b2118; cursor: pointer; padding: 0; }
.pm-count button:hover { color: #e2430b; }
.pm-count .pm-qty { width: 52px; height: 44px; border: 1px solid #d9cfc2; border-radius: 22px; background: #fff; text-align: center; font-size: 18px; color: #2b2118; padding: 0; box-sizing: border-box; }
.pm-add {
    flex: 1 1 auto; height: 52px; border: 0; border-radius: 26px; background: #e2430b; color: #fff;
    font-size: 17px; font-weight: 700; text-transform: uppercase; cursor: pointer;
}
.pm-add:hover { background: #c93a08; }
.pm-add.is-done, .pm-add:disabled { background: #3a9d5d; cursor: default; }

.pm-section { margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: #4a3d30; }
.pm-section p { margin: 4px 0 0; }
.pm-label { display: block; font-weight: 700; color: #ffab00; }
.pm-delivery .pm-label { color: #e2430b; }
.pm-text { margin-top: 4px; }
.pm-more { display: inline-block; margin-top: 4px; font-size: 14px; color: #e2430b; text-decoration: underline; }

/* Страница товара: размеры кнопками вместо выпадающего списка (select остаётся скрытым и хранит выбор) */
body.chrome-redesign .open-product .pm-weights--page { margin: 0 0 14px; }
body.chrome-redesign .open-product .wrap-count--chips select.js-variant-select { display: none !important; }
body.chrome-redesign .open-product .wrap-count--chips .selectric-wrapper { display: none !important; }

@media screen and (max-width: 768px) {
    .pm-overlay { align-items: flex-end; padding: 0; }
    .pm-dialog { max-width: none; max-height: 92vh; border-radius: 20px 20px 0 0; }
    .pm-body { flex-direction: column; gap: 16px; padding: 16px 16px 20px; }
    .pm-pic { flex: none; max-width: none; width: 100%; }
    .pm-name { font-size: 20px; margin-right: 36px; }
    .pm-price { font-size: 28px; margin-bottom: 14px; }
    .pm-close { top: 8px; right: 8px; width: 36px; height: 36px; font-size: 26px; line-height: 36px; background: rgba(255, 255, 255, .92); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
    .pm-buy { flex-direction: column; align-items: stretch; }
    .pm-count { justify-content: space-between; width: 100%; box-sizing: border-box; }
    .pm-add { width: 100%; flex: none; }
}

/* Акции: баннер целиком, без обрезки. На главной квадрат 1:1, название и текст там не показываем */
body.chrome-redesign .home-promos .shares ul li {
    height: auto;
    overflow: visible;
    background: none;
}

body.chrome-redesign .home-promos .shares ul li .shares__img {
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

body.chrome-redesign .home-promos .shares ul li .shares__img img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
}

body.chrome-redesign .home-promos .shares ul li .shares__noimg {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 16px;
    text-align: center;
    font-weight: 700;
}

/* Страница акции: фото сверху целиком */
body.chrome-redesign .post-cover {
    max-width: 720px;
    margin: 16px auto 0;
    padding: 0 16px;
    box-sizing: border-box;
}

body.chrome-redesign .post-cover img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}
