* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
            font-weight: 300;
        }

        body {
            background-color: #131c29;
            color: #eef2f6;
            line-height: 1.5;
            min-height: 100vh;
            padding-bottom: 85px;
            -webkit-tap-highlight-color: transparent;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 12px;
        }

        /* Анимации */
        @keyframes slideOut {
            from { transform: translateX(0); opacity: 1; }
            to { transform: translateX(100%); opacity: 0; }
        }
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        /* Header */
        .header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid rgba(255,255,255,0.05);
            position: sticky;
            top: 0;
            background-color: #131c29;
            z-index: 100;
            backdrop-filter: blur(12px);
            gap: 8px;
        }

        .logo {
            font-size: 1.4rem;
            font-weight: 350;
            color: #fff;
            text-decoration: none;
            white-space: nowrap;
        }
        .logo span { color: #4884ff; }

        .header-actions {
            display: flex;
            gap: 10px;
            align-items: center;
        }
        .header-icon {
            color: #eef2f6;
            font-size: 1.2rem;
            opacity: 0.8;
            text-decoration: none;
        }

        /* Хлебные крошки */
        .breadcrumbs {
            display: flex;
            gap: 6px;
            padding: 12px 0 6px;
            font-size: 0.75rem;
            opacity: 0.7;
        }
        .breadcrumbs a { color: #8aa9ff; text-decoration: none; }

        /* Заголовок */
        .cart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 16px 0 20px;
            flex-wrap: wrap;
            gap: 12px;
        }
        .cart-header h1 {
            font-weight: 300;
            font-size: 2rem;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .cart-count {
            font-size: 1rem;
            opacity: 0.7;
            font-weight: 300;
        }
        .clear-cart {
            color: #ff6b6b;
            background: transparent;
            border: 1px solid #ff6b6b40;
            padding: 8px 18px;
            border-radius: 30px;
            font-size: 0.85rem;
            cursor: pointer;
            transition: 0.2s;
        }
        .clear-cart:hover {
            background: #ff6b6b20;
            border-color: #ff6b6b;
        }

        /* Основная сетка */
        .cart-layout {
            display: flex;
            gap: 28px;
        }

        .cart-items {
            flex: 1;
        }

        /* Карточка товара в корзине */
        .cart-item {
            display: flex;
            gap: 16px;
            padding: 20px;
            background: #1a2533;
            border-radius: 20px;
            margin-bottom: 12px;
            border: 1px solid #ffffff08;
            transition: 0.2s;
            position: relative;
            align-items: center;
        }
        .cart-item:hover {
            background: #1e2a3a;
            border-color: #4884ff40;
        }
        .cart-item.removing {
            animation: slideOut 0.3s forwards;
        }

        .item-select {
            display: flex;
            align-items: center;
        }
        .item-select input {
            width: 20px;
            height: 20px;
            accent-color: #4884ff;
            cursor: pointer;
        }

        .item-image {
            width: 100px;
            height: 100px;
            background: #0f1722;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            color: #4884ff;
            flex-shrink: 0;
            position: relative;
            overflow: hidden;
        }
        .item-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .item-badge {
            position: absolute;
            top: 6px;
            left: 6px;
            z-index: 2;
            max-width: calc(100% - 12px);
            box-sizing: border-box;
            background: #ff4757;
            color: white;
            padding: 2px 8px;
            border-radius: 20px;
            font-size: 0.65rem;
            font-weight: 400;
            line-height: 1.2;
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .item-details {
            flex: 1;
        }
        .item-name {
            font-weight: 400;
            font-size: 1.1rem;
            margin-bottom: 4px;
        }
        .item-category {
            font-size: 0.8rem;
            opacity: 0.7;
            margin-bottom: 8px;
        }
        .item-meta {
            display: flex;
            gap: 16px;
            font-size: 0.8rem;
            opacity: 0.7;
        }

        .item-price-section {
            text-align: right;
            min-width: 140px;
        }
        .item-price {
            font-size: 1.4rem;
            font-weight: 400;
            color: #4884ff;
        }
        .item-old-price {
            font-size: 0.85rem;
            text-decoration: line-through;
            opacity: 0.5;
        }
        .item-savings {
            font-size: 0.75rem;
            color: #3acf6b;
            margin-top: 4px;
        }

        .quantity-control {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 12px;
            justify-content: flex-end;
        }
        .qty-btn {
            width: 32px;
            height: 32px;
            border-radius: 16px;
            background: #0f1722;
            border: 1px solid #ffffff20;
            color: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
        }
        .qty-btn:active { background: #4884ff; }
        .qty-input {
            width: 50px;
            text-align: center;
            background: transparent;
            border: none;
            color: white;
            font-size: 1rem;
        }

        .item-actions {
            display: flex;
            gap: 8px;
            margin-left: 12px;
        }
        .action-btn {
            width: 36px;
            height: 36px;
            border-radius: 18px;
            background: transparent;
            border: 1px solid #ffffff20;
            color: #9aabbf;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: 0.2s;
        }
        .action-btn:hover {
            background: #4884ff20;
            border-color: #4884ff;
            color: #4884ff;
        }
        .action-btn.favorite { color: #ff6b6b; }
        .action-btn.favorite.active { color: #ff4757; background: #ff475720; }

        /* Сайдбар */
        .cart-sidebar {
            width: 360px;
            flex-shrink: 0;
        }

        .summary-card {
            background: #1a2533;
            border-radius: 24px;
            padding: 24px;
            border: 1px solid #ffffff08;
            position: sticky;
            top: 80px;
        }

        .summary-title {
            font-weight: 400;
            font-size: 1.3rem;
            margin-bottom: 20px;
        }

        .summary-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 12px;
            font-size: 0.95rem;
        }
        .summary-row.total {
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid #ffffff15;
            font-size: 1.2rem;
            font-weight: 400;
        }
        .summary-row.discount {
            color: #3acf6b;
        }
        .summary-row.bonus {
            color: #ffb83d;
            align-items: flex-start;
        }
        .bonus-earn-stack {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 3px;
            max-width: 62%;
            text-align: right;
        }
        .summary-row.bonus .bonus-earn-value {
            font-size: 0.9rem;
            line-height: 1.3;
            font-weight: 400;
        }
        .bonus-earn-note {
            font-size: 0.72rem;
            opacity: 0.55;
            font-weight: 300;
            line-height: 1.25;
            color: #eef2f6;
        }

        .promo-section {
            margin: 20px 0;
        }
        .promo-input-wrapper {
            display: flex;
            gap: 8px;
        }
        .promo-input {
            flex: 1;
            background: #0f1722;
            border: 1px solid #ffffff15;
            border-radius: 30px;
            padding: 12px 16px;
            color: white;
            font-size: 0.9rem;
            outline: none;
        }
        .promo-input:focus { border-color: #4884ff; }
        .promo-btn {
            background: #4884ff;
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 30px;
            cursor: pointer;
            font-size: 0.9rem;
        }
        .applied-promo {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: #4884ff20;
            padding: 10px 16px;
            border-radius: 20px;
            margin-top: 12px;
        }
        .remove-promo {
            color: #ff6b6b;
            cursor: pointer;
        }

        .checkout-btn {
            width: 100%;
            background: #4884ff;
            color: white;
            border: none;
            padding: 16px;
            border-radius: 40px;
            font-size: 1.1rem;
            font-weight: 400;
            cursor: pointer;
            margin: 20px 0 12px;
            transition: 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        .checkout-btn:hover {
            background: #3d6ed9;
            transform: scale(1.02);
        }

        .cart-items .cart-update-btn {
            margin-top: 14px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 22px;
            border-radius: 40px;
            border: 1px solid #ffffff12;
            cursor: pointer;
            font-family: inherit;
            font-size: 0.9rem;
            font-weight: 400;
            color: white;
            background: #4884ff;
            transition: 0.2s;
        }
        .cart-items .cart-update-btn:hover {
            background: #3d6ed9;
        }
        .cart-items .cart-update-btn:active {
            transform: scale(0.98);
        }

        .payment-methods {
            display: flex;
            gap: 8px;
            justify-content: center;
            margin-top: 16px;
        }
        .payment-icon {
            width: 48px;
            height: 32px;
            background: #0f1722;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            color: #9aabbf;
        }

        /* Рекомендации */
        .recommendations {
            margin-top: 40px;
        }
        .rec-title {
            font-weight: 300;
            font-size: 1.5rem;
            margin-bottom: 20px;
        }
        .rec-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 16px;
        }
        .rec-card {
            background: #1a2533;
            border-radius: 16px;
            padding: 16px;
            border: 1px solid #ffffff08;
            cursor: pointer;
            transition: 0.2s;
        }
        .rec-card:hover {
            background: #1e2a3a;
            border-color: #4884ff40;
        }
        .rec-image {
            width: 100%;
            aspect-ratio: 1;
            background: #0f1722;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: #4884ff;
            margin-bottom: 12px;
            overflow: hidden;
        }
        .rec-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .rec-name {
            font-weight: 400;
            font-size: 0.9rem;
            margin-bottom: 4px;
        }
        .rec-price {
            color: #4884ff;
            font-weight: 400;
        }

        /* Пустая корзина */
        .empty-cart {
            text-align: center;
            padding: 60px 20px;
        }
        .empty-icon {
            font-size: 5rem;
            color: #4884ff;
            opacity: 0.5;
            margin-bottom: 20px;
        }
        .empty-title {
            font-size: 1.8rem;
            font-weight: 300;
            margin-bottom: 10px;
        }
        .empty-text {
            opacity: 0.7;
            margin-bottom: 30px;
        }
        .continue-shopping {
            background: #4884ff;
            color: white;
            border: none;
            padding: 14px 32px;
            border-radius: 40px;
            font-size: 1rem;
            cursor: pointer;
        }

        /* Мобильное меню */
        .mobile-bottom-nav {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: #0f1722f0;
            backdrop-filter: blur(20px);
            border-top: 1px solid #ffffff10;
            padding: 6px 10px 10px;
            justify-content: space-around;
            z-index: 80;
        }
        .mobile-nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: #9aabbf;
            text-decoration: none;
            font-size: 0.6rem;
        }
        .mobile-nav-item i { font-size: 1.3rem; margin-bottom: 2px; }
        .mobile-nav-item.active { color: #4884ff; }

        /* Модалки */
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: #000000b0;
            backdrop-filter: blur(4px);
            z-index: 200;
            display: none;
            align-items: center;
            justify-content: center;
        }
        .modal {
            background: #1a2533;
            border-radius: 28px;
            padding: 28px;
            max-width: 450px;
            width: 90%;
            border: 1px solid #4884ff;
        }
        .modal-title {
            font-weight: 400;
            margin-bottom: 20px;
            font-size: 1.4rem;
        }

        /* Toast */
        .toast {
            position: fixed;
            bottom: 100px;
            left: 16px;
            right: 16px;
            background: #1e2a3af0;
            backdrop-filter: blur(12px);
            border-radius: 40px;
            padding: 12px 20px;
            z-index: 300;
            border: 1px solid #4884ff60;
            transform: translateY(20px);
            opacity: 0;
            transition: 0.3s;
            pointer-events: none;
            text-align: center;
            font-size: 0.9rem;
        }
        .toast.show {
            transform: translateY(0);
            opacity: 1;
        }

        /* Чекбоксы */
        .checkbox-item {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px;
        }
        .checkbox-item input {
            accent-color: #4884ff;
            width: 18px;
            height: 18px;
        }

        /* Адаптация */
        @media (max-width: 1000px) {
            .cart-layout { flex-direction: column; }
            .cart-sidebar { width: 100%; }
            .rec-grid { grid-template-columns: repeat(3, 1fr); }
        }

        @media (max-width: 768px) {
            .container { padding: 0 8px; }
            .header { padding: 8px 0; }
            .logo { font-size: 1.3rem; }
            .cart-header h1 { font-size: 1.5rem; }
            .cart-item { flex-wrap: wrap; padding: 16px; }
            .item-image { width: 80px; height: 80px; font-size: 2rem; }
            .item-details { width: calc(100% - 120px); }
            .item-price-section { width: 100%; text-align: left; margin-top: 12px; }
            .quantity-control { justify-content: flex-start; }
            .rec-grid { grid-template-columns: repeat(2, 1fr); }
            .mobile-bottom-nav { display: flex; }
            body { padding-bottom: 80px; }
            .summary-card { position: static; }
            .item-actions { position: absolute; top: 16px; right: 16px; }
        }

        @media (max-width: 480px) {
            .cart-item { position: relative; }
            .item-select { position: absolute; top: 16px; left: 16px; z-index: 2; }
            .item-image { margin-left: 30px; }
            .rec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
        }

        /* Быстрая доставка */
        .delivery-info {
            background: #4884ff10;
            border-radius: 16px;
            padding: 16px;
            margin-bottom: 20px;
            border: 1px solid #4884ff30;
        }
        .delivery-title {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #4884ff;
            margin-bottom: 8px;
        }
