/*
Theme Name: Elegance Green
Theme URI: https://example.com/elegance-green
Author: Your Name
Author URI: https://example.com
Description: A modern, elegant WooCommerce theme with a sophisticated green color palette. Perfect for eco-friendly brands, organic products, and luxury ecommerce stores.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elegance-green
Tags: e-commerce, woocommerce, green, elegant, modern, responsive, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ========================================
   CSS VARIABLES - ELEGANT GREEN PALETTE
======================================== */
:root {
    /* Primary Green Shades */
    --primary-dark: #1B4332;
    --primary: #2D6A4F;
    --primary-light: #40916C;
    --primary-lighter: #52B788;
    --primary-lightest: #74C69D;
    
    /* Accent Colors */
    --accent-mint: #95D5B2;
    --accent-sage: #B7E4C7;
    --accent-cream: #D8F3DC;
    --accent-pale: #E9F5EC;
    
    /* Neutral Colors */
    --dark: #1A1A1A;
    --gray-dark: #2D2D2D;
    --gray: #4A4A4A;
    --gray-medium: #6B6B6B;
    --gray-light: #9B9B9B;
    --gray-lighter: #E5E5E5;
    --off-white: #F8F9FA;
    --white: #FFFFFF;
    
    /* Functional Colors */
    --success: #40916C;
    --warning: #E9C46A;
    --error: #E63946;
    --info: #457B9D;
    
    /* Typography */
    --font-primary: 'Playfair Display', Georgia, serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 50%;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(27, 67, 50, 0.05);
    --shadow-md: 0 4px 6px rgba(27, 67, 50, 0.07);
    --shadow-lg: 0 10px 25px rgba(27, 67, 50, 0.1);
    --shadow-xl: 0 20px 40px rgba(27, 67, 50, 0.15);
    --shadow-glow: 0 0 30px rgba(45, 106, 79, 0.2);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========================================
   RESET & BASE STYLES
======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
    background-color: var(--primary-lighter);
    color: var(--white);
}

/* Links */
a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lists */
ul, ol {
    list-style: none;
}

/* Buttons */
button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Inputs */
input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ========================================
   TYPOGRAPHY
======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--dark);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-md);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--space-md);
}

.lead {
    font-size: 1.25rem;
    color: var(--gray-medium);
    line-height: 1.8;
}

/* ========================================
   LAYOUT & CONTAINERS
======================================== */
/* Container - Prevent horizontal scroll on mobile */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 var(--space-sm);
    }
}

.container-narrow {
    max-width: 800px;
}

.container-wide {
    max-width: 1600px;
}

.section {
    padding: var(--space-4xl) 0;
}

.section-sm {
    padding: var(--space-2xl) 0;
}

.section-lg {
    padding: var(--space-4xl) 0;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-lg);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* Flexbox Utilities */
.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
    min-height: 44px; /* Minimum touch target size */
    text-decoration: none;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .btn {
        min-height: 48px;
        font-size: 0.9rem;
        padding: 14px 20px;
        width: 100%;
        max-width: none;
    }
    
    .btn-sm {
        min-height: 40px;
        padding: 10px 16px;
        font-size: 0.8rem;
    }
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--accent-cream);
    transform: translateY(-2px);
    color: var(--primary-dark);
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1rem;
}

.btn-sm {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.75rem;
}

.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: var(--radius-full);
}

/* ========================================
   HEADER & NAVIGATION
======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    transition: all var(--transition-normal);
}
    visibility: hidden;
    pointer-events: none;
    transition: left 0.3s ease-in-out;
.site-header.scrolled {
    box-shadow: var(--shadow-md);
}
    visibility: visible;
    pointer-events: auto;
    left: 0;
/* Top Bar */
.header-top {
    background: var(--primary-dark);
    color: var(--white);
    padding: var(--space-sm) 0;
    font-size: 0.875rem;
}

.header-top a {
    color: var(--accent-sage);
}

.header-top a:hover {
    color: var(--white);
}

/* Main Header */
.header-main {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--gray-lighter);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.site-logo img {
    max-height: 50px;
}

.site-logo .logo-text {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.site-logo .logo-text span {
    color: var(--primary-light);
}

/* Navigation */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: var(--space-sm) 0;
    font-weight: 500;
    color: var(--gray-dark);
    position: relative;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transition: width var(--transition-normal);
}

.nav-menu > li > a:hover::after,
.nav-menu > li.current-menu-item > a::after {
    width: 100%;
}

/* Dropdown Menu */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: var(--space-md) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
}

.nav-menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li a {
    display: block;
    padding: var(--space-sm) var(--space-lg);
    color: var(--gray);
    transition: all var(--transition-fast);
}

.sub-menu li a:hover {
    background: var(--accent-pale);
    color: var(--primary);
    padding-left: var(--space-xl);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.header-action-btn {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    color: var(--gray-dark);
    transition: all var(--transition-fast);
}

.header-action-btn:hover {
    background: var(--accent-pale);
    color: var(--primary);
}

.header-action-btn svg {
    width: 22px;
    height: 22px;
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-dark);
    transition: all var(--transition-normal);
}

/* Mobile Menu Slide-in */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    z-index: 10000;
    transition: left 0.3s ease-in-out;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

/* RTL Mobile Menu */
.rtl .mobile-menu {
    left: auto;
    right: -100%;
}

.rtl .mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--gray-lighter);
}

.mobile-menu-header .logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.mobile-menu-header .logo-text span {
    color: var(--accent);
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--gray);
    transition: color 0.3s;
}

.mobile-menu-close:hover {
    color: var(--primary);
}

.mobile-menu-nav {
    padding: 20px;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    border-bottom: 1px solid var(--gray-lighter);
}

.mobile-nav-menu li a {
    display: block;
    padding: 15px 0;
    color: var(--gray-dark);
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s, padding 0.3s;
}

.mobile-nav-menu li a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.rtl .mobile-nav-menu li a:hover {
    padding-left: 0;
    padding-right: 10px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    overflow: hidden;
    padding-top: 120px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 50px 50px;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    color: var(--white);
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--space-xl);
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* ========================================
   MODERN HERO SECTION - Enhanced Design
======================================== */
.hero-modern {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0D3B2E 0%, #1B4332 40%, #2D6A4F 100%);
    overflow: hidden;
    padding: 140px 0 60px;
}

/* Prevent hero from being hidden under fixed/sticky header */
body.admin-bar .hero-modern {
    padding-top: 170px;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
}

.shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.15) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(64, 145, 108, 0.2) 0%, transparent 70%);
    animation: float 12s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

.hero-glow {
    position: absolute;
    top: 20%;
    right: 20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
    filter: blur(60px);
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-image-side {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 550px;
    z-index: 2;
}

@media (max-width: 992px) {
    .hero-modern {
        padding: 130px 0 40px;
        min-height: 70vh;
    }

    .hero-image-side {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 520px;
        margin: 30px auto 0;
    }
}

@media (max-width: 576px) {
    .hero-modern {
        padding: 120px 0 30px;
    }
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    gap: 20px;
}

.hero-img {
    width: 48%;
    height: 320px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.hero-img-1 {
    transform: translateY(-30px);
}

.hero-img-2 {
    transform: translateY(30px);
}

.hero-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: floatCard 4s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    left: -20px;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: -30px;
    animation-delay: 1s;
}

.card-3 {
    bottom: 5%;
    left: 10%;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.card-icon {
    font-size: 1.5rem;
}

.card-text {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

.hero-content-modern {
    position: relative;
    z-index: 3;
    max-width: 600px;
}

/* Reserve space for the absolute hero image block on wide screens */
@media (min-width: 993px) {
    .hero-modern .container {
        position: relative;
        z-index: 3;
    }

    .hero-content-modern {
        padding-right: 52%;
        max-width: 100%;
    }
}

.hero-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #4ADE80;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title-modern {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(135deg, #D4AF37 0%, #F5D77B 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc-modern {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 35px;
}

.hero-buttons-modern {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary-modern {
    background: linear-gradient(135deg, #D4AF37 0%, #C49B2D 100%);
    color: #1a1a1a;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-primary-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
    color: #1a1a1a;
}

.btn-outline-modern {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-modern:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 1200px) {
    .hero-image-side {
        width: 40%;
        right: 2%;
    }
    .hero-title-modern {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-modern {
        min-height: auto;
        padding: 120px 0 80px;
    }
    .hero-image-side {
        display: block;
    }
    .hero-content-modern {
        max-width: 100%;
        text-align: center;
        padding-right: 0;
    }
    .hero-buttons-modern {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title-modern {
        font-size: 2.2rem;
    }
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    .stat-divider {
        display: none;
    }
}

/* ========================================
   FEATURES SECTION
======================================== */
.features {
    background: var(--off-white);
}

.feature-card {
    text-align: center;
    padding: var(--space-xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}


.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-pale), var(--accent-cream));
    border-radius: var(--radius-lg);
    color: var(--primary);
}

.feature-icon svg {
    width: 36px;
    height: 36px;
}

.feature-card h4 {
    margin-bottom: var(--space-sm);
}

.feature-card p {
    color: var(--gray-medium);
    margin: 0;
}

/* ========================================
   PRODUCTS SECTION
======================================== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-3xl);
}

.section-header .subtitle {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: var(--space-sm);
}

.section-header p {
    color: var(--gray-medium);
}

/* Product Grid - Compact 4 columns */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 0 10px;
}

@media (max-width: 1200px) {
    .products-grid { 
        grid-template-columns: repeat(3, 1fr); 
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .products-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px; 
        padding: 0 5px;
    }
}

@media (max-width: 480px) {
    .products-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 8px; 
    }
}

/* Product Card - Compact */
.product-card {
    position: relative;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

@media (max-width: 768px) {
    .product-card {
        border-radius: 8px;
    }
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .product-card:hover {
        transform: translateY(-3px);
    }
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--accent-pale);
}

@media (max-width: 768px) {
    .product-image {
        height: 130px;
    }
}

@media (max-width: 480px) {
    .product-image {
        height: 110px;
    }
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Product Badges - Compact */
.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 10;
}

@media (max-width: 768px) {
    .product-badges {
        top: 6px;
        left: 6px;
    }
}

@media (max-width: 480px) {
    .product-badges {
        top: 5px;
        left: 5px;
    }
}

.badge {
    padding: 5px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

@media (max-width: 480px) {
    .badge {
        padding: 3px 6px;
        font-size: 0.6rem;
    }
}

.badge-sale {
    background: #E63946;
    color: var(--white);
}

.badge-new {
    background: var(--primary);
    color: var(--white);
}

.badge-hot {
    background: #FF6B35;
    color: var(--white);
}

/* Product Actions - Compact */
.product-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition-normal);
    z-index: 10;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .product-actions {
        opacity: 1;
        transform: translateX(0);
        top: 8px;
        right: 8px;
        gap: 4px;
    }
}

.product-action-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-full);
    color: var(--gray);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

@media (max-width: 768px) {
    .product-action-btn {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .product-action-btn {
        width: 26px;
        height: 26px;
    }
}

.product-action-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.product-action-btn svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 768px) {
    .product-action-btn svg {
        width: 14px;
        height: 14px;
    }
}

/* Product Info - Compact */
.product-info {
    padding: 14px;
}

@media (max-width: 768px) {
    .product-info {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .product-info {
        padding: 6px;
    }
}

.product-category {
    font-size: 0.7rem;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .product-category {
        font-size: 0.55rem;
        margin-bottom: 2px;
        letter-spacing: 0.3px;
    }
}

@media (max-width: 480px) {
    .product-category {
        font-size: 0.5rem;
        margin-bottom: 1px;
    }
}

.product-title {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
    transition: color var(--transition-fast);
    line-height: 1.35;
}

@media (max-width: 768px) {
    .product-title {
        font-size: 0.85rem;
        margin-bottom: 4px;
        line-height: 1.3;
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 0.75rem;
        margin-bottom: 3px;
        line-height: 1.25;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 0.7rem;
        margin-bottom: 2px;
    }
}

.product-title:hover {
    color: var(--primary);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

@media (max-width: 768px) {
    .product-rating {
        gap: 3px;
        margin-bottom: 3px;
    }
}

@media (max-width: 480px) {
    .product-rating {
        gap: 2px;
        margin-bottom: 2px;
        display: none; /* Hide on very small screens */
    }
}

.stars {
    display: flex;
    gap: 2px;
    color: var(--warning);
}

.stars svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .stars svg {
        width: 10px;
        height: 10px;
    }
}

.rating-count {
    font-size: 0.75rem;
    color: var(--gray-light);
}

@media (max-width: 768px) {
    .rating-count {
        font-size: 0.6rem;
    }
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .product-price {
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .product-price {
        gap: 3px;
        flex-wrap: nowrap;
    }
}

.price-current {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

@media (max-width: 768px) {
    .price-current {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .price-current {
        font-size: 0.8rem;
    }
}

.price-old {
    font-size: 0.85rem;
    color: var(--gray-light);
    text-decoration: line-through;
}

@media (max-width: 768px) {
    .price-old {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .price-old {
        font-size: 0.6rem;
    }
}

/* Add to Cart Button - Compact */
.add-to-cart {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    background: var(--accent-pale);
    color: var(--primary);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .add-to-cart {
        margin-top: 5px;
        padding: 6px;
        font-size: 0.65rem;
        border-radius: 4px;
    }
}

@media (max-width: 480px) {
    .add-to-cart {
        margin-top: 4px;
        padding: 5px;
        font-size: 0.7rem;
    }
}

.add-to-cart:hover {
    background: var(--primary);
    color: var(--white);
}

/* ========================================
   CATEGORIES SECTION
======================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 992px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .categories-grid { grid-template-columns: 1fr; }
}

.category-card {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27, 67, 50, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-lg);
    color: var(--white);
}

.category-card h4 {
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.category-card span {
    font-size: 0.875rem;
    opacity: 0.8;
}

.category-link {
    position: absolute;
    inset: 0;
}

/* ========================================
   BANNER / CTA SECTION
======================================== */
.banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: var(--primary-light);
    border-radius: var(--radius-full);
    opacity: 0.2;
}

.banner-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

@media (max-width: 768px) {
    .banner-content { grid-template-columns: 1fr; text-align: center; }
}

.banner h2 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.banner p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: var(--space-xl);
}

.banner-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.banner-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.banner-feature svg {
    width: 20px;
    height: 20px;
    color: var(--accent-mint);
}

/* ========================================
   TESTIMONIALS
======================================== */
.testimonials {
    background: var(--off-white);
}

.testimonial-card {
    background: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--primary-lightest);
    font-family: Georgia, serif;
    line-height: 1;
    margin-bottom: var(--space-md);
}

.testimonial-text {
    font-size: 1.125rem;
    color: var(--gray);
    font-style: italic;
    margin-bottom: var(--space-lg);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h5 {
    margin-bottom: 0;
    font-size: 1rem;
}

.testimonial-info span {
    color: var(--gray-light);
    font-size: 0.875rem;
}

/* ========================================
   NEWSLETTER
======================================== */
.newsletter {
    background: var(--accent-cream);
}

.newsletter-inner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h3 {
    margin-bottom: var(--space-sm);
}

.newsletter p {
    color: var(--gray-medium);
    margin-bottom: var(--space-xl);
}

.newsletter-form {
    display: flex;
    gap: var(--space-md);
    max-width: 500px;
    margin: 0 auto;
}

@media (max-width: 576px) {
    .newsletter-form { flex-direction: column; }
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    border: 2px solid var(--gray-lighter);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: border-color var(--transition-fast);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
    background: var(--primary-dark);
    color: var(--white);
}

.footer-main {
    padding: var(--space-4xl) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--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 .logo-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-md);
    display: block;
}

.footer-brand .logo-text span {
    color: var(--accent-mint);
}

.footer-brand p {
    color: var(--accent-sage);
    margin-bottom: var(--space-lg);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--white);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-3px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-widget h5 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-widget h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-light);
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--accent-sage);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: var(--space-sm);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    color: var(--accent-sage);
}

.footer-contact svg {
    width: 20px;
    height: 20px;
    color: var(--primary-light);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Footer Bottom */
.footer-bottom {
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    margin: 0;
    color: var(--accent-sage);
    font-size: 0.875rem;
}

.payment-methods {
    display: flex;
    gap: var(--space-sm);
}

.payment-methods img {
    height: 30px;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.payment-methods img:hover {
    opacity: 1;
}

/* ========================================
   WOOCOMMERCE OVERRIDES
======================================== */

/* WooCommerce Buttons */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-xl);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    transition: all var(--transition-normal);
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* WooCommerce Product Loop */
.woocommerce ul.products li.product {
    margin-bottom: var(--space-xl);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    color: var(--dark);
    padding: 0;
}

.woocommerce ul.products li.product .price {
    color: var(--primary);
    font-weight: 600;
}

.woocommerce ul.products li.product .price del {
    color: var(--gray-light);
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
}

/* Sale Badge */
.woocommerce span.onsale {
    background: var(--error);
    color: var(--white);
    border-radius: var(--radius-sm);
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.75rem;
    font-weight: 600;
    min-width: auto;
    min-height: auto;
    line-height: 1.4;
}

/* Star Rating */
.woocommerce .star-rating {
    color: var(--warning);
}

/* Breadcrumbs */
.woocommerce .woocommerce-breadcrumb {
    color: var(--gray-medium);
    font-size: 0.875rem;
    padding: var(--space-lg) 0;
}

.woocommerce .woocommerce-breadcrumb a {
    color: var(--primary);
}

/* Single Product */
.woocommerce div.product div.images {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.woocommerce div.product div.summary {
    padding-left: var(--space-2xl);
}

.woocommerce div.product p.price {
    color: var(--primary);
    font-size: 1.75rem;
    font-weight: 700;
}

.woocommerce div.product .product_title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--dark);
}

/* Quantity */
.woocommerce .quantity .qty {
    width: 70px;
    padding: var(--space-md);
    border: 2px solid var(--gray-lighter);
    border-radius: var(--radius-md);
    text-align: center;
}

.woocommerce .quantity .qty:focus {
    border-color: var(--primary);
    outline: none;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0;
    margin-bottom: var(--space-xl);
    border-bottom: 2px solid var(--gray-lighter);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: none;
    background: transparent;
    margin: 0;
    padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    padding: var(--space-md) var(--space-lg);
    font-weight: 600;
    color: var(--gray);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

/* Cart */
.woocommerce-cart table.cart {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.woocommerce-cart table.cart th {
    background: var(--off-white);
    font-weight: 600;
    color: var(--dark);
}

.woocommerce-cart table.cart td {
    padding: var(--space-lg);
}

/* Checkout */
.woocommerce-checkout .woocommerce-form-coupon,
.woocommerce-checkout .woocommerce-form-login {
    background: var(--off-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: none;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    padding: var(--space-md);
    border: 2px solid var(--gray-lighter);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    border-color: var(--primary);
    outline: none;
}

/* Order Review */
.woocommerce-checkout #order_review {
    background: var(--off-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
}

/* Messages */
.woocommerce-message,
.woocommerce-info {
    border-top-color: var(--primary);
    background: var(--accent-pale);
    border-radius: var(--radius-md);
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: var(--primary);
}

.woocommerce-error {
    border-top-color: var(--error);
    background: #FEF2F2;
    border-radius: var(--radius-md);
}

/* Mini Cart Widget */
.widget_shopping_cart .cart_list li {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--gray-lighter);
}

.widget_shopping_cart .total {
    padding: var(--space-md) 0;
    font-weight: 600;
}

/* ========================================
   SIDEBAR & WIDGETS
======================================== */
.sidebar {
    padding-left: var(--space-2xl);
}

.widget {
    margin-bottom: var(--space-2xl);
    padding: var(--space-xl);
    background: var(--off-white);
    border-radius: var(--radius-lg);
}

.widget-title {
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--primary-lightest);
}

/* Price Filter */
.widget_price_filter .price_slider_wrapper .ui-widget-content {
    background: var(--gray-lighter);
    border-radius: var(--radius-full);
}

.widget_price_filter .ui-slider .ui-slider-range {
    background: var(--primary);
}

.widget_price_filter .ui-slider .ui-slider-handle {
    background: var(--primary);
    border: 3px solid var(--white);
    box-shadow: var(--shadow-md);
}

/* ========================================
   BLOG STYLES
======================================== */
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: var(--space-xl);
}

.blog-meta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    font-size: 0.875rem;
    color: var(--gray-light);
}

.blog-meta a {
    color: var(--primary);
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.blog-title a {
    color: var(--dark);
}

.blog-title a:hover {
    color: var(--primary);
}

.blog-excerpt {
    color: var(--gray-medium);
    margin-bottom: var(--space-md);
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.read-more:hover {
    gap: var(--space-md);
}

/* ========================================
   PAGE HEADER
======================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: var(--space-4xl) 0;
    margin-top: 120px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.page-header .breadcrumb {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
}

.page-header .breadcrumb a {
    color: var(--accent-sage);
}

.page-header .breadcrumb a:hover {
    color: var(--white);
}

/* ========================================
   FORMS
======================================== */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--gray-lighter);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.form-control::placeholder {
    color: var(--gray-light);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ========================================
   PAGINATION
======================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-3xl);
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.pagination a {
    background: var(--off-white);
    color: var(--gray);
}

.pagination a:hover {
    background: var(--primary);
    color: var(--white);
}

.pagination span.current {
    background: var(--primary);
    color: var(--white);
}

/* WooCommerce Pagination */
.woocommerce nav.woocommerce-pagination ul {
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    padding: var(--space-md);
    background: var(--off-white);
    border-radius: var(--radius-md);
    margin: 0 var(--space-xs);
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--primary);
    color: var(--white);
}

/* ========================================
   BACK TO TOP
======================================== */
.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-5px);
}

/* ========================================
   LOADING & ANIMATIONS
======================================== */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-lighter);
    border-top-color: var(--primary);
    border-radius: var(--radius-full);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
======================================== */
@media (max-width: 992px) {
    .main-navigation {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .sidebar {
        padding-left: 0;
        margin-top: var(--space-3xl);
    }
}

@media (max-width: 768px) {
    :root {
        --space-4xl: 4rem;
    }
    
    .section {
        padding: var(--space-3xl) 0;
    }
    
    .hero {
        min-height: auto;
        padding: var(--space-4xl) 0;
        padding-top: 150px;
    }
    
    .hero-modern {
        padding: 120px 0 40px;
        min-height: 60vh;
    }
    
    .hero-content-modern {
        padding-right: 0;
        text-align: center;
    }
    
    .hero-title-modern {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-desc-modern {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .hero-buttons-modern {
        justify-content: center;
        gap: 12px;
    }
    
    .btn-modern {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
    
    .hero-modern {
        padding: 100px 0 30px;
        min-height: 50vh;
    }
    
    .hero-title-modern {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .hero-desc-modern {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .hero-buttons-modern {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .btn-modern {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .stat-divider {
        display: none;
    }
}

/* ========================================
   UTILITY CLASSES
======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary); }
.text-dark { color: var(--dark); }
.text-gray { color: var(--gray); }
.text-white { color: var(--white); }

.bg-primary { background-color: var(--primary); }
.bg-dark { background-color: var(--dark); }
.bg-light { background-color: var(--off-white); }
.bg-white { background-color: var(--white); }

.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-lg); }
.mt-3 { margin-top: var(--space-xl); }
.mt-4 { margin-top: var(--space-2xl); }

.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-lg); }
.mb-3 { margin-bottom: var(--space-xl); }
.mb-4 { margin-bottom: var(--space-2xl); }

.py-1 { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-2 { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.py-3 { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.py-4 { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }

.hidden { display: none; }
.visible { display: block; }

.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;
}

/* ========================================
   LANGUAGE SWITCHER
======================================== */
.language-switcher {
    position: relative;
}

.lang-toggle {
    cursor: pointer;
}

.lang-current {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 160px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.language-switcher:hover .lang-dropdown,
.language-switcher:focus-within .lang-dropdown,
.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--gray-dark);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.lang-option:hover {
    background: var(--accent-pale);
    color: var(--primary);
}

.lang-option.active {
    background: var(--primary);
    color: var(--white);
}

.lang-flag {
    font-size: 1.2rem;
}

/* WPML/Polylang Language Switchers */
.wpml-lang-switcher,
.pll-lang-switcher {
    display: flex;
    gap: 8px;
    margin-left: 15px;
}

.wpml-lang-switcher a,
.pll-lang-switcher li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.wpml-lang-switcher a:hover,
.pll-lang-switcher li a:hover,
.wpml-lang-switcher a.active,
.pll-lang-switcher li.current-lang a {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.pll-lang-switcher ul {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ========================================
   MODERN LOGIN/REGISTER PAGE
======================================== */
.auth-page-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8faf9 0%, #e8f0ec 100%);
    padding: 40px 20px;
}

.auth-container {
    display: flex;
    max-width: 1100px;
    width: 100%;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(27, 67, 50, 0.1);
}

/* Auth Branding Side */
.auth-branding {
    position: relative;
    width: 45%;
    background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 100%);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.auth-branding-content {
    position: relative;
    z-index: 2;
}

.auth-branding-bg {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='80' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='40'/%3E%3C/svg%3E") center/cover;
    opacity: 0.5;
}

.auth-branding .auth-logo {
    margin-bottom: 40px;
}

.auth-branding .logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.auth-branding .logo-text span {
    color: #D4AF37;
}

.auth-branding h2 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 700;
}

.auth-branding p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.auth-feature .feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4AF37;
}

.auth-feature .feature-text {
    display: flex;
    flex-direction: column;
}

.auth-feature .feature-text strong {
    color: #fff;
    font-size: 0.95rem;
}

.auth-feature .feature-text span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* Auth Forms Side */
.auth-forms {
    flex: 1;
    padding: 50px 60px;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    background: #f5f7f6;
    border-radius: 12px;
    padding: 5px;
}

.auth-tab {
    flex: 1;
    padding: 14px 24px;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.auth-tab.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Form Wrappers */
.auth-form-wrapper {
    display: none;
}

.auth-form-wrapper.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-form-header {
    margin-bottom: 30px;
}

.auth-form-header h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.auth-form-header p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 8px;
}

.form-label svg {
    color: var(--primary);
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e8ebe9;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #fafbfa;
}

.form-input:focus {
    border-color: var(--primary);
    background: var(--white);
    outline: none;
    box-shadow: 0 0 0 4px rgba(27, 67, 50, 0.08);
}

.form-input::placeholder {
    color: #adb5b0;
}

/* Password Input */
.password-input-wrapper {
    position: relative;
}

.password-input-wrapper .form-input {
    padding-right: 50px;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: var(--primary);
}

/* Checkbox Styling */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5d3;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Form Row Flex */
.form-row-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.forgot-password-link {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.forgot-password-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Submit Button */
.btn-auth-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, #2D6A4F 100%);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(27, 67, 50, 0.3);
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e8ebe9;
}

.auth-divider span {
    color: var(--gray);
    font-size: 0.85rem;
}

/* Social Login */
.social-login {
    display: flex;
    gap: 15px;
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border: 2px solid #e8ebe9;
    border-radius: 12px;
    background: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    border-color: #d1d5d3;
    background: #fafbfa;
}

/* Form Note */
.form-note {
    color: var(--gray);
    font-size: 0.85rem;
    padding: 12px 16px;
    background: #f5f7f6;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Terms Checkbox */
.terms-checkbox {
    font-size: 0.85rem;
}

.terms-checkbox a {
    color: var(--primary);
    text-decoration: underline;
}

/* Responsive Auth Page */
@media (max-width: 992px) {
    .auth-container {
        flex-direction: column;
    }
    
    .auth-branding {
        width: 100%;
        padding: 40px 30px;
    }
    
    .auth-features {
        display: none;
    }
    
    .auth-forms {
        padding: 40px 30px;
    }
}

@media (max-width: 576px) {
    .auth-page-wrapper {
        padding: 20px;
    }
    
    .auth-container {
        border-radius: 16px;
    }
    
    .auth-branding {
        padding: 30px 20px;
    }
    
    .auth-branding h2 {
        font-size: 1.5rem;
    }
    
    .auth-forms {
        padding: 30px 20px;
    }
    
    .social-login {
        flex-direction: column;
    }
    
    .form-row-flex {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

