.purchase-modal__row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #333; font-size: 14px; }
.purchase-modal__label { color: #888; }
.purchase-modal__value { font-weight: 600; }
.purchase-modal__promocode { background: rgba(255, 0, 0, 0.1); border: 1px dashed var(--primary-red); border-radius: 10px; padding: 15px; text-align: center; margin: 15px 0; }
.purchase-modal__promocode-label { font-size: 12px; color: #888; margin-bottom: 5px; }
.purchase-modal__promocode-value { font-size: 18px; font-weight: 700; color: var(--primary-red); font-family: monospace; word-break: break-all; }
.purchase-modal__manual { background: #2a2a2a; border-radius: 10px; padding: 15px; margin: 15px 0; }
.purchase-modal__manual-title { font-size: 14px; font-weight: 700; margin-bottom: 8px; color: #f59e0b; }
.purchase-modal__manual-text { font-size: 13px; color: #ccc; line-height: 1.5; }
.review-form { background: #2a2a2a; border-radius: 15px; padding: 15px; margin-top: 10px; }
.review-form__stars { display: flex; gap: 5px; margin-bottom: 10px; }
.review-form__star { font-size: 24px; cursor: pointer; color: #444; transition: 0.2s; }
.review-form__star:hover, .review-form__star.active { color: var(--primary-red); }
.review-form__textarea { width: 100%; min-height: 60px; padding: 10px; border-radius: 8px; border: 1px solid #444; background: #1a1a1a; color: white; font-family: inherit; font-size: 13px; resize: vertical; margin-bottom: 10px; }
.review-form__textarea:focus { outline: none; border-color: var(--primary-red); }
.review-form__submit { background: var(--primary-red); border: none; color: white; padding: 10px 20px; border-radius: 8px; font-weight: 700; font-size: 13px; cursor: pointer; transition: 0.2s; align-content: center; align-items: center;}
.review-form__submit:hover { opacity: 0.9; }
.review-form__submit:disabled { opacity: 0.5; cursor: not-allowed; }

.loader { display: flex; justify-content: center; align-items: center; padding: 40px; grid-column: 1 / -1; }
.spinner { width: 40px; height: 40px; border: 4px solid #333; border-top-color: var(--primary-red); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty-state { text-align: center; padding: 60px 20px; color: #555; grid-column: 1 / -1; }
.empty-state__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    opacity: 0.4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
}
.empty-state__icon svg { width: 100%; height: 100%; }
.empty-state__text { font-size: 15px; font-weight: 600; }

.toast-container {
    position: fixed;
    top: 80px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}

.toast {
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 300px;
    max-width: 400px;
    pointer-events: auto;
    animation: toastIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(12px);
}

.toast__icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast__content {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.toast__close {
    cursor: pointer;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    transition: color 0.2s;
    padding: 5px;
}

.toast__close:hover {
    color: var(--text-white);
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(50px) scale(0.9); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes toastOut {
    to { opacity: 0; transform: translateX(50px) scale(0.9); }
}

.toast--success { border-left: 3px solid #F5F5F5; }
.toast--error { border-left: 3px solid #E50914; }
.toast--info { border-left: 3px solid #6B6B6B; }

.stars-container { display: inline-block; font-size: 14px; font-family: Times; line-height: 1; position: relative; letter-spacing: 2px; }
.stars-container::before { content: '★★★★★'; background: linear-gradient(90deg, var(--primary-red) calc(var(--rating) / 5 * 100%), #444 calc(var(--rating) / 5 * 100%)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-404 { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 60vh; text-align: center; padding: 40px 20px; }
.page-404__code { font-size: 120px; font-weight: 900; color: var(--primary-red); line-height: 1; text-shadow: 0 0 40px rgba(255, 0, 0, 0.3); }
.page-404__text { font-size: 18px; color: #888; margin: 20px 0 30px; }
.page-404__btn { padding: 15px 40px; background: var(--primary-red); border: none; border-radius: 12px; color: white; font-weight: 700; font-size: 16px; cursor: pointer; transition: 0.2s; text-decoration: none; }
.page-404__btn:hover { transform: scale(1.05); box-shadow: var(--glow); }

.default-avatar {
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.default-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: auto;
    shape-rendering: geometricPrecision;
    backface-visibility: hidden;
    display: block;
}

.avatar-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    border-radius: 15px;
    border: 2px solid #333;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    backface-visibility: hidden;
    will-change: border-color, background;
}

.avatar-option:hover {
    border-color: #555;
}

.avatar-option.selected {
    border-color: var(--primary-red);
    background: rgba(255, 0, 0, 0.1);
}

.avatar-option__preview {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px #222;
    backface-visibility: hidden;
    will-change: transform;
}

.avatar-option__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: auto;
    shape-rendering: geometricPrecision;
    display: block;
    transform: translateZ(0);
}

.avatar-option__name {
    font-size: 12px;
    color: #888;
}

#avatarGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.reviews-nav {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}
.reviews-nav__back {
    color: var(--text-white);
    display: flex;
    transition: color 0.2s;
}
.reviews-nav__back:hover { color: var(--primary-red); }
.reviews-nav__title { font-size: 20px; font-weight: 700; }

.reviews-summary {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    margin-bottom: 10px;
}
.reviews-summary__value {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-white);
    line-height: 0.9;
}
.reviews-summary__details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 4px;
}
.reviews-summary__count {
    font-size: 13px;
    color: var(--text-gray);
}

.reviews-verified {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #fff;
    margin-bottom: 30px;
}

.reviews-verified__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background-color: red;
    color: black;
    border-radius: 50%;
    flex-shrink: 0;
}

.reviews-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 20px;
}

.reviews-toolbar__left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.reviews-star-widget {
    display: flex;
    gap: 4px;
    padding-right: 15px;
    border-right: 1px solid var(--border-gray);
}
.star-icon {
    width: 20px;
    height: 20px;
    fill: #333;
    cursor: pointer;
    transition: all 0.2s;
}
.star-icon:hover, .star-icon.active { fill: var(--text-gray); }
.star-icon.active { fill: var(--text-white); }

.reviews-filter-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-color);
    border: 1px solid var(--border-gray);
    color: var(--text-white);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.filter-btn:hover { background: rgba(255,255,255,0.05); }
.filter-btn.active { background: rgba(255,255,255,0.1); border-color: var(--text-white); }
.filter-btn__icon { display: flex; opacity: 0.7; }

.reviews-sort-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    position: relative;
}
.reviews-sort-select {
    appearance: none;
    background: transparent;
    border: none;
    color: var(--info);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    padding-right: 15px;
    text-align: right;
}
.reviews-sort-arrow {
    position: absolute;
    right: 0;
    pointer-events: none;
    color: var(--info);
}

.reset-filters-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-red);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    padding: 8px 12px;
    background: rgba(255,0,0,0.1);
    border-radius: 8px;
}

.category-grid-select {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}

.category-card-select {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 10px;
    background: var(--bg-color);
    border: 2px solid var(--border-gray);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.category-card-select:hover {
    border-color: #444;
    transform: translateY(-2px);
}

.category-card-select.active {
    border-color: var(--primary-red);
    background: rgba(255, 0, 0, 0.08);
}

.category-card-select__icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--border-gray);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.category-card-select__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card-select__name {
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    color: var(--text-white);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.list-select {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 5px;
}

.list-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.3s ease forwards;
    opacity: 0;
}

.list-option:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.list-option.active {
    background: rgba(255, 0, 0, 0.15);
    border-color: var(--primary-red);
    color: var(--text-white);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.25);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.list-option:nth-child(1) { animation-delay: 0.05s; }
.list-option:nth-child(2) { animation-delay: 0.1s; }
.list-option:nth-child(3) { animation-delay: 0.15s; }
.list-option:nth-child(4) { animation-delay: 0.2s; }
.list-option:nth-child(5) { animation-delay: 0.25s; }
.list-option:nth-child(6) { animation-delay: 0.3s; }

.list-option:last-child {
    border-bottom: none;
}

.reviews-sort-select option {
    background-color: var(--bg-color);
    color: var(--text-white);
    padding: 10px;
}

.custom-dropdown {
    position: relative;
    cursor: pointer;
}

.custom-dropdown__trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    transition: color 0.2s;
}

.custom-dropdown__trigger:hover { color: var(--text-white); }

.custom-dropdown__menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: var(--card-bg);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 5px;
    min-width: 180px;
    display: none;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.custom-dropdown.active .custom-dropdown__menu { display: block; animation: fadeIn 0.2s; }

.custom-dropdown__item {
    padding: 10px 15px;
    font-size: 13px;
    color: var(--text-gray);
    border-radius: 8px;
    transition: 0.2s;
}

.custom-dropdown__item:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-white);
}

.custom-dropdown__item.active {
    color: var(--primary-red);
    background: rgba(255, 0, 0, 0.1);
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

.profile-header-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.profile-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-header-title {
    font-size: 24px;
    font-weight: 800;
}

.profile-username-display {
    color: var(--text-gray);
    font-size: 14px;
    margin-left: auto;
}

.profile-menu-btn {
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.profile-menu-btn span {
    display: block;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: 0.3s;
}
.profile-menu-btn span:nth-child(1) { width: 20px; }
.profile-menu-btn span:nth-child(2) { width: 14px; }
.profile-menu-btn span:nth-child(3) { width: 20px; }

.profile-menu-btn:hover span { background: var(--primary-red); }

.profile-header-text {
    display: flex;
    gap: 8px;
    font-size: 24px;
    font-weight: 800;
}

.profile-header-label { color: var(--text-white); }
.profile-header-name { color: var(--text-gray); font-weight: 600; font-size: 24px; }

.settings-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.settings-overlay.active { display: flex; }

.settings-modal {
    width: 100%;
    max-width: 400px;
    background: #050505;
    border: 1px solid var(--primary-red);
    border-radius: 30px;
    padding: 22px 20px 18px;
    position: relative;
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.15);
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.settings-close-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.2s;
    z-index: 10;
}
.settings-close-icon:hover { opacity: 1; color: var(--primary-red); }

.settings-scroll-area {
    overflow-y: auto;
    flex: 1;
    padding-right: 5px;
    scrollbar-width: thin;
    scrollbar-color: #333 transparent;
}
.settings-scroll-area::-webkit-scrollbar {
    width: 3px;
}
.settings-scroll-area::-webkit-scrollbar-track {
    background: transparent;
}
.settings-scroll-area::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}
.settings-scroll-area::-webkit-scrollbar-thumb:hover {
    background: rgba(229, 9, 20, 0.5);
}

.settings-avatar-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 14px;
}

.settings-avatar-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #111;
    border: 2px solid #222;
    overflow: hidden;
    margin-bottom: 6px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.settings-avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.settings-change-text {
    font-size: 12px;
    color: var(--primary-red);
    font-weight: 700;
    cursor: pointer;
}

.settings-tg-card {
    background: #0f0f0f;
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.settings-tg-icon-wrap {
    width: 32px; height: 32px;
    background: rgba(255,0,0,0.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-red);
}
.settings-tg-icon-wrap svg { width: 18px; height: 18px; }

.settings-tg-label { font-size: 10px; color: #666; }
.settings-tg-value { font-size: 13px; font-weight: 700; color: #fff; }

.settings-menu-list {
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    padding: 4px 0;
    margin-bottom: 14px;
}

.settings-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    cursor: pointer;
}

.settings-menu-icon {
    width: 20px;
    height: 20px;
    display: flex; align-items: center; justify-content: center;
}
.settings-menu-icon svg { width: 20px; height: 20px; }
.red-fill { color: var(--primary-red); }
.gray-fill { color: #555; }

.settings-menu-text { flex: 1; }
.settings-menu-title { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.settings-menu-subtitle { font-size: 11px; color: #666; }

.settings-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    background: #333;
    padding: 4px;
    border-radius: 20px;
    transition: 0.3s;
    width: 60px;
    justify-content: space-between;
    box-sizing: border-box;
}

.settings-toggle.active {
    background: var(--primary-red);
}

.settings-toggle-label {
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    margin-left: 6px;
    display: none;
}

.settings-toggle-switch {
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
    transform: translateX(0);
}

.settings-toggle.active .settings-toggle-switch {
    transform: translateX(34px);
}

.settings-toggle-btn {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    background: #333;
    color: #888;
}
.settings-toggle-btn.active {
    background: var(--primary-red);
    color: white;
}

.settings-arrow-right {
    color: #666;
    font-size: 18px;
    font-weight: 300;
}

.settings-links-list {
    margin-bottom: 14px;
    border-bottom: 1px solid #222;
    padding-bottom: 8px;
}

.settings-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #ccc;
    transition: 0.2s;
}
.settings-link-item:hover { color: #fff; }

.settings-link-icon {
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
}
.settings-link-icon svg { width: 20px; height: 20px; }
.gray-outline { color: #666; }
.red-outline { color: var(--primary-red); }

.settings-badge-dev {
    background: rgba(255,255,255,0.1);
    color: #888;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 12px;
    border: 1px solid #444;
}

.settings-social-btn--disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.settings-coming-soon {
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 10px;
    font-weight: 500;
}

.external-reviews-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 215, 0, 0.03));
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 14px;
    margin-bottom: 25px;
}

.external-reviews-badge__icon {
    font-size: 22px;
    flex-shrink: 0;
}

.external-reviews-badge__info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.external-reviews-badge__rating {
    font-size: 20px;
    font-weight: 900;
    color: red;
}

.external-reviews-badge__stars {
    color: red ;
    font-size: 14px;
    letter-spacing: 1px;
}

.external-reviews-badge__text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1024px) {
    .hero-slider__slide { width: 70vw; height: 280px; }
    .reviews-grid, .reviews-page__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .container { padding: 0 15px; }
    .home-section { margin-bottom: 20px; }
    .home-grid { gap: 8px; }
.home-grid__item--coming { font-size: 20px; }
.home-grid__item { border-radius: 12px; }
    .header {
        flex-wrap: wrap;
        padding: 15px 0;
        margin-bottom: 20px;
        gap: 10px;
    }
    .header__search {
        order: 3;
        flex: 1 1 100%;
        max-width: 100%;
        margin: 5px 0 0;
    }
    .header__logo { font-size: 22px; }
    .header__logo-eye { width: 40px; height: 24px; }
    .header__actions { gap: 15px; }
    .header__user-btn { width: 38px; height: 38px; }

    .search-container { padding: 15px; }
    .search-header { flex-direction: column; gap: 15px; }
    .search-header__left { flex: none; max-width: 100%; width: 100%; }
    .search-header__right { width: 100%; }

    .catalog-banner { height: 220px; border-radius: 15px; }
    .catalog-header__name { font-size: 20px; }
    .product-visual { aspect-ratio: 4/3; }
    .product-main-title { font-size: 24px; }
    .product-price-block__current { font-size: 28px; }
    .product-layout { gap: 30px; }

    .hero-slider__slide { width: 85vw; height: 220px; }
    .reviews-grid, .reviews-page__grid { grid-template-columns: 1fr; }
    .money-grid { grid-template-columns: 1fr; }
    #avatarGrid { grid-template-columns: repeat(2, 1fr); }
    .home-sections-row { grid-template-columns: 1fr; gap: 15px; }
.product-layout { grid-template-columns: 1fr; gap: 30px; }
    .catalog-controls-row { flex-direction: column; align-items: stretch; }
    .catalog-search { max-width: 100%; min-width: 0; }
    .subcategories-row { width: 100%; }
    .reviews-filters__row { flex-direction: column; align-items: stretch; }
    .filter-group { width: 100%; }
    .filter-select-wrap { width: 100%; }
    .filter-sort-select { width: 100%; }
    .reviews-toolbar { flex-direction: column; align-items: flex-start; }
    .reviews-toolbar__left { width: 100%; }
    .reviews-star-widget { border-right: none; width: 100%; padding-right: 0; justify-content: space-between; border-bottom: 1px solid var(--border-gray); padding-bottom: 15px; margin-bottom: 5px; }
    .star-icon { width: 28px; height: 28px; }
    .reviews-sort-wrap { width: 100%; justify-content: flex-end; }

    .pill { width: 100%; }
    .balance-block { flex-wrap: wrap; }
    .btn-topup { width: 100%; }

    .profile-header-text { font-size: 20px; }
    .profile-header-name { font-size: 20px; }

    .toast-container { right: 15px; left: 15px; }
    .toast { min-width: 0; max-width: 100%; }

    .login-card { padding: 30px 25px; }
    .modal { margin: 10px; padding: 25px; }

    .reviews-section__title { font-size: 20px; }
    .reviews-section__big-rating { font-size: 36px; gap: 10px; }
    .reviews-section__header { flex-direction: column; gap: 10px; align-items: flex-start; }
}

@media (max-width: 480px) {
    .container { padding: 0 12px; }

    .header__logo { font-size: 18px; }
    .header__logo-eye { width: 35px; height: 20px; }
    .header__actions { gap: 10px; }
    .header__user-btn { width: 34px; height: 34px; }
    .header__support { font-size: 9px; }
    .header__support-icon { width: 18px; height: 18px; }

    .hero-slider__slide { width: 90vw; height: 180px; }
   .home-grid { grid-template-columns: repeat(11, 1fr); gap: 4px; }
.home-grid__item--coming { font-size: 14px; }
.home-grid__item { border-radius: 8px; }
.home-section { margin-bottom: 15px; }
.home-sections-row { gap: 10px; }

.external-reviews-badge { padding: 10px 14px; gap: 8px; }
.external-reviews-badge__rating { font-size: 16px; }
.external-reviews-badge__text { font-size: 11px; }

    .catalog-banner { height: 160px; border-radius: 12px; }
    .catalog-header__name { font-size: 18px; }
    .product-visual { aspect-ratio: 4/3; border-radius: 6px; }
    .product-main-title { font-size: 20px; }
    .product-price-block__current { font-size: 24px; }
    .product-price-block { gap: 10px; flex-wrap: wrap; }

    .login-card { padding: 25px 15px; border-radius: 20px; }
    .login-overlay { align-items: flex-start; padding: 15px; }
    .modal { border-radius: 20px; padding: 20px; }

    .reviews-section__big-rating { font-size: 32px; }
    .reviews-summary__value { font-size: 36px; }

    .profile-header-text { font-size: 18px; }
    .profile-header-name { font-size: 18px; }
}

@media (max-width: 600px) {
    .rating-buttons { flex-wrap: wrap; }
}

.auth-email-btn {
    width: 100%;
    height: 50px;
    border-radius: 14px;
    border: 1px solid var(--border-gray);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
    margin-bottom: 5px;
}
.auth-email-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-red);
}
.auth-email-btn svg { stroke: var(--primary-red); }


.auth-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.auth-cooldown-msg {
    text-align: center;
    font-size: 13px;
    color: #888;
    background: rgba(255,255,255,0.04);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 8px 14px;
}

.auth-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.auth-input-group label {
    font-size: 12px;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-input {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border-radius: 12px;
    border: 1px solid var(--border-gray);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-white);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    box-sizing: border-box;
    margin-bottom: 15px;
}
.auth-input:focus {
    border-color: var(--primary-red);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.12);
}
.auth-input::placeholder { color: #444; }

.auth-password-wrap {
    position: relative;
}
.auth-password-wrap .auth-input {
    padding-right: 45px;
}
.auth-eye-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #555;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}
.auth-eye-btn:hover { color: var(--text-white); }

.auth-submit-btn {
    width: 100%;
    height: 50px;
    border-radius: 14px;
    border: none;
    background: var(--primary-red);
    color: white;
    font-size: 15px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.25);
}
.auth-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(255, 0, 0, 0.35);
}
.auth-submit-btn:active {
    transform: scale(0.98);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
}
.auth-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.auth-link {
    color: var(--primary-red);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: opacity 0.2s;
}
.auth-link:hover { opacity: 0.8; }

.auth-back {
    color: #666;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
    width: fit-content;
    margin-bottom: 15px;
}
.auth-back svg { flex-shrink: 0; }
.auth-back:hover { color: var(--text-white); }

.auth-verify-icon {
    display: flex;
    justify-content: center;
    opacity: 0.85;
}

.auth-verify-title {
    font-size: 18px;
    font-weight: 800;
    text-align: center;
color: red;
}

.auth-verify-subtitle {
    color: #888;
    font-size: 13px;
    text-align: center;
    line-height: 1.6;
}
.auth-verify-subtitle strong { color: var(--primary-red); }

.auth-links {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
}
.auth-links a {
    color: var(--primary-red);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}
.auth-links a:hover { opacity: 0.7; }

.auth-register-link {
    color: #666;
    font-size: 13px;
    text-align: center;
}
.auth-register-link a {
    color: var(--primary-red);
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s;
}
.auth-register-link a:hover { opacity: 0.7; }

.auth-subtitle {
    color: #888;
    font-size: 14px;
    text-align: center;
    line-height: 1.5;
}
.auth-subtitle b { color: var(--primary-red); }

.auth-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #f87171;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 10px;
    text-align: center;
    display: none;
}

.auth-resend {
    text-align: center;
    margin-top: 6px;
    padding: 12px 0 4px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.auth-timer {
    display: inline-block;
    color: #777;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255,255,255,0.04);
    border: 1px solid #2a2a2a;
    border-radius: 20px;
    padding: 5px 14px;
    letter-spacing: 0.3px;
}
.auth-resend a {
    color: var(--primary-red);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s;
}
.auth-resend a:hover { opacity: 0.75; }

.code-inputs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 6px 0 16px;
}
.code-input {
    width: 48px;
    height: 58px;
    text-align: center;
    font-size: 24px;
    font-weight: 900;
    border-radius: 14px;
    border: 2px solid var(--border-gray);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-white);
    outline: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    font-family: 'Courier New', monospace;
    caret-color: var(--primary-red);
}
.code-input:focus {
    border-color: var(--primary-red);
    background: rgba(255, 0, 0, 0.04);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.12);
}
.code-inputs--complete .code-input {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.05);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

@media (max-width: 480px) {
    .code-input {
        width: 42px;
        height: 50px;
        font-size: 20px;
        border-radius: 10px;
    }
    .code-inputs { gap: 5px; }
    .login-card { padding: 25px 20px 30px; }
}

.pwd-strength {
    display: none;
    margin-top: 4px;
}

.pwd-strength__bar {
    height: 4px;
    background: #222;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.pwd-strength__fill {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: width 0.3s ease, background 0.3s ease;
}

.pwd-strength__fill--weak { background: #ef4444; }
.pwd-strength__fill--medium { background: #f59e0b; }
.pwd-strength__fill--good { background: #84cc16; }
.pwd-strength__fill--strong { background: #22c55e; }

.pwd-strength__rules {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pwd-rule {
    font-size: 11px;
    font-weight: 600;
    color: #555;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.pwd-rule__icon {
    font-size: 10px;
    width: 14px;
    text-align: center;
}

.pwd-rule--pass {
    color: #22c55e;
}

.pwd-rule--fail {
    color: #555;
}

.pwd-match {
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
    display: none;
}

.pwd-match--ok {
    color: #22c55e;
}

.pwd-match--fail {
    color: #ef4444;
}

.auth-tg-section {
    position: relative;
    min-height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.auth-tg-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 13px;
    padding: 10px 0;
}

.auth-tg-loading .spinner {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

.auth-spam-hint {
    text-align: center;
    font-size: 12px;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 8px;
    padding: 8px 14px;
    margin-bottom: 15px;
}

.settings-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.settings-page-title {
    font-size: 24px;
    font-weight: 800;
}

.settings-close-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: 0.2s;
}
.settings-close-btn:hover {
    background: var(--primary-red);
}

.settings-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid #222;
    border-radius: 24px;
    padding: 30px 25px;
    max-width: 500px;
}

.settings-avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
    gap: 8px;
}

.settings-avatar-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    background: #111;
}

.settings-change-photo {
    font-size: 12px;
    color: var(--primary-red);
    font-weight: 700;
    cursor: pointer;
}

.settings-group {
    margin-bottom: 5px;
}

.settings-divider {
    height: 1px;
    background: #222;
    margin: 10px 0;
}

.settings-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    cursor: default;
}

.settings-link {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}
.settings-link:hover {
    opacity: 0.8;
}

.settings-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,100,255,0.1);
    color: #4a9eff;
    flex-shrink: 0;
}
.settings-icon-box svg {
    width: 20px;
    height: 20px;
}
.settings-icon-box--red {
    background: rgba(255,0,0,0.1);
    color: var(--primary-red);
}
.settings-icon-box--gray {
    background: rgba(255,255,255,0.05);
    color: #888;
}
.settings-icon-box--red-outline {
    background: transparent;
    border: 1px solid var(--primary-red);
    color: var(--primary-red);
}

.settings-info {
    flex: 1;
    min-width: 0;
}

.settings-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.settings-value {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.settings-label-big {
    font-size: 14px;
    font-weight: 700;
}

.settings-sublabel {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.settings-arrow {
    color: #555;
    font-size: 22px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s;
    flex-shrink: 0;
}
.settings-arrow:hover {
    color: var(--primary-red);
}

.settings-badge-on {
    font-size: 11px;
    font-weight: 700;
    color: #22c55e;
    background: rgba(34,197,94,0.1);
    padding: 4px 10px;
    border-radius: 20px;
    flex-shrink: 0;
}

.settings-badge-off {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    background: rgba(255,255,255,0.05);
    padding: 4px 10px;
    border-radius: 20px;
    flex-shrink: 0;
    cursor: pointer;
    transition: 0.2s;
}
.settings-badge-off:hover {
    color: var(--primary-red);
    background: rgba(255,0,0,0.08);
}

.settings-link-text {
    font-size: 14px;
    font-weight: 600;
}

.settings-text-red {
    color: var(--primary-red);
}

.settings-link-form {
    padding: 15px 0 5px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.settings-form-desc {
    color: #888;
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

.settings-tg-widget {
    display: flex;
    justify-content: center;
    min-height: 50px;
    align-items: center;
}

.settings-tg-widget iframe {
    filter: hue-rotate(170deg) saturate(5) brightness(0.75) contrast(1.4);
}

.settings-row--disabled {
    opacity: 0.4;
    pointer-events: none;
}

.settings-footer {
    text-align: center;
    margin-top: 12px;
    padding-top: 8px;
}

.settings-footer-text {
    font-size: 11px;
    color: #444;
    margin-bottom: 6px;
}

.settings-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.settings-social-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--primary-red);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    background: transparent;
    transition: 0.2s;
    text-decoration: none;
}
.settings-social-btn:hover {
    background: var(--primary-red);
    color: white;
}
.settings-social-btn svg {
    width: 18px;
    height: 18px;
}
/* ===== Навигация: хлебные крошки, нижнее меню, «наверх» ===== */
.crumbs { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; min-width: 0; }
.crumbs__back {
    flex: 0 0 36px; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); color: #ddd; transition: 0.2s;
}
.crumbs__back:hover { color: #fff; border-color: rgba(229,9,20,0.5); background: rgba(229,9,20,0.12); }
.crumbs__list { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 0; list-style: none; min-width: 0; font-size: 14px; font-weight: 600; }
.crumbs__item { display: inline-flex; align-items: center; min-width: 0; color: var(--text-gray); }
.crumbs__item + .crumbs__item::before { content: '›'; margin: 0 10px; color: #55555a; font-size: 16px; }
.crumbs__item a { transition: color 0.2s; }
.crumbs__item a:hover { color: #fff; }
.crumbs__item--current { color: var(--text-white); }
.crumbs__item--current span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.bottom-nav { display: none; }
.to-top {
    position: fixed; right: 24px; bottom: 24px; z-index: 900; width: 46px; height: 46px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.1);
    background: rgba(28,28,30,0.9); backdrop-filter: blur(8px); color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.5); transition: 0.2s;
}
.to-top:hover { border-color: rgba(229,9,20,0.6); color: var(--primary-red); }
.to-top[hidden] { display: none; }

@media (max-width: 768px) {
    .crumbs { margin-bottom: 14px; }
    .crumbs__item { display: none; }
    .crumbs__item--parent { display: inline-flex; font-size: 15px; color: var(--text-white); }
    .crumbs__item + .crumbs__item::before { content: none; }

    body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
    .bottom-nav {
        display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
        padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: rgba(12,12,13,0.94); backdrop-filter: blur(14px);
        border-top: 1px solid rgba(255,255,255,0.07);
    }
    .bottom-nav__item {
        display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; border: 0; background: none;
        color: #8a8a90; font: 600 11px 'Montserrat', sans-serif; border-radius: 12px; transition: color 0.2s;
    }
    .bottom-nav__item.active { color: #fff; }
    .bottom-nav__item.active svg { color: var(--primary-red); }
    .to-top { right: 16px; bottom: calc(80px + env(safe-area-inset-bottom)); width: 42px; height: 42px; }
}

/* ===== Главная: заголовки секций, ряды подарков, преимущества ===== */
.home-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.home-section__title { font-size: 22px; font-weight: 800; }
.home-section__link { font-size: 14px; font-weight: 700; color: var(--text-gray); white-space: nowrap; transition: color 0.2s; }
.home-section__link:hover { color: #fff; }
.home-section[hidden] { display: none; }
.home-grid__item--category-emoji { font-size: 28px; display: flex; align-items: center; justify-content: center; height: 100%; }

.home-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 34px 0 10px; }
.home-benefit {
    display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 14px;
    padding: 18px 20px; border-radius: var(--border-radius); background: var(--card-bg); border: 1px solid rgba(255,255,255,0.05);
}
.home-benefit__icon {
    grid-row: span 2; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 14px; background: rgba(229,9,20,0.12); color: #ff6b72; font-size: 20px; font-weight: 800;
}
.home-benefit b { font-size: 15px; font-weight: 700; }
.home-benefit span:last-child { font-size: 13px; color: var(--text-gray); line-height: 1.35; }
@media (max-width: 900px) { .home-benefits { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .home-section__title { font-size: 18px; } .home-benefit { padding: 14px 16px; } }

/* ===== Подвал ===== */
.footer { margin-top: 60px; padding-top: 34px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer__main { display: grid; grid-template-columns: minmax(0, 2fr) 1fr 1fr; gap: 30px; }
.footer__logo { font-size: 24px; font-weight: 900; letter-spacing: 0.5px; }
.footer__logo span { color: var(--primary-red); }
.footer__about { margin-top: 10px; max-width: 420px; font-size: 13px; line-height: 1.5; color: var(--text-gray); }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__col a { color: var(--text-gray); transition: color 0.2s; }
.footer__col a:hover { color: #fff; }
.footer__col-title { font-weight: 700; color: var(--text-white); }
.footer__bottom {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    margin-top: 28px; padding: 18px 0 30px; border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 12px; color: #6d6d73;
}
@media (max-width: 768px) {
    .footer { margin-top: 40px; }
    .footer__main { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer__brand { grid-column: 1 / -1; }
    .footer__bottom { padding-bottom: 20px; }
}

/* Липкая шапка: остаётся под рукой при длинных списках */
.header { position: sticky; top: 0; z-index: 940; background: rgba(10,10,10,0.82); backdrop-filter: blur(14px); transition: padding 0.2s ease; }
.header.is-stuck { padding: 14px 0; }
@media (max-width: 768px) { .header { position: static; backdrop-filter: none; background: transparent; } }

/* ===== Значок раздела: звёзды/Premium/TON - каждый своим цветом ===== */
.pay-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 2px; }
.pay-head__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.pay-head__icon--star { background: rgba(255,176,32,0.14); color: #ffc64d; }
.pay-head__icon--premium { background: rgba(155,123,255,0.14); color: #b9a3ff; }
.pay-head__icon--ton { background: rgba(0,152,234,0.14); color: #4db8f0; }

/* ===== Покупка звёзд Telegram ===== */
.stars-panel { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 24px; align-items: start; }
.stars-panel[hidden] { display: none; }
.stars-panel__form { padding: 26px; border-radius: var(--border-radius); background: var(--card-bg); border: 1px solid rgba(255,255,255,0.05); }
.stars-panel__title { font-size: 26px; font-weight: 900; }
.stars-panel__subtitle { margin-top: 6px; font-size: 14px; color: var(--text-gray); }
.stars-field { display: block; margin-top: 18px; }
.stars-field__label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; color: var(--text-gray); }
.stars-field__label--row { margin-top: 18px; }
.stars-field input {
    width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid transparent;
    background: rgba(255,255,255,0.05); color: #fff; font: 700 16px 'Montserrat', sans-serif; outline: none; transition: border-color 0.2s;
}
.stars-field input::placeholder { color: #5c5c62; font-weight: 500; }
.stars-field input:focus { border-color: rgba(255,176,32,0.65); }
.stars-presets { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.stars-preset {
    height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.04);
    color: #d6d6db; font: 700 14px 'Montserrat', sans-serif; transition: 0.2s;
}
.stars-preset:hover { color: #fff; border-color: rgba(255,176,32,0.4); }
.stars-preset.active { background: rgba(255,176,32,0.16); border-color: rgba(255,176,32,0.7); color: #ffc64d; }
.stars-panel__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 24px; }
.stars-panel__total span { color: var(--text-gray); font-weight: 600; }
.stars-panel__total b { font-size: 30px; font-weight: 900; }
.stars-panel__buy {
    width: 100%; height: 54px; margin-top: 14px; border: 0; border-radius: 16px;
    background: linear-gradient(135deg, #ffb020, #e08a00); color: #241800; font-size: 16px; font-weight: 800;
}
.stars-panel__buy:disabled { opacity: 0.6; cursor: not-allowed; }
.stars-panel__note { margin-top: 10px; font-size: 12px; color: #6d6d73; }
.stars-panel__note b { color: #ffc64d; }
.stars-panel__steps { display: grid; gap: 10px; list-style: none; counter-reset: step; }
.stars-panel__steps li {
    counter-increment: step; display: grid; grid-template-columns: 34px 1fr; align-items: center; column-gap: 14px;
    padding: 18px 20px; border-radius: var(--border-radius); background: var(--card-bg); border: 1px solid rgba(255,255,255,0.05);
}
.stars-panel__steps li::before {
    content: counter(step); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,176,32,0.15); color: #ffc64d; font-size: 14px; font-weight: 800;
}
.stars-panel__steps b { font-size: 15px; }
.stars-panel__steps span { font-size: 13px; color: var(--text-gray); }
@media (max-width: 900px) { .stars-panel { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
    .stars-panel__form { padding: 18px; }
    .stars-presets { grid-template-columns: repeat(3, 1fr); }
    .stars-panel__title { font-size: 22px; }
}

/* Баннеры-SVG: текст слева, поэтому на узких экранах прижимаем картинку к левому краю */
.hero-slider__slide img[src$=".svg"] { object-position: left center; }

/* ===== Поиск: подарки рядом с разделами ===== */
.search-section-title { grid-column: 1 / -1; margin: 6px 0 10px; font-size: 13px; font-weight: 700; color: var(--text-gray); }
.search-section-title + .search-panel__grid { margin-bottom: 22px; }
.search-gifts { grid-column: 1 / -1; display: grid; gap: 6px; }
.search-gift {
    display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px;
    padding: 8px 12px 8px 8px; border-radius: 14px; background: rgba(255,255,255,0.03);
    border: 1px solid transparent; transition: 0.2s;
}
.search-gift:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
.search-gift img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.search-gift__name { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-gift__name b { color: var(--text-gray); font-weight: 600; }
.search-gift__model { grid-column: 2; grid-row: 2; font-size: 12px; color: var(--text-gray); }
.search-gift__price { grid-row: span 2; font-size: 15px; font-weight: 800; white-space: nowrap; }
.subcategory-chip__icon { width: 20px; height: 20px; border-radius: 6px; object-fit: cover; }

/* ===== Telegram Premium ===== */
.premium-panel { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 24px; align-items: start; }
.premium-panel[hidden] { display: none; }
.premium-panel__form { padding: 26px; border-radius: var(--border-radius); background: var(--card-bg); border: 1px solid rgba(255,255,255,0.05); }
.premium-panel__title { font-size: 26px; font-weight: 900; }
.premium-panel__subtitle { margin-top: 6px; font-size: 14px; color: var(--text-gray); max-width: 460px; }
.premium-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.premium-plan {
    display: flex; flex-direction: column; gap: 2px; padding: 14px; text-align: left;
    border-radius: 16px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.04);
    color: #d6d6db; font-family: 'Montserrat', sans-serif; transition: 0.2s;
}
.premium-plan:hover { border-color: rgba(155,123,255,0.5); color: #fff; }
.premium-plan.active { background: rgba(155,123,255,0.14); border-color: rgba(155,123,255,0.8); color: #fff; }
.premium-plan__months { font-size: 15px; font-weight: 800; }
.premium-plan__price { font-size: 17px; font-weight: 900; }
.premium-plan__parts { font-size: 11px; font-weight: 700; color: #9A9A9A; }
.premium-plan__per-month { margin-top: 2px; font-size: 11px; color: var(--text-gray); }
.premium-panel__buy {
    width: 100%; height: 54px; margin-top: 14px; border: 0; border-radius: 16px;
    background: linear-gradient(135deg, #9b7bff, #5b3fd6); color: #fff; font-size: 16px; font-weight: 800;
}
.premium-panel__buy:disabled { opacity: 0.6; cursor: not-allowed; }
@media (max-width: 900px) { .premium-panel { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
    .premium-panel__form { padding: 18px; }
    .premium-plans { grid-template-columns: repeat(2, 1fr); }
    .premium-panel__title { font-size: 22px; }
}

/* ===== Пополнение TON: своя палитра поверх .stars-panel (голубая, не золотая) ===== */
#tonPanel .stars-preset:hover { border-color: rgba(0,152,234,0.4); }
#tonPanel .stars-preset.active { background: rgba(0,152,234,0.16); border-color: rgba(0,152,234,0.7); color: #4db8f0; }
#tonPanel .stars-field input:focus { border-color: rgba(255,255,255,0.3); }
#tonPanel .stars-panel__buy { background: linear-gradient(135deg, #0098ea, #0071b3); color: #fff; }
#tonPanel .stars-panel__note b { color: #4db8f0; }
#tonPanel .stars-panel__steps li::before { background: rgba(0,152,234,0.15); color: #4db8f0; }

.footer__note a { color: var(--text-gray); text-decoration: underline; text-underline-offset: 2px; }
.footer__note a:hover { color: #fff; }

/* 27.09: подсказка «куда придёт» под полем TON: кошелёк или баланс Gram в Telegram */
.stars-field__hint { display: block; margin-top: 6px; font-size: 12px; line-height: 1.4; color: var(--text-gray, #8A8A8A); }
