@container (max-width: 576px) {
    .product__item::after{
        padding-top: 142% !important;
    }
    .product__item-img img{
        object-position: top;
    }
}
@container (max-width: 360px) {
    .product__item-title {
        font-size: 16px;
    }
}

/* ============================================================
   Поиск: блок категорий (живой поиск в шапке + страница /search/)
   ============================================================ */
.search-suggest__title {
    opacity: .8;
}
.search-suggest__cats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px;
    width: 100%;
}
.search-suggest__cat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 16px;
    background: #f3f5fb;
    color: var(--dark);
    text-decoration: none;
    transition: background .2s, box-shadow .2s, transform .2s;
    min-width: 0;
}
.search-suggest__cat:hover {
    background: #fff;
    box-shadow: 0 8px 24px -12px rgba(var(--primary-rgb), .45);
    transform: translateY(-1px);
    color: var(--dark);
}
.search-suggest__cat-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #fff;
    color: var(--primary);
    font-size: 20px;
}
.search-suggest__cat:hover .search-suggest__cat-icon {
    background: rgba(var(--primary-rgb), .1);
}
.search-suggest__cat-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 auto;
}
.search-suggest__cat-name {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.search-suggest__cat-path {
    font-size: 12px;
    opacity: .55;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.search-suggest__cat-count {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(var(--primary-rgb), .1);
    border-radius: 100px;
    padding: 2px 10px;
    line-height: 1.6;
}
/* В выпадашке шапки контейнер категорий был строкой кнопок — делаем блочным */
.header__search-listresult .catalog__categorylinks {
    display: block;
}
@media (max-width: 575.98px) {
    .search-suggest__cats {
        grid-template-columns: 1fr;
    }
}

/* Плитка варианта в блоке «Выберите вариант» — целиком ссылка на страницу варианта */
.product__skubtn .product__skubtn-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}
.product__skubtn .product__skubtn-link .cover-imgbg {
    width: 100%;
    height: 100%;
}

/* Полоса с реквизитами перед подвалом («шапка» футера) на /contact/ и /uslovia-dostavki/.
   Фон — как у футера, но на тон плотнее */
.prefooter-requisites {
    background: linear-gradient(225deg, rgba(250,108,154,.14), rgba(211,114,253,.14) 37.98%);
    padding: 48px 0 40px;
}
.prefooter-requisites .company-requisites {
    margin-bottom: 0;
}
.company-requisites__card {
    background: rgba(255,255,255,.55);
    border-radius: 20px;
    padding: 10px 24px;
}
.company-requisites__row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 24px;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(211,114,253,.25);
}
.company-requisites__row:last-child {
    border-bottom: 0;
}
.company-requisites__label {
    flex: 0 0 240px;
    opacity: .6;
    font-size: 14px;
}
.company-requisites__value {
    flex: 1 1 300px;
    font-weight: 500;
    font-size: 14px;
    word-break: break-word;
}
@media (max-width: 575.98px) {
    .company-requisites__label { flex-basis: 100%; }
}

/* Кнопка «Как считается цена» скрыта: раньше её margin-left:auto забирал всё свободное
   место flex-строки покупки (space-between), прижимая счётчик/цены/«В корзину» влево.
   Возвращаем ту же компоновку без кнопки. */
.product__detail-orderblock--itemsku.flb-csb {
    justify-content: flex-start;
}
