/* Wishlist Sidebar Styles */
.wishlist-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 9999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.wishlist-sidebar.active {
    right: 0;
}

.wishlist-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.wishlist-overlay.active {
    opacity: 1;
    visibility: visible;
}

.wishlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.wishlist-header h3 {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    color: #333;
}

.close-sidebar {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-sidebar:hover svg {
    stroke: #c0596A;
}

.wishlist-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    padding-bottom: 70px;
}

.empty-wishlist {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.wishlist-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    position: relative;
    transition: all 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.wishlist-item.removing {
    animation: shake 0.3s ease;
    opacity: 0.5;
}

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

.wishlist-item-info {
    flex: 1;
}

.wishlist-item-info h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.wishlist-item-info p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #c0596A;
}

.remove-item {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    position: absolute;
    top: 10px;
    right: 10px;
}

.remove-item:hover svg {
    stroke: #c0596A;
}

.wishlist-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 20px;
    background: white;
    border-top: 1px solid #eee;
}

.wishlist-btn {
    width: 100%;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.checkout-btn {
    background: #c0596A;
    color: white;
}

.checkout-btn:hover {
    background: #a04858;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192,89,106,0.4);
}

@media (max-width: 480px) {
    .wishlist-sidebar {
        width: 100%;
        right: -100%;
    }
}
