/**
 * 🎨 HyperDAF Wishlist - Dropdown Widget Style
 * Alignment Fix: Perfect vertical level with Cart/Account icons
 */

/* --- 1. Header Alignment Fix --- */
.daf-header-wishlist-container { 
    position: relative; 
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    height: 40px; /* Standard header height compatibility */
    /* 🚀 6px zyada tha, 2px par alignment check karein */
    margin-top: 0px; 
}

.daf-wishlist-nav {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* --- 2. Dropdown Widget Logic --- */
.daf-wishlist-dropdown-widget { 
    position: absolute; 
    top: 100%; 
    right: 0; 
    width: 320px; 
    background: #fff; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.12); 
    border: 1px solid #eee; 
    border-radius: 10px; 
    padding: 15px;
    visibility: hidden; 
    opacity: 0; 
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); 
    z-index: 99999;
}

.daf-header-wishlist-container.is-open .daf-wishlist-dropdown-widget { 
    visibility: visible; 
    opacity: 1; 
    transform: translateY(12px); 
}

/* --- 3. Dropdown Product Item Style --- */
.daf-drop-item { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    padding: 10px 0;
    border-bottom: 1px solid #f8f9fa;
}

.daf-drop-item:last-child { border-bottom: none; }

.daf-drop-thumb img { 
    width: 55px; 
    height: 55px; 
    border-radius: 6px; 
    object-fit: cover;
    background: #f4f4f4;
}

.daf-drop-item .info .name { 
    display: block; 
    font-size: 13px; 
    font-weight: 600; 
    color: #333; 
    line-height: 1.3;
    margin-bottom: 4px;
}

.daf-drop-item .info .price { 
    font-size: 12px; 
    color: #8ac24a; /* Brand Green */
    font-weight: 700;
}

/* --- 4. Footer & View All Button --- */
.daf-dropdown-footer { margin-top: 15px; }

.daf-btn-view-all { 
    display: block; 
    text-align: center; 
    background: #8ac24a; 
    color: #fff !important; 
    padding: 12px; 
    border-radius: 6px; 
    text-decoration: none; 
    font-size: 13px; 
    font-weight: 700;
    transition: 0.2s;
}

.daf-btn-view-all:hover { 
    background: #79af3d; 
    box-shadow: 0 4px 10px rgba(138, 194, 74, 0.3); 
}