/* 
 * LuxeMarket - Luxury E-Commerce Custom Styles
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --font-heading: 'Playfair Display', serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --color-gold: #c5a880;
    --color-gold-hover: #b09164;
    --color-dark: #0f172a;
    --color-dark-surface: #1e293b;
}

body {
    font-family: var(--font-sans);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.font-heading {
    font-family: var(--font-heading);
}

/* Glassmorphism & Effects */
.glass-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.dark .glass-header {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dark .glass-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.dark ::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}

.dark ::-webkit-scrollbar-thumb {
    background: #334155;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Product Card Hover Animations */
.product-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
    transform: translateY(-6px);
}

.product-card .img-zoom {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .img-zoom {
    transform: scale(1.08);
}

.product-card .action-overlay {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-card:hover .action-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    animation: toastIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.toast.hide {
    animation: toastOut 0.3s ease forwards;
}

@keyframes toastOut {
    to {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
}

/* Badge Styling */
.badge-gold {
    background-color: #c5a880;
    color: #ffffff;
}

/* Pulse animation for Deal of the Day */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(197, 168, 128, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(197, 168, 128, 0.45);
    }
}

.deal-card {
    animation: pulseGlow 4s infinite ease-in-out;
}

/* Custom Checkbox & Radio Colors */
.accent-gold {
    accent-color: var(--color-gold);
}

/* Modal Backdrops */
.modal-backdrop {
    background-color: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
}
