/*
Theme Name: Wörtlich Genommen
Theme URI: https://woertlichgenommen.com
Author: Wörtlich Genommen Team
Author URI: https://woertlichgenommen.com
Description: Custom WooCommerce Theme für KI-generierte Bilder und Videos basierend auf Redewendungen
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: woertlich-genommen
Domain Path: /languages
Tags: woocommerce, e-commerce, custom-colors, custom-menu, featured-images, full-width-template, translation-ready

Wörtlich Genommen - KI-Kunst die Sprache sichtbar macht.
*/

/* ==========================================================================
   CSS Variables & Design Tokens
   ========================================================================== */
:root {
    /* Primary Colors - Warm, Creative, Artistic */
    --wg-primary: #1a1a2e;
    --wg-primary-light: #16213e;
    --wg-secondary: #e94560;
    --wg-accent: #f39c12;
    --wg-accent-light: #f5b041;
    
    /* Neutral Colors */
    --wg-white: #ffffff;
    --wg-off-white: #faf9f7;
    --wg-light-gray: #f5f5f5;
    --wg-medium-gray: #e0e0e0;
    --wg-dark-gray: #333333;
    --wg-black: #1a1a1a;
    
    /* Gradient Backgrounds */
    --wg-gradient-primary: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --wg-gradient-accent: linear-gradient(135deg, #e94560 0%, #f39c12 100%);
    --wg-gradient-subtle: linear-gradient(180deg, #faf9f7 0%, #ffffff 100%);
    
    /* Typography */
    --wg-font-display: 'Playfair Display', Georgia, serif;
    --wg-font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --wg-font-mono: 'JetBrains Mono', monospace;
    
    /* Font Sizes - Fluid Typography */
    --wg-text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --wg-text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
    --wg-text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --wg-text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
    --wg-text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --wg-text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --wg-text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
    --wg-text-4xl: clamp(2.5rem, 2rem + 3vw, 4rem);
    --wg-text-5xl: clamp(3rem, 2.5rem + 4vw, 5rem);
    
    /* Spacing */
    --wg-space-xs: 0.25rem;
    --wg-space-sm: 0.5rem;
    --wg-space-md: 1rem;
    --wg-space-lg: 1.5rem;
    --wg-space-xl: 2rem;
    --wg-space-2xl: 3rem;
    --wg-space-3xl: 4rem;
    --wg-space-4xl: 6rem;
    --wg-space-5xl: 8rem;
    
    /* Layout */
    --wg-container-max: 1400px;
    --wg-container-narrow: 900px;
    --wg-container-wide: 1600px;
    
    /* Borders & Shadows */
    --wg-radius-sm: 4px;
    --wg-radius-md: 8px;
    --wg-radius-lg: 16px;
    --wg-radius-xl: 24px;
    --wg-radius-full: 9999px;
    
    --wg-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --wg-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.05);
    --wg-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --wg-shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15), 0 10px 10px rgba(0, 0, 0, 0.04);
    --wg-shadow-glow: 0 0 40px rgba(233, 69, 96, 0.3);
    
    /* Transitions */
    --wg-transition-fast: 150ms ease;
    --wg-transition-base: 300ms ease;
    --wg-transition-slow: 500ms ease;
    --wg-transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--wg-font-body);
    font-size: var(--wg-text-base);
    line-height: 1.7;
    color: var(--wg-dark-gray);
    background-color: var(--wg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--wg-font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--wg-black);
    margin-bottom: var(--wg-space-md);
}

h1 { font-size: var(--wg-text-5xl); }
h2 { font-size: var(--wg-text-4xl); }
h3 { font-size: var(--wg-text-3xl); }
h4 { font-size: var(--wg-text-2xl); }
h5 { font-size: var(--wg-text-xl); }
h6 { font-size: var(--wg-text-lg); }

p {
    margin-bottom: var(--wg-space-md);
}

a {
    color: var(--wg-secondary);
    text-decoration: none;
    transition: color var(--wg-transition-fast);
}

a:hover {
    color: var(--wg-accent);
}

/* ==========================================================================
   Layout & Container
   ========================================================================== */
.wg-container {
    width: 100%;
    max-width: var(--wg-container-max);
    margin: 0 auto;
    padding-left: var(--wg-space-lg);
    padding-right: var(--wg-space-lg);
}

.wg-container--narrow {
    max-width: var(--wg-container-narrow);
}

.wg-container--wide {
    max-width: var(--wg-container-wide);
}

.wg-section {
    padding: var(--wg-space-4xl) 0;
}

.wg-section--dark {
    background: var(--wg-gradient-primary);
    color: var(--wg-white);
}

.wg-section--light {
    background: var(--wg-gradient-subtle);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--wg-transition-base);
}

.site-header.scrolled {
    box-shadow: var(--wg-shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: var(--wg-container-wide);
    margin: 0 auto;
    padding: 0 var(--wg-space-lg);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--wg-space-sm);
}

.site-logo img {
    height: 50px;
    width: auto;
}

.site-logo-text {
    font-family: var(--wg-font-display);
    font-size: var(--wg-text-xl);
    font-weight: 700;
    color: var(--wg-primary);
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: var(--wg-space-xl);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--wg-space-lg);
}

.nav-menu a {
    font-size: var(--wg-text-sm);
    font-weight: 500;
    color: var(--wg-dark-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--wg-space-sm) 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--wg-gradient-accent);
    transition: width var(--wg-transition-base);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--wg-space-md);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--wg-space-sm);
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--wg-dark-gray);
    transition: all var(--wg-transition-fast);
}

@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .primary-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--wg-white);
        flex-direction: column;
        justify-content: flex-start;
        padding: var(--wg-space-2xl);
        transform: translateX(100%);
        transition: transform var(--wg-transition-base);
    }
    
    .primary-nav.active {
        transform: translateX(0);
    }
    
    .nav-menu {
        flex-direction: column;
        gap: var(--wg-space-md);
    }
    
    .nav-menu a {
        font-size: var(--wg-text-lg);
    }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.wg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--wg-space-sm);
    padding: var(--wg-space-md) var(--wg-space-xl);
    font-family: var(--wg-font-body);
    font-size: var(--wg-text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: var(--wg-radius-full);
    cursor: pointer;
    transition: all var(--wg-transition-base);
    text-decoration: none;
}

.wg-btn--primary {
    background: var(--wg-gradient-accent);
    color: var(--wg-white);
    box-shadow: var(--wg-shadow-md);
}

.wg-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--wg-shadow-lg), var(--wg-shadow-glow);
    color: var(--wg-white);
}

.wg-btn--secondary {
    background: transparent;
    color: var(--wg-primary);
    border: 2px solid var(--wg-primary);
}

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

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

.wg-btn--white:hover {
    background: var(--wg-off-white);
    transform: translateY(-2px);
    color: var(--wg-primary);
}

.wg-btn--large {
    padding: var(--wg-space-lg) var(--wg-space-2xl);
    font-size: var(--wg-text-base);
}

.wg-btn--icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: var(--wg-radius-full);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: var(--wg-gradient-primary);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/hero-pattern.svg') repeat;
    opacity: 0.05;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--wg-space-sm);
    padding: var(--wg-space-sm) var(--wg-space-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--wg-radius-full);
    font-size: var(--wg-text-sm);
    color: var(--wg-accent);
    margin-bottom: var(--wg-space-lg);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: var(--wg-text-5xl);
    color: var(--wg-white);
    margin-bottom: var(--wg-space-lg);
    line-height: 1.1;
}

.hero-title span {
    background: var(--wg-gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--wg-text-xl);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--wg-space-md);
}

.hero-description {
    font-size: var(--wg-text-lg);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--wg-space-2xl);
    max-width: 600px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--wg-space-md);
}

.hero-visual {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    max-width: 700px;
    z-index: 1;
}

.hero-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--wg-space-md);
    transform: rotate(-5deg);
}

.hero-image-card {
    background: var(--wg-white);
    border-radius: var(--wg-radius-lg);
    overflow: hidden;
    box-shadow: var(--wg-shadow-xl);
    transform: translateY(0);
    transition: transform var(--wg-transition-slow);
}

.hero-image-card:nth-child(2),
.hero-image-card:nth-child(4) {
    transform: translateY(30px);
}

.hero-image-card:hover {
    transform: translateY(-10px);
}

.hero-image-card:nth-child(2):hover,
.hero-image-card:nth-child(4):hover {
    transform: translateY(20px);
}

.hero-image-card img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-image-caption {
    padding: var(--wg-space-md);
    font-size: var(--wg-text-sm);
    font-weight: 500;
    text-align: center;
}

@media (max-width: 1200px) {
    .hero-visual {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
}

/* ==========================================================================
   Section: What Is This
   ========================================================================== */
.what-section {
    background: var(--wg-off-white);
}

.what-section .section-header {
    max-width: 700px;
    margin: 0 auto var(--wg-space-3xl);
    text-align: center;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: var(--wg-space-lg);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--wg-gradient-accent);
    border-radius: var(--wg-radius-full);
}

.what-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--wg-space-lg);
    margin-top: var(--wg-space-2xl);
}

.example-card {
    background: var(--wg-white);
    border-radius: var(--wg-radius-lg);
    padding: var(--wg-space-xl);
    box-shadow: var(--wg-shadow-md);
    transition: all var(--wg-transition-base);
    border: 1px solid transparent;
}

.example-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--wg-shadow-xl);
    border-color: var(--wg-secondary);
}

.example-card__icon {
    font-size: 2.5rem;
    margin-bottom: var(--wg-space-md);
}

.example-card__title {
    font-family: var(--wg-font-display);
    font-size: var(--wg-text-xl);
    margin-bottom: var(--wg-space-sm);
}

.example-card__text {
    color: var(--wg-dark-gray);
    opacity: 0.8;
}

/* ==========================================================================
   Section: Products
   ========================================================================== */
.products-section {
    position: relative;
    overflow: hidden;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--wg-space-xl);
}

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

.product-card {
    position: relative;
    background: var(--wg-white);
    border-radius: var(--wg-radius-xl);
    overflow: hidden;
    box-shadow: var(--wg-shadow-lg);
    transition: all var(--wg-transition-base);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--wg-shadow-xl);
}

.product-card__image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--wg-transition-slow);
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__badge {
    position: absolute;
    top: var(--wg-space-md);
    left: var(--wg-space-md);
    padding: var(--wg-space-xs) var(--wg-space-md);
    background: var(--wg-secondary);
    color: var(--wg-white);
    font-size: var(--wg-text-xs);
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--wg-radius-full);
}

.product-card__content {
    padding: var(--wg-space-xl);
}

.product-card__icon {
    font-size: 2rem;
    margin-bottom: var(--wg-space-md);
}

.product-card__title {
    font-size: var(--wg-text-2xl);
    margin-bottom: var(--wg-space-sm);
}

.product-card__description {
    color: var(--wg-dark-gray);
    opacity: 0.8;
    margin-bottom: var(--wg-space-lg);
}

/* ==========================================================================
   Section: Benefits / Why It Works
   ========================================================================== */
.benefits-section {
    background: var(--wg-primary);
    color: var(--wg-white);
    position: relative;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/dots-pattern.svg') repeat;
    opacity: 0.03;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--wg-space-xl);
}

@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.benefit-item {
    text-align: center;
    padding: var(--wg-space-xl);
}

.benefit-item__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--wg-space-lg);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--wg-radius-lg);
    font-size: 1.5rem;
}

.benefit-item__title {
    font-size: var(--wg-text-lg);
    font-weight: 600;
    margin-bottom: var(--wg-space-sm);
    color: var(--wg-white);
}

.benefit-item__text {
    font-size: var(--wg-text-sm);
    opacity: 0.8;
}

/* ==========================================================================
   Section: Target Audience
   ========================================================================== */
.audience-section {
    background: var(--wg-off-white);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--wg-space-lg);
}

@media (max-width: 992px) {
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.audience-card {
    background: var(--wg-white);
    padding: var(--wg-space-xl);
    border-radius: var(--wg-radius-lg);
    text-align: center;
    box-shadow: var(--wg-shadow-sm);
    transition: all var(--wg-transition-base);
    border: 2px solid transparent;
}

.audience-card:hover {
    border-color: var(--wg-accent);
    box-shadow: var(--wg-shadow-lg);
}

.audience-card__icon {
    font-size: 2.5rem;
    margin-bottom: var(--wg-space-md);
}

.audience-card__title {
    font-size: var(--wg-text-lg);
    font-weight: 600;
    margin-bottom: var(--wg-space-sm);
}

/* ==========================================================================
   Section: Licenses
   ========================================================================== */
.licenses-section {
    position: relative;
}

.licenses-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--wg-space-3xl);
    align-items: center;
}

@media (max-width: 992px) {
    .licenses-content {
        grid-template-columns: 1fr;
    }
}

.license-list {
    list-style: none;
}

.license-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--wg-space-md);
    padding: var(--wg-space-md) 0;
    border-bottom: 1px solid var(--wg-medium-gray);
}

.license-list li:last-child {
    border-bottom: none;
}

.license-list__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wg-accent);
    color: var(--wg-white);
    border-radius: var(--wg-radius-full);
    font-size: var(--wg-text-sm);
}

/* ==========================================================================
   Section: Social Media Hook
   ========================================================================== */
.social-section {
    background: var(--wg-gradient-primary);
    color: var(--wg-white);
    text-align: center;
}

.social-section .section-title {
    color: var(--wg-white);
}

.social-section .section-title::after {
    background: var(--wg-accent);
}

.social-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--wg-space-md);
    margin-top: var(--wg-space-2xl);
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--wg-space-sm);
    padding: var(--wg-space-md) var(--wg-space-xl);
    background: rgba(255, 255, 255, 0.1);
    color: var(--wg-white);
    border-radius: var(--wg-radius-full);
    font-weight: 500;
    transition: all var(--wg-transition-base);
    backdrop-filter: blur(10px);
}

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

.social-btn--youtube:hover { background: #ff0000; color: white; }
.social-btn--tiktok:hover { background: #000000; color: white; }
.social-btn--instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; }

/* ==========================================================================
   Section: Language Teaser
   ========================================================================== */
.language-section {
    background: var(--wg-off-white);
    text-align: center;
}

.language-flags {
    display: flex;
    justify-content: center;
    gap: var(--wg-space-lg);
    margin-top: var(--wg-space-2xl);
    flex-wrap: wrap;
}

.language-flag {
    width: 60px;
    height: 60px;
    border-radius: var(--wg-radius-full);
    overflow: hidden;
    box-shadow: var(--wg-shadow-md);
    opacity: 0.5;
    filter: grayscale(50%);
    transition: all var(--wg-transition-base);
}

.language-flag.active {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.1);
}

.language-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Section: Final CTA
   ========================================================================== */
.cta-section {
    background: var(--wg-gradient-accent);
    color: var(--wg-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::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: pulse 4s ease-in-out infinite;
}

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

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    color: var(--wg-white);
    margin-bottom: var(--wg-space-md);
}

.cta-subtitle {
    font-size: var(--wg-text-xl);
    opacity: 0.9;
    margin-bottom: var(--wg-space-2xl);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--wg-black);
    color: var(--wg-white);
    padding: var(--wg-space-4xl) 0 var(--wg-space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--wg-space-3xl);
    margin-bottom: var(--wg-space-3xl);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.footer-brand p {
    opacity: 0.7;
    margin-top: var(--wg-space-md);
}

.footer-heading {
    font-size: var(--wg-text-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--wg-space-lg);
    color: var(--wg-accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--wg-space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--wg-transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--wg-space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--wg-text-sm);
    opacity: 0.7;
}

@media (max-width: 576px) {
    .footer-bottom {
        flex-direction: column;
        gap: var(--wg-space-md);
        text-align: center;
    }
}

.footer-legal-links {
    display: flex;
    gap: var(--wg-space-lg);
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   WooCommerce Overrides
   ========================================================================== */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    background: var(--wg-white);
    border-radius: var(--wg-radius-lg);
    overflow: hidden;
    box-shadow: var(--wg-shadow-md);
    transition: all var(--wg-transition-base);
    padding: 0;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: var(--wg-shadow-xl);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--wg-font-display);
    font-size: var(--wg-text-lg);
    padding: var(--wg-space-md);
    margin: 0;
}

.woocommerce ul.products li.product .price {
    padding: 0 var(--wg-space-md) var(--wg-space-md);
    color: var(--wg-secondary);
    font-weight: 600;
}

.woocommerce ul.products li.product .button,
.woocommerce a.button {
    background: var(--wg-gradient-accent);
    color: var(--wg-white);
    border-radius: var(--wg-radius-full);
    padding: var(--wg-space-sm) var(--wg-space-lg);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    transition: all var(--wg-transition-base);
}

.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover {
    background: var(--wg-secondary);
    transform: translateY(-2px);
}

.woocommerce .woocommerce-ordering select,
.woocommerce .woocommerce-result-count {
    font-family: var(--wg-font-body);
}

/* Single Product */
.woocommerce div.product div.images img {
    border-radius: var(--wg-radius-lg);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--wg-secondary);
    font-size: var(--wg-text-2xl);
}

.woocommerce #respond input#submit,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background: var(--wg-gradient-accent);
    color: var(--wg-white);
    border-radius: var(--wg-radius-full);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    padding: var(--wg-space-md) var(--wg-space-xl);
    transition: all var(--wg-transition-base);
}

.woocommerce #respond input#submit:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: var(--wg-secondary);
    transform: translateY(-2px);
}

/* Cart */
.woocommerce-cart table.cart {
    border-radius: var(--wg-radius-lg);
    overflow: hidden;
}

.woocommerce-cart table.cart th {
    background: var(--wg-primary);
    color: var(--wg-white);
}

/* Checkout */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    border: 2px solid var(--wg-medium-gray);
    border-radius: var(--wg-radius-md);
    padding: var(--wg-space-md);
    transition: border-color var(--wg-transition-fast);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    border-color: var(--wg-secondary);
    outline: none;
}

/* ==========================================================================
   Newsletter Section
   ========================================================================== */
.newsletter-section {
    background: var(--wg-off-white);
    text-align: center;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: var(--wg-space-2xl) auto 0;
    gap: var(--wg-space-sm);
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: var(--wg-space-md) var(--wg-space-lg);
    border: 2px solid var(--wg-medium-gray);
    border-radius: var(--wg-radius-full);
    font-size: var(--wg-text-base);
    transition: border-color var(--wg-transition-fast);
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--wg-secondary);
    outline: none;
}

@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

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

/* Stagger animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--wg-space-sm); }
.mb-md { margin-bottom: var(--wg-space-md); }
.mb-lg { margin-bottom: var(--wg-space-lg); }
.mb-xl { margin-bottom: var(--wg-space-xl); }
.mb-2xl { margin-bottom: var(--wg-space-2xl); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--wg-space-sm); }
.mt-md { margin-top: var(--wg-space-md); }
.mt-lg { margin-top: var(--wg-space-lg); }
.mt-xl { margin-top: var(--wg-space-xl); }

.hidden { display: none; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
    .site-header,
    .site-footer,
    .newsletter-section,
    .social-section {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: black;
        background: white;
    }
}
