/* ====================== */
/* ====== КОРЗИНА ======= */
/* ====================== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background-color: #45a29e;
    color: #FFFFFF;
    z-index: 1050;
    transition: right 0.3s ease;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0; 
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.3s ease; 
    pointer-events: none;
}

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

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cart-header h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    margin: 0;
}

.close-cart {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-cart:hover {
    color: #CCCCCC;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
}

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

.cart-item p {
    margin: 0;
    font-family: 'Muli', sans-serif;
}

.remove-item {
    background-color: #333333;;
    color: #FFFFFF;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.remove-item:hover {
    background-color: #2A0101;
}

.cart-total {
    margin-top: 20px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
}

.cart-footer {
    margin-top: 20px;
}

.checkout-btn {
    width: 100%;
    background-color: #333333;
    color: #FFFFFF;
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-family: 'Oswald', sans-serif;
    transition: background-color 0.3s ease;
}

.checkout-btn:hover:not(:disabled) {
    background-color: #444444;
}

.checkout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.messenger-options {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}

.messenger-link {
    color: #FFFFFF;
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
    flex: 1;
    text-align: center;
    margin: 0 5px;
    transition: background-color 0.3s ease;
}

.messenger-link.whatsapp {
    background-color: #25D366;
}

.messenger-link.telegram {
    background-color: #0088CC;
}

.messenger-link:hover {
    opacity: 0.9;
}

.notification {
    position: fixed;
    bottom: -100px; 
    right: 20px;
    background-color: #333333; 
    color: #FFFFFF;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1100; 
    opacity: 0;
    transition: bottom 0.3s ease, opacity 0.3s ease;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    max-width: 300px;
    display: flex;
    align-items: center;
}

.notification.show {
    bottom: 20px; 
    opacity: 1;
}

.notification p {
    margin: 0;
    line-height: 1.4;
}
@media (max-width: 576px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .cart-sidebar.open {
        right: 0;
    }

    .notification {
        right: 10px; 
        max-width: 250px; 
        font-size: 0.9rem; 
    }
}