
.pagination {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 0;
}

.pagination__list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination__list .pagination__item {
    margin: 0;
}

.pagination__link {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 24px;
    min-width: 24px;
    padding-top: 2px;
    font-size: 16px;
    line-height: 20px;
    text-decoration: none;
    color: inherit;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0);
}

.pagination__link.active {
    border-color: var(--main-blue);
    color: var(--main-blue);
}

.pagination__link-prev,
.pagination__link-next {
    display: block;
    width: 24px;
    height: 24px;
}

.pagination__link-prev svg,
.pagination__link-next svg {
    stroke: var(--text-black);
}

.pagination__link-prev svg {
    transform: rotate(90deg);
}

.pagination__link-next svg {
    transform: rotate(-90deg);
}

.pagination__item--num-link, .pagination__item--current-new {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.pagination__item--current-new {
    background-color: var(--btn-violet-default);
    color: var(--btn-white) !important;
}

.pagination__item--current-new:hover {
    background-color: var(--btn-violet-hover);
    color: var(--btn-white);
    text-decoration: none;
}

.pagination {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
}

.pagination__item {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
    color: #7c7e82;
    margin-right: 10px;
}

.pagination__item span {
    pointer-events: none;
}

.pagination__item--num-link, .pagination__item--current {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.pagination__item--current {
    background-color: #25262a;
    color: white;
}

.pagination__item--prev {
    margin-right: 20px;
}

.pagination__item--next {
    margin-left: 10px;
}

.product-card__nds {
    font-size: 12px;
    color: gray;
    margin-top: 2px;
}

.product-card__nds--top {
    margin-top: -8px;
    margin-bottom: 8px;
}

.city-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.city-modal.open {
    display: block;
}

.city-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
}

.city-modal__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    max-height: 80vh;
    margin: 10vh auto 0;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.city-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto;
    margin-bottom: 16px;
}

.city-modal__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.city-modal__title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-black);
}

.city-modal__close {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-black);
}

.city-modal__search {
    flex: 0 0 auto;
    width: 100%;
    padding: 13px 0 13px 15px;
    margin-bottom: 12px;
    font-size: 14px;
    background-color: #fff;
    border: 1px solid var(--stroke-gray-light);
    border-radius: 50px;
    outline: none;
    transition: border-color .2s ease;
}

.city-modal__search::placeholder {
    font-size: 14px;
    color: #7c7e82;
}

.city-modal__search:hover,
.city-modal__search:focus {
    border-color: var(--main-blue);
}

.city-modal__list-wrap {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.city-modal__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.city-modal__item {
    border-bottom: 1px solid #f0f0f0;
}

.city-modal__item--message {
    padding: 10px 4px;
    color: #7c7e82;
}

.city-modal__link {
    display: block;
    padding: 10px 4px;
    color: inherit;
    text-decoration: none;
}

.city-modal__link:hover {
    color: var(--main-blue);
    text-decoration: none;
}

body.city-modal-open {
    overflow: hidden;
}


/* P-192 Акции: акционная цена — розовый цен палитры (--second-pink-light #FF7E7E), розница зачёркнута.
   В main.css цвет ins у .head-order__price задан только для >=1280px — дублируем на все ширины. */
.head-order__price ins {
    text-decoration: none;
    font-weight: 600;
    color: var(--second-pink-light);
}

.head-order__price del {
    margin-left: 8px;
    color: var(--text-dark-gray);
}

.product-option__value--promo {
    color: var(--second-pink-light);
}

/* Фильтр «Акции» в умном фильтре */
.catalog-filter__item--promo .checkbox-field__label {
    color: var(--second-pink-light);
    font-weight: 600;
}

/* hotfix 2026-10-10: атрибут hidden у меток (скидка -0%) перекрывался display у .product-label */
.product-label[hidden], [hidden].js-offer-discount { display: none !important; }

/* Метки товара на фото детальной (решение владельца 02.11, ProductLabels): не больше 2 видимых - скрытый span скидки (js-offer-discount) не считается; «90+» - знак в кружке */
.goods-slider__slider-labels { align-items: center; }
.goods-slider__slider-labels > .product-label:not([hidden]) ~ .product-label:not([hidden]) ~ .product-label { display: none !important; }
.product-label--score { justify-content: center; width: 26px; height: 26px; padding: 0; border-radius: var(--radius-full, 999px); letter-spacing: -.02em; }
