    .menu-basket {
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 0 1.5rem;
        gap: 10px;
        position: relative;
        white-space: nowrap;
    }

    .menu-basket i {
        font-size: 1.2rem;
        color: #fff;
    }

    .menu-basket span {
        position: absolute;
        bottom: -4px;
        right: -4px;
        min-width: 20px;
        height: 20px;
        padding: 8px 6px 5px;
        background: #dc2626;
        color: white;
        border-radius: 50%;
        font-size: 0.6rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
        box-sizing: border-box;
    }

    .menu-basket:hover {
        color: #fff;
    }

    .cart-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.87);
        backdrop-filter: blur(1px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999999;
        pointer-events: none;
    }

    .cart-overlay.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .cart-panel {
        position: fixed;
        top: 0;
        right: -420px;
        width: 380px;
        height: 100vh;
        max-height: 100vh;
        max-height: 100dvh;
        background: #fff;
        backdrop-filter: blur(24px) saturate(180%);
        box-shadow: -10px 0 40px -12px rgba(0, 0, 0, 0.25);
        border-left: 1px solid rgba(255, 255, 255, 0.7);
        padding: 2rem 0.5rem 1.5rem 0.8rem;
        transition: right 0.4s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.3s;
        z-index: 1000000;
        display: flex;
        flex-direction: column;
        color: #151f2c;
        opacity: 0;
        pointer-events: none;
    }

    @supports not (height: 100dvh) {
        .cart-panel {
            height: 100vh;
            max-height: 100vh;
        }
    }

    @media (max-width: 480px) {
        .cart-panel {
            width: 90%;
            right: -90%;
            padding: 1.2rem 1rem 1rem 1rem;
            padding-bottom: max(1rem, env(safe-area-inset-bottom, 1rem));
        }
    }

    @supports (padding: constant(safe-area-inset-bottom)) or (padding: env(safe-area-inset-bottom)) {
        .cart-panel {
            padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 1.5rem));
        }

        .cart-footer {
            padding-bottom: max(0.5rem, env(safe-area-inset-bottom, 0.5rem));
        }
    }

    .cart-panel.open {
        right: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .cart-close {
        position: absolute;
        top: 30px;
        right: 24px;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .cart-close:hover {
        transform: rotate(90deg);
    }

    .cart-header {
        font-size: 18px;
        letter-spacing: -0.02em;
        margin-bottom: 2rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .cart-header i {
        color: #dc2626;
        font-size: 1.8rem;
    }

    .cart-items {
        flex: 1;
        overflow-y: auto;
        padding-right: 6px;
        margin-bottom: 1.5rem;
    }

    .cart-items::-webkit-scrollbar {
        width: 4px;
    }

    .cart-items::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 10px;
    }

    .cart-items::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 10px;
    }

    .cart-item {
        display: grid;
        grid-template-columns: 64px 1fr;
        gap: 12px;
        background: #fff;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 5px;
        padding: 12px;
        margin-bottom: 8px;
        transition: border-color 0.15s;
    }

    .cart-item:hover {
        border-color: rgba(0, 0, 0, 0.16);
    }

    .cart-item-img {
        width: 64px;
        height: 64px;
        border-radius: 5px;
        background: #f5f5f5;
        border: 1px solid rgba(0, 0, 0, 0.06);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        object-fit: cover;
    }

    .cart-item-info {
        display: flex;
        flex-direction: column;
        gap: 8px;
        min-width: 0;
    }

    .cart-item-top {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 8px;
    }

    .cart-item-title {
        font-size: 14px;
        font-weight: 500;
        color: #111;
        line-height: 1.4;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .cart-item-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .cart-item-quantity-control {
        display: flex;
        align-items: center;
        border: 1px solid rgba(0, 0, 0, 0.15);
        border-radius: 5px;
        overflow: hidden;
    }

    .cart-qty-minus,
    .cart-qty-plus {
        width: 28px;
        height: 28px;
        background: #f5f5f5;
        border: none;
        cursor: pointer;
        font-size: 16px;
        color: #555;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.15s;
    }

    .cart-qty-minus:hover,
    .cart-qty-plus:hover {
        background: #e8e8e8;
        color: #111;
    }

    .cart-item-qty {
        width: 32px;
        text-align: center;
        font-size: 13px;
        font-weight: 500;
        color: #111;
        border-left: 1px solid rgba(0, 0, 0, 0.1);
        border-right: 1px solid rgba(0, 0, 0, 0.1);
        line-height: 28px;
    }

    .cart-item-remove {
        color: #aaa;
        cursor: pointer;
        font-size: 15px;
        flex-shrink: 0;
        padding: 2px;
        border-radius: 4px;
        transition: color 0.15s;
    }

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

    .cart-item-price-info {
        display: flex;
        align-items: center;
        gap: 5px;
        margin-bottom: 8px;
        flex-wrap: wrap;
    }

    .old-price {
        text-decoration: line-through;
        color: #999;
        font-size: 12px;
    }

    .badge-sale {
        background: #e74c3c;
        color: white;
        font-size: 10px;
        padding: 4px 6px 2px 6px;
        border-radius: 10px;
        display: inline-block;
    }

    .badge-wholesale {
        background: #4f46e5;
        color: white;
        font-size: 10px;
        padding: 4px 6px 2px 6px;
        border-radius: 10px;
        display: inline-block;
    }

    .cart-item-price-unit {
        font-weight: 500;
        color: #333;
    }

    .cart-item-price-unit span:last-child {
        font-size: 11px;
        color: #999;
    }

    .cart-footer {
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        padding-top: 1.5rem;
    }

    .cart-total {
        display: flex;
        justify-content: space-between;
        font-weight: 700;
        font-size: 1.3rem;
        margin-bottom: 1.3rem;
    }

    .checkout-btn {
        background: #18181b;
        color: white;
        border: none;
        width: 100%;
        padding: 1rem;
        border-radius: 15px;
        font-weight: 600;
        font-size: 1.1rem;
        background: rgba(20, 20, 30, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        transition: all 0.2s;
        cursor: pointer;
    }

    .checkout-btn:hover {
        background: #2d2d3a;
        transform: translateY(-2px);
    }

    .cart-footer-note {
        margin-top: 1rem;
        font-size: 0.8rem;
        color: #6b7280;
        text-align: center;
        border-top: 1px dashed rgba(0, 0, 0, 0.1);
        padding-top: 1rem;
    }

    .cart-savings {
        display: flex;
        justify-content: space-between;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px dashed #e0e0e0;
        color: #27ae60;
        font-size: 13px;
        animation: fadeInUp 0.3s ease;
    }

    .empty-cart-message img {
        max-width: 200px;
    }

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

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    body.cart-open {
        overflow: hidden;
    }

    @media (max-width: 768px) {
        .cart-panel {
            width: 85%;
            right: -85%;
            padding: 1.5rem 1.2rem 1.2rem 1.2rem;
        }

        .cart-header {
            font-size: 1.4rem;
            margin-bottom: 1.5rem;
        }

        .cart-header i {
            font-size: 1.4rem;
        }

        .cart-close {
            top: 16px;
            right: 16px;
            width: 36px;
            height: 36px;
            font-size: 1.3rem;
        }

        .cart-item {
            padding: 0.6rem 0.8rem;
            gap: 0.8rem;
        }

        .cart-item-img {
            width: 48px;
            height: 48px;
            border-radius: 14px;
        }

        .cart-item-title {
            font-size: 0.9rem;
        }

        .cart-total {
            font-size: 1.1rem;
        }

        .checkout-btn {
            padding: 0.85rem;
            font-size: 1rem;
        }

        .cart-footer-note {
            font-size: 0.7rem;
        }
    }

    @media (max-width: 480px) {
        .cart-panel {
            width: 90%;
            right: -90%;
            padding: 1.2rem 1rem 1rem 1rem;
        }

        .cart-header {
            font-size: 1.2rem;
            margin-bottom: 1.2rem;
        }

        .cart-item-img {
            width: 42px;
            height: 42px;
        }

        .cart-item-title {
            font-size: 0.85rem;
        }
    }