/* ======================================================= */
/*          1. ГЛОБАЛНИ СТИЛОВЕ И ПРОМЕНЛИВИ (LIPOLOR DESIGN) */
/* ======================================================= */

:root {
    /* Lipolor Color Palette */
    --color-primary: #E4007C; /* Magenta */
    --color-secondary: #00A99D; /* Teal */
    --color-dark: #212529;
    --color-light: #F8F9FA;
    --color-white: #FFFFFF;
    --color-gray: #6c757d;

    /* Typography (Lipolor fonts) */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;

    /* Design Elements */
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s ease;
    
    /* Dark Theme Variables (keeping for theme toggle) */
    --bg-primary-dark: #0D0F12;
    --bg-secondary-dark: #12151A;
    --text-primary-dark: #E9ECEF;
    --text-secondary-dark: #A0AEC0;
    --accent-dark: #E4007C;
    --accent-rgb-dark: 228, 0, 124;
    --accent-secondary-dark: #00A99D;
    --accent-secondary-rgb-dark: 0, 169, 157;
    --border-color-dark: rgba(255, 255, 255, 0.1);
    --shadow-dark: rgba(228, 0, 124, 0.25);
    --spotlight-color-dark: rgba(228, 0, 124, 0.08);
    --note-color-dark: #ffd700;
    --success-color-dark: #00A99D;
    --error-color-dark: #dc3545;
    --skeleton-bg-dark: #1a1e25;
    --skeleton-highlight-dark: #2a303a;

    --header-bg-dark: rgba(13, 15, 18, 0.85);
    --header-height: 70px;
    --overlay-bg-dark: rgba(0,0,0,0.5);
    --header-gradient-start-light: rgba(250, 251, 252, 0.98);
    --header-gradient-end-light: rgba(240, 242, 245, 0.98);
    --header-border-light: rgba(228, 0, 124, 0.08);
    --header-border-scrolled-light: rgba(228, 0, 124, 0.12);
    --header-scrolled-bg-light: rgba(250, 251, 252, 0.98);
    --hero-bg-start-light: #FFE5F1;
    --hero-bg-end-light: #E0F2F1;
    --header-gradient-start-dark: rgba(18, 21, 26, 0.95);
    --header-gradient-end-dark: rgba(13, 15, 18, 0.95);
    --header-border-dark: rgba(228, 0, 124, 0.2);
    --header-border-scrolled-dark: rgba(228, 0, 124, 0.3);
    --header-scrolled-bg-dark: rgba(13, 15, 18, 0.98);
    --hero-bg-start-dark: #1a0d14;
    --hero-bg-end-dark: #0a1a1a;
    
    /* Theme gradient variables - default values */
    --theme-gradient-light: linear-gradient(135deg, #FFE5F1 0%, #E0F2F1 100%);
    --theme-gradient-dark: linear-gradient(135deg, #1a0d14 0%, #0a1a1a 100%);
    
    /* Light Theme Variables (Lipolor-inspired) - Improved with less white */
    --bg-primary-light: #FAFBFC;
    --bg-secondary-light: #F0F2F5;
    --text-primary-light: #212529;
    --text-secondary-light: #6c757d;
    --accent-light: #E4007C;
    --accent-rgb-light: 228, 0, 124;
    --accent-secondary-light: #00A99D;
    --accent-secondary-rgb-light: 0, 169, 157;
    --border-color-light: rgba(0, 0, 0, 0.1);
    --shadow-light: rgba(228, 0, 124, 0.2);
    --spotlight-color-light: rgba(228, 0, 124, 0.06);
    --note-color-light: #c7a600;
    --success-color-light: #00A99D;
    --error-color-light: #dc3545;
    --skeleton-bg-light: #e9ecef;
    --skeleton-highlight-light: #f8f9fa;
    --header-bg-light: rgba(250, 251, 252, 0.96);
    --overlay-bg-light: rgba(0, 0, 0, 0.4);
    
    /* Promo banner height */
    --promo-banner-height: 48px;
    --double-promo-banner-height: var(--promo-banner-height);
}


/* Light Theme (default) */
[data-theme="light"] {
    --bg-primary: var(--bg-primary-light);
    --bg-secondary: var(--bg-secondary-light);
    --text-primary: var(--text-primary-light);
    --text-secondary: var(--text-secondary-light);
    --accent: var(--accent-light);
    --accent-rgb: var(--accent-rgb-light);
    --accent-secondary: var(--accent-secondary-light);
    --accent-secondary-rgb: var(--accent-secondary-rgb-light);
    --border-color: var(--border-color-light);
    --shadow-color: var(--shadow-light);
    --spotlight-color: var(--spotlight-color-light);
    --note-color: var(--note-color-light);
    --success-color: var(--success-color-light);
    --error-color: var(--error-color-light);
    --skeleton-bg: var(--skeleton-bg-light);
    --skeleton-highlight: var(--skeleton-highlight-light);
    --header-bg: var(--header-bg-light);
    --overlay-bg: var(--overlay-bg-light);
    --header-gradient-start: var(--header-gradient-start-light);
    --header-gradient-end: var(--header-gradient-end-light);
    --header-border: var(--header-border-light);
    --header-border-scrolled: var(--header-border-scrolled-light);
    --header-scrolled-bg: var(--header-scrolled-bg-light);
    --hero-bg-start: var(--hero-bg-start-light);
    --hero-bg-end: var(--hero-bg-end-light);
    --theme-gradient: var(--theme-gradient-light);
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: var(--bg-primary-dark);
    --bg-secondary: var(--bg-secondary-dark);
    --text-primary: var(--text-primary-dark);
    --text-secondary: var(--text-secondary-dark);
    --accent: var(--accent-dark);
    --accent-rgb: var(--accent-rgb-dark);
    --accent-secondary: var(--accent-secondary-dark);
    --accent-secondary-rgb: var(--accent-secondary-rgb-dark);
    --border-color: var(--border-color-dark);
    --shadow-color: var(--shadow-dark);
    --spotlight-color: var(--spotlight-color-dark);
    --note-color: var(--note-color-dark);
    --success-color: var(--success-color-dark);
    --error-color: var(--error-color-dark);
    --skeleton-bg: var(--skeleton-bg-dark);
    --skeleton-highlight: var(--skeleton-highlight-dark);
    --header-bg: var(--header-bg-dark);
    --overlay-bg: var(--overlay-bg-dark);
    --header-gradient-start: var(--header-gradient-start-dark);
    --header-gradient-end: var(--header-gradient-end-dark);
    --header-border: var(--header-border-dark);
    --header-border-scrolled: var(--header-border-scrolled-dark);
    --header-scrolled-bg: var(--header-scrolled-bg-dark);
    --hero-bg-start: var(--hero-bg-start-dark);
    --hero-bg-end: var(--hero-bg-end-dark);
    --theme-gradient: var(--theme-gradient-dark);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
    /* Add padding-top to account for fixed header */
    padding-top: var(--header-height);
}
        
body.nav-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--color-secondary);
}

ul {
    list-style: none;
}

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

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-bg {
    background-color: var(--bg-secondary);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

/* Creates the underline effect for titles (Lipolor style) */
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--color-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons (Lipolor style) */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #c3006a;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(228, 0, 124, 0.4);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-full {
    display: block;
    width: 100%;
}

/* Animation on scroll (Lipolor style) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ======================================================= */
/*          2. PROMO BANNER (LIPOLOR STYLE)              */
/* ======================================================= */

.promo-banner {
    position: relative; /* Changed from fixed to relative - banner stays in page flow */
    width: 100%;
    background: linear-gradient(135deg, var(--color-primary), #c3006a);
    color: var(--color-white);
    text-align: center;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    animation: pulse 2s ease-in-out infinite;
    z-index: 1; /* No longer needs high z-index since it's not fixed */
}

.promo-banner svg {
    color: var(--color-white);
    stroke: var(--color-white);
}

.promo-banner p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; }
}

/* ======================================================= */
/*          3. СКЕЛЕТНО ЗАРЕЖДАНЕ И ПРЕХОДИ                */
/* ======================================================= */
.skeleton {
    background-color: var(--skeleton-bg);
    border-radius: 4px;
    animation: skeleton-pulse 1.5s infinite ease-in-out;
    background-image: linear-gradient(90deg, var(--skeleton-bg) 0px, var(--skeleton-highlight) 40px, var(--skeleton-bg) 80px);
    background-size: 600px;
}
@keyframes skeleton-pulse {
    0% { background-position: -100px; }
    40%, 100% { background-position: 270px; }
}

.skeleton-wrapper .skeleton-h2 { width: 60%; height: 45px; margin-bottom: 1.5rem; }
.skeleton-wrapper .skeleton-title { width: 70%; height: 60px; margin: 0 auto 1rem; }
.skeleton-wrapper .skeleton-text { width: 90%; height: 20px; margin: 0 auto; }
.skeleton-wrapper .skeleton-text.short { width: 60%; margin-top: 1rem; }
.skeleton-wrapper .skeleton-image { width: 100%; height: 350px; }
.skeleton-wrapper .skeleton-button { width: 150px; height: 48px; margin-top: 2rem; }
.skeleton-wrapper .category-title-skeleton { margin: 4rem 0 1rem 0; }

.skeleton-card { background: transparent; border-color: transparent; }
.skeleton-card .skeleton-line { height: 20px; margin-bottom: 0.5rem; }
.skeleton-card .skeleton-line.short { width: 50%; }
.skeleton-card .skeleton-bar { height: 22px; margin-bottom: 10px; }
.skeleton-card:hover { transform: none; box-shadow: none; border-color: transparent; }

/* Плавни преходи при зареждане на съдържание */
#main-content-container.is-loaded > * {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}
#main-content-container:not(.is-loaded) > * {
    opacity: 0;
}


/* ======================================================= */
/*          4. ХЕДЪР И НАВИГАЦИЯ (LIPOLOR STYLE)          */
/* ======================================================= */
.main-header {
    position: fixed;
    top: 0; /* Position at the very top of the screen */
    left: 0; 
    width: 100%; 
    height: var(--header-height);
    background: linear-gradient(135deg, 
        var(--header-gradient-start) 0%, 
        var(--header-gradient-end) 100%);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-bottom: 2px solid var(--header-border);
    z-index: 1001; /* Higher than promo banner to stay on top */
    transition: all var(--transition-speed);
    box-shadow: 0 4px 20px rgba(228, 0, 124, 0.08);
}

/* Scrolled (sticky) header style */
.main-header.scrolled {
    background: var(--header-scrolled-bg);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border-bottom-color: var(--header-border-scrolled);
    padding: 5px 0;
    box-shadow: 0 8px 32px rgba(228, 0, 124, 0.15);
}

.header-container {
    max-width: 1140px; 
    margin: 0 auto; 
    padding: 0 20px; 
    height: 100%;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    gap: 1rem;
}

.logo-container {
    display: flex; 
    align-items: center; 
    gap: 8px; 
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-primary);
}

.logo-container img { 
    height: 80px; 
    width: 80px; 
}

.logo-container .brand-name { 
    font-size: 1.2rem; 
    font-weight: 700; 
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap; 
}

.logo-container .brand-slogan { 
    font-size: 0.75rem; 
    color: var(--text-secondary); 
    display: block; 
    line-height: 1; 
}

.main-nav { 
    display: flex; 
    align-items: center; 
    gap: 1.5rem;
    flex: 1;
}

.nav-links { 
    list-style: none; 
    display: flex; 
    gap: 1.5rem; 
    align-items: center; 
}

.nav-links a { 
    text-decoration: none; 
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    transition: color var(--transition-speed);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-speed);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover { 
    color: var(--accent); 
}

.cart-link { 
    position: relative; 
}

/* Стил за активен линк при скрол */
.nav-links a.active {
    color: var(--accent);
    font-weight: 700;
}

/* -- Header Actions Container -- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* -- Theme Toggle Button -- */
.theme-toggle-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.theme-toggle-btn:hover {
    border-color: var(--accent);
    background: var(--accent);
    transform: rotate(180deg) scale(1.1);
}

.theme-toggle-btn svg {
    position: absolute;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle-btn .sun-icon {
    color: var(--accent);
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

.theme-toggle-btn .moon-icon {
    color: var(--accent);
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="dark"] .theme-toggle-btn .sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="dark"] .theme-toggle-btn .moon-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

.theme-toggle-btn:hover .sun-icon,
.theme-toggle-btn:hover .moon-icon {
    color: var(--color-white);
}

/* -- Cart Icon Button -- */
.cart-icon-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed);
    position: relative;
    text-decoration: none;
    color: var(--accent);
    flex-shrink: 0;
}

.cart-icon-btn:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--color-white);
    transform: scale(1.1);
}

.cart-icon-btn svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.cart-icon-btn .cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

.cart-icon-btn:hover .cart-badge {
    background: var(--color-secondary);
}

/* -- Мобилно меню -- */
.menu-toggle { 
    display: none; 
    width: 30px; 
    height: 22px; 
    flex-direction: column; 
    justify-content: space-between; 
    background: none; 
    border: none; 
    cursor: pointer; 
    z-index: 1003; 
}

.menu-toggle span { 
    display: block; 
    width: 100%; 
    height: 2px; 
    background-color: var(--text-primary); 
    border-radius: 2px; 
    transition: transform 0.3s ease, opacity 0.3s ease; 
}

.menu-toggle.active span:nth-child(1) { 
    transform: translateY(10px) rotate(45deg); 
}

.menu-toggle.active span:nth-child(2) { 
    opacity: 0; 
}

.menu-toggle.active span:nth-child(3) { 
    transform: translateY(-10px) rotate(-45deg); 
}

.nav-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: var(--overlay-bg); 
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.4s ease, visibility 0.4s ease; 
    z-index: 999; 
}

.nav-overlay.active { 
    opacity: 1; 
    visibility: visible; 
}

main { 
    padding-top: 0; /* Removed since body already has padding */
}

/* ======================================================= */
/*          5. СЕКЦИИ НА СТРАНИЦАТА (LIPOLOR & STORE)    */
/* ======================================================= */

/* --- HERO SECTION (Lipolor style) --- */
.hero-section {
    min-height: 500px;
    padding: 60px 0;
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center;
    text-align: center;
    position: relative;
    color: var(--text-primary);
    background: var(--theme-gradient);
    overflow: hidden; /* Prevents animated overlay from extending beyond bounds */
}

/* Hero section with custom background image */
.hero-section[data-bg-image] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay for better text readability when using background images */
.hero-section[data-bg-image]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(228, 0, 124, 0.15) 0%, 
        rgba(0, 169, 157, 0.15) 100%);
    backdrop-filter: blur(2px);
    z-index: 0;
}

[data-theme="dark"] .hero-section[data-bg-image]::before {
    background: linear-gradient(135deg, 
        rgba(13, 15, 18, 0.75) 0%, 
        rgba(18, 21, 26, 0.75) 100%);
}

/* Overlay for custom gradients to ensure text readability */
.hero-section.hero-custom-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none; /* No overlay by default, let gradient show through */
    z-index: 0;
}

/* Ensure text is always readable with custom backgrounds */
.hero-section.hero-custom-bg .hero-content,
.hero-section[data-bg-image] .hero-content {
    position: relative;
    z-index: 1;
}

/* Theme-aware text colors for custom gradients - Light theme */
[data-theme="light"] .hero-section.hero-custom-bg .hero-content h1 {
    color: var(--text-primary);
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.8), 
                 0 1px 4px rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .hero-section.hero-custom-bg .hero-content p {
    color: var(--text-secondary);
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.9), 
                 0 1px 3px rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .hero-section.hero-custom-bg .stat-item strong {
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8),
                 0 1px 4px rgba(255, 255, 255, 0.9);
    background: none;
    -webkit-text-fill-color: var(--text-primary);
}

[data-theme="light"] .hero-section.hero-custom-bg .stat-item span {
    color: var(--text-secondary);
    text-shadow: 0 1px 6px rgba(255, 255, 255, 0.9);
}

/* Theme-aware text colors for custom gradients - Dark theme */
[data-theme="dark"] .hero-section.hero-custom-bg .hero-content h1 {
    color: var(--text-primary);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6), 
                 0 1px 4px rgba(0, 0, 0, 0.8);
}

[data-theme="dark"] .hero-section.hero-custom-bg .hero-content p {
    color: var(--text-secondary);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 
                 0 1px 3px rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .hero-section.hero-custom-bg .stat-item strong {
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6),
                 0 1px 4px rgba(0, 0, 0, 0.8);
    background: none;
    -webkit-text-fill-color: var(--text-primary);
}

[data-theme="dark"] .hero-section.hero-custom-bg .stat-item span {
    color: var(--text-secondary);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

/* Theme-aware trust badges for custom backgrounds - Light theme */
[data-theme="light"] .hero-section.hero-custom-bg .trust-badge {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .hero-section.hero-custom-bg .trust-badge:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(0, 0, 0, 0.3);
    color: var(--text-primary);
}

/* Theme-aware trust badges for custom backgrounds - Dark theme */
[data-theme="dark"] .hero-section.hero-custom-bg .trust-badge {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

[data-theme="dark"] .hero-section.hero-custom-bg .trust-badge:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--text-primary);
}

/* Enhanced gradient animation for premium feel */
.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(228, 0, 124, 0.08) 0%,
        transparent 50%
    );
    animation: heroGradientPulse 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes heroGradientPulse {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(10%, 10%) scale(1.1);
        opacity: 0.8;
    }
}

.hero-section .container { 
    width: 100%; 
}

.hero-content { 
    z-index: 1; 
    padding: 1rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700; 
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-shadow: none;
    animation: fadeInDown 1s ease-out;
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 30px;
    opacity: 1;
    animation: fadeInUp 1s ease-out 0.3s; 
    animation-fill-mode: both;
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s;
    animation-fill-mode: both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item strong {
    font-size: 2rem;
    font-family: var(--font-primary);
    display: block;
    margin-bottom: 5px;
    color: var(--color-primary);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Hero CTA Buttons */
.hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s;
    animation-fill-mode: both;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(228, 0, 124, 0.3);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-hero-primary svg {
    display: inline-block;
    vertical-align: middle;
    color: white;
    stroke: white;
    flex-shrink: 0;
}

.btn-hero-primary::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.5s ease;
}

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

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(228, 0, 124, 0.5);
}

.btn-hero-primary:active {
    transform: translateY(0) scale(1);
}

.btn-hero-secondary {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 249, 250, 0.95) 100%);
    color: var(--text-primary);
    border: 2px solid var(--accent);
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(228, 0, 124, 0.15);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-hero-secondary svg {
    display: inline-block;
    vertical-align: middle;
    color: var(--accent);
    stroke: var(--accent);
    flex-shrink: 0;
}

.btn-hero-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(228, 0, 124, 0.1), transparent);
    transition: left 0.5s ease;
}

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

.btn-hero-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: linear-gradient(135deg, 
        rgba(255, 235, 245, 1) 0%, 
        rgba(240, 248, 255, 1) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(228, 0, 124, 0.25);
}

[data-theme="dark"] .btn-hero-secondary {
    background: linear-gradient(135deg, 
        rgba(26, 30, 36, 0.95) 0%, 
        rgba(18, 21, 26, 0.95) 100%);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(0, 169, 157, 0.15);
}

[data-theme="dark"] .btn-hero-secondary:hover {
    background: linear-gradient(135deg, 
        rgba(26, 13, 20, 1) 0%, 
        rgba(10, 26, 26, 1) 100%);
    box-shadow: 0 8px 25px rgba(0, 169, 157, 0.25);
}

/* Hero Trust Badges */
.hero-trust-badges {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 25px;
    animation: fadeInUp 1s ease-out 0.8s;
    animation-fill-mode: both;
}

.trust-badge {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.trust-badge svg {
    color: var(--success-color);
    stroke: var(--success-color);
    flex-shrink: 0;
}

.trust-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(228, 0, 124, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.trust-badge:hover::before {
    left: 100%;
}

.trust-badge:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(228, 0, 124, 0.25);
}

[data-theme="dark"] .trust-badge {
    background: rgba(18, 21, 26, 0.8);
    box-shadow: 0 4px 15px rgba(0, 169, 157, 0.1);
}

[data-theme="dark"] .trust-badge:hover {
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
    box-shadow: 0 8px 20px rgba(0, 169, 157, 0.3);
}

.hero-guarantee {
    margin-top: 20px;
    font-size: 0.95rem;
    opacity: 0.95;
}

/* --- INFO CARD SECTION (Lipolor style) --- */
.info-card-section { 
    padding: 80px 0; 
}

.info-card-section .container { 
    display: flex; 
    align-items: center; 
    gap: 3rem; 
}

.info-card-section.image-align-right .container { 
    flex-direction: row-reverse; 
}

.info-card-image, .info-card-content { 
    flex: 1; 
    min-width: 300px; 
}

.info-card-image img { 
    width: 100%; 
    height: auto; 
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.info-card-content h2 { 
    font-family: var(--font-primary);
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 1rem; 
}

.info-card-content p { 
    color: var(--text-secondary);
    margin-bottom: 1.5rem; 
}


/* --- CATEGORY & PRODUCT SECTIONS (Store + Lipolor style) --- */
.category-section { 
    padding: 60px 0; 
}

.category-header { 
    cursor: pointer; 
    outline: none; 
}

.category-header:focus-visible { 
    box-shadow: 0 0 0 2px var(--accent); 
    border-radius: 8px; 
}

.category-title {
    font-family: var(--font-primary);
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 2rem 0 1rem 0;
    position: relative;
    padding-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.is-visible .category-title::after { 
    transform: scaleX(1); 
}

.category-image-wrapper { 
    width: 100%; 
    border-radius: var(--border-radius);
    overflow: hidden; 
    margin: 1rem 0 2rem 0; 
    box-shadow: var(--box-shadow);
}

.category-image-wrapper img { 
    width: 100%; 
    height: auto; 
    object-fit: cover; 
    display: block; 
}

.expand-icon {
    /* Removed - expand icon no longer used */
    display: none;
}

.category-expand-icon {
    flex-shrink: 0; 
    width: 0.8em; 
    height: 0.8em; 
    border-style: solid;
    border-width: 0.15em 0.15em 0 0; 
    border-color: var(--text-secondary);
    display: inline-block; 
    transform: rotate(135deg);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.3s ease;
    margin-left: 1rem; 
}

[aria-expanded="true"] .category-expand-icon {
    transform: rotate(-45deg); 
    border-color: var(--accent);
}

/* --- PRODUCT GRID & CARDS (Store + Lipolor style) --- */
.product-grid {
    display: grid; 
    gap: 30px; 
    grid-template-columns: 1fr;
    max-height: 0; 
    overflow: hidden; 
    opacity: 0; 
    margin-top: 0;
    transition: max-height 0.7s ease-in-out, opacity 0.5s ease-in-out, margin-top 0.7s ease-in-out;
}

.category-header[aria-expanded="true"] + .product-grid { 
    max-height: 5000px; 
    opacity: 1; 
    margin-top: 2rem; 
}

.category-section.not-collapsible .product-grid { 
    max-height: none; 
    overflow: visible; 
    opacity: 1; 
    margin-top: 2rem; 
}

.category-section.not-collapsible .category-expand-icon { 
    display: none; 
}

.category-section.not-collapsible .category-header { 
    cursor: default; 
}

.product-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 30px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: block; /* Make it a proper link block */
    text-decoration: none; /* Remove underline from link */
    color: inherit; /* Inherit text color */
}

.product-card::before {
    content: ""; 
    position: absolute; 
    left: var(--mouse-x, 50%); 
    top: var(--mouse-y, 50%); 
    width: 300px; 
    height: 300px;
    background: radial-gradient(circle at center, var(--spotlight-color) 0%, transparent 70%);
    transform: translate(-50%, -50%); 
    opacity: 0; 
    transition: opacity 0.4s ease; 
    pointer-events: none;
}

.product-card:hover::before { 
    opacity: 1; 
}

.product-card:hover { 
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(228, 0, 124, 0.15);
}

.product-image {
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 250px;
}

.card-content { 
    /* Renamed from card-header - no longer a button/accordion */
    display: flex; 
    flex-wrap: wrap; 
    align-items: flex-start; 
    gap: 1rem;
}

.product-title { 
    flex: 1 1 200px; 
    margin-right: auto; 
}

.product-title h3 { 
    font-size: 1.2rem;
    font-weight: 600; 
    color: var(--text-primary);
    font-family: var(--font-primary);
}

.product-title p { 
    font-size: 0.9rem;
    color: var(--color-secondary);
    font-weight: 500; 
    margin-top: 5px;
}

.product-price { 
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-primary);
    flex-shrink: 0;
    font-family: var(--font-primary);
}

.effects-container { 
    flex: 1 1 100%; 
    order: 3; 
}

.card-details {
    /* Removed - product details are now on separate page */
    display: none;
}

/* --- RESEARCH NOTE STYLE --- */
.research-note {
    font-size: 0.85rem; 
    font-style: italic; 
    color: var(--note-color);
    opacity: 0.8; 
    text-align: right; 
    margin-top: 1.5rem;
}

.research-note a { 
    color: inherit; 
    text-decoration: underline; 
    text-decoration-style: dotted; 
    transition: color 0.3s ease; 
}

.research-note a:hover { 
    color: var(--accent); 
}

/* --- EFFECT BARS STYLES --- */
.effect-bar-group { margin-bottom: 10px; }
.effect-bar-group:last-child { margin-bottom: 0; }
.effect-label { font-size: 0.8rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 6px; }
.effect-bar-container {
  width: 100%; height: 22px; background-color: var(--bg-primary);
  border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden;
}
.effect-bar {
  width: 0; height: 100%; border-radius: 12px;
  /* Initial gradient visible immediately - Lipolor-inspired magenta/teal */
  background: linear-gradient(135deg, rgba(0, 169, 157, 0.3), rgba(228, 0, 124, 0.3));
  display: flex; align-items: center; justify-content: flex-end; padding-right: 10px; box-sizing: border-box;
  color: #FFFFFF; font-weight: 600; font-size: 0.75rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  transition: width 1.5s cubic-bezier(0.25, 1, 0.5, 1), background 0.5s ease-out, box-shadow 0.5s ease-out;
}
.effect-bar.animated {
  /* Vibrant Lipolor-inspired gradient: teal to magenta */
  background: linear-gradient(135deg, #00A99D, #E4007C);
  box-shadow: 0 0 15px rgba(228, 0, 124, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
/* Ensure text is always readable */
.effect-bar { color: #FFFFFF; }
        
/* ======================================================= */
/*          6. ФУТЪР (LIPOLOR STYLE)                     */
/* ======================================================= */
.main-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1.5rem 0; 
    margin-top: 80px;
}

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

.footer-column .footer-logo-container { 
    margin-bottom: 1rem; 
}

.footer-column h4 { 
    font-size: 1.1rem;
    margin-bottom: 1rem; 
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-weight: 700;
}

.footer-column ul { 
    list-style: none; 
    padding: 0; 
}

.footer-column ul li { 
    margin-bottom: 0.75rem; 
}

.footer-column ul a { 
    color: var(--text-secondary);
    text-decoration: none; 
    transition: color var(--transition-speed);
}

.footer-column ul a:hover { 
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center; 
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem; 
    font-size: 0.9rem; 
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-links span {
    color: var(--border-color);
}

/* ======================================================= */
/*          7. ПОМОЩНИ ЕЛЕМЕНТИ И АНИМАЦИИ                 */
/* ======================================================= */
/* --- THEME TOGGLE & BACK TO TOP --- */
#back-to-top {
    width: 44px; 
    height: 44px; 
    background: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: 50%; 
    cursor: pointer; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    transition: all var(--transition-speed);
    position: fixed; 
    z-index: 1000; 
    bottom: 20px; 
    right: 20px;
    opacity: 0; 
    visibility: hidden; 
    transform: translateY(20px); 
    text-decoration: none;
    font-size: 1.2rem; 
    color: var(--color-white);
}

#back-to-top:hover { 
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: scale(1.1) translateY(0);
}

#back-to-top.visible { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0); 
}

/* --- QUEST MODAL --- */
#quest-modal-backdrop {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); z-index: 1000;
    display: none; opacity: 0; transition: opacity 0.3s ease;
}
#quest-modal-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-secondary); z-index: 1001;
    display: none; flex-direction: column; opacity: 0;
    transform: translateY(20px); transition: opacity 0.3s ease, transform 0.3s ease;
}
#quest-modal-backdrop.show, #quest-modal-container.show { display: flex; opacity: 1; }
#quest-modal-container.show { transform: translateY(0); }
#quest-modal-container iframe { border: none; width: 100%; height: 100%; flex-grow: 1; }
body.modal-open { overflow: hidden; }


/* --- Toast Notifications --- */
#toast-container {
    position: fixed; top: 10px; left: 10px; right: 10px;
    z-index: 2000; display: flex; flex-direction: column; gap: 0.5rem;
    pointer-events: none;
}
.toast {
    padding: 0.75rem 1rem; border-radius: 6px; color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15); pointer-events: auto;
    animation: toast-slide-in 0.4s ease-out;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.toast.success { background-color: var(--success-color); }
.toast.error { background-color: var(--error-color); }
.toast.info { background-color: var(--accent); }
.toast.fade-out { opacity: 0; transform: translateY(-20px); }
@keyframes toast-slide-in { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* --- UTILITY & ANIMATIONS --- */
.fade-in-up {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1), transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}
.is-visible { opacity: 1; transform: translateY(0); }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ======================================================= */
/*          8. ЛИПOLOR СЕКЦИИ (BENEFITS, TIMELINE, ETC)  */
/* ======================================================= */

/* --- ABOUT & BENEFITS SECTION --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.about-image-placeholder {
    width: 100%;
    min-height: 400px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-gray);
    box-shadow: var(--box-shadow);
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.benefits {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.benefit-item svg {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    color: var(--color-primary);
}

.benefit-item h4 {
    color: var(--color-secondary);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* --- TIMELINE / HOW IT WORKS SECTION --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--color-secondary);
    opacity: 0.2;
    top: 0;
    bottom: 0;
    left: 20px;
}

.timeline-item {
    padding: 10px 40px;
    padding-left: 60px;
    position: relative;
    margin-bottom: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 4px solid var(--color-secondary);
    top: 15px;
    left: 12px;
    z-index: 1;
}

.timeline-content {
    padding: 20px;
    background: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.timeline-content h4 {
    color: var(--color-primary);
}

/* --- INGREDIENTS SECTION (FLIP CARDS) --- */
.ingredients-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.ingredient-card {
    background-color: transparent;
    height: 120px;
    perspective: 1000px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius);
}

.ingredient-card:hover .card-inner,
.ingredient-card:focus .card-inner,
.ingredient-card.is-flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: var(--border-radius);
}

.card-front {
    background-color: var(--bg-primary);
    color: var(--color-dark);
}

.card-front h5 {
    font-size: 1.2rem;
}

.card-front span {
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: 600;
}

.card-back {
    background-color: var(--color-secondary);
    color: white;
    transform: rotateY(180deg);
}

/* --- MANUFACTURER SECTION --- */
.manufacturer-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.manufacturer-logo {
    margin-bottom: 20px;
}

.manufacturer-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.trust-badges {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.badge-item svg {
    color: var(--color-secondary);
}

.badge-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark);
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    border-left: 4px solid var(--color-primary);
}

.stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--color-dark);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: var(--color-dark);
    font-size: 1rem;
}

.testimonial-author span {
    color: var(--color-gray);
    font-size: 0.9rem;
}

.result-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.95rem;
}

/* --- FAQ SECTION --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-primary);
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.faq-question:hover {
    background-color: var(--bg-secondary);
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-dark);
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: 700;
    transition: transform var(--transition-speed);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px 25px;
}

.faq-answer p {
    color: var(--color-gray);
    line-height: 1.8;
}

/* --- ORDER/CONTACT SECTION --- */
.order-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-details h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.contact-details ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.contact-details ul li {
    margin-bottom: 10px;
    color: var(--color-dark);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-light);
    color: var(--color-primary);
    transition: all var(--transition-speed);
}

.social-links a:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

.order-form {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: var(--border-radius);
}

.order-form h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-dark);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: border-color var(--transition-speed);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

@media (min-width: 768px) {
    .order-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ======================================================= */
/*          9. РЕСПОНСИВ МОБИЛНИ УСТРОЙСТВА              */
/* ======================================================= */

/* Hide theme toggle in mobile menu by default (shown only on mobile via media query) */
.theme-toggle-mobile {
    display: none;
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed; 
        top: 0; 
        right: -100%; 
        width: 280px; 
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column; 
        justify-content: center;
        align-items: center; 
        gap: 2rem; 
        transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1); 
        z-index: 1002;
        padding: 2rem 0;
    }
    .nav-links.active { 
        right: 0; 
    }
    .nav-links li { 
        text-align: center; 
    }
    .nav-links a { 
        font-size: 1.2rem; 
    }
    .menu-toggle { 
        display: flex; 
    }
    
    /* Hide theme toggle in header on mobile */
    .header-actions .theme-toggle-btn {
        display: none;
    }
    
    /* Show theme toggle in mobile menu */
    .nav-links .theme-toggle-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
        width: 80%;
    }
    
    .nav-links .theme-toggle-mobile .theme-toggle-btn {
        display: flex;
    }
    
    .theme-toggle-mobile-label {
        font-size: 0.9rem;
        color: var(--text-secondary);
        font-weight: 600;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: var(--header-height);
    }
    
    .info-card-section .container, .info-card-section.image-align-right .container {
        flex-direction: column; 
        text-align: center; 
        gap: 2rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-item strong {
        font-size: 1.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .timeline::after {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .product-card {
        padding: 20px;
    }
    
    /* Reduce animation intensity on mobile */
    .hero-section {
        min-height: 450px;
        padding: 40px 0;
    }
}

/* Very small mobile screens - further optimizations */
@media (max-width: 480px) {
    /* Adjust hero section for small screens */
    .hero-section {
        min-height: 400px;
        padding: 30px 0;
    }
    
    .hero-content {
        padding: 1rem 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .stat-item strong {
        font-size: 1.3rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 14px 30px;
        font-size: 1rem;
        width: 100%;
    }
}

/* ======================================================= */
/*          ACCESSIBILITY - REDUCED MOTION                 */
/* ======================================================= */
/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    /* Disable all animations for users who prefer reduced motion */
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    /* Remove bounce and pulse animations */
    .sticky-cta-btn,
    .exit-modal-icon,
    .product-badge {
        animation: none !important;
    }
}

@media (min-width: 768px) { 
    .product-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ingredients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) { 
    .product-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .main-nav {
        display: flex !important;
    }
    
    .ingredients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ======================================================= */
/*          MARKETING ENHANCEMENTS - TRUST & URGENCY      */
/* ======================================================= */

/* Enhanced Promo Banner with Timer */
.promo-banner {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    text-align: center;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    animation: slideDown 0.5s ease-out;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.promo-content {
    position: relative;
    z-index: 1;
}

.promo-timer {
    font-weight: 700;
    margin-left: 10px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-family: 'Courier New', monospace;
}

/* Sticky CTA Button */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 998;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sticky-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.sticky-cta-btn {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    border: none;
    border-radius: 50px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(228, 0, 124, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: bounce 2s ease-in-out infinite;
}

.sticky-cta-btn svg {
    color: white;
    stroke: white;
    flex-shrink: 0;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.sticky-cta-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 35px rgba(228, 0, 124, 0.6);
}

.sticky-cta-btn:active {
    transform: scale(1.05);
}

/* Product Badge Styles */
.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.product-badge.bestseller {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.product-badge.new {
    background: linear-gradient(135deg, var(--color-primary), #FF1493);
}

.product-badge.limited {
    background: linear-gradient(135deg, #DC143C, #8B0000);
    animation: badgeUrgent 1s ease-in-out infinite;
}

@keyframes badgeUrgent {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.1) rotate(-5deg);
    }
}

/* Enhanced Product Card with Badges */
.product-card {
    position: relative;
    overflow: visible;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: inherit;
}

.product-card:hover::before {
    opacity: 0.05;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .sticky-cta {
        right: 50%;
        transform: translateX(50%) translateY(100px);
    }
    
    .sticky-cta.visible {
        transform: translateX(50%) translateY(0);
    }
    
    .sticky-cta-btn {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .promo-timer {
        display: block;
        margin-top: 5px;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .sticky-cta-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* ======================================================= */
/*          EXIT INTENT MODAL - CONVERSION BOOSTER        */
/* ======================================================= */

.exit-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.exit-modal.active {
    opacity: 1;
    visibility: visible;
}

.exit-modal-content {
    background: var(--bg-primary);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modalSlideIn 0.5s ease-out;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.exit-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
}

.exit-modal-close:hover {
    color: var(--accent);
}

.exit-modal-body {
    padding: 40px 30px;
    text-align: center;
}

.exit-modal-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: bounce 1s ease-in-out infinite;
}

.exit-modal-icon svg {
    color: var(--accent);
    stroke: var(--accent);
}

.exit-modal-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-family: var(--font-primary);
}

.exit-modal-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.exit-offer {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.exit-offer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s linear infinite;
}

.exit-offer-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-primary);
    font-size: 2.5rem;
    font-weight: 700;
    padding: 10px 25px;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.exit-offer p {
    color: white;
    font-size: 1.1rem;
    margin: 0;
}

.promo-code {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    font-size: 1.2rem;
}

.exit-benefits {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.exit-benefit {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: left;
    display: flex;
    align-items: center;
}

.exit-benefit svg {
    color: var(--success-color);
    stroke: var(--success-color);
    flex-shrink: 0;
}

.exit-cta-btn {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(228, 0, 124, 0.3);
    width: 100%;
    margin-bottom: 15px;
}

.exit-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(228, 0, 124, 0.5);
}

.exit-modal-footer {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ======================================================= */
/*          ENHANCED TESTIMONIALS WITH IMAGES             */
/* ======================================================= */

.testimonial-card {
    position: relative;
    padding-top: 40px;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 3px solid var(--accent);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--success-color);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 10px;
}

/* ======================================================= */
/*          COMPARISON SECTION                            */
/* ======================================================= */

.comparison-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.comparison-table {
    background: var(--bg-primary);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid var(--border-color);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-cell {
    padding: 20px;
    text-align: center;
    transition: background 0.3s ease;
}

.comparison-cell:first-child {
    text-align: left;
    font-weight: 600;
}

.comparison-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    font-weight: 700;
}

.comparison-highlight {
    background: rgba(228, 0, 124, 0.05);
}

.check-icon {
    color: var(--success-color);
    font-size: 1.5rem;
}

.x-icon {
    color: var(--error-color);
    font-size: 1.5rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .exit-modal-content {
        max-width: 95%;
    }
    
    .exit-modal-body {
        padding: 30px 20px;
    }
    
    .exit-modal-content h2 {
        font-size: 1.5rem;
    }
    
    .exit-offer-badge {
        font-size: 2rem;
    }
    
    .comparison-row {
        grid-template-columns: 1fr;
    }
    
    .comparison-cell:first-child {
        background: var(--bg-secondary);
        font-weight: 700;
    }
}

/* ======================================================= */
/*          GUARANTEE SECTION                             */
/* ======================================================= */

.guarantee-section {
    background: var(--bg-secondary);
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.guarantee-card {
    background: var(--bg-primary);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.guarantee-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(228, 0, 124, 0.15);
    border-color: var(--accent);
}

.guarantee-icon {
    margin-bottom: 20px;
    color: var(--accent);
}

.guarantee-icon svg {
    stroke: var(--accent);
}

.guarantee-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-family: var(--font-primary);
}

.guarantee-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .guarantee-grid {
        grid-template-columns: 1fr;
    }
}

/* ======================================================= */
/*          PRODUCT DETAIL SECTIONS                       */
/* ======================================================= */

.product-description {
    margin-bottom: 30px;
}

.product-about-section,
.product-ingredients-section,
.product-faq-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.product-about-section h3,
.product-ingredients-section h3,
.product-faq-section h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-family: var(--font-primary);
}

/* Product About Section - Benefits */
.product-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.product-benefits .benefit-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.product-benefits .benefit-item svg {
    flex-shrink: 0;
    stroke: var(--accent);
    width: 32px;
    height: 32px;
}

.product-benefits .benefit-item h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 5px;
    font-family: var(--font-primary);
}

.product-benefits .benefit-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Product Ingredients Grid - Mini version */
.ingredients-grid-mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.ingredient-card-mini {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    perspective: 1000px;
    min-height: 120px;
}

.ingredient-card-mini .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.ingredient-card-mini.is-flipped .card-inner {
    transform: rotateY(180deg);
}

.ingredient-card-mini .card-front,
.ingredient-card-mini .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ingredient-card-mini .card-front h5 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-family: var(--font-primary);
}

.ingredient-card-mini .card-front span {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
}

.ingredient-card-mini .card-back {
    transform: rotateY(180deg);
    padding: 15px;
}

.ingredient-card-mini .card-back p {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

.ingredient-card-mini:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(228, 0, 124, 0.15);
}

/* Product FAQ - Mini version */
.faq-container-mini {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.faq-item-mini {
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question-mini:hover {
    background: rgba(228, 0, 124, 0.05);
}

.faq-question-mini h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
    font-family: var(--font-secondary);
    font-weight: 500;
}

.faq-toggle-mini {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 300;
    transition: transform 0.3s ease;
    min-width: 25px;
    text-align: center;
}

.faq-item-mini.active .faq-toggle-mini {
    transform: rotate(45deg);
}

.faq-answer-mini {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px;
}

.faq-item-mini.active .faq-answer-mini {
    max-height: 500px;
    padding: 0 20px 20px 20px;
}

.faq-answer-mini p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ingredients-grid-mini {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .ingredient-card-mini {
        min-height: 100px;
        padding: 15px;
    }
    
    .product-benefits .benefit-item {
        flex-direction: column;
        gap: 10px;
    }
}

/* ======================================================= */
/*   PRODUCT EXPANSION SECTIONS (LIPOLOR DESIGN)          */
/* ======================================================= */

/* About Content Section for Products */
.product-about-section {
    padding: 40px 30px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    margin-top: 20px;
}

.product-about-section h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-family: var(--font-primary);
}

.product-about-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Product Benefits Grid (larger version) */
.product-benefits-full {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product-benefits-full .benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.product-benefits-full .benefit-item svg {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    color: var(--accent);
}

.product-benefits-full .benefit-item h4 {
    color: var(--accent-secondary);
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
}

.product-benefits-full .benefit-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Ingredients Section (Full Version with Flip Cards) */
.product-ingredients-section {
    padding: 40px 30px;
    margin-top: 20px;
    background: var(--bg-primary);
    border-radius: var(--border-radius);
}

.product-ingredients-section h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    text-align: center;
}

.product-ingredients-section .section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1rem;
}

.ingredients-grid-full {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .ingredients-grid-full {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ingredients-grid-full {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ingredient-card-full {
    background-color: transparent;
    height: 140px;
    perspective: 1000px;
    cursor: pointer;
}

.ingredient-card-full .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius);
}

.ingredient-card-full:focus .card-inner,
.ingredient-card-full.is-flipped .card-inner {
    transform: rotateY(180deg);
}

.ingredient-card-full .card-front,
.ingredient-card-full .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: var(--border-radius);
}

.ingredient-card-full .card-front {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.ingredient-card-full .card-front h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--accent);
    font-family: var(--font-primary);
    font-weight: 600;
}

.ingredient-card-full .card-front span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.ingredient-card-full .card-back {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: var(--color-white);
    transform: rotateY(180deg);
}

.ingredient-card-full .card-back p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-white);
}

/* FAQ Section (Full Version) */
.product-faq-section {
    padding: 40px 30px;
    margin-top: 20px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
}

.product-faq-section h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    text-align: center;
}

.faq-container-full {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item-full {
    background: var(--bg-primary);
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question-full {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: background-color var(--transition-speed);
    user-select: none;
}

.faq-question-full:hover {
    background-color: var(--bg-secondary);
}

.faq-question-full h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
    font-family: var(--font-secondary);
}

.faq-toggle-full {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 700;
    transition: transform var(--transition-speed);
    min-width: 30px;
    text-align: center;
}

.faq-item-full.active .faq-toggle-full {
    transform: rotate(45deg);
}

.faq-answer-full {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.4s ease, padding 0.4s ease;
    padding: 0 25px;
}

.faq-answer-full > * {
    overflow: hidden;
}

.faq-item-full.active .faq-answer-full {
    grid-template-rows: 1fr;
    padding: 0 25px 20px;
}

.faq-answer-full p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* Responsive adjustments for expansion sections */
@media (max-width: 768px) {
    .product-about-section,
    .product-ingredients-section,
    .product-faq-section {
        padding: 30px 20px;
    }
    
    .product-about-section h3,
    .product-ingredients-section h3,
    .product-faq-section h3 {
        font-size: 1.5rem;
    }
    
    .product-benefits-full .benefit-item {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        text-align: center;
    }
    
    .ingredients-grid-full {
        grid-template-columns: 1fr;
    }
    
    .ingredient-card-full {
        height: 120px;
    }
}
