/* site.css - Core styles, Variables, Shared Layout and Resets */

:root {
    /* Premium Color System */
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --accent-red: #ef4444;
    --dark-bg: #0f172a;
    --dark-surface: #1e293b;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --shadow-premium: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Legacy (if needed) */
    --primary-color: #EE4D2D;
    --primary-hover: #d73211;
}

* {
    transition: var(--transition-smooth);
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    background: #f8fafc;
    color: var(--text-primary);
    overflow-x: hidden;
    padding-top: 80px;
    /* Offset for fixed navbar */
}

/* Base Headings & Links */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
}

a {
    transition: var(--transition-smooth);
    text-decoration: none;
}

/* Utility Classes */
.premium-fade-in {
    animation: slideIn 0.5s ease forwards;
}


.uppercase {
    text-transform: uppercase !important;
}

.truncate-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

/* Modal Backdrops Fix */
.confirm-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
    z-index: 999;
}

.confirm-modal.active {
    opacity: 1;
    visibility: visible;
}

/* Global Avatar Fix */
.avatar-img {
    width: var(--avatar-size, 35px);
    height: var(--avatar-size, 35px);
    border-radius: 50% !important;
    object-fit: cover;
}
