/* ============================================= */
/* PSN STORE — ПОЛНЫЕ СТИЛИ                      */
/* ============================================= */

/* ============================================= */
/* 1. КОНТЕЙНЕР ЭКРАНА — ПОЛНЫЙ ЭКРАН           */
/* ============================================= */

.psn-page {
    display: none;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0 16px 100px 16px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

#screen-psn-store {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    display: none;
    flex-direction: column;
    background: radial-gradient(circle at 30% 10%, #1a1a2e, #0b0b0f 80%);
    z-index: 100;
    overflow: hidden;
}

#screen-psn-store.active {
    display: flex;
}

/* ============================================= */
/* 2. ВЕРХНЯЯ ПАНЕЛЬ                            */
/* ============================================= */

.psn-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px 8px 16px;
    flex-shrink: 0;
    background: transparent;
    z-index: 10;
    min-height: 52px;
}

.psn-header .back-btn {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: #FAF8F6;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    min-width: 36px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.psn-header-center {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: center;
}

.psn-logo {
    color: #FAF8F6;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.3px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.psn-region {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.06);
    padding: 4px 12px;
    border-radius: 20px;
}

/* ============================================= */
/* МОДАЛЬНОЕ ОКНО ВЫБОРА РЕГИОНА                */
/* ============================================= */

.psn-region-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: psnFadeIn 0.3s ease;
}

.psn-region-modal-overlay.active {
    display: flex;
}

@keyframes psnFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.psn-region-modal {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 28px;
    padding: 28px 24px 32px 24px;
    max-width: 400px;
    width: 92%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transform: scale(0.95);
    animation: psnModalPop 0.3s ease forwards;
}

@keyframes psnModalPop {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===== ЗАГОЛОВОК МОДАЛЬНОГО ОКНА ===== */
.psn-region-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.psn-region-modal-title {
    color: #FAF8F6;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.psn-region-modal-close {
    background: rgba(255, 255, 255, 0.06);
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 20px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.psn-region-modal-close:active {
    background: rgba(255, 255, 255, 0.12);
    color: #FAF8F6;
}

/* ===== КОНТЕЙНЕР ПЛАШЕК ===== */
.psn-region-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ===== ПЛАШКА РЕГИОНА ===== */
.psn-region-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-radius: 14px;
    border: none;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    width: 100%;
    text-align: left;
    position: relative;
    min-height: 64px;
}

.psn-region-option:active {
    transform: scale(0.98);
}

.psn-region-option-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* ===== ФЛАГ ===== */
.psn-region-option-flag {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ===== НАЗВАНИЕ РЕГИОНА ===== */
.psn-region-option-name {
    color: #FAF8F6;
    font-size: 17px;
    font-weight: 600;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ===== ГАЛОЧКА ===== */
.psn-region-option-check {
    color: rgba(255, 255, 255, 0.15);
    font-size: 18px;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.psn-region-option.active .psn-region-option-check {
    opacity: 1;
    color: #4ecdc4;
}

/* ===== АКТИВНОЕ СОСТОЯНИЕ ===== */
.psn-region-option.active {
    background: rgba(255, 255, 255, 0.08);
}

.psn-region-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.region-planet {
    width: 28px;
    height: 28px;
    display: block;
}

.region-flag {
    position: absolute;
    bottom: -2px;
    left: -2px;
    width: 20px;
    height: 20px;
}

/* ============================================= */
/* 3. КОНТЕЙНЕР СТРАНИЦ                         */
/* ============================================= */

.psn-pages {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.psn-page {
    display: none;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0 16px 80px 16px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.psn-page.active {
    display: block;
}

.psn-page-content {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding-bottom: 20px;
}

/* ============================================= */
/* НИЖНЯЯ НАВИГАЦИЯ                             */
/* ============================================= */

.psn-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: rgba(11, 11, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 8px 0 6px 0;
    z-index: 20;
    min-height: 120px;
    transition: min-height 0.3s ease;
}

.psn-nav-btn-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 44px;
    flex-shrink: 0;
}

.psn-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 0;
    flex: 1;
    min-height: 36px;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

.psn-nav-icon-wrapper {
    position: relative;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.psn-nav-icon {
    width: 28px;
    height: 28px;
    display: block;
}

/* ===== ИКОНКИ НАВИГАЦИИ ===== */
.psn-nav-icon-path {
    fill: rgba(255, 255, 255, 0.3);
    stroke: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.psn-nav-btn.active .psn-nav-icon-path {
    fill: url(#gradHome);
    stroke: url(#gradHome);
}

.psn-nav-btn[data-page="profile"].active .psn-nav-icon-path {
    fill: #FFFFFF;
    stroke: #FFFFFF;
}

/* ===== CTA КНОПКА ===== */
.psn-action-btn {
    display: none;
    width: calc(100% - 32px);
    max-width: 528px;
    height: 52px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    padding: 0;
    margin: 0 auto 4px auto;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.08),
        inset 0 -2px 4px rgba(0, 0, 0, 0.20);
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.psn-action-btn[style*="display: flex"] {
    display: flex;
}

/* STATE 1 */
.psn-action-btn[data-state="add"] {
    background: #565656;
    background-image: linear-gradient(to right, #565656 0%, #565656 20%, #FF3131 20%, #FF0000 100%);
    flex-direction: row;
    align-items: stretch;
}

.psn-action-btn[data-state="add"] .btn-segment-left {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20%;
    height: 100%;
    flex-shrink: 0;
    background: transparent;
}

.psn-action-btn[data-state="add"] .btn-icon-cart {
    display: block;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    object-fit: contain;
}

.psn-action-btn[data-state="add"] .btn-segment-right {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    height: 100%;
    flex-shrink: 0;
    background: transparent;
}

.psn-action-btn[data-state="add"] .btn-text {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    text-align: center;
    white-space: nowrap;
}

/* STATE 2 */
.psn-action-btn[data-state="view"] {
    background: #14A900;
    align-items: center;
    justify-content: center;
}

.psn-action-btn[data-state="view"] .btn-text-center {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.20);
    text-align: center;
    white-space: nowrap;
}

/* STATE 3 */
.psn-action-btn[data-state="pay"] {
    background: linear-gradient(135deg, #906bf9, #0070fb);
    align-items: center;
    justify-content: center;
}

.psn-action-btn[data-state="pay"] .btn-text-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.psn-action-btn[data-state="pay"] .btn-icon-sbp {
    display: block;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    object-fit: contain;
}

.psn-action-btn:active {
    transform: scale(0.97);
    opacity: 0.92;
}

/* ===== БЕЙДЖ ===== */
.psn-cart-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: #ff3b30;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    transition: all 0.2s ease;
    z-index: 10;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.psn-cart-badge.hidden {
    opacity: 0;
    transform: scale(0.5);
    pointer-events: none;
}

/* ============================================= */
/* 5. БАННЕР-СЛАЙДЕР (БЕСКОНЕЧНЫЙ)               */
/* ============================================= */

.banner-slider {
    position: relative;
    width: 100%;
    height: 330px;
    margin-bottom: 20px;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: pan-y;
    background: transparent;
    perspective: 1200px;
    perspective-origin: 50% 50%;
}

.banner-track {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 12px;
    padding: 0 12px;
    will-change: transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.banner-item-wrapper {
    flex: 0 0 200px;
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    background: transparent;
}

.banner-slide {
    position: relative;
    width: 200px;
    height: 310px;
    border-radius: 12px;
    overflow: visible;
    flex-shrink: 0;
    background: transparent;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    box-shadow: none;
    /* УБИРАЕМ ТЕНЬ С КАРТОЧКИ */
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        filter 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.banner-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    position: relative;
    z-index: 1;
    backface-visibility: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.30);
    /* ТЕНЬ ТОЛЬКО НА ИЗОБРАЖЕНИИ */
}

.banner-text-overlay {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) translateZ(5px);
    z-index: 5;
    text-align: center;
    pointer-events: none;
    backface-visibility: hidden;
    width: 90%;
    background: transparent;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.banner-text-title {
    display: block;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.2px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: transparent;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ===== СОСТОЯНИЯ — ТЕНЬ ТОЛЬКО НА ИЗОБРАЖЕНИИ ===== */
.banner-slide.hidden .banner-image {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
}

.banner-slide.left .banner-image,
.banner-slide.right .banner-image {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.20);
}

.banner-slide.active .banner-image {
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.35);
}

.banner-slide.hidden {
    transform: scale(0.6) rotateY(0deg) translateZ(-50px);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
    filter: brightness(0.2) saturate(0.3);
}

.banner-slide.left {
    transform: scale(0.85) rotateY(28deg) translateX(-8px) translateZ(0px);
    opacity: 0.7;
    z-index: 1;
    filter: brightness(0.75) saturate(0.7);
    transform-origin: center right;
}

.banner-slide.active {
    transform: scale(1) rotateY(0deg) translateZ(0px);
    opacity: 1;
    z-index: 3;
    filter: brightness(1) saturate(1);
    transform-origin: center center;
}

.banner-slide.right {
    transform: scale(0.85) rotateY(-28deg) translateX(8px) translateZ(0px);
    opacity: 0.7;
    z-index: 1;
    filter: brightness(0.75) saturate(0.7);
    transform-origin: center left;
}

/* ===== УБИРАЕМ СТАРЫЙ OVERLAY ===== */
.banner-slide::after {
    display: none;
}

/* ===== ЛЁГКИЙ БЛИК НА АКТИВНОЙ ===== */
.banner-slide.active::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.04) 0%,
            transparent 30%,
            transparent 70%,
            rgba(0, 0, 0, 0.10) 100%);
}

/* ===== ДРАГ ===== */
.banner-slider.dragging .banner-track {
    transition: none !important;
}

.banner-slider.dragging .banner-slide {
    transition: none !important;
}

/* ============================================= */
/* 6. КАТЕГОРИИ                                  */
/* ============================================= */

/* ============================================= */
/* psn.css — КАРТОЧКИ ИГР В КАТЕГОРИЯХ (ОБНОВЛЕННЫЕ) */
/* ============================================= */

/* ===== БЛОК КАТЕГОРИИ ===== */
.psn-category-block {
    margin-bottom: 28px;
    width: 100%;
}

.psn-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 0 2px;
}

.psn-category-title {
    color: #FAF8F6;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.psn-category-show-all {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 6px 10px;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s ease;
    border-radius: 6px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.psn-category-show-all:active {
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.04);
}

/* ===== КОНТЕЙНЕР СЛАЙДЕРА ===== */
.psn-category-scroll-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.psn-category-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 4px 16px 4px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-user-select: none;
    user-select: none;
}

.psn-category-scroll::-webkit-scrollbar {
    display: none;
}

.psn-category-scroll.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.psn-category-scroll.dragging .psn-product-card {
    pointer-events: none;
}

/* ===== КАРТОЧКА ИГРЫ (ПРОЗРАЧНЫЙ ФОН) ===== */
.psn-product-card {
    flex: 0 0 160px;
    width: 160px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    overflow: visible;
}

.psn-product-card:active {
    transform: scale(0.96);
}

.psn-product-card-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* ===== КАРТОЧКА ИГРЫ ===== */
.psn-product-card {
    flex: 0 0 160px;
    width: 160px;
    max-width: 160px;
    min-width: 160px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    overflow: visible;
}

/* ===== ИЗОБРАЖЕНИЕ ===== */
.psn-product-card-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    background: #0b0b0f;
    overflow: hidden;
    display: block;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.psn-product-card-image img,
.psn-product-card-image .psn-product-card-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.psn-product-card-image span {
    color: rgba(255, 255, 255, 0.2);
}

/* ===== ИНФОРМАЦИЯ ===== */
.psn-product-card-info {
    padding: 10px 4px 4px 4px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

/* ===== НАЗВАНИЕ ===== */
.psn-product-card-title {
    color: #FAF8F6;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    /* УБИРАЕМ min-height: 36px; */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ===== ЖАНР (ПЛАШКА) ===== */
.psn-product-card-genre {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 500;
    padding: 2px 10px;
    border-radius: 4px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    align-self: flex-start;
    margin-top: 2px;
}

/* ===== ПЛАТФОРМА ===== */
.psn-product-card-platform {
    color: rgba(255, 255, 255, 0.25);
    font-size: 10px;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    /* УБИРАЕМ margin-top: 1px; */
    min-height: 14px;
}

/* ===== ЦЕНА (НОВАЯ СТРУКТУРА) ===== */
.psn-product-card-price-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
    position: relative;
}

.psn-product-card-price {
    color: #FAF8F6;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.2px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ===== СТАРАЯ ЦЕНА (КРАСНАЯ, НИЖЕ) ===== */
.psn-product-card-old-price {
    color: #FF4444;
    font-size: 12px;
    font-weight: 500;
    text-decoration: line-through;
    text-decoration-color: #FF4444;
    text-decoration-thickness: 0.1px;
    display: block;
    width: 100%;
    margin-top: -2px;
}

/* ===== ПЛАШКА СКИДКИ (СРАЗУ СПРАВА ОТ ЦЕНЫ) ===== */
.psn-product-card-discount {
    display: inline-block;
    background: linear-gradient(135deg, #8B5CF6, #6366F1, #4F46E5);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 4px;
    border-radius: 3.6px;
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.15);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ===== ТАЙМЕР ===== */
.psn-product-card-timer {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 11px;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.psn-product-card-timer svg {
    width: 12px;
    height: 12px;
    stroke: rgba(255, 255, 255, 0.3);
}

/* ===== ТИПЫ КАРТОЧЕК ===== */
.psn-product-card[data-type="giftcard"] .psn-product-card-image {
    background: rgba(255, 215, 0, 0.06);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.1);
}

.psn-product-card[data-type="giftcard"] .psn-product-card-platform {
    color: rgba(255, 215, 0, 0.4);
}

.psn-product-card[data-type="currency"] .psn-product-card-image {
    background: rgba(100, 80, 255, 0.06);
    box-shadow: 0 4px 20px rgba(100, 80, 255, 0.1);
}

.psn-product-card[data-type="currency"] .psn-product-card-platform {
    color: rgba(100, 80, 255, 0.4);
}

/* ===== СОСТОЯНИЕ ПРИ НАВЕДЕНИИ ===== */
@media (hover: hover) {
    .psn-product-card:hover {
        transform: translateY(-4px);
    }

    .psn-product-card:hover .psn-product-card-image {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    }
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 480px) {
    .psn-product-card {
        flex: 0 0 140px;
        width: 140px;
    }

    .psn-product-card-title {
        font-size: 13px;
        min-height: 32px;
    }

    .psn-product-card-price {
        font-size: 14px;
    }

    .psn-category-title {
        font-size: 16px;
    }

    .psn-product-card-image {
        border-radius: 12px;
    }

    .psn-product-card-discount {
        font-size: 10px;
        padding: 2px 8px;
    }
}

/* ============================================= */
/* 7. КАРТОЧКИ ТОВАРОВ (НОВЫЙ ДИЗАЙН)           */
/* ============================================= */

.psn-product-card {
    flex: 0 0 140px;
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
    cursor: pointer;
    transition: transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    display: flex;
    flex-direction: column;
    min-height: 180px;
}

.psn-product-card:active {
    transform: scale(0.97);
}

.psn-product-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    aspect-ratio: 16/9;
}

.psn-product-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.psn-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== СКИДКА НА КАРТОЧКЕ (ПРИВЯЗАНА) ===== */
.psn-product-discount {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #8B5CF6, #6366F1);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

/* ===== ИНФОРМАЦИЯ ПОД ПОСТЕРОМ ===== */
.psn-product-info {
    width: 100%;
    padding: 6px 2px 0 2px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.psn-product-title {
    color: #FAF8F6;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    min-height: 34px;
}

.psn-product-subtitle {
    color: rgba(255, 255, 255, 0.35);
    font-size: 10px;
    font-weight: 400;
}

.psn-product-price {
    color: #FAF8F6;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin-top: 2px;
}

/* ============================================= */
/* 8. ПОИСК (ЗАГОТОВКА)                         */
/* ============================================= */

.psn-search-bar {
    margin-bottom: 16px;
    padding-top: 4px;
}

.psn-search-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #FAF8F6;
    font-size: 16px;
    font-weight: 400;
    outline: none;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    -webkit-appearance: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.psn-search-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.psn-search-input:focus {
    border-color: rgba(255, 255, 255, 0.20);
}

.psn-search-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.psn-search-cat-btn {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.psn-search-cat-btn:active {
    background: rgba(255, 255, 255, 0.08);
}

.psn-search-cat-btn.active {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.20);
    color: #FAF8F6;
}

.psn-search-results {
    min-height: 100px;
}

/* ============================================= */
/* 9. ПРОФИЛЬ (ЗАГОТОВКА)                       */
/* ============================================= */



/* ============================================= */
/* 11. ПЛЕЙСХОЛДЕРЫ                             */
/* ============================================= */

.psn-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 16px;
    text-align: center;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    padding: 40px 20px;
}

.psn-placeholder p {
    margin: 4px 0;
}

/* ============================================= */
/* 12. КНОПКИ ВОЗВРАТА                          */
/* ============================================= */

.psn-back-to-home-btn,
.psn-back-to-shop-btn {
    margin-top: 16px;
    padding: 12px 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: #FAF8F6;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.psn-back-to-home-btn:active,
.psn-back-to-shop-btn:active {
    background: rgba(255, 255, 255, 0.05);
}

/* ============================================= */
/* 13. ПОДПИСКИ (СТАТИЧНЫЙ БЛОК)                */
/* ============================================= */
/* ============================================= */
/* БЛОК ПОДПИСОК (СТАТИЧНЫЙ, НЕ СЛАЙДЕР)        */
/* ============================================= */

.psn-subscriptions-block {
    margin-bottom: 28px;
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    background: transparent;
}

/* ===== ЗАГОЛОВОК ===== */
.psn-subscriptions-block .psn-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 0 2px;
}

.psn-subscriptions-block .psn-category-title {
    color: #FAF8F6;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ===== ВЕРХНИЕ ТАБЫ (РАСТЯНУТЫ НА ВСЮ ШИРИНУ) ===== */
.psn-sub-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    width: 100%;
}

.psn-sub-tab {
    flex: 1;
    padding: 10px 16px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

.psn-sub-tab:active {
    transform: scale(0.97);
}

.psn-sub-tab.active {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.25);
    color: #FAF8F6;
}

/* ===== ПЕРИОДЫ (РАСТЯНУТЫ НА ВСЮ ШИРИНУ) ===== */
.psn-sub-periods {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    width: 100%;
}

.psn-sub-period {
    flex: 1;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

.psn-sub-period:active {
    transform: scale(0.97);
}

.psn-sub-period.active {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: #FAF8F6;
}

/* ===== КОНТЕНТ ===== */
.psn-sub-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

/* ============================================= */
/* БЛОК ПОДПИСОК НА ГЛАВНОЙ — УМЕНЬШАЕМ ПОСТЕРЫ */
/* ============================================= */

.psn-sub-item {
    flex: 0 0 auto;
    width: 140px;
    /* ← было 280px */
    cursor: pointer;
    transition: transform 0.2s ease;
}

.psn-sub-poster {
    width: 140px;
    /* ← было 280px */
    height: 140px;
    /* ← было 280px */
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
}

.psn-sub-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.psn-sub-info {
    margin-top: 6px;
    /* ← было 10px */
    padding: 0 4px;
}

.psn-sub-title {
    font-size: 12px;
    /* ← было 14px */
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.psn-sub-price {
    font-size: 12px;
    /* ← было 14px */
    font-weight: 700;
    color: #fff;
    margin-top: 2px;
}

.psn-sub-item:active {
    transform: scale(0.98);
}



/* ============================================= */
/* 14. ПОИСК — ПОЛНЫЙ БЛОК                       */
/* ============================================= */

/* ===== СТРОКА ПОИСКА ===== */
.psn-search-bar {
    margin-bottom: 16px;
    padding-top: 4px;
}

.psn-search-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #FAF8F6;
    font-size: 16px;
    font-weight: 400;
    outline: none;
    -webkit-appearance: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.psn-search-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.psn-search-input:focus {
    border-color: rgba(255, 255, 255, 0.20);
}

/* ===== КАТЕГОРИИ-ПЛАШКИ (В СТРОЧКУ) ===== */
.psn-search-categories-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    transition: opacity 0.3s ease, max-height 0.3s ease, margin 0.3s ease;
    max-height: 500px;
    opacity: 1;
    overflow: hidden;
}

/* Скрываем категории при поиске */
.psn-search-categories-grid.hidden {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
    pointer-events: none;
}

/* ===== КАРТОЧКА КАТЕГОРИИ (ПЛАШКА) ===== */
.psn-search-category-wrapper {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.psn-search-category-card {
    width: 100%;
    height: 60px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: none;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    display: flex;
    align-items: center;
    padding: 0 16px;
    transition: transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.psn-search-category-card:active {
    transform: scale(0.97);
}

/* ===== ОБВОДКА (ПОВЕРХ ВСЕГО) ===== */
.psn-search-category-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    z-index: 10;
    pointer-events: none;
    padding: 1px;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.6) 0%,
            rgba(255, 255, 255, 0.2) 30%,
            rgba(255, 255, 255, 0) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    background-clip: padding-box;
}

/* ===== ВНУТРЕННИЙ БЛИК (СВЕРХУ) ===== */
.psn-search-category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    z-index: 3;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* ===== КОНТЕНТ КАРТОЧКИ ===== */
.psn-search-category-content {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 2;
}

.psn-search-category-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.psn-search-category-label {
    color: #FAF8F6;
    font-size: 17px;
    font-weight: 600;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ===== РЕЗУЛЬТАТЫ ПОИСКА ===== */
.psn-search-results {
    min-height: 100px;
}

/* ===== SKELETON ===== */
.psn-search-skeleton {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 4px 0;
}

.skeleton-row {
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.04) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite;
}

@keyframes skeletonShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ===== КАРТОЧКА РЕЗУЛЬТАТА ===== */
.psn-search-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.psn-search-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: all 0.2s ease;
}

.psn-search-result:active {
    transform: scale(0.98);
    background: rgba(255, 255, 255, 0.06);
}

.psn-search-result-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.psn-search-result-info {
    flex: 1;
    min-width: 0;
}

.psn-search-result-title {
    color: #FAF8F6;
    font-size: 15px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.psn-search-result-subtitle {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    margin-top: 2px;
}

.psn-search-result-price {
    color: #FAF8F6;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    flex-shrink: 0;
}

/* ===== СТРАНИЦА КАТЕГОРИИ ===== */
.psn-category-header-page {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 16px;
}

.psn-category-back-btn {
    background: transparent;
    border: none;
    color: #FAF8F6;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    min-width: 36px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.psn-category-title-page {
    color: #FAF8F6;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    flex: 1;
}

.psn-category-count {
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
}

.psn-category-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ===== ПЛЕЙСХОЛДЕР ===== */
.psn-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 16px;
    text-align: center;
    padding: 40px 20px;
}

.psn-placeholder p {
    margin: 4px 0;
}

/* ===== КНОПКИ ВОЗВРАТА ===== */
.psn-back-to-home-btn,
.psn-back-to-shop-btn {
    margin-top: 16px;
    padding: 12px 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: #FAF8F6;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.psn-back-to-home-btn:active,
.psn-back-to-shop-btn:active {
    background: rgba(255, 255, 255, 0.05);
}

/* ===== ПОДСКАЗКИ (АВТОДОПОЛНЕНИЕ) ===== */
.psn-search-input-wrapper {
    position: relative;
    width: 100%;
}

.psn-search-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: rgba(20, 20, 30, 0.95);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    z-index: 100;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    max-height: 200px;
    overflow-y: auto;
    padding: 4px 0;
}

.psn-search-suggestions::-webkit-scrollbar {
    width: 3px;
}

.psn-search-suggestions::-webkit-scrollbar-track {
    background: transparent;
}

.psn-search-suggestions::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.psn-search-suggestion {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.psn-search-suggestion:hover {
    background: rgba(255, 255, 255, 0.04);
}

.psn-search-suggestion:active {
    background: rgba(255, 255, 255, 0.06);
}

.psn-search-suggestion .suggestion-icon {
    font-size: 16px;
    flex-shrink: 0;
    opacity: 0.4;
}

.psn-search-suggestion .suggestion-title {
    flex: 1;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 400;
}

.psn-search-suggestion .suggestion-price {
    color: rgba(255, 255, 255, 0.25);
    font-size: 12px;
    font-weight: 400;
}

/* ===== БЕЙДЖИ РЕЗУЛЬТАТОВ ===== */
.psn-search-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 3px;
}

.psn-search-badge.exact {
    background: rgba(76, 205, 196, 0.15);
    color: #4ecdc4;
}

.psn-search-badge.start {
    background: rgba(255, 215, 0, 0.12);
    color: #ffd700;
}

.psn-search-badge.currency {
    background: rgba(100, 80, 255, 0.15);
    color: #a78bfa;
}

/* ============================================= */
/* psn.css — КАРТОЧКА ТОВАРА (ПОЛНЫЙ БЛОК)      */
/* ============================================= */

/* ===== ТОЛЬКО ДЛЯ СТРАНИЦЫ ТОВАРА ===== */
.psn-page[data-page="product"] {
    background: #0A0A0B !important;
    padding: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

.psn-page[data-page="product"] .psn-product-info-block {
    border-radius: 16px 16px 0 0;
}

.psn-page[data-page="product"] .psn-product-poster {
    border-radius: 0;
}

.psn-page[data-page="product"] .psn-product-poster-img {
    border-radius: 0;
}

.psn-page[data-page="product"] .psn-product-page {
    width: 100%;
    min-height: 100%;
    background: #0A0A0B;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* ===== ПОСТЕР ===== */
.psn-page[data-page="product"] .psn-product-poster {
    position: relative;
    width: 100%;
    height: auto;
    flex-shrink: 0;
    overflow: hidden;
    background: transparent;
}

.psn-page[data-page="product"] .psn-product-poster-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}



/* ===== БЛОК С ИНФОРМАЦИЕЙ ===== */
.psn-page[data-page="product"] .psn-product-info-block {
    background: #0A0A0B;
    padding: 0;
    margin-top: -20px;
    position: relative;
    z-index: 3;
    border-radius: 16px 16px 0 0;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
}

.psn-page[data-page="product"] .psn-product-info-content {
    padding: 20px 20px 40px 20px;
    width: 100%;
    box-sizing: border-box;
}

/* ===== ВЕРХНЯЯ СТРОКА ===== */
.psn-page[data-page="product"] .psn-product-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.psn-page[data-page="product"] .psn-product-price-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.psn-page[data-page="product"] .psn-product-current-price {
    color: #FFFFFF;
    font-size: 32px;
    font-weight: 700;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    letter-spacing: -0.5px;
}

.psn-page[data-page="product"] .psn-product-discount-badge {
    background: linear-gradient(135deg, #8B5CF6, #6366F1, #4F46E5);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 6px;
    box-shadow:
        inset 0 -2px 0 rgba(0, 0, 0, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

/* ===== КНОПКА ИЗБРАННОГО НА СТРАНИЦЕ ТОВАРА ===== */
.psn-page[data-page="product"] .psn-product-fav-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    min-width: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.psn-page[data-page="product"] .psn-product-fav-btn:active {
    transform: scale(0.85);
}

.psn-page[data-page="product"] .psn-product-fav-btn svg {
    width: 28px;
    height: 28px;
    display: block;
    opacity: 1;
}

.psn-page[data-page="product"] .psn-product-fav-btn svg path {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== АКТИВНОЕ СОСТОЯНИЕ (БЕЛОЕ) ===== */
.psn-page[data-page="product"] .psn-product-fav-btn.active svg path {
    fill: #FFFFFF;
    stroke: #FFFFFF;
}

.psn-page[data-page="product"] .psn-product-fav-btn.active {
    animation: psnFavPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== СТАРАЯ ЦЕНА ===== */
.psn-page[data-page="product"] .psn-product-old-price-row {
    margin-bottom: 12px;
}

.psn-page[data-page="product"] .psn-product-old-price {
    color: #FF4444;
    font-size: 16px;
    font-weight: 500;
    text-decoration: line-through;
    text-decoration-color: #FF4444;
    text-decoration-thickness: 2px;
}

/* ===== НАЗВАНИЕ + ЖАНР ===== */
.psn-page[data-page="product"] .psn-product-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin-bottom: 10px;
}

.psn-page[data-page="product"] .psn-product-title {
    color: #FFFFFF;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.2;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    flex: 1;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.psn-page[data-page="product"] .psn-product-genre-badge {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 6px;
    flex-shrink: 0;
    box-shadow:
        inset 0 -2px 0 rgba(0, 0, 0, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

/* ===== ОКОНЧАНИЕ СКИДКИ (таймер сразу после текста) ===== */
.psn-page[data-page="product"] .psn-product-timer-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
}

.psn-page[data-page="product"] .psn-product-timer-text {
    color: rgba(255, 255, 255, 0.35);
    font-size: 13px;
    font-weight: 400;
}

.psn-page[data-page="product"] .psn-product-timer-icon {
    color: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.psn-page[data-page="product"] .psn-product-timer-icon svg {
    width: 16px;
    height: 16px;
    stroke: rgba(255, 255, 255, 0.3);
}

/* ===== СПЕЦИФИКАЦИИ ===== */
.psn-page[data-page="product"] .psn-product-specs {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 14px;
}

.psn-page[data-page="product"] .psn-product-spec {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.psn-page[data-page="product"] .psn-product-spec:last-child {
    border-bottom: none;
}

.psn-page[data-page="product"] .psn-product-spec .spec-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    font-weight: 400;
}

.psn-page[data-page="product"] .psn-product-spec .spec-value {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
}

/* ===== ОЦЕНКА ===== */
.psn-page[data-page="product"] .psn-product-rating-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0 4px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 2px;
}

.psn-page[data-page="product"] .psn-product-rating-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    font-weight: 400;
}

.psn-page[data-page="product"] .psn-product-rating-value {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 700;
}

/* ===== ЗВЁЗДЫ ===== */
.psn-page[data-page="product"] .psn-product-stars-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.psn-page[data-page="product"] .psn-product-stars {
    display: flex;
    gap: 3px;
    font-size: 18px;
}

.psn-page[data-page="product"] .psn-product-stars .star-filled {
    color: #FFD700;
}

.psn-page[data-page="product"] .psn-product-stars .star-half {
    color: #FFD700;
    position: relative;
    display: inline-block;
    width: 0.55em;
    overflow: hidden;
}

.psn-page[data-page="product"] .psn-product-stars .star-empty {
    color: rgba(255, 255, 255, 0.12);
}


/* ============================================= */
/* psn.css — НИЖНЯЯ НАВИГАЦИЯ (НОВАЯ)           */
/* ============================================= */

/* ===== НИЖНЯЯ НАВИГАЦИЯ (БАЗОВАЯ) ===== */
.psn-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(11, 11, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 8px 0 12px 0;
    flex-shrink: 0;
    z-index: 20;
    min-height: 64px;
}

/* Обертка для навигационных кнопок (всегда строка) */
.psn-nav-btn-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

/* ===== КОГДА ЕСТЬ КНОПКА ДЕЙСТВИЯ ===== */
.psn-bottom-nav.has-action-btn {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 120px;
    padding: 8px 0 6px 0;
    gap: 2px;
}

.psn-bottom-nav.has-action-btn .psn-nav-btn-wrapper {
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
}

.psn-bottom-nav.has-action-btn .psn-nav-btn {
    flex: 1;
    min-height: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
}

/* ===== КНОПКА ДЕЙСТВИЯ ===== */
.psn-product-action-btn {
    width: calc(100% - 32px);
    max-width: 528px;
    height: 52px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    margin: 0 16px 2px 16px;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 -3px 0 rgba(0, 0, 0, 0.25),
        inset 0 2px 4px rgba(255, 255, 255, 0.15);
}

/* ===== СОСТОЯНИЕ: ДОБАВИТЬ В КОРЗИНУ ===== */
.psn-product-action-btn[data-state="add"] {
    background: linear-gradient(to right, #565656 0%, #565656 20%, #FF3131 20%, #FF0000 100%);
}

.psn-product-action-btn[data-state="add"] .btn-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    padding: 0 12px;
    gap: 4px;
}

.psn-product-action-btn[data-state="add"] .btn-text {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    flex: 1;
    text-align: center;
    padding-right: 32px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.psn-product-action-btn[data-state="add"] .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20%;
    height: 100%;
}

.psn-product-action-btn[data-state="add"] .cart-icon {
    width: 32px;
    height: 32px;
    display: block;
    opacity: 0.9;
}

/* ===== СОСТОЯНИЕ: ПЕРЕЙТИ В КОРЗИНУ ===== */
.psn-product-action-btn[data-state="cart"] {
    background: linear-gradient(135deg, #FF3131, #FF0000);
}

.psn-product-action-btn[data-state="cart"] .btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0 20px;
}

.psn-product-action-btn[data-state="cart"] .btn-text {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.psn-product-action-btn[data-state="cart"] .btn-icon {
    display: none;
}

/* ===== АНИМАЦИЯ НАЖАТИЯ ===== */
.psn-product-action-btn:active {
    transform: scale(0.97);
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 480px) {
    .psn-product-action-btn {
        height: 48px;
    }

    .psn-product-action-btn[data-state="add"] .btn-text,
    .psn-product-action-btn[data-state="cart"] .btn-text {
        font-size: 14px;
    }

    .psn-product-action-btn[data-state="add"] .cart-icon {
        width: 28px;
        height: 28px;
    }
}

#screen-psn-store.header-hidden .psn-header {
    display: none !important;
}

/* ============================================= */
/* КНОПКИ ИЗДАНИЙ В КАРТОЧКЕ ТОВАРА             */
/* ============================================= */

.psn-product-editions-block {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.psn-editions-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 10px;
}

.psn-editions-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.psn-edition-btn {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.psn-edition-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #FAF8F6;
}

.psn-edition-btn:active {
    transform: scale(0.97);
}

.psn-edition-btn.active {
    background: rgba(144, 107, 249, 0.15);
    border-color: #906bf9;
    color: #FAF8F6;
    box-shadow: 0 0 20px rgba(144, 107, 249, 0.1);
}

.psn-page[data-page="product"] {
    background: transparent;
    padding: 0;
    padding-bottom: 80px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    height: 100%;
}

/* frontend/css/psn.css */

/* ===== ТАЙМЕР ДО РЕЛИЗА (ДЛЯ ПРЕДЗАКАЗОВ) ===== */
.psn-product-card-release-timer {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 11px;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.psn-product-card-release-timer svg {
    width: 12px;
    height: 12px;
    stroke: rgba(255, 255, 255, 0.3);
}

/* ===== ТАЙМЕР ДО РЕЛИЗА НА СТРАНИЦЕ ТОВАРА ===== */
.psn-product-release-timer-row {
    display: none;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
}

.psn-product-release-timer-text {
    color: rgba(255, 255, 255, 0.35);
    font-size: 13px;
    font-weight: 400;
}

.psn-product-release-timer-icon {
    color: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.psn-product-release-timer-icon svg {
    width: 16px;
    height: 16px;
    stroke: rgba(255, 255, 255, 0.3);
}

/* ===== БЕЙДЖ ПРЕДЗАКАЗА (СПРАВА ОТ ЦЕНЫ) ===== */
.psn-badge-preorder {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B00, #FF4500);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    flex-shrink: 0;
    margin-left: 4px;
}


.psn-product-release-timer-row {
    display: none;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
}

.psn-product-release-timer-text {
    color: rgba(255, 255, 255, 0.35);
    font-size: 13px;
    font-weight: 400;
}

.psn-product-release-timer-icon {
    color: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.psn-product-release-timer-icon svg {
    width: 16px;
    height: 16px;
    stroke: rgba(255, 255, 255, 0.3);
}

/* ============================================= */
/* ИЗБРАННОЕ — СТРАНИЦА И КАРТОЧКИ              */
/* ============================================= */

/* ============================================= */
/* 1. СТРАНИЦА ИЗБРАННОГО                       */
/* ============================================= */

/* ===== ЗАГОЛОВОК СТРАНИЦЫ ===== */
.psn-favorites-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 4px;
}

.psn-favorites-title {
    color: #FAF8F6;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.psn-favorites-title-icon {
    font-size: 18px;
}

.psn-favorites-count {
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
    font-weight: 400;
}

/* ============================================= */
/* 2. СЕТКА КАРТОЧЕК                            */
/* ============================================= */

.psn-favorites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 12px 0 20px 0;
}

/* ============================================= */
/* 3. КАРТОЧКА В ИЗБРАННОМ (ОТДЕЛЬНЫЙ КЛАСС)   */
/* ============================================= */

.psn-favorite-card {
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.psn-favorite-card:active {
    transform: scale(0.96);
}

.psn-favorite-card-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* ===== ИЗОБРАЖЕНИЕ ===== */
.psn-favorite-card-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    background: #0b0b0f;
    overflow: hidden;
}

.psn-favorite-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.psn-favorite-card-image span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.2);
    font-size: 40px;
}

/* ===== ИНФОРМАЦИЯ ===== */
.psn-favorite-card-info {
    padding: 8px 2px 4px 2px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* ===== НАЗВАНИЕ ===== */
.psn-favorite-card-title {
    color: #FAF8F6;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    min-height: 34px;
}

/* ===== ЖАНР (ПЛАШКА) ===== */
.psn-favorite-card-genre {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 500;
    padding: 2px 10px;
    border-radius: 4px;
    align-self: flex-start;
    margin-top: 2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ===== ПЛАТФОРМА ===== */
.psn-favorite-card-platform {
    color: rgba(255, 255, 255, 0.25);
    font-size: 10px;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    min-height: 14px;
}

/* ===== ЦЕНА ===== */
.psn-favorite-card-price-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
    position: relative;
}

.psn-favorite-card-price {
    color: #FAF8F6;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    letter-spacing: -0.2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ===== СТАРАЯ ЦЕНА ===== */
.psn-favorite-card-old-price {
    color: #FF4444;
    font-size: 11px;
    font-weight: 500;
    text-decoration: line-through;
    text-decoration-color: #FF4444;
    text-decoration-thickness: 0.1px;
    display: block;
    width: 100%;
    margin-top: -2px;
}

/* ===== СКИДКА ===== */
.psn-favorite-card-discount {
    display: inline-block;
    background: linear-gradient(135deg, #8B5CF6, #6366F1, #4F46E5);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 3.6px;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.15);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ===== ПРЕДЗАКАЗ ===== */
.psn-favorite-card .psn-badge-preorder {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B00, #FF4500);
    color: #FFFFFF;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    flex-shrink: 0;
    margin-left: 4px;
}

/* ============================================= */
/* 4. ПУСТОЕ СОСТОЯНИЕ                          */
/* ============================================= */

.psn-favorites-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 40px 20px;
    text-align: center;
}

.psn-favorites-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.6;
}

.psn-favorites-empty-title {
    color: #FAF8F6;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.psn-favorites-empty-text {
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
    margin-bottom: 16px;
}

.psn-favorites-empty-btn {
    padding: 10px 28px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: #FAF8F6;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.psn-favorites-empty-btn:active {
    background: rgba(255, 255, 255, 0.05);
    transform: scale(0.97);
}

/* ============================================= */
/* 5. СКЕЛЕТОН                                  */
/* ============================================= */

.psn-favorite-skeleton {
    aspect-ratio: 1/1;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    animation: psnFavShimmer 1.2s ease-in-out infinite;
}

@keyframes psnFavShimmer {
    0% {
        background: rgba(255, 255, 255, 0.04);
    }

    50% {
        background: rgba(255, 255, 255, 0.10);
    }

    100% {
        background: rgba(255, 255, 255, 0.04);
    }
}

/* ============================================= */
/* 6. КАРТОЧКА ТОВАРА — КНОПКА ИЗБРАННОГО       */
/* ============================================= */

.psn-product-fav-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    min-width: 36px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    border-radius: 50%;
}

.psn-product-fav-btn:active {
    transform: scale(0.85);
}

.psn-product-fav-btn svg {
    width: 24px;
    height: 32px;
    display: block;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== НЕАКТИВНОЕ СОСТОЯНИЕ ===== */
.psn-product-fav-btn svg path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.3);
    stroke-width: 2.5;
    transition: all 0.3s ease;
}

/* ===== АКТИВНОЕ СОСТОЯНИЕ (В ИЗБРАННОМ) ===== */
.psn-product-fav-btn.active svg path {
    fill: #FF4757;
    stroke: #FF4757;
    stroke-width: 2.5;
}

/* ===== АНИМАЦИЯ ПРИ ДОБАВЛЕНИИ ===== */
.psn-product-fav-btn.active {
    animation: psnFavPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes psnFavPop {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.3);
    }

    60% {
        transform: scale(0.85);
    }

    100% {
        transform: scale(1);
    }
}

/* ===== КОНТЕЙНЕР НАЗВАНИЕ + КНОПКА ===== */
.psn-product-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 10px;
}

/* ============================================= */
/* 7. БЕЙДЖ В НИЖНЕЙ НАВИГАЦИИ                  */
/* ============================================= */


/* ===== БЕЙДЖ В НИЖНЕЙ НАВИГАЦИИ (ИЗБРАННОЕ) ===== */
.psn-nav-btn[data-page="fav"] .psn-fav-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: #ff3b30;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    transition: all 0.2s ease;
    z-index: 10;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}


.psn-fav-badge.hidden {
    opacity: 0;
    transform: scale(0.5);
    pointer-events: none;
}

/* ============================================= */
/* КОРЗИНА — НОВЫЙ ДИЗАЙН                       */
/* ============================================= */

/* ===== ПУСТАЯ КОРЗИНА ===== */
.psn-cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 40px 20px;
    text-align: center;
}

.psn-cart-empty-icon {
    font-size: 72px;
    margin-bottom: 20px;
    opacity: 0.3;
    color: rgba(255, 255, 255, 0.3);
}

.psn-cart-empty-title {
    color: #FAF8F6;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.psn-cart-empty-text {
    color: rgba(255, 255, 255, 0.3);
    font-size: 15px;
    margin-bottom: 24px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.psn-cart-empty-btn {
    padding: 14px 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #FAF8F6;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.psn-cart-empty-btn:active {
    background: rgba(255, 255, 255, 0.06);
    transform: scale(0.97);
}

/* ===== ЗАГОЛОВОК ===== */
.psn-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 20px;
}

.psn-cart-title {
    color: #FAF8F6;
    font-size: 22px;
    font-weight: 700;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    letter-spacing: -0.3px;
}

.psn-cart-count {
    color: rgba(255, 255, 255, 0.25);
    font-size: 14px;
    font-weight: 500;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ===== СЕКЦИИ ===== */
.psn-cart-section {
    margin-bottom: 24px;
}

.psn-cart-section-title {
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
    font-weight: 500;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ============================================= */
/* КАРТЫ ПОПОЛНЕНИЯ — ПРОЗРАЧНЫЙ ФОН, БОЛЬШИЕ   */
/* ============================================= */

.psn-cart-item-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    margin-bottom: 10px;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: all 0.2s ease;
    position: relative;
}

.psn-cart-item-card .psn-cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    flex-shrink: 0;
    overflow: hidden;
    background: transparent;
}

.psn-cart-item-card .psn-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.psn-cart-item-card .psn-cart-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.psn-cart-item-card .psn-cart-item-title {
    color: #FAF8F6;
    font-size: 17px;
    font-weight: 600;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.3;
    word-break: break-word;
    white-space: normal;
    overflow: visible;
}

.psn-cart-item-card .psn-cart-item-subtitle {
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
    font-weight: 400;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.psn-cart-item-card .psn-cart-item-subtitle .badge-system {
    display: inline-block;
    background: rgba(139, 92, 246, 0.08);
    color: #8B5CF6;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 12px;
    border-radius: 12px;
}

.psn-cart-item-card .psn-cart-item-price {
    color: #FAF8F6;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin-top: 2px;
}

/* ===== КОНТРОЛЫ КОЛИЧЕСТВА ===== */
.psn-cart-item-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    background: transparent;
    border-radius: 0;
    padding: 0;
    border: none;
}

.psn-cart-qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.4);
    font-size: 20px;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.psn-cart-qty-btn:active {
    transform: scale(0.92);
}

.psn-cart-qty-btn[data-delta="-1"]:active {
    background: rgba(255, 71, 87, 0.08);
    color: #FF4757;
}

.psn-cart-qty-btn[data-delta="1"]:active {
    background: rgba(78, 205, 196, 0.08);
    color: #4ecdc4;
}

.psn-cart-qty-value {
    color: #FAF8F6;
    font-size: 17px;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ============================================= */
/* ТОВАРЫ — ПРОЗРАЧНЫЙ ФОН, БОЛЬШИЕ ПОСТЕРЫ     */
/* ============================================= */

.psn-cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    margin-bottom: 10px;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: all 0.2s ease;
}

.psn-cart-item .psn-cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    flex-shrink: 0;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.psn-cart-item .psn-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.psn-cart-item .psn-cart-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.psn-cart-item .psn-cart-item-title {
    color: #FAF8F6;
    font-size: 17px;
    font-weight: 600;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.3;
    word-break: break-word;
    white-space: normal;
    overflow: visible;
}

.psn-cart-item .psn-cart-item-subtitle {
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
    font-weight: 400;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.psn-cart-item .psn-cart-item-price {
    color: #FAF8F6;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin-top: 2px;
}

.psn-cart-item-remove {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
    font-size: 18px;
}

.psn-cart-item-remove:active {
    background: rgba(255, 71, 87, 0.08);
    color: #FF4757;
}

/* ============================================= */
/* СТАТУС КАРТ (ДОСТАТОЧНО / НЕДОСТАТОЧНО)      */
/* ============================================= */

.psn-cart-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 14px;
    margin-bottom: 14px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.psn-cart-status-success {
    border-color: rgba(78, 205, 196, 0.12);
}

.psn-cart-status-success .psn-cart-status-icon {
    color: #4ecdc4;
}

.psn-cart-status-success .psn-cart-status-text {
    color: rgba(78, 205, 196, 0.8);
}

.psn-cart-status-error {
    border-color: rgba(255, 71, 87, 0.12);
}

.psn-cart-status-error .psn-cart-status-icon {
    color: #FF4757;
}

.psn-cart-status-error .psn-cart-status-text {
    color: rgba(255, 71, 87, 0.8);
}

.psn-cart-status-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.psn-cart-status-text {
    font-size: 14px;
    font-weight: 500;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ============================================= */
/* ОСТАТОК НА БАЛАНСЕ (ТОЛЬКО ТЕКСТ, БЕЗ EMOJI) */
/* ============================================= */

.psn-cart-remainder {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 12px;
    margin-bottom: 16px;
    background: transparent;
    border: 1px solid rgba(78, 205, 196, 0.06);
}

.psn-cart-remainder-text {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    font-weight: 400;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.psn-cart-remainder-text strong {
    color: #4ecdc4;
    font-weight: 600;
}

/* ============================================= */
/* КНОПКА "ДОБАВИТЬ КАРТЫ ПОПОЛНЕНИЯ"          */
/* ============================================= */

.psn-cart-add-cards-btn-wrapper {
    margin: 4px 0 20px 0;
}

.psn-cart-add-cards-btn {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid rgba(139, 92, 246, 0.12);
    border-radius: 14px;
    background: rgba(139, 92, 246, 0.03);
    color: #8B5CF6;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    -webkit-tap-highlight-color: transparent;
}

.psn-cart-add-cards-btn:active {
    transform: scale(0.98);
    background: rgba(139, 92, 246, 0.06);
    border-color: rgba(139, 92, 246, 0.2);
}

/* ============================================= */
/* ИТОГО — ТОЛЬКО ЦЕНА, БЕЗ РАЗДЕЛЕНИЯ         */
/* ============================================= */

.psn-cart-total {
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.psn-cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.psn-cart-total-label {
    color: rgba(255, 255, 255, 0.3);
    font-size: 15px;
    font-weight: 500;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.psn-cart-total-value {
    color: #FAF8F6;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.psn-cart-total .psn-cart-total-row:not(:last-child) {
    display: none;
}


/* ============================================= */
/* СЛАЙДЕР НОМИНАЛОВ ДЛЯ КАРТ ПОПОЛНЕНИЯ        */
/* ============================================= */

.psn-gift-nominals-slider-wrapper {
    position: relative;
    margin: 12px 0;
    overflow: hidden;
}

.psn-gift-nominals-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 0 12px 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    scroll-behavior: smooth;
}

.psn-gift-nominals-scroll::-webkit-scrollbar {
    display: none;
}

.psn-gift-nominals-scroll.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.psn-gift-nominal-item {
    flex: 0 0 auto;
    width: 80px;
    padding: 10px 8px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
    user-select: none;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.psn-gift-nominal-item.active {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.psn-gift-nominal-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.psn-gift-nominal-item.active:hover {
    background: rgba(255, 255, 255, 0.16);
}

.psn-gift-nominal-item .nominal-value {
    font-size: 16px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
}

.psn-gift-nominal-item.active .nominal-value {
    color: #fff;
}

.psn-gift-nominal-item .nominal-currency {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
}

.psn-gift-nominal-item.active .nominal-currency {
    color: rgba(255, 255, 255, 0.8);
}

.psn-gift-nominal-item .nominal-price {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

.psn-gift-nominal-item.active .nominal-price {
    color: #fff;
}

/* ============================================= */
/* CTA КНОПКА — ДИЗАЙН ПО ТЗ (ЧИСТАЯ ВЕРСИЯ)    */
/* ============================================= */

/* ===== ОСНОВНАЯ КНОПКА ===== */
.psn-action-btn {
    display: flex;
    width: calc(100% - 32px);
    max-width: 528px;
    height: 52px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    padding: 0;
    margin: 0 16px 4px 16px;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.25s ease, opacity 0.25s ease;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.08),
        inset 0 -2px 4px rgba(0, 0, 0, 0.20);
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    flex: 0 0 auto;
}

/* ============================================= */
/* STATE 1 — В КОРЗИНУ! (20% серый + 80% красный) */
/* ============================================= */

.psn-action-btn[data-state="add"] {
    background: #565656;
    background-image: linear-gradient(to right, #565656 0%, #565656 20%, #FF3131 20%, #FF0000 100%);
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
}

.psn-action-btn[data-state="add"] .btn-segment-left {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20%;
    height: 100%;
    flex-shrink: 0;
    background: transparent;
}

.psn-action-btn[data-state="add"] .btn-icon-cart {
    display: block;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    object-fit: contain;
}

.psn-action-btn[data-state="add"] .btn-segment-right {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    height: 100%;
    flex-shrink: 0;
    background: transparent;
}

.psn-action-btn[data-state="add"] .btn-text {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    text-align: center;
    white-space: nowrap;
}

/* ============================================= */
/* STATE 2 — ПЕРЕЙТИ В КОРЗИНУ (100% ЗЕЛЕНЫЙ)   */
/* ============================================= */

.psn-action-btn[data-state="view"] {
    background: #14A900;
    align-items: center;
    justify-content: center;
}

.psn-action-btn[data-state="view"] .btn-text-center {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.20);
    text-align: center;
    white-space: nowrap;
}

/* ============================================= */
/* STATE 3 — ОПЛАТИТЬ (RELAY GRADIENT + SBP)    */
/* ============================================= */

.psn-action-btn[data-state="pay"] {
    background: linear-gradient(135deg, #906bf9, #0070fb);
    align-items: center;
    justify-content: center;
}

.psn-action-btn[data-state="pay"] .btn-text-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.psn-action-btn[data-state="pay"] .btn-icon-sbp {
    display: block;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    object-fit: contain;
}

/* ============================================= */
/* ЭФФЕКТ НАЖАТИЯ                               */
/* ============================================= */

.psn-action-btn:active {
    transform: scale(0.97);
    opacity: 0.92;
}

/* ============================================= */
/* РАЗМЕРЫ ДЛЯ НИЖНЕЙ НАВИГАЦИИ                 */
/* ============================================= */

.psn-bottom-nav.has-action-btn {
    padding: 8px 0 6px 0;
    min-height: 120px;
    flex-direction: column;
    gap: 4px;
}

.psn-bottom-nav.has-action-btn .psn-nav-btn-wrapper {
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
}

.psn-bottom-nav.has-action-btn .psn-nav-btn {
    flex: 1;
    min-height: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
}

/* ===== ВЫРАВНИВАНИЕ КНОПКИ ПО ЦЕНТРУ ===== */
.psn-bottom-nav.has-action-btn .psn-action-btn {
    margin: 0 auto 4px auto;
    flex-shrink: 0;
}