/* ============================================
   WISHLIST SLIDE PANEL STYLES
   ============================================ */

/* Wishlist Slide Panel - HIDDEN BY DEFAULT */
.wishlist-slide-panel {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    z-index: 10000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wishlist-slide-panel.active {
    right: 0;
}

.wishlist-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: -1;
}

.wishlist-slide-panel.active .wishlist-overlay {
    opacity: 1;
    visibility: visible;
}

.wishlist-panel {
    position: relative;
    width: 100%;
    height: 100%;
    background: white;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

.wishlist-header {
    padding: 24px;
    border-bottom: 1px solid #E5E6EB;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F8F9FA;
}

.wishlist-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wishlist-icon-wrapper {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #FE724C 0%, #FF8A5B 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-icon-wrapper i {
    font-size: 24px;
    color: white;
}

.wishlist-header-text {
    display: flex;
    flex-direction: column;
}

.wishlist-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1E293B;
    margin: 0;
    display: flex;
    align-items: center;
}

.wishlist-items-count {
    font-size: 14px;
    color: #64748B;
    margin: 0;
    font-weight: 500;
}

.close-wishlist {
    width: 40px;
    height: 40px;
    border: none;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-wishlist:hover {
    background: #FE724C;
    color: white;
}

.wishlist-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Wishlist Item Styles */
.wishlist-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #F8F9FA;
    border-radius: 12px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.wishlist-item:hover {
    background: #F1F3F5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.wishlist-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.wishlist-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wishlist-item-name {
    font-size: 15px;
    font-weight: 600;
    color: #1E293B;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wishlist-item-price {
    font-size: 16px;
    font-weight: 700;
    color: #FE724C;
}

.wishlist-item-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.add-to-cart-btn-small {
    flex: 1;
    padding: 8px 12px;
    background: linear-gradient(135deg, #FE724C 0%, #FF8A5B 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.add-to-cart-btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 114, 76, 0.3);
}

.remove-wishlist-btn {
    width: 38px;
    height: 38px;
    background: #FEE2E2;
    color: #DC2626;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-wishlist-btn:hover {
    background: #DC2626;
    color: white;
}

.empty-wishlist {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 40px;
}

.empty-wishlist-illustration {
    margin-bottom: 24px;
}

.empty-wishlist-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #FEF2EF 0%, #FFF5F2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.empty-wishlist-circle i {
    font-size: 48px;
    color: #FE724C;
}

.empty-wishlist h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1E293B;
    margin: 0 0 12px 0;
}

.empty-wishlist p {
    font-size: 18px;
    color: #64748B;
    margin: 20px 0;
}

.wishlist-footer {
    padding: 24px;
    border-top: 2px solid #E5E6EB;
    background: #F8F9FA;
}

.view-all-btn {
    width: 100%;
    background: linear-gradient(135deg, #FE724C 0%, #FF8A5B 100%);
    color: white;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(254, 114, 76, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .wishlist-slide-panel {
        width: 100%;
        right: -100%;
    }
}