@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

:root {
    /* Premium Palette */
    --bg-color: #FAF9F6;
    /* Panna / Off-white */
    --surface-color: #FFFFFF;
    --text-primary: #2C2C2C;
    --text-secondary: #6B6B6B;

    --accent-color: #D4AF37;
    /* Gold */
    --accent-hover: #b5952f;

    --beige-light: #F5EFEB;
    --rose-dust: #C8A2C8;
    /* Rosa antico / lilla polvere */

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Layout */
    --wrapper-width: 1280px;
    --border-radius: 12px;
    --radius-lg: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* 
 * Utility Classes
 */

.container {
    max-width: var(--wrapper-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.glass-nav {
    background: rgba(250, 249, 246, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

/* Shadows */
.shadow-soft {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.shadow-hover {
    transition: box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.shadow-hover:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

/* Micro Animations & Interactions */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.03);
}

.btn-primary {
    background-color: var(--text-primary);
    color: #fff;
    padding: 0.875rem 1.75rem;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-secondary {
    background-color: var(--beige-light);
    color: var(--text-primary);
    padding: 0.875rem 1.75rem;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #e8e2dd;
}

/* Badges */
.badge {
    background-color: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.product-card:hover .card-actions {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    border: 1px solid #eaeaea;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn.active {
    border-color: var(--text-primary);
    background: var(--text-primary);
    color: white;
}