.bp-scope {
    --bp-surface: #111111;
    --bp-surface-2: #181818;
    --bp-border: #1c1c1c;
    --bp-muted: #969696;
    --bp-white: #ffffff;
    --bp-green-1: #00ff75;
    --bp-green-2: #24c16c;
    --bp-orange: #ffc700;
    --bp-ink: #101010;
    --bp-green-grad: linear-gradient(84deg, #00ff75 20%, #24c16c 100%);

    color: var(--bp-white);
    padding: 24px 0 56px;
    font-family: 'Gilroy', 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.bp-scope *,
.bp-scope *::before,
.bp-scope *::after {
    box-sizing: border-box;
}

/* ====== Header (заголовок + подзаголовок) ====== */
.bp-header {
    margin-bottom: 32px;
}

.bp-header__title {
    margin: 0 0 8px;
    font: 700 28px/1.15 'Gilroy', sans-serif;
    color: var(--bp-white);
}

.bp-header__subtitle {
    margin: 0;
    max-width: 980px;
    font: 400 16px/1.4 'Gilroy', sans-serif;
    color: var(--bp-muted);
}

/* ====== Layout: сетка + сайдбар ====== */
.bp-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.33fr) minmax(0, 1fr);
    align-items: flex-start;
    gap: 0 16px;
}

.bp-layout__main {
    min-width: 0;
    min-width: 0;
    display: flex;
    gap: 4rem;
    flex-direction: column;
}

/* сайдбар скрыт, пока не выбран пакет */
.bp-layout__aside {
    width: 100%;
    max-width: 513px;
    justify-self: end;
    position: sticky;
    /* учитываем высоту фиксированной .top-nav (≈68–72px) при скролле + небольшой зазор */
    top: 72px;
    display: none;
    flex-direction: column;
    gap: 16px;
}

.bp-layout.is-selected-mode .bp-layout__aside {
    display: flex;
}

/* ====== Сетка карточек ====== */
.bp-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, 1fr);
}

/* при выбранном пакете сетка ужимается под сайдбар */
.bp-layout.is-selected-mode .bp-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* скрытая фильтром карточка (перебиваем display:flex карточки) */
.bp-card[hidden] {
    display: none !important;
}

/* ====== Контейнер результатов: тулбар + «нет результатов» + сетка ====== */
.bp-scope .bp-results {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* внутри flex-контейнера интервал задаёт gap — снимаем собственные margin-bottom */
.bp-scope .bp-results .wallet-toolbar,
.bp-scope .bp-results .bp-noresults {
    margin-bottom: 0;
}

/* ====== Тулбар фильтров над сеткой (эталон — wallet-toolbar из кабинета) ====== */
.bp-scope .wallet-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 4px 0;
}

.bp-scope .wallet-search {
    position: relative;
    flex: 0 1 320px;
    min-width: 200px;
}

.bp-scope .wallet-search__input {
    width: 100%;
    height: 40px;
    padding: 8px 36px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 10px;
    color: var(--bp-white);
    font: 600 14px/1 'Gilroy', sans-serif;
    transition: border-color .15s ease, background .15s ease;
}

.bp-scope .wallet-search__input:focus {
    outline: none;
    border-color: rgba(0, 255, 117, .4);
    background: rgba(255, 255, 255, .06);
}

.bp-scope .wallet-search__input::placeholder {
    color: rgba(255, 255, 255, .35);
}

.bp-scope .wallet-search__icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, .4);
    pointer-events: none;
}

.bp-scope .wallet-search__kbd {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    padding: 2px 6px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 4px;
    font: 600 11px/1 'Gilroy', sans-serif;
    color: rgba(255, 255, 255, .4);
    pointer-events: none;
}

.bp-scope .wallet-filter {
    position: relative;
}

.bp-scope .wallet-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 10px;
    color: rgba(255, 255, 255, .75);
    font: 600 14px/1 'Gilroy', sans-serif;
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.bp-scope .wallet-filter-btn:hover {
    background: rgba(255, 255, 255, .06);
    color: var(--bp-white);
}

.bp-scope .wallet-filter-btn svg {
    width: 14px;
    height: 14px;
}

.bp-scope .wallet-filter-btn[data-active] {
    background: rgba(0, 255, 117, .12);
    color: var(--bp-green-1);
    border-color: rgba(0, 255, 117, .4);
}

.bp-scope .wallet-toolbar__spacer {
    flex: 1;
}

/* Sort закреплён у правого края — поповер раскрываем вправо, чтобы не вылез за контейнер */
.bp-scope .wallet-filter--end .wallet-filter-popover {
    left: auto;
    right: 0;
}

/* ── Поповер фильтра ── */
.bp-scope .wallet-filter-popover {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 50;
    min-width: 220px;
    padding: 8px;
    background: rgba(20, 20, 20, .9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
    display: none;
    flex-direction: column;
    gap: 2px;
}

.bp-scope .wallet-filter[data-open] .wallet-filter-popover {
    display: flex;
}

.bp-scope .wallet-filter-popover--wide {
    min-width: 260px;
}

.bp-scope .wallet-filter-popover__option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 12px;
    cursor: pointer;
    color: rgba(255, 255, 255, .85);
    font: 500 14px/1 'Gilroy', sans-serif;
    user-select: none;
    transition: background .15s ease;
}

.bp-scope .wallet-filter-popover__option:hover {
    background: rgba(255, 255, 255, .04);
}

.bp-scope .wallet-filter-popover__option input {
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border-radius: 5px;
    background: rgba(255, 255, 255, .09);
    cursor: pointer;
    transition: background .15s ease, box-shadow .15s ease;
}

.bp-scope .wallet-filter-popover__option input:checked {
    background: var(--bp-green-1);
    box-shadow: inset 0 0 0 3px #141414;
}

.bp-scope .wallet-filter-popover__divider {
    border-top: 1px solid rgba(255, 255, 255, .06);
    margin: 4px 0;
}

.bp-scope .wallet-filter-popover__clear {
    padding: 12px;
    margin-top: 4px;
    background: rgba(255, 255, 255, .09);
    border: none;
    border-radius: 12px;
    color: rgba(255, 255, 255, .67);
    font: 600 12px/1 'Gilroy', sans-serif;
    text-align: left;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.bp-scope .wallet-filter-popover__clear:hover {
    background: rgba(255, 255, 255, .04);
    color: var(--bp-white);
}

/* ── Сортировка (кнопки внутри поповера) ── */
.bp-scope .wallet-sort-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 4px;
}

.bp-scope .wallet-sort-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: rgba(255, 255, 255, .85);
    font: 500 14px/1 'Gilroy', sans-serif;
    text-align: left;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.bp-scope .wallet-sort-btn:hover {
    background: rgba(255, 255, 255, .05);
    color: var(--bp-white);
}

.bp-scope .wallet-sort-btn[data-active] {
    background: rgba(0, 255, 117, .12);
    color: var(--bp-green-1);
    border-color: rgba(0, 255, 117, .4);
}

/* ── Диапазон цены ── */
.bp-scope .wallet-range {
    display: flex;
    gap: 8px;
    padding: 4px;
}

.bp-scope .wallet-range__field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bp-scope .wallet-range__field span {
    padding: 0 2px;
    font: 500 11px/1 'Gilroy', sans-serif;
    color: rgba(255, 255, 255, .5);
}

.bp-scope .wallet-range__field input {
    width: 100%;
    padding: 8px 10px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    color: var(--bp-white);
    font: 600 14px/1 'Gilroy', sans-serif;
    -moz-appearance: textfield;
    appearance: textfield;
}

.bp-scope .wallet-range__field input::-webkit-outer-spin-button,
.bp-scope .wallet-range__field input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.bp-scope .wallet-range__field input:focus {
    outline: none;
    border-color: rgba(0, 255, 117, .4);
    background: rgba(255, 255, 255, .06);
}

/* ── Скролл списка опций (ранги) при >7 элементах ── */
.bp-scope .wallet-filter-popover__scroll {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bp-scope .wallet-filter-popover__scroll.is-scrollable {
    max-height: 232px;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .2) transparent;
}

.bp-scope .wallet-filter-popover__scroll.is-scrollable::-webkit-scrollbar {
    width: 6px;
}

.bp-scope .wallet-filter-popover__scroll.is-scrollable::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .2);
    border-radius: 3px;
}

/* ── Двойной ползунок цены ── */
.bp-scope .bp-price-slider {
    position: relative;
    height: 24px;
    margin: 8px 6px 4px;
}

.bp-scope .bp-price-slider__track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .1);
    border-radius: 2px;
}

.bp-scope .bp-price-slider__range {
    position: absolute;
    top: 0;
    height: 100%;
    background: var(--bp-green-grad);
    border-radius: 2px;
}

.bp-scope .bp-price-slider__input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.bp-scope .bp-price-slider__input::-webkit-slider-thumb {
    pointer-events: auto;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bp-green-1);
    border: 2px solid #141414;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .5);
    cursor: pointer;
}

.bp-scope .bp-price-slider__input::-moz-range-thumb {
    pointer-events: auto;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bp-green-1);
    border: 2px solid #141414;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .5);
    cursor: pointer;
}

.bp-scope .bp-price-slider__input::-webkit-slider-runnable-track {
    background: none;
}

.bp-scope .bp-price-slider__input::-moz-range-track {
    background: none;
}

.bp-noresults {
    margin: 0 0 24px;
    padding: 32px;
    text-align: center;
    background: var(--bp-surface-2);
    border: 1px dashed var(--bp-border);
    border-radius: 20px;
    color: var(--bp-muted);
    font: 500 16px/1.4 'Gilroy', sans-serif;
}

@media (max-width: 680px) {
    .bp-scope .wallet-search {
        flex: 1 1 100%;
    }

    /* на мобиле спейсер ломал бы перенос — прячем, элементы пакуются в ряд */
    .bp-scope .wallet-toolbar__spacer {
        display: none;
    }
}

/* ====== Карточка пакета ====== */
.bp-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: #1010106e;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 32px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

/* hover на карточке */
.bp-card:hover {
    border-color: rgba(0, 255, 117, .45);
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .45);
}

.bp-card.is-selected {
    border-color: #00ff75;
    background: linear-gradient(0deg, #00ff750d, transparent), #57575724;
}

.bp-card.is-selected:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .45);
}

.bp-card__form {
    display: none !important;
}

.bp-card__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
}

/* угловой бейдж -27% */
.bp-card__badge {
    position: absolute;
    top: 22px;
    right: -52px;
    width: 200px;
    padding: 9px 0;
    text-align: center;
    transform: rotate(39deg);
    background: #00ff7514;
    border-top: 1px solid var(--bp-green-1);
    border-bottom: 1px solid var(--bp-green-1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2;
}

.bp-card__badge span {
    font: 700 18px/1 'Gilroy', sans-serif;
    background: var(--bp-green-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bp-card__group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ранги from -> to */
.bp-ranks {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bp-rank {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 24px;
    background: #ffffff08;
    border: 1px solid #ffffff30;
    border-radius: 16px;
}

.bp-rank__gauge {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: conic-gradient(var(--bp-green-1) 0 30%, #2a2a2a 30% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bp-rank__gauge::before {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: var(--bp-surface-2);
}

.bp-rank__gauge span {
    position: relative;
    font: 700 16px/1 'Gilroy', sans-serif;
    color: var(--bp-green-1);
}

.bp-rank__gauge--end {
    background: conic-gradient(var(--bp-orange) 0 70%, #2a2a2a 70% 100%);
}

.bp-rank__gauge--end span {
    color: var(--bp-orange);
}

.bp-rank__icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.bp-rank__label {
    font: 400 12px/1 'Gilroy', sans-serif;
    color: var(--bp-muted);
}

.bp-rank__value {
    font: 700 18px/1 'Gilroy', sans-serif;
    color: var(--bp-white);
}

.bp-ranks__arrow {
    flex: 0 0 auto;
    color: var(--bp-muted);
    display: flex;
}

/* теги-режимы */
.bp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bp-tag {
    padding: 8px 16px;
    background: #ffffff08;
    border: 1px solid #ffffff30;
    border-radius: 12px;
    font: 700 14px/1 'Gilroy', sans-serif;
    color: var(--bp-white);
    white-space: nowrap;
}

/* фичи-чеклист */
.bp-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bp-feature {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bp-feature__text {
    font: 400 16px/1.2 'Gilroy', sans-serif;
    color: var(--bp-muted);
}

.bp-feature__text b {
    font-weight: 700;
}

.bp-check {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: var(--bp-green-grad);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bp-check svg {
    width: 12px;
    height: 12px;
    color: var(--bp-ink);
}

/* цена */
.bp-price {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.bp-price__label {
    font: 400 16px/1 'Gilroy', sans-serif;
    color: var(--bp-white);
}

.bp-price__values {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.bp-price__old {
    font: 600 18px/1 'Gilroy', sans-serif;
    color: var(--bp-muted);
    text-decoration: line-through;
}

.bp-price__new {
    font: 700 28px/1 'Gilroy', sans-serif;
    letter-spacing: .28px;
    background: var(--bp-green-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* CTA карточки */
.bp-card__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 24px;
    min-height: 56px;
    background: #57575724;
    font: 700 18px/1.2 'Gilroy', sans-serif;
    color: var(--bp-white);
    transition: border-color .18s ease, background-color .18s ease, filter .18s ease;
}

/* круглый чекбокс выбора пакета (вместо стрелки) */
.bp-card__check {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    display: grid;
    place-content: center;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .35);
    background: transparent;
    transition: border-color .18s ease, background .18s ease;
}

.bp-card__check svg {
    width: 16px;
    height: 16px;
    color: var(--bp-white);
    opacity: 0;
    transform: scale(.6);
    transition: opacity .18s ease, transform .18s ease;
}

/* hover: подсветка кнопки выбора + кольца чекбокса */
.bp-card:hover .bp-card__cta {
    border-color: var(--bp-green-1);
}

.bp-card:hover:not(.is-selected) .bp-card__check {
    border-color: var(--bp-green-1);
}

/* выбранная карточка: зелёная кнопка */
.is-selected .bp-card__cta {
    background: linear-gradient(78deg, #00ff75 20%, #24c16c 100%);
    border-color: var(--bp-green-1);
    color: var(--bp-ink);
}

/* выбранная: залитый кружок с галочкой */
.is-selected .bp-card__check {
    border-color: var(--bp-ink);
    background: var(--bp-ink);
}

.is-selected .bp-card__check svg {
    opacity: 1;
    transform: scale(1);
}

.bp-card.is-selected:hover .bp-card__cta {
    filter: brightness(1.06);
}

/* ====== Кнопка "Показати ще" ====== */
.bp-loadmore {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.bp-loadmore button {
    min-width: 240px;
    min-height: 56px;
    padding: 0 32px;
    background: var(--bp-surface-2);
    border: 1px solid var(--bp-border);
    border-radius: 16px;
    color: var(--bp-white);
    font: 700 16px/1 'Gilroy', sans-serif;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease;
}

.bp-loadmore button:hover {
    border-color: rgba(0, 255, 117, .45);
    background: #1f1f1f;
}

/* ====== Пагинация ====== */
.bp-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}

.bp-page {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--bp-surface-2);
    border: 1px solid var(--bp-border);
    color: var(--bp-white);
    font: 700 15px/1 'Gilroy', sans-serif;
    cursor: pointer;
    user-select: none;
    transition: border-color .15s ease, background-color .15s ease;
}

.bp-page svg {
    width: 18px;
    height: 18px;
}

.bp-page:not(.is-active):not(.bp-page--dots):hover {
    border-color: rgba(0, 255, 117, .45);
    background: #1f1f1f;
}

.bp-page.is-active {
    background: var(--bp-green-grad);
    border-color: var(--bp-green-1);
    color: var(--bp-ink);
}

.bp-page--dots {
    background: transparent;
    border-color: transparent;
    cursor: default;
    color: var(--bp-muted);
}

/* ====== Сайдбар: панели ====== */
.bp-panel {
    background: var(--bp-surface);
    border: 1px solid var(--bp-border);
    border-radius: 24px;
    overflow: hidden;
}

.bp-panel__head {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 16px 24px;
    background: var(--bp-surface-2);
}

.bp-panel__head svg {
    width: 24px;
    height: 24px;
    color: var(--bp-green-1);
    flex: 0 0 auto;
}

.bp-panel__title {
    font: 700 18px/1 'Gilroy', sans-serif;
    color: var(--bp-white);
}

.bp-panel__body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
}

.bp-scope .product-aside__block {
    border: 1px solid var(--background-70, var(--bp-border));
    border-radius: 20px;
    background-color: #111;
}

/* два траст-блока в ряд */
.bp-scope .product-aside__trust {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.bp-scope .product-aside__trust > .product-aside__block {
    flex: 1 1 0;
    min-width: 0;
}

@media (max-width: 680px) {
    .bp-scope .product-aside__trust {
        flex-direction: column;
    }
}

.bp-scope .product-aside__block-head {
    min-height: 56px;
    padding: 10px 24px;
    border-radius: 20px 20px 0 0;
    background-color: var(--background-dark-grey, var(--bp-surface-2));
    display: flex;
    align-items: center;
    gap: 8px;
}

.bp-scope .product-aside__block-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font: 600 18px/1.2 'Gilroy', sans-serif;
    color: var(--bp-white);
}

.bp-scope .product-aside__block-title svg {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
}

.bp-scope .product-aside__pay-block {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bp-scope .product-aside__pay-text {
    font: 400 16px/1.3 'Gilroy', sans-serif;
    color: var(--background-20);
}

.bp-scope .product-aside__payments {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.bp-scope .product-aside__pay {
    min-height: 52px;
    padding: 12px 14px;
    border-radius: 16px;
    display: grid;
    place-content: center;
    background-color: var(--background-70, var(--bp-border));
}

.bp-scope .product-aside__pay img {
    max-width: 100%;
    object-fit: cover;
}

/* ранг-боксы в сайдбаре (иконка слева, текст справа) */
.bp-order-ranks {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bp-order-rank {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bp-surface-2);
    border: 1px solid var(--bp-border);
    border-radius: 16px;
}

.bp-order-rank .bp-rank__icon {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
}

.bp-order-rank__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* промо-чекбокс "Паті з бустером" */
.bp-promo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--bp-border);
    border-radius: 20px;
    transition: border-color .18s ease;
}

.bp-promo:hover {
    border-color: rgba(255, 199, 0, .5);
}

.bp-promo__box {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    border: 1px solid var(--bp-orange);
    background: linear-gradient(90deg, rgba(255, 199, 0, .1), rgba(255, 199, 0, .1)), var(--bp-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color .15s ease;
}

.bp-promo__box svg {
    width: 14px;
    height: 14px;
    color: var(--bp-orange);
    opacity: 1;
    transition: opacity .15s ease;
}

/* выключенное состояние чекбокса */
.bp-promo__box.is-off {
    background: var(--bp-surface);
}

.bp-promo__box.is-off svg {
    opacity: 0;
}

.bp-promo__label {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1 1 auto;
}

.bp-promo__label>span {
    font: 700 18px/1.1 'Gilroy', sans-serif;
    letter-spacing: -.18px;
    color: var(--bp-white);
}

.bp-promo__info {
    width: 16px;
    height: 16px;
    color: var(--bp-muted);
}

.bp-promo__price {
    flex: 0 0 auto;
    padding: 6px 15px;
    border: 1px solid var(--bp-muted);
    border-radius: 20px;
    font: 700 14px/1 'Gilroy', sans-serif;
    color: var(--bp-muted);
}

/* итог + кнопка оформления (купить) */
.bp-total {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.bp-total__label {
    font: 700 18px/1 'Gilroy', sans-serif;
    color: var(--bp-white);
}

.bp-total__values {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.bp-checkout {
    width: 100%;
    margin-top: 16px;
    padding: 24px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    border-radius: 24px;
    background: linear-gradient(80deg, #00ff75 20%, #24c16c 100%);
    box-shadow: inset 0 0 0 999px rgba(255, 255, 255, .06);
    color: var(--bp-ink);
    font: 700 18px/1 'Montserrat', 'Gilroy', sans-serif;
    cursor: pointer;
    transition: filter .15s ease, transform .15s ease;
}

.bp-checkout svg {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
}

.bp-checkout:hover {
    filter: brightness(1.07);
    transform: translateY(-2px);
}

.bp-checkout:active {
    transform: translateY(0);
}

/* ====== Адаптив ====== */
@media (max-width: 1400px) {
    .bp-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 68.74875em) {
    .bp-layout {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    }

    .bp-layout.is-selected-mode .bp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 61.99875em) {
    .bp-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .bp-layout__aside {
        position: static;
        width: 100%;
        max-width: 513px;
        justify-self: start;
    }
}

@media (max-width: 1040px) {

    .bp-grid,
    .bp-layout.is-selected-mode .bp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {

    .bp-grid,
    .bp-layout.is-selected-mode .bp-grid {
        grid-template-columns: 1fr;
    }
}
