/* Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
    /* Cream/Off-white background */
    --background: 40 30% 97%;
    --foreground: 160 25% 15%;

    /* Card surfaces */
    --card: 40 25% 99%;
    --card-foreground: 160 25% 15%;

    --popover: 40 25% 99%;
    --popover-foreground: 160 25% 15%;

    /* Primary: Deep Emerald Green - Trust & Health */
    --primary: 160 45% 25%;
    --primary-foreground: 40 30% 97%;

    /* Secondary: Warm Gold/Champagne - Premium Quality */
    --secondary: 40 45% 90%;
    --secondary-foreground: 160 25% 15%;

    /* Muted tones */
    --muted: 40 20% 92%;
    --muted-foreground: 160 15% 45%;

    /* Accent: Soft Coral/Blush - Cosmetics touch */
    --accent: 15 60% 92%;
    --accent-foreground: 15 45% 35%;

    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;

    --border: 40 20% 88%;
    --input: 40 20% 88%;
    --ring: 160 45% 25%;

    --radius: 0.75rem;

    /* Custom colors */
    --gold: 40 55% 55%;
    --gold-light: 40 50% 85%;
    --emerald-light: 160 35% 95%;
    --coral: 15 65% 65%;
    --coral-light: 15 60% 95%;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, hsl(160 45% 25%) 0%, hsl(160 35% 35%) 100%);
    --gradient-gold: linear-gradient(135deg, hsl(40 55% 55%) 0%, hsl(35 60% 65%) 100%);
    --gradient-soft: linear-gradient(180deg, hsl(40 30% 97%) 0%, hsl(40 25% 94%) 100%);

    /* Shadows */
    --shadow-soft: 0 4px 20px -4px hsl(160 25% 15% / 0.08);
    --shadow-card: 0 8px 30px -8px hsl(160 25% 15% / 0.12);
    --shadow-elevated: 0 20px 50px -12px hsl(160 25% 15% / 0.15);

    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;

    /* Sidebar */
    --sidebar-background: 0 0% 98%;
    --sidebar-foreground: 240 5.3% 26.1%;
    --sidebar-primary: 240 5.9% 10%;
    --sidebar-primary-foreground: 0 0% 98%;
    --sidebar-accent: 240 4.8% 95.9%;
    --sidebar-accent-foreground: 240 5.9% 10%;
    --sidebar-border: 220 13% 91%;
    --sidebar-ring: 217.2 91.2% 59.8%;
}

.dark {
    --background: 160 25% 8%;
    --foreground: 40 30% 95%;

    --card: 160 20% 12%;
    --card-foreground: 40 30% 95%;

    --popover: 160 20% 12%;
    --popover-foreground: 40 30% 95%;

    --primary: 160 40% 45%;
    --primary-foreground: 160 25% 8%;

    --secondary: 40 30% 20%;
    --secondary-foreground: 40 30% 95%;

    --muted: 160 15% 18%;
    --muted-foreground: 40 20% 65%;

    --accent: 15 40% 25%;
    --accent-foreground: 15 50% 85%;

    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 210 40% 98%;

    --border: 160 15% 20%;
    --input: 160 15% 20%;
    --ring: 160 40% 45%;

    --gold: 40 50% 50%;
    --gold-light: 40 30% 25%;
    --emerald-light: 160 25% 15%;
    --coral: 15 50% 55%;
    --coral-light: 15 30% 20%;
}

/* Base styles applied via Tailwind directives in original, adding manual ones here if needed, but Tailwind CDN handles base */

/* Component Classes */
.text-gradient-gold {
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-image: var(--gradient-gold);
}

.bg-gradient-hero {
    background: var(--gradient-hero);
}

.bg-gradient-soft {
    background: var(--gradient-soft);
}

.shadow-soft {
    box-shadow: var(--shadow-soft);
}

.shadow-card {
    box-shadow: var(--shadow-card);
}

.shadow-elevated {
    box-shadow: var(--shadow-elevated);
}

/* Utilities / Animations */
.animate-fade-up {
    animation: fadeUp 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.4s ease-out forwards;
}

.animate-slide-right {
    animation: slideRight 0.5s ease-out forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scale {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Float animation from tailwind config */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

.delay-400 {
    animation-delay: 400ms;
}


/* Button & SVG Alignment Fixes */
.vitachem-editable-content a.inline-flex,
a.inline-flex {
    display: inline-flex !important;
    /* Force flex to prevent line-breaks */
    align-items: center !important;
    vertical-align: middle;
}

.vitachem-editable-content a.inline-flex svg,
a.inline-flex svg {
    display: block;
    /* Remove inline baseline spacing */
    margin: 0;
}

/* Prevent empty paragraphs inside buttons if WP adds them */
.vitachem-editable-content a.inline-flex p {
    margin: 0;
    padding: 0;
    display: inline;
}