/* Wishlist Heart Button */
.wishlist-heart-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #e5aa03;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.wishlist-heart-btn:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(229, 170, 3, 0.3);
}

.wishlist-heart-btn .heart-icon {
    stroke: #e5aa03;
    fill: none;
    transition: all 0.3s ease;
}

.wishlist-heart-btn.active {
    background: #e5aa03;
    border-color: #e5aa03;
}

.wishlist-heart-btn.active .heart-icon {
    stroke: #fff;
    fill: #fff;
}

.wishlist-heart-btn:active {
    transform: scale(0.95);
}

/* Wishlist Notification */
.wishlist-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: #e5aa03;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wishlist-notification.show {
    opacity: 1;
    transform: translateX(0);
}

/* Wishlist Badge */
.wishlist-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #e5aa03;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* Wishlist Drawer Styles */
.wishlist-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.wishlist-drawer.wishlist-active {
    right: 0;
}

.wishlist-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wishlist-overlay.wishlist-overlay-active {
    opacity: 1;
    visibility: visible;
}

.wishlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
}

.wishlist-header h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.close-wishlist {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #666;
    transition: all 0.2s ease;
}

.close-wishlist:hover {
    color: #333;
    transform: scale(1.1);
}

.wishlist-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.wishlist-empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.wishlist-empty svg {
    color: #e5aa03;
    margin-bottom: 20px;
}

.wishlist-empty h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.wishlist-empty p {
    margin-bottom: 20px;
    color: #666;
}

.btn-browse {
    display: inline-block;
    padding: 12px 32px;
    background: #e5aa03;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-browse:hover {
    background: #d49902;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 170, 3, 0.3);
}

.wishlist-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wishlist-item {
    display: flex;
    gap: 16px;
    padding: 12px;
    border-bottom: 1px solid #e5e5e5;
    /* border-radius: 8px; */
    transition: all 0.3s ease;
}

.wishlist-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #e5aa03;
}

.wishlist-item-image {
    width: 100px;
    height: 120px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

.wishlist-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wishlist-item-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.wishlist-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.aed-icon {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-right: 0px;
}

.wishlist-item-name {
    font-size: 1rem;
    margin: 0 0 8px 0;
    color: #333;
    font-weight: 500;
    font-family: 'Noto Serif', serif;
}

.wishlist-item-name a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.wishlist-item-name a:hover {
    color: #e5aa03;
}

.wishlist-item-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e5aa03;
    margin: 0 0 8px 0;
}

.wishlist-item-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-remove-wishlist {
    background: #fff;
    border: 1px solid #dc3545;
    color: #dc3545;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove-wishlist:hover {
    background: #dc3545;
    color: #fff;
}

.wishlist-footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-view-all {
    width: 100%;
    padding: 14px;
   background: #e5aa03;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: #d49902;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 170, 3, 0.3);
}

.btn-clear-wishlist {
    width: 100%;
    padding: 12px;
    background: #fff;
    color: #dc3545;
    border: 1px solid #dc3545;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-clear-wishlist:hover {
    background: #dc3545;
    color: #fff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .wishlist-drawer {
        width: 100%;
        right: -100%;
    }
    
    .wishlist-notification {
        right: 10px;
        left: 10px;
        top: 60px;
        text-align: center;
    }
    
    .wishlist-heart-btn {
        width: 36px;
        height: 36px;
        top: 8px;
        right: 8px;
    }
    
    .wishlist-heart-btn .heart-icon {
        width: 18px;
        height: 18px;
    }
}

/* Relative positioning for product cards to contain absolute heart button */
.product-image-wrapper,
.home-product-image-wrapper {
    position: relative;
}
