/* General Styles */
html {
    scroll-behavior: smooth;
	
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

/* Pop-Up Overlay */
.cart-popup-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark transparent background */
    z-index: 1000;
    display: flex; /* Use Flexbox for centering */
    justify-content: center;
    align-items: center;
}

/* Pop-Up Content */
.cart-popup-content {
    background: white;
    border-radius: 15px;
    width: 95%; /* Responsive width */
    max-width: 600px; /* Limit maximum width */
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3); /* Shadow effect */
    padding: 40px;
    position: relative;
    animation: fadeIn 0.3s ease-out; /* Smooth fade-in animation */
    transform: translateY(-20px); /* Initial position for animation */
}

/* Pop-Up Header */
.cart-popup-header h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

/* Close Button */
.close-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close-popup:hover {
    color: #333;
}

/* Product List in Pop-Up */
.popup-product-list {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    gap: 20px; /* Space between items */
    margin-bottom: 20px;
}

.popup-product-item {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between image and text */
    padding: 10px;
    background: #f9f9f9; /* Light gray background */
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* Product Image */
.popup-product-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

/* Customer Details Form */
.popup-customer-details .form-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}

.popup-customer-details label {
    font-size: 16px;
    font-weight: bold;
    color: #555;
}

.popup-customer-details input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.popup-customer-details input:focus {
    border-color: #007bff; /* Blue border on focus */
    outline: none;
}

/* Pop-Up Footer */
.cart-popup-footer {
    text-align: center;
    margin-top: 20px;
}

.cart-popup-footer .buy-button {
    display: inline-block;
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.cart-popup-footer .buy-button:hover {
    background: linear-gradient(45deg, #0056b3, #003f7f);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 91, 187, 0.5);
}

.cart-popup-footer .buy-button:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
}

/* Animation for Fade-In */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .cart-popup-content {
        width: 90%; /* Adjust width for smaller screens */
        padding: 20px; /* Reduce padding */
    }

    .popup-product-image {
        width: 50px;
        height: 50px;
    }
}



