/* ============================================
   ANGELE SHOP - PREMIUM LUXURIOUS STYLES
   ============================================ */

/* Enhanced Color Variables */
:root {
    /* Premium gold gradients */
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F4E4BC 50%, #D4AF37 100%);
    --gold-shimmer: linear-gradient(90deg, #D4AF37 0%, #E6C55F 25%, #F4E4BC 50%, #E6C55F 75%, #D4AF37 100%);
    --dark-gradient: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 2px 10px rgba(0, 0, 0, 0.04);
    --card-shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(0, 0, 0, 0.08);
    --gold-glow: 0 0 30px rgba(212, 175, 55, 0.3);
    
    /* Premium transitions */
    --transition-premium: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Scale Animation */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Shimmer Animation for loading states */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Gold Pulse Animation */
@keyframes goldPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    50% { box-shadow: 0 0 20px 10px rgba(212, 175, 55, 0); }
}

/* Slide In from Right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Float Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Heartbeat for favorites */
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1); }
    75% { transform: scale(1.1); }
}

/* ============================================
   ANIMATION UTILITY CLASSES
   ============================================ */

.animate-fadeInUp {
    animation: fadeInUp 0.6s var(--transition-premium) forwards;
}

.animate-fadeInScale {
    animation: fadeInScale 0.5s var(--transition-premium) forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.5s var(--transition-premium) forwards;
}

/* Staggered animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* Elements start invisible for animation */
[class*="animate-"] {
    opacity: 0;
}

/* ============================================
   PREMIUM CARDS
   ============================================ */

.premium-card {
    background: var(--background-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    transition: all 0.4s var(--transition-premium);
    overflow: hidden;
    position: relative;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--transition-premium);
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}

.premium-card:hover::before {
    transform: scaleX(1);
}

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
}

/* ============================================
   PREMIUM BUTTONS
   ============================================ */

.btn-premium {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s var(--transition-premium);
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s var(--transition-premium);
}

.btn-premium:hover::before {
    left: 100%;
}

/* Gold Premium Button */
.btn-gold {
    background: var(--gold-gradient);
    color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-gold:active {
    transform: translateY(0);
}

/* Dark Premium Button */
.btn-dark {
    background: var(--dark-gradient);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-dark:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

/* Buy Now Button - Extra prominent */
.btn-buy-now {
    background: var(--gold-gradient);
    color: var(--secondary-color);
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    animation: goldPulse 2s infinite;
}

.btn-buy-now:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
    animation: none;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s var(--transition-premium);
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
    animation: none;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.whatsapp-float .tooltip {
    position: absolute;
    right: 70px;
    background: white;
    padding: 10px 15px;
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--transition-premium);
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Phone number bar */
.phone-bar {
    background: var(--secondary-color);
    color: white;
    padding: 8px 0;
    text-align: center;
    font-size: 0.875rem;
}

.phone-bar a {
    color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
}

/* ============================================
   FAVORITE BUTTON
   ============================================ */

.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s var(--transition-premium);
    z-index: 10;
}

.favorite-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.favorite-btn.active {
    background: #ff4757;
}

.favorite-btn.active svg {
    fill: white;
    stroke: white;
}

.favorite-btn.active:hover {
    animation: heartbeat 0.6s ease-in-out;
}

.favorite-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #1a1a1a;
    stroke-width: 2;
    transition: all 0.3s var(--transition-premium);
}

/* ============================================
   PROGRESS STEPS (Checkout)
   ============================================ */

.checkout-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: calc(50% + 25px);
    width: calc(100% - 10px);
    height: 3px;
    background: var(--border-color);
    z-index: 1;
}

.progress-step.completed:not(:last-child)::after {
    background: var(--primary-color);
}

.step-number {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: 1rem;
    background: var(--background-secondary);
    color: var(--text-secondary);
    border: 3px solid var(--border-color);
    position: relative;
    z-index: 2;
    transition: all 0.4s var(--transition-premium);
}

.progress-step.active .step-number {
    background: var(--gold-gradient);
    color: var(--secondary-color);
    border-color: var(--primary-color);
    box-shadow: var(--gold-glow);
}

.progress-step.completed .step-number {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.progress-step.completed .step-number::after {
    content: '✓';
    position: absolute;
}

.progress-step.completed .step-number span {
    display: none;
}

.step-label {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
    transition: color 0.3s;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: var(--primary-color);
}

.step-connector {
    width: 80px;
    height: 3px;
    background: var(--border-color);
    margin: 0 0.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.step-connector.completed {
    background: var(--primary-color);
}

/* ============================================
   STATS CARDS (Account/Admin)
   ============================================ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--background-primary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--transition-premium);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold-gradient);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.stat-icon.gold { background: rgba(212, 175, 55, 0.15); }
.stat-icon.green { background: rgba(40, 167, 69, 0.15); }
.stat-icon.blue { background: rgba(0, 123, 255, 0.15); }
.stat-icon.purple { background: rgba(111, 66, 193, 0.15); }

.stat-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   ORDER STATUS BADGES
   ============================================ */

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-pending {
    background: rgba(255, 193, 7, 0.15);
    color: #d39e00;
}
.status-pending::before { background: #ffc107; }

.status-processing {
    background: rgba(0, 123, 255, 0.15);
    color: #0056b3;
}
.status-processing::before { background: #007bff; }

.status-shipped {
    background: rgba(111, 66, 193, 0.15);
    color: #5a32a3;
}
.status-shipped::before { background: #6f42c1; }

.status-delivered {
    background: rgba(40, 167, 69, 0.15);
    color: #1e7e34;
}
.status-delivered::before { background: #28a745; }

.status-cancelled {
    background: rgba(220, 53, 69, 0.15);
    color: #bd2130;
}
.status-cancelled::before { background: #dc3545; }

/* ============================================
   ORDER TIMELINE
   ============================================ */

.order-timeline {
    position: relative;
    padding-left: 2rem;
}

.order-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--border-color);
    border: 3px solid white;
    z-index: 1;
}

.timeline-item.completed::before {
    background: var(--primary-color);
}

.timeline-item.active::before {
    background: var(--primary-color);
    animation: goldPulse 2s infinite;
}

.timeline-date {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.timeline-content {
    font-weight: var(--font-weight-medium);
}

/* ============================================
   PRODUCT SUGGESTIONS
   ============================================ */

.suggestions-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.suggestions-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.suggestions-title::before {
    content: '✨';
}

.suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.suggestion-card {
    background: var(--background-primary);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s var(--transition-premium);
}

.suggestion-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.suggestion-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.suggestion-info {
    padding: 0.75rem;
}

.suggestion-name {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-price {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
}

/* ============================================
   LOADING SKELETON
   ============================================ */

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-title {
    height: 1.5rem;
    width: 60%;
    margin-bottom: 1rem;
}

.skeleton-image {
    height: 200px;
    margin-bottom: 1rem;
}

/* ============================================
   ADMIN DASHBOARD ENHANCEMENTS
   ============================================ */

.admin-header {
    background: var(--dark-gradient);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-welcome h2 {
    margin: 0;
    font-size: 1.5rem;
}

.admin-welcome p {
    margin: 0.5rem 0 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

.admin-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.admin-stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: all 0.3s var(--transition-premium);
}

.admin-stat-card:hover {
    transform: translateY(-3px);
}

.admin-stat-card .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.admin-stat-card .value {
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

.admin-stat-card .label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* ============================================
   FILTERS PANEL
   ============================================ */

.filters-panel {
    background: var(--background-primary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    margin-bottom: 2rem;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.filters-title {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filters-clear {
    color: var(--primary-color);
    font-size: 0.875rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.filters-clear:hover {
    opacity: 0.7;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-label {
    font-weight: var(--font-weight-medium);
    margin-bottom: 0.75rem;
    display: block;
    font-size: 0.9rem;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-chip {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    background: transparent;
}

.filter-chip:hover,
.filter-chip.active {
    border-color: var(--primary-color);
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
}

.price-range {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
}

.price-separator {
    color: var(--text-secondary);
}

/* ============================================
   MOBILE OPTIMIZATIONS
   ============================================ */

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-float .tooltip {
        display: none;
    }
    
    .checkout-progress {
        padding: 1rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
    
    .step-connector {
        width: 40px;
    }
    
    .step-label {
        font-size: 0.75rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .btn-premium {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .admin-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .filters-panel {
        padding: 1rem;
    }
}

/* Touch-friendly on mobile */
@media (hover: none) {
    .premium-card:hover,
    .stat-card:hover,
    .suggestion-card:hover {
        transform: none;
    }
    
    .btn-premium:hover::before {
        display: none;
    }
}
