.wishlist-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 5%;
}

.wishlist-container h1 {
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.wishlist-item {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    position: relative;
}

.wishlist-item img {
    width: 80px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.wishlist-item h4 {
    margin: 0;
    font-size: 1rem;
    color: #1a1a1a;
}

.remove-item {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #ff4d4d;
    cursor: pointer;
    font-size: 1.2rem;
}

.wishlist-footer {
    border-top: 2px solid #eee;
    padding-top: 30px;
    text-align: center;
}

.quote-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
}

.btn-quote {
    padding: 15px 30px;
    border-radius: 50px;
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s;
    min-width: 180px;
}

.btn-wa {
    background-color: #25D366;
}

.btn-msgr {
    background-color: #0084FF;
}

.btn-quote:hover {
    transform: scale(1.05);
}

.clear-btn {
    background: none;
    border: 1px solid #ccc;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    color: #666;
    margin-top: 20px;
}

@media (max-width: 600px) {
    .quote-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    color: #ffc412;
    padding: 12px 25px;
    border-radius: 50px;
    z-index: 10001;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: opacity 0.5s ease;
}

.toast-notification.fade-out {
    opacity: 0;
}

/* Ensure modal-btn has consistent padding */
.modal-btn {
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

/* This centers the modal and makes it cover the screen */
.modal-overlay {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Keeps it in place even if you scroll */
    top: 0;
    left: 0;
    width: 100vw;
    /* Full width of viewport */
    height: 100vh;
    /* Full height of viewport */
    background: rgba(0, 0, 0, 0.7);
    /* Dim the background */
    z-index: 9999;
    /* Ensures it sits on top of everything else */

    /* The centering magic */
    justify-content: center;
    align-items: center;
}

/* Style for the box inside the overlay */
.modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    /* No need for margins; the parent flex handles the centering */
}

/* Email Button for Wishlist Quote */
.btn-email {
    background-color: #2c3e50 !important;
    /* Navy Blue */
    color: white !important;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-email:hover {
    background-color: #1a252f !important;
}

/* Modal Input Styling to match the product page */
#email-modal input:focus {
    outline: none;
    border-color: #ffc412;
    box-shadow: 0 0 5px rgba(255, 196, 18, 0.3);
}