/*
Theme Name: Pema
Theme URI: https://pema.sk
Author: Pema Team
Author URI: https://pema.sk
Description: A professional WordPress theme for garden and agricultural supply stores. Similar to farmamix.sk with dark green color scheme. Fully compatible with WooCommerce and includes all necessary functionality for e-commerce.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pemazahradkar
Tags: e-commerce, woocommerce, dark-green, garden, agriculture, responsive, accessibility-ready
*/

/* ============================================
   CSS Variables - Dark Green Color Scheme
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500;1,600&display=swap');

:root {
    --primary-color: #1a5f2a;
    --primary-dark: #0d3d18;
    --primary-light: #2d7a3d;
    --secondary-color: #247c35;
    --accent-color: #7cb342;
    --accent-hover: #6aa02f;
    --text-color: #2d2d2d;
    --text-light: #5a5a5a;
    --bg-color: #ffffff;
    --bg-light: #f8faf8;
    --bg-lighter: #f0f5f0;
    --bg-dark: #1a5f2a;
    --border-color: #e0e5e0;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #e74c3c;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(26, 95, 42, 0.08);
    --shadow-hover: 0 8px 30px rgba(26, 95, 42, 0.15);
    --shadow-lg: 0 15px 50px rgba(26, 95, 42, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 20px;
}

/* ============================================
   Animations & Keyframes
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    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);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Animation Classes */
.animate-fade-up {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.animate-fade-down {
    animation: fadeInDown 0.6s ease-out forwards;
    opacity: 0;
}

.animate-fade-left {
    animation: fadeInLeft 0.6s ease-out forwards;
    opacity: 0;
}

.animate-fade-right {
    animation: fadeInRight 0.6s ease-out forwards;
    opacity: 0;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-bounce {
    animation: bounce 1.5s infinite;
}

/* Staggered Animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* Hover Effects */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.hover-scale {
    transition: var(--transition);
}

.hover-scale:hover {
    transform: scale(1.03);
}

.hover-shadow {
    transition: var(--transition);
}

.hover-shadow:hover {
    box-shadow: var(--shadow-hover);
}

/* Glow Effect */
.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: var(--transition-slow);
}

.glow-effect:hover::before {
    width: 300px;
    height: 300px;
    opacity: 1;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Barlow', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-weight: 400;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(26, 95, 42, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

/* ============================================
   Notification Styles
   ============================================ */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 16px 24px;
    border-radius: var(--border-radius-sm);
    color: var(--white);
    font-weight: 500;
    z-index: 9999;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #43a047 100%);
}

.notification-error {
    background: linear-gradient(135deg, var(--error-color) 0%, #c0392b 100%);
}

.notification-info {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
}

.notification i {
    font-size: 1.2rem;
}

/* Button Loading Animation */
.btn-loader {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Hover States for Animations */
.product-image img.hovered {
    transform: scale(1.05);
}

.category-overlay.hovered {
    background: linear-gradient(to top, rgba(26, 95, 42, 0.9) 0%, rgba(26, 95, 42, 0.5) 60%, transparent 100%);
}

.btn.hovered {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 95, 42, 0.3);
}

.footer-links a.hovered {
    color: var(--accent-color);
    padding-left: 10px;
}

.footer-social a.hovered,
.top-bar-social a.hovered {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(124, 179, 66, 0.4);
}

/* Cart count bounce animation */
.cart-count.bounce {
    animation: bounce 0.5s ease;
}

/* Wishlist shake animation */
.product-action-btn.shake {
    animation: shake 0.5s ease;
}

/* Wishlist pulse animation */
.product-action-btn.pulse,
.testimonial-avatar.pulse {
    animation: pulse 0.5s ease;
}

/* Animated class for scroll animations */
.animated {
    opacity: 1 !important;
    transform: translate(0) !important;
}

/* Load more button styles */
.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    position: relative;
    min-width: 200px;
}

.load-more-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

/* Quick view modal enhancement */
.quick-view-modal .modal-content {
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.quick-view-modal .modal-header {
    background: var(--bg-light);
    border-bottom: none;
}

.quick-view-modal .modal-body {
    padding: 30px;
}

/* Page load transition */
body.loaded {
    opacity: 1;
}

body {
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Preloader styles (optional) */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-light);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Scroll progress bar (optional) */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--bg-light);
    z-index: 9999;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    width: 0;
    transition: width 0.1s ease;
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px rgba(26, 95, 42, 0.3);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(26, 95, 42, 0.4);
}

.back-to-top i {
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-3px);
}

/* ============================================
   Animation Keyframes
   ============================================ */

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-family: 'Barlow', sans-serif;
}

h1 { 
    font-size: 3rem; 
    letter-spacing: -0.5px;
}

h2 { 
    font-size: 2.25rem; 
    letter-spacing: -0.3px;
}

h3 { 
    font-size: 1.75rem; 
}

h4 { 
    font-size: 1.375rem; 
}

h5 { 
    font-size: 1.125rem; 
}

h6 { 
    font-size: 1rem; 
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

/* ============================================
   Custom Scrollbar
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ============================================
   Container & Layout
   ============================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-fluid {
    width: 100%;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.section-padding-sm {
    padding: 60px 0;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-transform: none;
    letter-spacing: 0.3px;
    font-family: 'Barlow', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(26, 95, 42, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(26, 95, 42, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(124, 179, 66, 0.3);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(124, 179, 66, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: var(--bg-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
}

/* ============================================
   Header Styles - Modern & Animated
   ============================================ */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(26, 95, 42, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 4px 40px rgba(26, 95, 42, 0.12);
}

.site-header.scrolled .main-header {
    padding: 10px 0;
}

/* Top Bar - Modern Gradient */
.top-bar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.top-bar-info {
    display: flex;
    gap: 30px;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.95;
    transition: var(--transition);
}

.top-bar-info span:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.top-bar-info svg {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

.top-bar-info span:hover svg {
    transform: scale(1.1);
}

.top-bar-social {
    display: flex;
    gap: 10px;
}

.top-bar-social a {
    color: var(--white);
    font-size: 0.95rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.top-bar-social a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.top-bar-social a:hover::before {
    width: 100%;
    height: 100%;
}

.top-bar-social a:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(124, 179, 66, 0.4);
}

.top-bar-social a i {
    position: relative;
    z-index: 1;
}

/* Main Header */
.main-header {
    padding: 5px 20px;
    background-color: #1a5f2a;
    transition: var(--transition);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    padding: 0;
}

.site-logo {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.site-logo:hover {
    transform: scale(1.02);
}

.site-logo .logo-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
}

.site-logo span {
    display: none;
}

/* Main Navigation - Modern Dropdown Styles */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    gap: 0;
}

.main-navigation a {
    color: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 10px;
    position: relative;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.main-navigation a::before {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.main-navigation a:hover,
.main-navigation a.current-menu-item {
    color: var(--primary-color);
    background-color: rgba(26, 95, 42, 0.08);
}

.main-navigation a:hover::before,
.main-navigation a.current-menu-item::before {
    width: 30px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #1a5f2a;
    padding: 5px 15px;
    border-radius: 25px;
}

/* Enhanced Search */
.header-search {
    position: relative;
}

.header-search input {
    padding: 6px 30px 6px 12px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 15px;
    width: 150px;
    font-size: 0.8rem;
    background: rgba(255,255,255,0.9);
    transition: var(--transition);
    font-family: 'Barlow', sans-serif;
    color: #333;
}

.header-search input::placeholder {
    color: #999;
}

.header-search input:focus {
    outline: none;
    border-color: var(--white);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.2);
    width: 180px;
}

.header-search button {
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    background: #1a5f2a;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 0.8rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.header-search button:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

/* Enhanced Cart */
.header-cart {
    position: relative;
}

.header-cart a {
    color: var(--white);
    font-size: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    transition: var(--transition);
    position: relative;
}

.header-cart a:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

.header-cart .cart-count {
    position: absolute;
    top: -3px;
    right: -3px;
    background: var(--accent-color);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Categories Dropdown - Enhanced */
.categories-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Barlow', sans-serif;
}

.categories-toggle:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(26, 95, 42, 0.3);
}

.categories-toggle .hamburger-icon span {
    background-color: var(--white);
    transition: var(--transition);
}

.categories-toggle:hover .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.categories-toggle:hover .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.categories-toggle:hover .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.categories-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 280px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15);
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
}

.header-categories-dropdown:hover .categories-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.categories-dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.categories-dropdown-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: var(--accent-color);
    transition: height 0.3s ease;
}

.categories-dropdown-link:hover::before {
    height: 60%;
}

.categories-dropdown-link:hover {
    background-color: rgba(26, 95, 42, 0.05);
    color: var(--primary-color);
    padding-left: 28px;
}

.category-arrow {
    font-size: 0.8rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.categories-dropdown-item:hover .category-arrow {
    transform: rotate(90deg) translateX(3px);
}

.categories-dropdown-submenu {
    position: absolute;
    left: calc(100% + 5px);
    top: 0;
    min-width: 240px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15);
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    border: 1px solid var(--border-color);
}

.categories-dropdown-item:hover .categories-dropdown-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.categories-dropdown-sublink {
    display: block;
    padding: 12px 24px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
    font-size: 0.95rem;
}

.categories-dropdown-sublink:hover {
    background-color: rgba(26, 95, 42, 0.05);
    color: var(--primary-color);
    padding-left: 28px;
}

.header-cart a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    font-size: 0.7rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(124, 179, 66, 0.4);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: var(--bg-light);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--bg-color), transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.2);
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title span {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    display: block;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 8px;
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
}

.section-header-with-bg {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: 60px 0;
    color: var(--white);
    text-align: center;
}

.section-header-with-bg h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header-with-bg p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin: 0;
}

.feature-item {
    text-align: center;
    padding: 40px 30px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2.2rem;
    color: var(--white);
    transition: var(--transition);
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    opacity: 0.3;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ============================================
   Products Section
   ============================================ */
.products-section {
    padding: 100px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: var(--bg-light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.product-badge.sale {
    background: var(--error-color);
    color: var(--white);
}

.product-badge.new {
    background: var(--accent-color);
    color: var(--white);
}

.product-badge.hot {
    background: linear-gradient(135deg, var(--warning-color) 0%, #ffb300 100%);
    color: var(--white);
}

.product-actions {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    width: 42px;
    height: 42px;
    background-color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    color: var(--text-color);
}

.product-action-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.product-info {
    padding: 24px;
}

.product-category {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
    line-height: 1.4;
}

.product-title a {
    color: var(--text-color);
}

.product-title a:hover {
    color: var(--primary-color);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.price-current {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
}

.price-old {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.product-rating .stars {
    color: #ffc107;
    font-size: 0.9rem;
}

.product-rating .count {
    font-size: 0.85rem;
    color: var(--text-light);
}

.add-to-cart-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 95, 42, 0.3);
}

.add-to-cart-btn svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   Categories Section
   ============================================ */
.categories-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 220px;
    cursor: pointer;
    display: block;
    text-decoration: none;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 95, 42, 0.95) 0%, rgba(26, 95, 42, 0.3) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: var(--transition);
}

.category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(26, 95, 42, 0.9) 0%, rgba(26, 95, 42, 0.5) 60%, transparent 100%);
}

.category-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    transition: var(--transition);
}

.category-card:hover .category-icon {
    transform: scale(1.2) rotate(10deg);
    background: var(--accent-color);
}

.category-name {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
    transform: translateY(0);
    transition: var(--transition);
}

.category-card:hover .category-name {
    transform: translateY(-5px);
}

.category-count {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: 100px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--accent-color);
    border-radius: var(--border-radius-lg);
    z-index: -1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.9;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 30px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 16px;
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.about-feature-text {
    font-weight: 600;
    color: var(--text-color);
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    line-height: 1;
}

.stat-number span {
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 8px;
    display: block;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
}

.testimonials-section .section-header h2 {
    color: var(--white);
}

.testimonials-section .section-header p {
    color: rgba(255,255,255,0.85);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 36px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 5rem;
    color: var(--accent-color);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
}

.testimonial-name {
    font-weight: 700;
    color: var(--text-color);
    font-size: 1.1rem;
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--primary-color);
}

/* ============================================
   Newsletter Section
   ============================================ */
.newsletter-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 179, 66, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.newsletter-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 12px;
    background: rgba(255,255,255,0.1);
    padding: 8px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.newsletter-form input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    background: var(--white);
    font-family: 'Barlow', sans-serif;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 179, 66, 0.3);
}

.newsletter-form button {
    padding: 16px 32px;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 179, 66, 0.4);
}

/* ============================================
   Footer Styles - Modern & Professional
   ============================================ */
.site-footer {
    background: linear-gradient(180deg, #1a3a1c 0%, #0d2a12 100%);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 50m-40 0a40,40 0 1,0 80,0a40,40 0 1,0 -80,0' fill='rgba(255,255,255,0.02)'/%3E%3C/svg%3E");
    background-size: 100px 100px;
    opacity: 0.5;
}

.site-footer .container {
    position: relative;
    z-index: 1;
}

.footer-top {
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-widget {
    margin-bottom: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.footer-widget:nth-child(1) { animation-delay: 0.1s; }
.footer-widget:nth-child(2) { animation-delay: 0.2s; }
.footer-widget:nth-child(3) { animation-delay: 0.3s; }
.footer-widget:nth-child(4) { animation-delay: 0.4s; }

.footer-widget-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-widget-logo svg {
    width: 40px;
    height: 40px;
    transition: var(--transition);
}

.footer-widget-logo:hover svg {
    transform: scale(1.1) rotate(5deg);
}

.footer-widget-logo span {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 24px;
    transition: var(--transition);
}

.footer-widget:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.footer-widget h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-light));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-widget:hover h3::after {
    width: 60px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
    opacity: 0;
    animation: fadeInLeft 0.5s ease-out forwards;
}

.footer-links li:nth-child(1) { animation-delay: 0.15s; }
.footer-links li:nth-child(2) { animation-delay: 0.2s; }
.footer-links li:nth-child(3) { animation-delay: 0.25s; }
.footer-links li:nth-child(4) { animation-delay: 0.3s; }
.footer-links li:nth-child(5) { animation-delay: 0.35s; }
.footer-links li:nth-child(6) { animation-delay: 0.4s; }

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
    color: var(--accent-color);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 15px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-links a svg {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

.footer-links a:hover svg {
    transform: translateX(5px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

.footer-contact-item:nth-child(2) { animation-delay: 0.15s; }
.footer-contact-item:nth-child(3) { animation-delay: 0.25s; }
.footer-contact-item:nth-child(4) { animation-delay: 0.35s; }

.footer-contact-icon {
    width: 44px;
    height: 44px;
    background: rgba(124, 179, 66, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-color);
    transition: var(--transition);
}

.footer-contact-item:hover .footer-contact-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--accent-color);
    color: var(--white);
}

.footer-contact-icon svg {
    width: 18px;
    height: 18px;
}

.footer-contact-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-contact-item:hover .footer-contact-text {
    color: rgba(255, 255, 255, 1);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-light));
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
}

.footer-social a:hover::before {
    opacity: 1;
    transform: scale(1);
}

.footer-social a:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(124, 179, 66, 0.4);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.footer-social a:hover svg {
    transform: scale(1.1);
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.footer-bottom a {
    color: var(--accent-color);
    font-weight: 500;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--white);
    text-decoration: none;
}

/* Footer Newsletter */
.footer-newsletter {
    margin-top: 20px;
}

.footer-newsletter p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-newsletter-form {
    display: flex;
    gap: 10px;
}

.footer-newsletter input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 0.9rem;
    transition: var(--transition);
    font-family: 'Barlow', sans-serif;
}

.footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
}

.footer-newsletter button {
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-light));
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Barlow', sans-serif;
}

.footer-newsletter button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(124, 179, 66, 0.4);
}

/* Footer Info Section */
.footer-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info-item:last-child {
    border-bottom: none;
}

.footer-info-item i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(124, 179, 66, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1rem;
    flex-shrink: 0;
}

.footer-info-item span {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   Front Page Specific Styles
   ============================================ */
.frontpage-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    min-height: 100vh;
}

.frontpage-sidebar {
    background: var(--bg-light);
    padding: 30px 20px;
    border-right: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.frontpage-content {
    padding: 0;
}

/* ============================================
   Slideshow Styles
   ============================================ */
.slideshow-section {
    position: relative;
    overflow: hidden;
}

.pema-slideshow {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.pema-slideshow-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.pema-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.pema-slide.active {
    opacity: 1;
    z-index: 2;
}

.pema-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pema-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 95, 42, 0.95) 0%, rgba(26, 95, 42, 0.5) 60%, transparent 100%);
    padding: 60px 40px 40px;
    color: var(--white);
    z-index: 3;
}

.pema-slide-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--white);
}

.pema-slide-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.slideshow-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slide-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.zoom-in {
    animation: zoomIn 0.6s ease-out;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 60px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 60px; }

.pt-1 { padding-top: 10px; }
.pt-2 { padding-top: 20px; }
.pt-3 { padding-top: 30px; }
.pt-4 { padding-top: 40px; }
.pt-5 { padding-top: 60px; }

.pb-1 { padding-bottom: 10px; }
.pb-2 { padding-bottom: 20px; }
.pb-3 { padding-bottom: 30px; }
.pb-4 { padding-bottom: 40px; }
.pb-5 { padding-bottom: 60px; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-inline-block { display: inline-block; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }

.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }
.gap-3 { gap: 30px; }

.w-100 { width: 100%; }

/* ============================================
   Front Page Styles - Hero Section
   ============================================ */
.hero-section {
    padding: 50px 0 60px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 50%, var(--bg-lighter) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(26, 95, 42, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(26, 95, 42, 0.1) 0%, rgba(124, 179, 66, 0.1) 100%);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-features {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-feature i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(26, 95, 42, 0.1);
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(26, 95, 42, 0.15);
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-decoration-1 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(124, 179, 66, 0.2) 0%, rgba(26, 95, 42, 0.1) 100%);
    top: -30px;
    right: -30px;
    animation: pulse 4s ease-in-out infinite;
}

.hero-decoration-2 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(26, 95, 42, 0.1) 0%, rgba(124, 179, 66, 0.2) 100%);
    bottom: 30px;
    left: -30px;
    animation: pulse 4s ease-in-out infinite 1s;
}

/* ============================================
   Section Styles
   ============================================ */
.section-padding {
    padding: 100px 0;
}

.section-padding-sm {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.text-center {
    text-align: center;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Quick Categories Bar - Always Visible
   ============================================ */
.quick-categories-bar {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.quick-categories-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-light);
    -webkit-overflow-scrolling: touch;
}

.quick-categories-scroll::-webkit-scrollbar {
    height: 6px;
}

.quick-categories-scroll::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 3px;
}

.quick-categories-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.quick-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-color);
    min-width: 100px;
    transition: var(--transition);
    flex-shrink: 0;
}

.quick-category-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(26, 95, 42, 0.2);
}

.quick-category-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.quick-category-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.quick-category-item span {
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

/* ============================================
   Categories Section
   ============================================ */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.category-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 280px;
    cursor: pointer;
    display: block;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.category-image {
    position: absolute;
    inset: 0;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-placeholder i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.5);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 95, 42, 0.95) 0%, rgba(26, 95, 42, 0.3) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: var(--transition);
}

.category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(26, 95, 42, 0.9) 0%, rgba(26, 95, 42, 0.5) 60%, transparent 100%);
}

.category-content {
    position: relative;
    z-index: 1;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.category-count {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.category-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-color);
    font-size: 0.9rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.category-card:hover .category-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   Products Grid
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
    background: var(--white);
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(26, 95, 42, 0.3);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.feature-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   Promo Banner Section
   ============================================ */
.promo-banner-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.promo-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.promo-content {
    position: relative;
    z-index: 1;
}

.promo-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

.promo-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.promo-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 500px;
}

.promo-image {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.1);
    animation: float 4s ease-in-out infinite;
}

/* ============================================
   Promo Slideshow Styles
   ============================================ */
.promo-slideshow-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.promo-slideshow {
    position: relative;
    overflow: hidden;
}

.promo-slides-wrapper {
    position: relative;
    width: 100%;
}

.promo-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.promo-slide.active {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.promo-slide-content {
    padding: 20px;
}

.promo-slide-icon {
    font-size: 6rem;
    color: rgba(26, 95, 42, 0.15);
    animation: float 4s ease-in-out infinite;
}

.promo-slideshow-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.promo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.promo-dot:hover {
    background: var(--primary-light);
}

.promo-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.testimonial-rating {
    color: #ffc107;
    font-size: 1rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.testimonial-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.testimonial-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ============================================
   Newsletter Section
   ============================================ */
.newsletter-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-light) 100%);
}

.newsletter-wrapper {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.newsletter-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.newsletter-form {
    display: flex;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    background: var(--white);
    transition: var(--transition);
    font-family: 'Barlow', sans-serif;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(26, 95, 42, 0.1);
}

.mt-4 {
    margin-top: 30px;
}

.text-center {
    text-align: center;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2rem; }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .hero-image img {
        max-width: 400px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .promo-banner {
        grid-template-columns: 1fr auto;
        gap: 40px;
        padding: 50px;
    }
    
    .promo-title {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .section-padding-sm {
        padding: 60px 0;
    }
    
    .hero-section {
        padding: 60px 0;
        min-height: auto;
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image-wrapper {
        order: 1;
        margin-bottom: 40px;
    }
    
    .hero-image img {
        max-width: 350px;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .promo-banner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px;
    }
    
    .promo-image {
        display: none;
    }
    
    .promo-content {
        max-width: 100%;
    }
    
    .promo-description {
        max-width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-top {
        padding: 60px 0 40px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        padding: 20px;
        box-shadow: var(--shadow);
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 8px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .header-search {
        display: none;
    }
    
    .categories-toggle .categories-label {
        display: none;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .category-card {
        height: 200px;
    }
    
    .category-title {
        font-size: 1rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .feature-item {
        padding: 25px 15px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .feature-title {
        font-size: 1rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
        background: transparent;
        padding: 0;
    }
    
    .newsletter-form input {
        width: 100%;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .newsletter-title {
        font-size: 1.75rem;
    }
    
    .newsletter-description {
        font-size: 1rem;
    }
    
    .promo-banner {
        padding: 30px 20px;
    }
    
    .promo-title {
        font-size: 1.5rem;
    }
    
    .promo-description {
        font-size: 0.95rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-widget h3 {
        font-size: 1.1rem;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-stat-number {
        font-size: 2rem;
    }
    
    .hero-features {
        gap: 15px;
    }
    
    .hero-feature {
        font-size: 0.85rem;
    }
    
    .hero-feature i {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-padding-sm {
        padding: 50px 0;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .category-card {
        height: 180px;
    }
    
    .category-title {
        font-size: 1.1rem;
    }
    
    .category-count {
        font-size: 0.85rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-item {
        padding: 30px 20px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 30px;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    .newsletter-section {
        padding: 60px 0;
    }
    
    .newsletter-title {
        font-size: 1.5rem;
    }
    
    .newsletter-description {
        font-size: 0.95rem;
    }
    
    .promo-banner {
        padding: 25px 20px;
    }
    
    .promo-badge {
        font-size: 0.75rem;
        padding: 6px 15px;
    }
    
    .promo-title {
        font-size: 1.25rem;
    }
    
    .promo-description {
        font-size: 0.9rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .footer-newsletter-form {
        flex-direction: column;
    }
    
    .footer-newsletter button {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .hero-section {
        padding: 80px 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .frontpage-layout {
        grid-template-columns: 1fr;
    }
    
    .frontpage-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        padding: 20px;
        box-shadow: var(--shadow);
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 8px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .header-search {
        display: none;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
        background: transparent;
        padding: 0;
    }
    
    .newsletter-form input {
        width: 100%;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-stats {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .stat-item {
        flex: 1 0 40%;
    }
    
    .pema-slideshow-container {
        height: 350px;
    }
    
    .pema-slide-content {
        padding: 40px 20px 20px;
    }
    
    .pema-slide-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-stat-number {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .pema-slideshow-container {
        height: 280px;
    }
    
    .pema-slide-title {
        font-size: 1.25rem;
    }
}

/* ============================================
   WooCommerce Styles
   ============================================ */
.woocommerce {
    margin-bottom: 2rem;
}

.woocommerce-page .page-header {
    margin-bottom: 2rem;
}

.woocommerce-products-header {
    text-align: center;
    margin-bottom: 2rem;
}

.woocommerce-products-header h1 {
    color: var(--primary-dark);
}

.woocommerce-result-count {
    margin-bottom: 1rem;
}

.woocommerce-ordering {
    margin-bottom: 2rem;
}

.woocommerce-ordering select {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    background: var(--white);
    font-family: 'Barlow', sans-serif;
}

/* ============================================
   Page Styles
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
}

.page-content {
    padding: 60px 0;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-section {
    padding: 60px 0;
}

.contact-info {
    background-color: var(--bg-light);
    padding: 36px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    height: fit-content;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 24px;
    height: 24px;
}

.contact-info-text h4 {
    margin-bottom: 6px;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.contact-info-text p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 36px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* ============================================
   Forms
   ============================================ */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    background: var(--bg-light);
    font-family: 'Barlow', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(26, 95, 42, 0.1);
}

.form-control::placeholder {
    color: var(--text-light);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ============================================
   Icon Styles (SVG)
   ============================================ */
.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
}

/* ============================================
   Loading Animation
   ============================================ */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(26, 95, 42, 0.4);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}
