/* ============================================
   Favorites Page Styles
   Minimal, Simple, Creative Design
   ============================================ */

.favorites-main {
    padding: var(--guru-space-md);
    padding-bottom: 130px; /* Space for bottom bar */
    max-width: 1200px;
    margin: 0 auto;
}

.favorites-container {
    min-height: 60vh;
}

/* ============================================
   Loading State
   ============================================ */

.favorites-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--guru-space-xl);
    text-align: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(var(--color-primary), 0.1);
    border-top-color: rgb(var(--color-primary));
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: var(--guru-space-md);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   Empty State
   ============================================ */

.favorites-empty {
    text-align: center;
    padding: var(--guru-space-xl) var(--guru-space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}

.favorites-empty::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--color-primary), 0.05) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.empty-illustration {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto var(--guru-space-xl) auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-icon-wrapper {
    position: relative;
    z-index: 2;
}

.empty-icon-main {
    font-size: 5rem;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.empty-icon-shadow {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 20px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-shadow 3s ease-in-out infinite;
}

@keyframes pulse-shadow {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translateX(-50%) scale(1.2);
    }
}

.empty-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.decoration-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    animation: orbit 20s linear infinite;
}

.decoration-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.decoration-2 {
    top: 10%;
    right: 10%;
    animation-delay: -4s;
}

.decoration-3 {
    bottom: 10%;
    left: 10%;
    animation-delay: -8s;
}

.decoration-4 {
    bottom: 10%;
    right: 10%;
    animation-delay: -12s;
}

.decoration-5 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -16s;
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(50px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(50px) rotate(-360deg);
    }
}

.empty-content {
    position: relative;
    z-index: 2;
}

.empty-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: rgb(var(--color-text-primary));
    margin: 0 0 var(--guru-space-md) 0;
    background: linear-gradient(135deg, rgb(var(--color-primary)) 0%, rgba(var(--color-primary), 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.empty-message {
    font-size: 1rem;
    color: rgba(var(--color-text-primary), 0.7);
    margin: 0 0 var(--guru-space-sm) 0;
    line-height: 1.6;
}

.empty-submessage {
    font-size: 0.875rem;
    color: rgba(var(--color-text-primary), 0.5);
    margin: 0 0 var(--guru-space-xl) 0;
}

.btn-back-to-menu {
    display: inline-flex;
    align-items: center;
    gap: var(--guru-space-xs);
    padding: var(--guru-space-sm) var(--guru-space-md);
    background: linear-gradient(135deg, rgb(var(--color-primary)) 0%, rgba(var(--color-primary), 0.9) 100%);
    color: white;
    text-decoration: none;
    border-radius: var(--guru-radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(var(--color-primary), 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-back-to-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-back-to-menu:hover::before {
    left: 100%;
}

.btn-back-to-menu:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(var(--color-primary), 0.4);
}

.btn-back-to-menu:active {
    transform: translateY(0);
}

.btn-back-to-menu .btn-icon {
    font-size: 1rem;
    line-height: 1;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(4px);
    }
}

.btn-text {
    font-weight: 600;
}

.btn-arrow {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.btn-back-to-menu:hover .btn-arrow {
    transform: translateX(4px);
}

/* ============================================
   Favorites - Menu sayfasındaki gibi kartlar
   ============================================ */

/* Favorilerim sayfası menu sayfasındaki product-item-vertical class'larını kullanıyor */
/* products-list-vertical ve product-item-vertical stilleri qr-menu-guru.css'de tanımlı */

/* ============================================
   Responsive Design
   ============================================ */

/* Favorilerim sayfası menu sayfasındaki responsive stillerini kullanıyor */

