.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    bottom: 0px;
    background-color: #fff;
    width: 100%;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    max-height: 68vh;
}

.cart-overlay.active .cart-sidebar {
    transform: translateX(0);
}

/* 
.cart-container {
    padding: 0px 20px;
    margin: 0px 100px;
} */

.cart-header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 20px;
    font-weight: 600;
}

.close-cart {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6c757d;
}

.cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    border-bottom: 1px solid #e4e4e4ff;
}

.cart-popup {
    display: flex;
    align-items: center;
}

.cart-popup-item {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.cart-popup-item>* {
    padding-right: 5px !important;
}

.cart-item-image {
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 500;
    margin-bottom: 5px;
}

.cart-item-price span {
    color: #848989;
    font-size: 18px;
    font-style: italic;
}

.remove-item {
    margin-bottom: 0px !important;
    margin-right: 0px !important;
    background-color: #ff1229;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 12px;
}

.cart-footer {
    padding: 15px;
}

.cart-total {
    text-align: right;
    border-bottom: 1px solid #e4e4e4ff;
}

.cart-total span {
    font-size: 25px;
    text-transform: uppercase;
    font-weight: 800;
}

.buy-now-btn {
    width: 100%;
    background-color: #000000;
    color: white;
    border: none;
    padding: 5px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    margin-top: 20px;
    text-transform: math-auto;
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;


}

.buy-now-btn-active {
    pointer-events: auto !important;
    opacity: 1 !important;
    cursor: pointer !important;
    transition: background-color 0.2s;
    animation: bounceUpDown 1.2s infinite;
    animation-timing-function: cubic-bezier(.28, .84, .42, 1);
}

@keyframes bounceUpDown {


    0%,
    100% {
        transform: translateY(0);
    }


    50% {
        transform: translateY(-10px);
    }
}

.buy-now-btn:hover {
    background-color: #202020;
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.empty-cart-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.snake-border {
    position: relative;
    background: #2c3e50;
    border: 3px solid transparent;
}

.snake-border::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg,
            #ff6b6b 0%,
            transparent 25%,
            transparent 75%,
            #4ecdc4 100%);
    border-radius: 50px;
    animation: snake 3s linear infinite;
    z-index: -1;
}

.no-scroll {
    overflow: hidden;
}

@keyframes snake {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}