/* AXORPUS — магазин. Версия 2026.09.27.9. */

/* ============================================================
           БАЗОВЫЕ СТИЛИ (аналогичны главной странице)
        ============================================================ */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .initially-hidden {
            display: none;
        }

        body {
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: #0a0a0f;
            color: #fff;
            min-height: 100vh;
            overflow-x: hidden;
        }

        .site-wrapper {
            background: 
                linear-gradient(rgba(10, 10, 15, 0.88), rgba(10, 10, 15, 0.88)),
                url('/site_main/res/images/fon.png');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            min-height: 100vh;
            position: relative;
        }

        .site-wrapper.no-bg {
            background: #0a0a0f;
        }

        .site-wrapper::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: 
                linear-gradient(rgba(0, 255, 255, 0.02) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0, 255, 255, 0.02) 1px, transparent 1px);
            background-size: 60px 60px;
            pointer-events: none;
            z-index: 0;
            animation: gridMove 30s linear infinite;
        }

        @keyframes gridMove {
            0% { transform: translate(0, 0); }
            100% { transform: translate(60px, 60px); }
        }

        /* ============================================================
           ШАПКА
        ============================================================ */
        .header {
            padding: 20px 40px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid rgba(0, 255, 255, 0.2);
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(10px);
            position: relative;
            z-index: 10;
            flex-wrap: wrap;
            gap: 15px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 20px;
            cursor: pointer;
            text-decoration: none;
        }

        .logo img {
            height: 100px;
            width: auto;
            animation: logoImagePulse 2.4s ease-in-out infinite;
            pointer-events: none;
        }

        @keyframes logoImagePulse {
            0%, 100% { filter: drop-shadow(0 0 12px rgba(0, 255, 255, 0.28)); }
            50% { filter: drop-shadow(0 0 32px rgba(0, 255, 255, 0.75)); }
        }

        .logo-text {
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            font-weight: 900;
            font-size: 28px;
            letter-spacing: 4px;
            cursor: default;
            background: linear-gradient(90deg, #00ffff, #0088ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
            animation: glowPulse 2s ease-in-out infinite;
        }

        @keyframes glowPulse {
            0%, 100% { text-shadow: 0 0 20px rgba(0, 255, 255, 0.2); }
            50% { text-shadow: 0 0 60px rgba(0, 255, 255, 0.6); }
        }

        .header-right {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .back-link {
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            font-size: 12px;
            color: rgba(255, 255, 255, 0.5);
            text-decoration: none;
            padding: 8px 16px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 4px;
            transition: all 0.3s ease;
            letter-spacing: 1px;
        }

        .back-link:hover {
            color: #00ffff;
            border-color: rgba(0, 255, 255, 0.3);
            background: rgba(0, 255, 255, 0.05);
        }

        .user-menu {
            position: relative;
            display: inline-block;
            cursor: pointer;
        }

        .user-status {
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            font-size: 12px;
            color: #00ffff;
            border: 1px solid rgba(0, 255, 255, 0.3);
            padding: 8px 20px;
            border-radius: 4px;
            background: rgba(0, 255, 255, 0.05);
            letter-spacing: 2px;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .user-status:hover {
            background: rgba(0, 255, 255, 0.12);
            border-color: rgba(0, 255, 255, 0.5);
        }

        .user-status .id-label {
            color: rgba(255, 255, 255, 0.4);
            font-size: 10px;
        }

        .user-status .id-value {
            color: #00ffff;
            font-weight: 700;
            font-family: 'Courier New', monospace;
            font-size: 13px;
        }

        .user-status .account-divider {
            width: 1px;
            height: 30px;
            background: rgba(0, 255, 255, 0.15);
            margin: 0 2px;
        }

        .user-status .balance-value {
            color: #00ff88;
            font-weight: 700;
            font-family: 'Courier New', monospace;
            font-size: 13px;
            white-space: nowrap;
        }

        .account-identity {
            min-width: 0;
        }

        .account-identity .id-label,
        .account-identity .id-value {
            display: block;
        }

        .currency-balance {
            min-width: 54px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            white-space: nowrap;
        }

        button.currency-balance {
            appearance: none;
            -webkit-appearance: none;
            padding: 2px 4px;
            border: 1px solid transparent;
            border-radius: 8px;
            background: transparent;
            color: inherit;
            font: inherit;
            letter-spacing: inherit;
            cursor: pointer;
            transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
        }

        button.currency-balance:hover,
        button.currency-balance:focus-visible {
            border-color: rgba(0, 255, 255, .34);
            background: rgba(0, 255, 255, .09);
            box-shadow: 0 0 18px rgba(0, 255, 255, .08);
            outline: none;
        }

        .currency-balance-icon {
            width: 30px;
            height: 30px;
            flex: 0 0 auto;
            object-fit: contain;
            filter: drop-shadow(0 3px 7px rgba(0, 0, 0, 0.45));
            pointer-events: none;
        }

        .currency-balance-icon.book-icon {
            width: 32px;
            height: 32px;
        }

        .user-status .arrow-down {
            font-size: 10px;
            color: rgba(255, 255, 255, 0.3);
            transition: transform 0.3s ease;
            margin-left: 4px;
        }

        .user-status .arrow-down.open {
            transform: rotate(180deg);
        }

        .user-dropdown {
            display: none;
            position: absolute;
            top: 110%;
            right: 0;
            min-width: 220px;
            background: rgba(10, 10, 15, 0.95);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(0, 255, 255, 0.15);
            border-radius: 10px;
            padding: 8px 0;
            box-shadow: 0 10px 60px rgba(0, 0, 0, 0.8);
            z-index: 50;
            animation: dropdownIn 0.2s ease;
        }

        .user-dropdown.open {
            display: block;
        }

        @keyframes dropdownIn {
            from { opacity: 0; transform: translateY(-10px) scale(0.95); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }

        .user-dropdown .dropdown-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 20px;
            color: rgba(255, 255, 255, 0.6);
            font-size: 14px;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            transition: all 0.2s ease;
            cursor: pointer;
            border: none;
            background: none;
            width: 100%;
            text-align: left;
        }

        .user-dropdown .dropdown-item:hover {
            background: rgba(0, 255, 255, 0.08);
            color: #fff;
        }

        .user-dropdown .dropdown-item .icon {
            font-size: 16px;
            width: 20px;
            text-align: center;
        }

        .user-dropdown .dropdown-divider {
            height: 1px;
            background: rgba(255, 255, 255, 0.05);
            margin: 4px 15px;
        }

        .user-dropdown .dropdown-item.danger {
            color: #ff6b6b;
        }

        .user-dropdown .dropdown-item.danger:hover {
            background: rgba(255, 0, 0, 0.08);
        }

        /* ============================================================
           ОСНОВНОЙ КОНТЕНТ
        ============================================================ */
        .main-content {
            padding: 40px;
            position: relative;
            z-index: 1;
            max-width: 1200px;
            margin: 0 auto;
        }

        .page-title {
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            font-size: 28px;
            font-weight: 700;
            color: #00ffff;
            text-transform: uppercase;
            letter-spacing: 4px;
            margin-bottom: 10px;
            text-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
        }

        .page-subtitle {
            color: rgba(255, 255, 255, 0.4);
            font-size: 16px;
            margin-bottom: 30px;
            letter-spacing: 1px;
        }

        .shop-layout {
            display: grid;
            grid-template-columns: 1fr 320px;
            gap: 30px;
            align-items: start;
        }

        /* ============================================================
           КАТАЛОГ ТОВАРОВ
        ============================================================ */
        .catalog {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
        }

        .product-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(0, 255, 255, 0.12);
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            transition: all 0.4s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .product-card:hover {
            transform: translateY(-6px);
            border-color: rgba(0, 255, 255, 0.4);
            box-shadow: 0 0 40px rgba(0, 255, 255, 0.08);
        }

        .product-card .icon-wrap {
            width: 150px;
            height: 150px;
            margin: 0 auto 10px;
            display: grid;
            place-items: center;
            position: relative;
        }

        .product-card .cookie-image {
            width: 150px;
            height: 150px;
            object-fit: contain;
            filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.45));
        }

        .product-card .cookie-count {
            position: absolute;
            right: 2px;
            bottom: 7px;
            min-width: 44px;
            padding: 5px 9px;
            color: #071116;
            background: #00ffff;
            border-radius: 999px;
            box-shadow: 0 0 18px rgba(0, 255, 255, 0.32);
            font: 700 12px system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        }

        .single-quantity {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin: 0 0 12px;
        }

        .single-quantity label {
            color: rgba(255, 255, 255, 0.55);
            font-size: 12px;
        }

        .single-quantity input {
            width: 82px;
            padding: 7px 9px;
            color: #fff;
            background: rgba(0, 0, 0, 0.38);
            border: 1px solid rgba(0, 255, 255, 0.3);
            border-radius: 6px;
            text-align: center;
            font: 600 14px system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        }

        .product-card .product-name {
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            font-size: 14px;
            color: #fff;
            letter-spacing: 1px;
            margin-bottom: 6px;
        }

        .product-card .product-desc {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.4);
            margin-bottom: 12px;
        }

        .product-card .product-price {
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            font-size: 18px;
            color: #00ffff;
            font-weight: 700;
            margin-bottom: 14px;
        }

        .product-card .product-price .currency {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.3);
        }

        .product-card .discount-badge {
            position: absolute;
            top: 14px;
            right: 14px;
            padding: 5px 9px;
            color: #071116;
            background: #00ff88;
            border-radius: 999px;
            box-shadow: 0 0 18px rgba(0, 255, 136, 0.3);
            font: 700 11px system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        }

        .product-card .old-price {
            display: block;
            margin-bottom: 3px;
            color: rgba(255, 255, 255, 0.35);
            font-size: 12px;
            font-weight: 400;
            text-decoration: line-through;
        }

        .profile-field {
            margin: 20px 0 12px;
            text-align: left;
        }

        .profile-field label {
            display: block;
            margin-bottom: 8px;
            color: rgba(255, 255, 255, 0.7);
            font-size: 14px;
        }

        .profile-field input {
            width: 100%;
            padding: 12px 14px;
            color: #fff;
            background: rgba(0, 0, 0, 0.35);
            border: 1px solid rgba(0, 255, 255, 0.35);
            border-radius: 7px;
            font: 600 16px system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            outline: none;
        }

        .profile-field input:focus {
            border-color: #00ffff;
            box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
        }

        .profile-hint,
        .profile-user-id {
            color: rgba(255, 255, 255, 0.45);
            font-size: 13px;
            line-height: 1.4;
        }

        .product-card .btn-buy {
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            font-size: 11px;
            letter-spacing: 1px;
            padding: 8px 24px;
            border: 1px solid rgba(0, 255, 255, 0.3);
            background: rgba(0, 255, 255, 0.05);
            color: #00ffff;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
        }

        .product-card .btn-buy:hover {
            background: rgba(0, 255, 255, 0.15);
            box-shadow: 0 0 30px rgba(0, 255, 255, 0.1);
        }

        .product-card .badge-popular {
            position: absolute;
            top: 10px;
            right: 10px;
            font-size: 9px;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            color: #ffaa00;
            background: rgba(255, 170, 0, 0.12);
            padding: 3px 10px;
            border-radius: 12px;
            border: 1px solid rgba(255, 170, 0, 0.2);
            letter-spacing: 0.5px;
        }

        .product-card .badge-bonus {
            position: absolute;
            bottom: 80px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 10px;
            color: #00ff88;
            background: rgba(0, 255, 136, 0.1);
            padding: 2px 14px;
            border-radius: 12px;
            border: 1px solid rgba(0, 255, 136, 0.15);
            white-space: nowrap;
        }

        /* ============================================================
           КОРЗИНА / ИТОГО
        ============================================================ */
        .cart-sidebar {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(0, 255, 255, 0.12);
            border-radius: 12px;
            padding: 24px;
            position: sticky;
            top: 20px;
            backdrop-filter: blur(10px);
        }

        .cart-sidebar h3 {
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            font-size: 16px;
            color: #00ffff;
            letter-spacing: 2px;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .cart-sidebar h3 .count {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.3);
            font-weight: 400;
        }

        .cart-empty {
            color: rgba(255, 255, 255, 0.3);
            font-size: 14px;
            text-align: center;
            padding: 30px 0;
        }

        .cart-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        }

        .cart-item:last-child {
            border-bottom: none;
        }

        .cart-item .item-info {
            text-align: left;
        }

        .cart-item-main {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .cart-item .item-name {
            font-size: 14px;
            color: #fff;
        }

        .cart-item .item-qty {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.3);
        }

        .cart-item .item-total {
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            font-size: 14px;
            color: #00ffff;
        }

        .cart-item .btn-remove {
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.2);
            cursor: pointer;
            font-size: 16px;
            padding: 0 6px;
            transition: color 0.3s ease;
        }

        .cart-item .btn-remove:hover {
            color: #ff6b6b;
        }

        .cart-total {
            display: flex;
            justify-content: space-between;
            padding: 16px 0 8px 0;
            border-top: 1px solid rgba(0, 255, 255, 0.15);
            margin-top: 8px;
        }

        .cart-total .label {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.5);
        }

        .cart-total .amount {
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            font-size: 22px;
            color: #00ffff;
            font-weight: 700;
        }

        .btn-checkout {
            width: 100%;
            padding: 14px;
            margin-top: 16px;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            font-size: 14px;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
            background: linear-gradient(135deg, #00ffff, #0088ff);
            border: none;
            border-radius: 8px;
            color: #0a0a0f;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-checkout:hover:not(:disabled) {
            transform: scale(1.02);
            box-shadow: 0 0 40px rgba(0, 255, 255, 0.25);
        }

        .btn-checkout:disabled {
            opacity: 0.3;
            cursor: not-allowed;
            transform: none;
        }

        .btn-checkout .loading {
            display: none;
        }

        .btn-checkout.loading .loading {
            display: inline;
        }

        .btn-checkout.loading .text {
            display: none;
        }

        /* ============================================================
           ПОДВАЛ (как на главной)
        ============================================================ */
        .footer {
            margin-top: 60px;
            padding: 40px 40px 20px 40px;
            border-top: 1px solid rgba(0, 255, 255, 0.1);
            background: rgba(0, 0, 0, 0.4);
            backdrop-filter: blur(10px);
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
        }

        .footer-column h4 {
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            font-size: 14px;
            color: #00ffff;
            margin-bottom: 15px;
            letter-spacing: 2px;
        }

        .footer-column a {
            display: block;
            color: rgba(255, 255, 255, 0.5);
            text-decoration: none;
            font-size: 14px;
            padding: 5px 0;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .footer-column a:hover {
            color: #00ffff;
            padding-left: 10px;
        }

        .footer-bottom {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid rgba(0, 255, 255, 0.05);
            text-align: center;
            font-size: 12px;
            color: rgba(255, 255, 255, 0.3);
        }

        /* ============================================================
           УВЕДОМЛЕНИЯ
        ============================================================ */
        .toast {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: rgba(10, 10, 15, 0.95);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(0, 255, 255, 0.2);
            border-radius: 12px;
            padding: 20px 28px;
            color: #fff;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            font-size: 15px;
            box-shadow: 0 10px 60px rgba(0, 0, 0, 0.6);
            z-index: 999;
            animation: slideUp 0.3s ease;
            max-width: 400px;
            pointer-events: none;
        }

        .toast .toast-title {
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            font-size: 13px;
            color: #00ffff;
            letter-spacing: 1px;
            margin-bottom: 4px;
        }

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

        /* ============================================================
           МОДАЛКА ОПЛАТЫ
        ============================================================ */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(10px);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

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

        .modal {
            background: rgba(20, 20, 40, 0.95);
            border: 1px solid rgba(0, 255, 255, 0.2);
            border-radius: 16px;
            padding: 40px;
            max-width: 480px;
            width: 90%;
            text-align: center;
            box-shadow: 0 0 60px rgba(0, 255, 255, 0.1);
            animation: modalIn 0.3s ease;
            max-height: 80vh;
            overflow-y: auto;
        }

        .modal::-webkit-scrollbar {
            width: 4px;
        }
        .modal::-webkit-scrollbar-track {
            background: rgba(0, 255, 255, 0.05);
            border-radius: 2px;
        }
        .modal::-webkit-scrollbar-thumb {
            background: #00ffff;
            border-radius: 2px;
        }

        @keyframes modalIn {
            from { opacity: 0; transform: scale(0.9); }
            to { opacity: 1; transform: scale(1); }
        }

        .modal h2 {
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            font-size: 22px;
            color: #00ffff;
            margin-bottom: 10px;
            letter-spacing: 2px;
        }

        .modal .modal-sub {
            color: rgba(255, 255, 255, 0.4);
            font-size: 14px;
            margin-bottom: 20px;
        }

        .modal .modal-details {
            text-align: left;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 8px;
            padding: 16px 20px;
            margin-bottom: 20px;
        }

        .modal .modal-details .row {
            display: flex;
            justify-content: space-between;
            padding: 4px 0;
            font-size: 14px;
        }

        .modal .modal-details .row .label {
            color: rgba(255, 255, 255, 0.4);
        }

        .modal .modal-details .row .value {
            color: #fff;
            font-weight: 600;
        }

        .modal .modal-details .row.total .value {
            color: #00ffff;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            font-size: 18px;
        }

        .modal .modal-details .order-total-row {
            border-top: 1px solid rgba(0, 255, 255, 0.15);
            padding-top: 12px;
            margin-top: 8px;
        }

        .modal .modal-details .order-credit-value {
            color: #00ff88;
        }

        .order-user-note {
            margin-top: 12px;
            font-size: 12px;
            color: rgba(255, 255, 255, 0.3);
            text-align: center;
        }

        .modal .btn-pay {
            padding: 12px 48px;
            background: linear-gradient(135deg, #00ff88, #00cc66);
            border: none;
            border-radius: 8px;
            color: #0a0a0f;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            font-size: 14px;
            font-weight: 700;
            letter-spacing: 1px;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-right: 10px;
        }

        .modal .btn-pay:hover {
            transform: scale(1.05);
            box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
        }

        .modal .btn-close-modal {
            padding: 12px 32px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            color: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            font-size: 14px;
            transition: all 0.3s ease;
        }

        .modal .btn-close-modal:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
        }

        .modal .modal-buttons {
            display: flex;
            justify-content: center;
            gap: 12px;
            flex-wrap: wrap;
        }

        /* Модальное окно для документов */
        .doc-modal-content {
            text-align: left;
        }

        .doc-modal-content p {
            color: rgba(255, 255, 255, 0.8);
            font-size: 14px;
            line-height: 1.8;
            white-space: pre-wrap;
            word-wrap: break-word;
            max-height: 50vh;
            overflow-y: auto;
            padding-right: 10px;
            -webkit-user-select: text;
            -moz-user-select: text;
            -ms-user-select: text;
            user-select: text;
        }

        .doc-modal-content p::-webkit-scrollbar {
            width: 4px;
        }

        .doc-modal-content p::-webkit-scrollbar-track {
            background: rgba(0, 255, 255, 0.05);
            border-radius: 2px;
        }

        .doc-modal-content p::-webkit-scrollbar-thumb {
            background: #00ffff;
            border-radius: 2px;
        }

        #docModalTitle.currency-info-title {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 14px;
            margin-bottom: 18px;
        }

        .currency-info-title-image {
            width: 78px;
            height: 78px;
            flex: 0 0 78px;
            display: block;
            object-fit: contain;
            filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .38));
        }

        .currency-info-content p {
            max-height: none;
            margin-bottom: 18px;
            padding-right: 0;
            overflow: visible;
        }

        .currency-info-content p:last-child {
            margin-bottom: 24px;
        }

        #docModalActionBtn {
            align-items: center;
            justify-content: center;
        }

        #docModalOverlay.currency-info-mode .modal {
            max-width: 560px;
        }

        #docModalOverlay.currency-info-mode #docModalActionBtn {
            background: linear-gradient(135deg, #00ffff, #0088ff);
            color: #071018;
        }

        #docModalOverlay.currency-info-mode .btn-close-modal {
            border-color: rgba(0, 255, 255, .42);
            background: rgba(0, 255, 255, .1);
            color: #00ffff;
        }

        .rules-list {
            text-align: left;
            color: rgba(255, 255, 255, 0.8);
            font-size: 14px;
            line-height: 2;
            padding-left: 20px;
            margin-bottom: 20px;
            -webkit-user-select: text;
            -moz-user-select: text;
            -ms-user-select: text;
            user-select: text;
        }

        .rules-title {
            color: #00ffff;
            margin-bottom: 15px;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        }

        .rules-intro {
            margin-bottom: 15px;
            color: rgba(255, 255, 255, 0.6);
            font-size: 14px;
        }

        .rules-danger {
            color: #ff6b6b;
        }

        .rules-updated {
            margin-top: 15px;
            color: rgba(255, 255, 255, 0.3);
            font-size: 12px;
            text-align: center;
        }

        .rules-list li {
            margin-bottom: 8px;
        }

        .rules-highlight {
            color: #00ffff;
            font-weight: 600;
        }

        .rules-warning {
            color: #ff6b6b;
            font-weight: 600;
            text-align: center;
            font-size: 16px;
            margin-top: 20px;
            padding: 15px;
            border: 1px solid rgba(255, 107, 107, 0.3);
            border-radius: 8px;
            background: rgba(255, 107, 107, 0.05);
        }

        /* ============================================================
           АДАПТИВНОСТЬ
        ============================================================ */
        @media (max-width: 1024px) {
            .shop-layout {
                grid-template-columns: 1fr;
            }
            .cart-sidebar {
                position: static;
            }
        }

        @media (max-width: 768px) {
            .header {
                padding: 15px 20px;
            }
            .logo-text {
                font-size: 20px;
                letter-spacing: 2px;
            }
            .logo img {
                height: 35px;
            }
            .main-content {
                padding: 20px;
            }
            .page-title {
                font-size: 22px;
            }
            .catalog {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            }
            .product-card {
                padding: 16px;
            }
            .product-card .icon-wrap {
                font-size: 32px;
            }
            .cart-sidebar {
                padding: 18px;
            }
            .user-status {
                font-size: 10px;
                padding: 5px 12px;
            }
            .back-link {
                font-size: 10px;
                padding: 6px 12px;
            }
            .footer {
                padding: 30px 20px 15px 20px;
            }
            .footer-content {
                grid-template-columns: 1fr 1fr;
                gap: 20px;
            }
        }

        @media (max-width: 480px) {
            .header {
                flex-direction: column;
                align-items: flex-start;
            }
            .header-right {
                width: 100%;
                flex-wrap: wrap;
                justify-content: flex-end;
                gap: 6px;
            }
            .header-right .user-menu {
                order: 1;
                flex: 1 0 100%;
                width: 100%;
            }
            .header-right .back-link {
                order: 2;
            }
            .user-status {
                width: 100%;
                justify-content: space-between;
                gap: 4px;
                padding: 5px 8px;
                letter-spacing: .5px;
            }
            .user-status .id-value {
                display: inline-block;
                max-width: 120px;
                overflow: hidden;
                text-overflow: ellipsis;
                vertical-align: bottom;
                white-space: nowrap;
            }
            .logo-text {
                font-size: 18px;
            }
            .logo img {
                height: 30px;
            }
            .main-content {
                padding: 15px;
            }
            .page-title {
                font-size: 18px;
                letter-spacing: 2px;
            }
            .catalog {
                grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
                gap: 12px;
            }
            .product-card {
                padding: 12px;
            }
            .product-card .icon-wrap {
                font-size: 28px;
            }
            .product-card .product-name {
                font-size: 12px;
            }
            .product-card .product-price {
                font-size: 15px;
            }
            .product-card .btn-buy {
                font-size: 10px;
                padding: 6px 16px;
            }
            .product-card .badge-bonus {
                font-size: 8px;
                bottom: 68px;
                padding: 2px 10px;
            }
            .cart-sidebar {
                padding: 14px;
            }
            .cart-total .amount {
                font-size: 18px;
            }
            .btn-checkout {
                font-size: 12px;
                padding: 12px;
            }
            .modal {
                padding: 24px 16px;
            }
            .modal h2 {
                font-size: 18px;
            }
            .modal .btn-pay,
            .modal .btn-close-modal {
                font-size: 12px;
                padding: 10px 24px;
            }
            .footer {
                padding: 20px 15px 10px 15px;
                margin-top: 30px;
            }
            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 15px;
            }
            .footer-column a:hover {
                padding-left: 0;
            }
            .footer-column h4 {
                font-size: 13px;
                margin-bottom: 8px;
            }
            .footer-column a {
                font-size: 12px;
                padding: 3px 0;
            }
            .rules-list {
                font-size: 12px;
                padding-left: 10px;
            }
            .user-dropdown {
                min-width: 150px;
                right: -5px;
            }
            .user-dropdown .dropdown-item {
                font-size: 12px;
                padding: 8px 14px;
            }
        }

        /* Скрываем скроллбар в каталоге если нужно */
        .catalog::-webkit-scrollbar {
            width: 4px;
        }
        .catalog::-webkit-scrollbar-track {
            background: rgba(0, 255, 255, 0.05);
            border-radius: 2px;
        }
        .catalog::-webkit-scrollbar-thumb {
            background: #00ffff;
            border-radius: 2px;
        }

        /* Отладочная панель: скрыта, открывается из меню пользователя */
        #debugPanel {
            display: none;
            position: fixed;
            bottom: 10px;
            left: 10px;
            background: rgba(0,0,0,0.85);
            color: #0f0;
            font-family: 'Courier New', monospace;
            font-size: 11px;
            padding: 10px 15px;
            border-radius: 8px;
            border: 1px solid rgba(0,255,0,0.2);
            max-width: 500px;
            max-height: 200px;
            overflow-y: auto;
            z-index: 9999;
            pointer-events: auto;
            white-space: pre-wrap;
            word-wrap: break-word;
        }
        #debugPanel.open { display: block; }
        .debug-panel-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            margin-bottom: 8px;
            color: #fff;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        }
        .debug-panel-close {
            color: #fff;
            background: transparent;
            border: 0;
            cursor: pointer;
            font-size: 18px;
        }
        #debugPanel .error { color: #f55; }
        #debugPanel .success { color: #5f5; }
        #debugPanel .info { color: #5af; }
        #debugPanel .warn { color: #fa5; }

        .cart-cookie-icon {
            width: 24px;
            height: 24px;
            object-fit: contain;
            vertical-align: middle;
            margin-right: 5px;
        }

        .cookie-notice {
            position: fixed;
            left: 20px;
            right: 20px;
            bottom: 20px;
            z-index: 12000;
            max-width: 880px;
            margin: 0 auto;
            padding: 16px 18px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            color: rgba(255, 255, 255, 0.86);
            background: rgba(8, 10, 20, 0.97);
            border: 1px solid rgba(0, 255, 255, 0.3);
            border-radius: 12px;
            box-shadow: 0 0 34px rgba(0, 255, 255, 0.12);
            font-size: 14px;
            line-height: 1.45;
        }
        .cookie-notice[hidden] { display: none; }
        .cookie-notice a { color: #00ffff; }
        .cookie-notice button {
            flex: 0 0 auto;
            padding: 9px 22px;
            color: #061016;
            background: #00ffff;
            border: 0;
            border-radius: 7px;
            font: 700 13px system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            cursor: pointer;
        }

        @media (max-width: 600px) {
            .cookie-notice {
                left: 10px;
                right: 10px;
                bottom: 10px;
                flex-direction: column;
                align-items: stretch;
            }

            .product-card .icon-wrap,
            .product-card .cookie-image {
                width: 112px;
                height: 112px;
            }
        }
        .book-exchange-card {
            display: grid;
            grid-template-columns: auto 1fr auto;
            gap: 18px;
            align-items: center;
            max-width: 980px;
            margin: 0 auto 26px;
            padding: 18px 22px;
            border: 1px solid rgba(0, 255, 136, 0.35);
            border-radius: 12px;
            background: rgba(0, 255, 136, 0.055);
        }
        .book-exchange-icon { width: 64px; height: 64px; object-fit: contain; }
        .book-exchange-fallback { display: none; font-size: 48px; }
        .book-exchange-fallback.is-visible { display: inline-block; }
        .book-exchange-copy h2 { margin: 0 0 5px; color: #00ff88; font-size: 20px; }
        .book-exchange-copy p { margin: 0; color: rgba(255,255,255,.65); }
        .book-exchange-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
        .book-exchange-controls input {
            width: 74px; padding: 10px; color: #fff; background: #0c0d18;
            border: 1px solid rgba(0,255,255,.35); border-radius: 7px;
        }
        .book-exchange-controls button {
            padding: 11px 15px; color: #071014; background: #00ff88;
            border: 0; border-radius: 7px; font-weight: 700; cursor: pointer;
        }
        .book-exchange-message { flex-basis: 100%; min-height: 18px; color: rgba(255,255,255,.68); text-align: right; }
        @media (max-width: 760px) {
            .book-exchange-card { grid-template-columns: auto 1fr; }
            .book-exchange-controls { grid-column: 1 / -1; justify-content: flex-start; }
            .book-exchange-message { text-align: left; }
        }

        /* ============================================================
           МОБИЛЬНАЯ КОМПОНОВКА 2026.09.26
        ============================================================ */
        html {
            -webkit-text-size-adjust: 100%;
            text-size-adjust: 100%;
        }

        button,
        a,
        input {
            touch-action: manipulation;
        }

        .product-copy {
            min-width: 0;
        }

        @media (max-width: 680px) {
            .site-wrapper {
                background-attachment: scroll;
            }

            .header {
                display: grid;
                grid-template-columns: minmax(0, 1fr);
                align-items: stretch;
                gap: 10px;
                padding: 12px max(12px, env(safe-area-inset-right)) 12px max(12px, env(safe-area-inset-left));
            }

            .logo {
                width: 100%;
                min-width: 0;
                justify-content: center;
            }

            .logo img {
                width: min(58vw, 220px);
                height: auto;
                max-height: 68px;
            }

            .header-right {
                width: 100%;
                display: grid;
                grid-template-columns: minmax(0, 1fr);
                align-items: stretch;
                gap: 8px;
            }

            .header-right .user-menu {
                order: 1;
                width: 100%;
                min-width: 0;
            }

            .header-right .back-link {
                order: 2;
                width: 100%;
                min-height: 44px;
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 9px 14px;
                border-radius: 8px;
                font-size: 11px;
            }

            .user-status {
                width: 100%;
                min-height: 54px;
                display: grid;
                grid-template-columns: minmax(0, 1fr) auto auto auto;
                align-items: center;
                justify-content: initial;
                gap: 6px;
                padding: 7px 9px;
                border-radius: 8px;
                letter-spacing: 0;
            }

            .account-identity {
                overflow: hidden;
            }

            .user-status .id-label {
                display: block;
                margin-bottom: 2px;
                font-size: 9px;
                line-height: 1;
                letter-spacing: .5px;
            }

            .user-status .id-value {
                display: block;
                max-width: 100%;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                font-size: 11px;
            }

            .user-status .account-divider {
                display: none;
            }

            .currency-balance {
                min-width: 48px;
                gap: 3px;
            }

            .currency-balance-icon,
            .currency-balance-icon.book-icon {
                width: 28px;
                height: 28px;
            }

            .user-status .balance-value {
                font-size: 12px;
                letter-spacing: 0;
            }

            .user-status .arrow-down {
                margin-left: 0;
            }

            .user-dropdown {
                top: calc(100% + 6px);
                left: 0;
                right: 0;
                width: 100%;
                min-width: 0;
            }

            .user-dropdown .dropdown-item {
                min-height: 44px;
                padding: 10px 14px;
                font-size: 13px;
            }

            .main-content {
                padding: 22px 12px 12px;
            }

            .page-title {
                margin-bottom: 6px;
                font-size: 21px;
                line-height: 1.25;
                letter-spacing: 1.5px;
            }

            .page-subtitle {
                margin-bottom: 18px;
                font-size: 13px;
                line-height: 1.4;
                letter-spacing: .4px;
            }

            .book-exchange-card {
                grid-template-columns: 58px minmax(0, 1fr);
                gap: 11px;
                margin-bottom: 18px;
                padding: 14px;
                border-radius: 10px;
            }

            .book-exchange-icon {
                width: 56px;
                height: 56px;
            }

            .book-exchange-copy h2 {
                margin-bottom: 4px;
                font-size: 17px;
                line-height: 1.2;
            }

            .book-exchange-copy p {
                font-size: 12px;
                line-height: 1.45;
            }

            .book-exchange-controls {
                grid-column: 1 / -1;
                display: grid;
                grid-template-columns: auto 78px minmax(110px, 1fr);
                align-items: center;
                justify-content: stretch;
                gap: 8px;
            }

            .book-exchange-controls label {
                font-size: 12px;
            }

            .book-exchange-controls input {
                width: 100%;
                min-height: 44px;
                padding: 8px;
                font-size: 16px;
                text-align: center;
            }

            .book-exchange-controls button {
                width: 100%;
                min-height: 44px;
                padding: 9px 12px;
            }

            .book-exchange-message {
                grid-column: 1 / -1;
                min-height: 0;
                font-size: 12px;
                line-height: 1.4;
                text-align: left;
            }

            .shop-layout {
                display: grid;
                grid-template-columns: minmax(0, 1fr);
                gap: 16px;
            }

            .catalog {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 12px;
            }

            .product-card {
                min-width: 0;
                padding: 13px;
                border-radius: 10px;
            }

            .product-card .icon-wrap,
            .product-card .cookie-image {
                width: 112px;
                height: 112px;
            }

            .product-card .btn-buy {
                min-height: 42px;
            }

            .cart-sidebar {
                position: static;
                min-width: 0;
                padding: 16px;
                border-radius: 10px;
            }

            .cart-item {
                gap: 10px;
            }

            .cart-item .item-info {
                min-width: 0;
            }

            .cart-item .item-name {
                overflow-wrap: anywhere;
            }

            .btn-checkout {
                min-height: 48px;
            }

            .footer {
                margin-top: 28px;
                padding: 24px 16px calc(16px + env(safe-area-inset-bottom));
            }

            .footer-content {
                grid-template-columns: 1fr;
                gap: 18px;
                text-align: center;
            }

            .footer-column a {
                min-height: 34px;
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 5px 0;
            }

            .footer-column a:hover {
                padding-left: 0;
            }

            .footer-bottom {
                margin-top: 18px;
                padding-top: 14px;
                line-height: 1.6;
            }

            .modal-overlay {
                align-items: center;
                overflow-y: auto;
                padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
            }

            .modal {
                width: 100%;
                max-width: 100%;
                max-height: calc(100dvh - 24px);
                padding: 22px 16px;
                border-radius: 14px;
            }

            .modal h2 {
                font-size: 19px;
                line-height: 1.25;
                letter-spacing: 1px;
            }

            #docModalTitle.currency-info-title {
                gap: 10px;
                margin-bottom: 14px;
            }

            .currency-info-title-image {
                width: 62px;
                height: 62px;
                flex-basis: 62px;
            }

            .modal .modal-details {
                padding: 13px;
            }

            .modal .modal-details .row {
                gap: 14px;
            }

            .modal .modal-details .row .value {
                min-width: 0;
                text-align: right;
                overflow-wrap: anywhere;
            }

            .modal .modal-buttons {
                flex-direction: column;
                gap: 9px;
            }

            .modal .btn-pay,
            .modal .btn-close-modal,
            .modal .modal-buttons > button {
                width: 100%;
                min-height: 44px;
                margin: 0;
                padding: 10px 14px;
            }

            .profile-field input {
                min-height: 46px;
                font-size: 16px;
            }

            .doc-modal-content p {
                max-height: 58dvh;
                padding-right: 5px;
                font-size: 13px;
                line-height: 1.6;
            }

            .toast {
                left: 8px;
                right: 8px;
                bottom: calc(8px + env(safe-area-inset-bottom));
                max-width: none;
                padding: 14px 16px;
                font-size: 13px;
            }

            .cookie-notice {
                left: 8px;
                right: 8px;
                bottom: calc(8px + env(safe-area-inset-bottom));
                max-height: calc(100dvh - 16px);
                overflow-y: auto;
                padding: 13px;
                gap: 12px;
                font-size: 12px;
            }

            .cookie-notice button {
                width: 100%;
                min-height: 42px;
            }
        }

        @media (max-width: 560px) {
            .catalog {
                grid-template-columns: minmax(0, 1fr);
            }

            .product-card {
                display: grid;
                grid-template-columns: 116px minmax(0, 1fr);
                align-items: center;
                gap: 12px;
                text-align: left;
            }

            .product-card .icon-wrap {
                width: 112px;
                height: 112px;
                margin: 0;
            }

            .product-card .cookie-image {
                width: 112px;
                height: 112px;
            }

            .product-card .cookie-count {
                right: 0;
                bottom: 2px;
                min-width: 40px;
                padding: 4px 7px;
                font-size: 10px;
            }

            .product-copy {
                padding-top: 18px;
            }

            .product-card .product-name {
                margin-bottom: 4px;
                font-size: 14px;
            }

            .product-card .product-desc {
                margin-bottom: 7px;
                font-size: 11px;
            }

            .product-card .product-price {
                margin-bottom: 9px;
                font-size: 17px;
            }

            .product-card .btn-buy {
                width: 100%;
                padding: 8px 10px;
                font-size: 10px;
            }

            .product-card .discount-badge {
                top: 9px;
                right: 9px;
                padding: 4px 7px;
                font-size: 10px;
            }
        }

        @media (max-width: 360px) {
            .currency-balance {
                min-width: 43px;
            }

            .currency-balance-icon,
            .currency-balance-icon.book-icon {
                width: 25px;
                height: 25px;
            }

            .book-exchange-controls {
                grid-template-columns: 1fr 78px;
            }

            .book-exchange-controls label {
                grid-column: 1 / -1;
            }

            .product-card {
                grid-template-columns: 96px minmax(0, 1fr);
                gap: 9px;
                padding: 10px;
            }

            .product-card .icon-wrap,
            .product-card .cookie-image {
                width: 94px;
                height: 94px;
            }

            .cart-item {
                align-items: flex-start;
                flex-direction: column;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                scroll-behavior: auto !important;
                animation-duration: .01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: .01ms !important;
            }
        }

        /* ============================================================
           КОРЗИНА, ДОКУМЕНТЫ И ОФЕРТА — 2026.09.27.9
        ============================================================ */
        .shop-layout {
            grid-template-columns: 1fr;
        }

        .cart-sidebar {
            position: static;
            top: auto;
            width: 100%;
            max-width: 980px;
            margin: 0 auto 30px;
        }

        .payment-offer-consent {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin: 16px 0 4px;
            padding: 13px 14px;
            border: 1px solid rgba(0, 255, 255, .18);
            border-radius: 8px;
            background: rgba(0, 0, 0, .24);
            color: rgba(255, 255, 255, .72);
            font-size: 13px;
            line-height: 1.45;
            text-align: left;
            cursor: pointer;
        }

        .payment-offer-consent input,
        .legal-consent-check input {
            flex: 0 0 auto;
            width: 18px;
            height: 18px;
            margin: 1px 0 0;
            accent-color: #00ffff;
        }

        .payment-offer-consent a,
        .legal-consent-panel a {
            color: #00ffff;
            text-decoration-thickness: 1px;
            text-underline-offset: 2px;
        }

        html.legal-consent-open,
        body.legal-consent-open {
            overflow: hidden;
        }

        .legal-consent-overlay {
            position: fixed;
            inset: 0;
            z-index: 20000;
            display: grid;
            place-items: center;
            padding: 20px;
            overflow-y: auto;
            background: rgba(0, 0, 0, .88);
            backdrop-filter: blur(10px);
        }

        .legal-consent-overlay[hidden] {
            display: none;
        }

        .legal-consent-panel {
            width: min(620px, 100%);
            padding: 28px;
            border: 1px solid rgba(0, 255, 255, .35);
            border-radius: 16px;
            background: #111225;
            box-shadow: 0 0 48px rgba(0, 255, 255, .13);
            color: rgba(255, 255, 255, .75);
        }

        .legal-consent-panel h2 {
            margin: 0 0 14px;
            color: #00ffff;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            font-size: 25px;
            letter-spacing: 1px;
            text-align: center;
        }

        .legal-consent-panel p,
        .legal-consent-panel li {
            font-size: 14px;
            line-height: 1.55;
        }

        .legal-consent-panel ul {
            margin: 12px 0 18px;
            padding-left: 23px;
        }

        .legal-consent-panel li + li {
            margin-top: 6px;
        }

        .legal-consent-check {
            display: flex;
            align-items: flex-start;
            gap: 11px;
            padding: 14px;
            border: 1px solid rgba(0, 255, 255, .18);
            border-radius: 9px;
            background: rgba(0, 0, 0, .24);
            font-size: 13px;
            line-height: 1.5;
            cursor: pointer;
        }

        .legal-consent-message {
            min-height: 21px;
            margin: 10px 0;
            color: rgba(255, 255, 255, .55);
            text-align: center;
        }

        .legal-consent-message.error {
            color: #ff8686;
        }

        .legal-consent-accept {
            display: block;
            min-width: 150px;
            margin: 4px auto 0;
            padding: 11px 25px;
            border: 1px solid #00ffff;
            border-radius: 8px;
            background: rgba(0, 255, 255, .12);
            color: #00ffff;
            font: 700 14px system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            cursor: pointer;
        }

        .legal-consent-accept:disabled {
            opacity: .42;
            cursor: not-allowed;
        }

        @media (max-width: 680px) {
            .legal-consent-overlay {
                align-items: start;
                padding: 12px;
            }

            .legal-consent-panel {
                margin: 8px 0;
                padding: 20px 17px;
            }

            .legal-consent-panel h2 {
                font-size: 21px;
            }
        }
