/* === Pollinator Seeds — Main Stylesheet === */
/* Inspired by GreenMart organic theme aesthetic */

/* --- Variables --- */
:root {
    --primary: #86BC42;
    --primary-dark: #6da032;
    --primary-light: #a8d46a;
    --secondary: #2c3e2d;
    --accent: #f4a259;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg: #ffffff;
    --bg-light: #f9faf7;
    --bg-warm: #fcfcf8;
    --border: #e8e8e8;
    --border-light: #f0f0f0;
    --success: #4caf50;
    --error: #e53935;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 12px;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --container: 1200px;
    --transition: 0.25s ease;
}

/* --- Dark Mode (earthy/natural tones) --- */
[data-theme="dark"] {
    --primary: #9CCF5A;
    --primary-dark: #86BC42;
    --primary-light: #b4e06e;
    --secondary: #1e261e;
    --accent: #d4a056;
    --text: #dde0d8;
    --text-light: #a8ada0;
    --text-muted: #7c8274;
    --bg: #1a1d1a;
    --bg-light: #232823;
    --bg-warm: #1e221e;
    --border: #384038;
    --border-light: #2d332d;
    --success: #4caf50;
    --error: #ef5350;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow: 0 2px 8px rgba(0,0,0,0.4);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.5);
}
[data-theme="dark"] .site-header {
    background: #1e221e;
    border-bottom-color: var(--border);
}
[data-theme="dark"] .product-card,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .why-card,
[data-theme="dark"] .stat-card,
[data-theme="dark"] .admin-section {
    background: #232823;
    border-color: var(--border);
}
[data-theme="dark"] .product-card-image {
    background: linear-gradient(135deg, #243024, #1e2a1e);
}
[data-theme="dark"] .product-image-main {
    background: linear-gradient(135deg, #243024, #1e2a1e);
}
[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #1a1d1a 0%, #1e261e 100%);
}
[data-theme="dark"] .page-header {
    background: linear-gradient(135deg, #1a1d1a, #1e261e);
}
[data-theme="dark"] .features-bar {
    background: var(--bg-warm);
    border-color: var(--border);
}
[data-theme="dark"] .section-light {
    background: var(--bg-light);
}
[data-theme="dark"] .cart-summary {
    background: #232823;
}
[data-theme="dark"] .species-list {
    background: #232823;
}
[data-theme="dark"] .sowing-box {
    background: #232823;
    border-color: var(--border);
}
[data-theme="dark"] .guide-step {
    background: #232823;
}
[data-theme="dark"] .category-card {
    background: #232823;
}
[data-theme="dark"] .blog-card-image {
    background: linear-gradient(135deg, #243024, #1e2e1e);
}
[data-theme="dark"] .main-nav {
    background: #1e221e;
}
[data-theme="dark"] .cart-qty-form input,
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select {
    background: #2a302a;
    color: var(--text);
    border-color: var(--border);
}
[data-theme="dark"] .product-card-body h3 a,
[data-theme="dark"] .blog-card-body h3 a {
    color: var(--text);
}
[data-theme="dark"] .nav-link { color: var(--text); }
[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
    color: var(--primary);
    background: rgba(134,188,66,0.12);
}
[data-theme="dark"] .cart-link { color: var(--text); }
[data-theme="dark"] .mobile-menu-btn span { background: var(--text); }
[data-theme="dark"] .logo { color: #c8dfc8; }
[data-theme="dark"] .logo:hover { color: #dde0d8; }
[data-theme="dark"] .hero-content h1,
[data-theme="dark"] .section-header h2,
[data-theme="dark"] .product-info h1,
[data-theme="dark"] .page-header h1,
[data-theme="dark"] .guide-content h2 {
    color: #c8dfc8;
}
[data-theme="dark"] .stat-card .stat-value {
    color: #c8dfc8;
}
[data-theme="dark"] .alert-success { background: #1b3a1b; color: #81c784; border-color: #2e5a2e; }
[data-theme="dark"] .alert-error { background: #3a1b1b; color: #ef9a9a; border-color: #5a2e2e; }
[data-theme="dark"] .voucher-card {
    background: linear-gradient(135deg, #232823 0%, #2a302a 100%);
    border-color: var(--primary);
}
[data-theme="dark"] .voucher-card::before,
[data-theme="dark"] .voucher-card::after {
    background: rgba(134,188,66,0.06);
}
[data-theme="dark"] .newsletter-section {
    background: #243024;
}
[data-theme="dark"] .site-footer {
    background: #1a1d1a;
    color: rgba(221,224,216,0.8);
}
[data-theme="dark"] .site-footer a {
    color: rgba(221,224,216,0.7);
}
[data-theme="dark"] .site-footer a:hover {
    color: var(--primary);
}
/* Dark mode toggle button */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 6px;
    line-height: 1;
    opacity: 0.7;
    transition: opacity var(--transition);
}
.theme-toggle:hover { opacity: 1; }

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --primary: #9CCF5A;
        --primary-dark: #86BC42;
        --primary-light: #b4e06e;
        --secondary: #1e261e;
        --accent: #d4a056;
        --text: #dde0d8;
        --text-light: #a8ada0;
        --text-muted: #7c8274;
        --bg: #1a1d1a;
        --bg-light: #232823;
        --bg-warm: #1e221e;
        --border: #384038;
        --border-light: #2d332d;
        --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
        --shadow: 0 2px 8px rgba(0,0,0,0.4);
        --shadow-lg: 0 4px 16px rgba(0,0,0,0.5);
    }
    /* Component overrides for native dark mode (no toggle click) */
    :root:not([data-theme="light"]) .site-header { background: #1e221e; border-bottom-color: #384038; }
    :root:not([data-theme="light"]) .product-card,
    :root:not([data-theme="light"]) .blog-card,
    :root:not([data-theme="light"]) .testimonial-card,
    :root:not([data-theme="light"]) .why-card,
    :root:not([data-theme="light"]) .stat-card,
    :root:not([data-theme="light"]) .admin-section { background: #232823; border-color: #384038; }
    :root:not([data-theme="light"]) .product-card-image { background: linear-gradient(135deg, #243024, #1e2a1e); }
    :root:not([data-theme="light"]) .product-image-main { background: linear-gradient(135deg, #243024, #1e2a1e); }
    :root:not([data-theme="light"]) .hero { background: linear-gradient(135deg, #1a1d1a 0%, #1e261e 100%); }
    :root:not([data-theme="light"]) .page-header { background: linear-gradient(135deg, #1a1d1a, #1e261e); }
    :root:not([data-theme="light"]) .features-bar { background: #1e221e; border-color: #384038; }
    :root:not([data-theme="light"]) .section-light { background: #232823; }
    :root:not([data-theme="light"]) .cart-summary { background: #232823; }
    :root:not([data-theme="light"]) .species-list { background: #232823; }
    :root:not([data-theme="light"]) .sowing-box { background: #232823; border-color: #384038; }
    :root:not([data-theme="light"]) .guide-step { background: #232823; }
    :root:not([data-theme="light"]) .category-card { background: #232823; }
    :root:not([data-theme="light"]) .blog-card-image { background: linear-gradient(135deg, #243024, #1e2e1e); }
    :root:not([data-theme="light"]) .main-nav { background: #1e221e; }
    :root:not([data-theme="light"]) .cart-qty-form input,
    :root:not([data-theme="light"]) .form-group input,
    :root:not([data-theme="light"]) .form-group textarea,
    :root:not([data-theme="light"]) .form-group select { background: #2a302a; color: #dde0d8; border-color: #384038; }
    :root:not([data-theme="light"]) .product-card-body h3 a,
    :root:not([data-theme="light"]) .blog-card-body h3 a { color: #dde0d8; }
    :root:not([data-theme="light"]) .nav-link { color: #dde0d8; }
    :root:not([data-theme="light"]) .nav-link:hover,
    :root:not([data-theme="light"]) .nav-link.active { color: #9CCF5A; background: rgba(134,188,66,0.12); }
    :root:not([data-theme="light"]) .cart-link { color: #dde0d8; }
    :root:not([data-theme="light"]) .mobile-menu-btn span { background: #dde0d8; }
    :root:not([data-theme="light"]) .logo { color: #c8dfc8; }
    :root:not([data-theme="light"]) .logo:hover { color: #dde0d8; }
    :root:not([data-theme="light"]) .hero-content h1,
    :root:not([data-theme="light"]) .section-header h2,
    :root:not([data-theme="light"]) .product-info h1,
    :root:not([data-theme="light"]) .page-header h1,
    :root:not([data-theme="light"]) .guide-content h2 { color: #c8dfc8; }
    :root:not([data-theme="light"]) .stat-card .stat-value { color: #c8dfc8; }
    :root:not([data-theme="light"]) .alert-success { background: #1b3a1b; color: #81c784; border-color: #2e5a2e; }
    :root:not([data-theme="light"]) .alert-error { background: #3a1b1b; color: #ef9a9a; border-color: #5a2e2e; }
    :root:not([data-theme="light"]) .voucher-card { background: linear-gradient(135deg, #232823 0%, #2a302a 100%); border-color: #9CCF5A; }
    :root:not([data-theme="light"]) .voucher-card::before,
    :root:not([data-theme="light"]) .voucher-card::after { background: rgba(134,188,66,0.06); }
    :root:not([data-theme="light"]) .newsletter-section { background: #1e261e; color: #dde0d8; }
    :root:not([data-theme="light"]) .newsletter-form input { background: #2a302a; color: #dde0d8; border: 1px solid #384038; }
    :root:not([data-theme="light"]) .newsletter-form .btn { background: #9CCF5A; color: #1a1d1a; border-color: #9CCF5A; }
    :root:not([data-theme="light"]) .newsletter-form .btn:hover { background: #b4e06e; border-color: #b4e06e; }
    :root:not([data-theme="light"]) .site-footer { background: #1a1d1a; color: rgba(221,224,216,0.8); }
    :root:not([data-theme="light"]) .site-footer .footer-logo .logo-name { color: #dde0d8; }
    :root:not([data-theme="light"]) .site-footer .footer-col h4 { color: #dde0d8; }
    :root:not([data-theme="light"]) .site-footer .footer-col a { color: rgba(221,224,216,0.65); }
    :root:not([data-theme="light"]) .site-footer .footer-col a:hover { color: #9CCF5A; }
    :root:not([data-theme="light"]) .site-footer .footer-bottom { border-top-color: #384038; }
    :root:not([data-theme="light"]) .site-footer .footer-about { color: rgba(221,224,216,0.7); }
}

/* --- Utilities --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* --- Container --- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    justify-content: center;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}
.btn-outline {
    background: transparent;
    color: var(--primary-dark);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}
.btn-white {
    background: #fff;
    color: var(--primary-dark);
    border-color: #fff;
}
.btn-white:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.btn:focus-visible {
    outline: 3px solid var(--primary-light);
    outline-offset: 2px;
}
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-hero-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.7);
}
.btn-hero-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
}

/* --- Toast Notifications --- */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 0.92rem;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    box-shadow: var(--shadow-lg);
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.toast-success { background: var(--success); color: #fff; }
.toast-error { background: var(--error); color: #fff; }

/* --- Top Bar --- */
.top-bar {
    background: var(--secondary);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    padding: 8px 0;
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar a { color: rgba(255,255,255,0.9); }
.top-bar a:hover { color: #fff; }
.top-bar-inner { gap: 12px; }
.top-bar-links { display: flex; align-items: center; gap: 16px; }
.lang-switcher { display: flex; gap: 6px; }
.lang-option { font-size: 1.1rem; opacity: 0.6; text-decoration: none; transition: opacity var(--transition); }
.lang-option:hover { opacity: 1; }
.lang-option.active { opacity: 1; }

/* --- Header --- */
.site-header {
    background: #fff;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
    flex-shrink: 0;
}
.logo:hover { color: var(--secondary); }
.logo-icon { font-size: 2rem; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.35rem; line-height: 1.2; }
.logo-tagline { font-size: 0.72rem; color: var(--primary-dark); font-weight: 500; letter-spacing: 0.02em; }

/* --- Navigation --- */
.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-link {
    padding: 8px 16px;
    color: var(--text);
    font-weight: 500;
    font-size: 0.92rem;
    border-radius: var(--radius);
    transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-dark);
    background: rgba(134,188,66,0.08);
}

/* --- Cart Link --- */
.cart-link {
    position: relative;
    color: var(--text);
    padding: 8px;
}
.cart-link:hover { color: var(--primary-dark); }
.cart-badge {
    position: absolute;
    top: 0;
    right: -2px;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Mobile Menu --- */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
    transform-origin: center;
}
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, var(--bg-light) 0%, #e8f5d8 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
/* Video hero variant */
.hero-video-section {
    background: #1a2a1b;
    min-height: 520px;
    display: flex;
    align-items: center;
}
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 42, 27, 0.65) 0%,
        rgba(44, 62, 45, 0.45) 50%,
        rgba(134, 188, 66, 0.2) 100%
    );
    z-index: 1;
}
.hero-video-section .container {
    position: relative;
    z-index: 2;
}
.hero-video-section .hero-content h1 {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-video-section .hero-content h1 strong {
    color: var(--primary-light);
}
.hero-video-section .hero-content p {
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 6px rgba(0,0,0,0.2);
}
.hero-emoji-overlay {
    width: 100%;
    height: 360px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.15);
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hero-video-section .hero-badge {
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--secondary);
    margin-bottom: 20px;
}
.hero-content h1 strong { color: var(--primary-dark); }
.hero-content p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 480px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image {
    text-align: center;
    position: relative;
}
.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.hero-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: #fff;
    padding: 14px 20px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.3;
    box-shadow: var(--shadow);
}

/* --- Features Bar --- */
.features-bar {
    background: var(--bg-warm);
    padding: 40px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.feature-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(134,188,66,0.1);
    border-radius: 50%;
}
.feature-text h4 {
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.feature-text p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* --- Section Styles --- */
.section {
    padding: 70px 0;
}
.section-light { background: var(--bg-light); }
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    color: var(--secondary);
}
.section-header h2 strong {
    font-weight: 700;
}
.section-header p {
    color: var(--text-light);
    margin-top: 10px;
    font-size: 1.05rem;
}

/* --- Product Grid --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 280px));
    gap: 24px;
    justify-content: center;
}
.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all var(--transition);
    position: relative;
}
.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}
.product-card-image {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #e8f5d8, #d4edba);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}
.product-card-image img {
    max-height: 100%;
    object-fit: contain;
}
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--error);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}
.product-card-body {
    padding: 18px;
}
.product-card-body h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.product-card-body h3 a { color: var(--text); }
.product-card-body h3 a:hover { color: var(--primary-dark); }
.product-subtitle {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.product-weight {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 10px;
}
.product-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
}
.product-compare-price {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
}
.product-card-footer {
    padding: 0 18px 18px;
}
.product-card .btn { width: 100%; }

/* --- Product Detail --- */
.product-detail {
    padding: 50px 0;
}
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.product-image-main {
    background: linear-gradient(135deg, #e8f5d8, #d4edba);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}
.product-info h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}
.product-info .product-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
}
.product-info .product-price-row {
    margin-bottom: 20px;
}
.product-info .product-price { font-size: 1.8rem; }
.product-info .product-compare-price { font-size: 1.1rem; }
.product-meta {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}
.product-meta-item {
    font-size: 0.9rem;
}
.product-meta-item strong {
    display: block;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 2px;
}
.product-description {
    margin-bottom: 24px;
    color: var(--text-light);
    line-height: 1.7;
}
.product-description p { margin-bottom: 12px; }
.add-to-cart-form {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
}
.qty-input {
    width: 70px;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    font-weight: 600;
}
.qty-input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(134,188,66,0.15); }

/* Species list */
.species-list {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}
.species-list h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.species-list p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Sowing instructions */
.sowing-box {
    background: #fff;
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}
.sowing-box h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-dark);
}
.sowing-box p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* --- Cart Page --- */
.cart-page { padding: 50px 0; }
.cart-page h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 30px;
}
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}
.cart-table th {
    text-align: left;
    padding: 14px 16px;
    border-bottom: 2px solid var(--border);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}
.cart-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}
.cart-item-name {
    font-weight: 600;
}
.cart-item-weight {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.cart-qty-form {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cart-qty-form input {
    width: 55px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.cart-qty-form input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(134,188,66,0.15);
}
.cart-remove-btn {
    background: none;
    border: none;
    color: var(--error);
    cursor: pointer;
    font-size: 0.85rem;
}
.cart-remove-btn:hover { color: var(--error); }
.cart-summary {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius-lg);
    max-width: 400px;
    margin-left: auto;
}
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.95rem;
}
.cart-summary-row.total {
    font-size: 1.2rem;
    font-weight: 700;
    border-top: 2px solid var(--border);
    padding-top: 16px;
    margin-top: 10px;
}
.cart-empty {
    text-align: center;
    padding: 60px 0;
}
.cart-empty p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* --- Why Choose Us --- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 300px));
    gap: 30px;
    justify-content: center;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
    justify-content: center;
}
.category-card {
    display: block;
    padding: 28px 24px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    text-decoration: none;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
    .category-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 240px)); justify-content: center; }
    .category-card { padding: 20px 16px; }
}
@media (max-width: 480px) {
    .category-grid { grid-template-columns: minmax(220px, 300px); justify-content: center; }
}


.why-card {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}
.why-card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}
.why-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.why-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* --- Testimonials --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 420px));
    gap: 24px;
    justify-content: center;
}
.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}
.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}
.testimonial-author {
    font-weight: 600;
    font-size: 0.92rem;
}
.testimonial-role {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* --- Blog --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
    gap: 24px;
    justify-content: center;
}
.blog-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}
.blog-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.blog-card-image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #e8f5d8, #b8dba0);
}
.blog-card-body {
    padding: 20px;
}
.blog-card-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.blog-card-body h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}
.blog-card-body h3 a { color: var(--text); }
.blog-card-body h3 a:hover { color: var(--primary-dark); }
.blog-card-excerpt {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
}
.blog-post-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 50px 20px;
}
.blog-post-content h1 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    margin-bottom: 12px;
}
.blog-post-meta {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.9rem;
}
.blog-post-body { line-height: 1.8; }
.blog-post-body h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 36px 0 16px;
}
.blog-post-body h3 { margin: 28px 0 12px; }
.blog-post-body p { margin-bottom: 16px; }
.blog-post-body ul, .blog-post-body ol {
    margin-bottom: 16px;
    padding-left: 24px;
}
.blog-post-body li { margin-bottom: 6px; }
.blog-post-body ul { list-style: disc; }

/* --- Newsletter --- */
.newsletter-section {
    background: var(--primary);
    padding: 50px 0;
    color: #fff;
}
.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.newsletter-text h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 6px;
}
.newsletter-text p { opacity: 0.9; }
.newsletter-form {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.newsletter-form input {
    padding: 14px 20px;
    border: none;
    border-radius: var(--radius);
    min-width: 280px;
    font-size: 0.95rem;
}
.newsletter-form input:focus { outline: none; box-shadow: 0 0 0 3px rgba(134,188,66,0.3); }
.newsletter-form .btn {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
    white-space: nowrap;
}
.newsletter-form .btn:hover {
    background: #1a2a1b;
    border-color: #1a2a1b;
}

/* --- Footer --- */
.site-footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.footer-logo .logo-icon { font-size: 1.5rem; }
.footer-logo .logo-name {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
}
.footer-about {
    font-size: 0.88rem;
    line-height: 1.6;
}
.footer-col h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.footer-col li {
    margin-bottom: 10px;
    font-size: 0.88rem;
}
.footer-col a {
    color: rgba(255,255,255,0.7);
}
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
}
.footer-eco { color: var(--primary-light); }

/* --- Footer dark mode (placed after base rules for cascade safety) --- */
[data-theme="dark"] .newsletter-section {
    background: #1e261e;
    color: #dde0d8;
}
[data-theme="dark"] .newsletter-form input {
    background: #2a302a;
    color: #dde0d8;
    border: 1px solid #384038;
}
[data-theme="dark"] .newsletter-form .btn {
    background: #9CCF5A;
    color: #1a1d1a;
    border-color: #9CCF5A;
}
[data-theme="dark"] .newsletter-form .btn:hover {
    background: #b4e06e;
    border-color: #b4e06e;
}
[data-theme="dark"] .site-footer {
    background: #1a1d1a;
    color: rgba(221,224,216,0.8);
}
[data-theme="dark"] .site-footer .footer-logo .logo-name {
    color: #dde0d8;
}
[data-theme="dark"] .site-footer .footer-col h4 {
    color: #dde0d8;
}
[data-theme="dark"] .site-footer .footer-col a {
    color: rgba(221,224,216,0.65);
}
[data-theme="dark"] .site-footer .footer-col a:hover {
    color: #9CCF5A;
}
[data-theme="dark"] .site-footer .footer-bottom {
    border-top-color: #384038;
}
[data-theme="dark"] .site-footer .footer-about {
    color: rgba(221,224,216,0.7);
}

/* --- About Page --- */
.page-header {
    background: linear-gradient(135deg, var(--bg-light), #e8f5d8);
    padding: 50px 0;
    text-align: center;
}
.page-header h1 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: var(--secondary);
}
.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 20px;
    line-height: 1.8;
}
.page-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 36px 0 16px;
}
.page-content p { margin-bottom: 16px; }
.page-content ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.page-content li { margin-bottom: 6px; }

/* --- Contact Form --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 20px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(134,188,66,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* --- Checkout Success --- */
.success-page {
    text-align: center;
    padding: 80px 20px;
}
.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}
.success-page h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 12px;
}
.success-page .order-number {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 20px;
}
.success-page p { color: var(--text-light); margin-bottom: 10px; }

/* --- Admin Dashboard --- */
.admin-layout { padding: 30px 0; }
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.admin-header h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
}
.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.stat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}
.stat-card .stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}
.stat-card .stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
}
.stat-card .stat-value.green { color: var(--primary-dark); }
.admin-section {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}
.admin-section h2 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
}
.admin-table th {
    text-align: left;
    padding: 10px 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 1px solid var(--border);
}
.admin-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}
.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 600;
}
.status-paid { background: #e8f5e9; color: #2e7d32; }
.status-shipped { background: #e3f2fd; color: #1565c0; }
.status-pending { background: #fff3e0; color: #e65100; }
.status-cancelled { background: #fce4ec; color: #c62828; }

.admin-inline-form {
    display: flex;
    gap: 8px;
    align-items: center;
}
.admin-inline-form input, .admin-inline-form select {
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.85rem;
}
.admin-inline-form button {
    padding: 6px 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
}
.admin-inline-form button:hover { background: var(--primary-dark); }

/* --- Sowing Guide Page --- */
.guide-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 20px;
}
.guide-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--secondary);
    margin: 36px 0 16px;
}
.guide-content p { margin-bottom: 14px; line-height: 1.7; }
.guide-content ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.guide-content li { margin-bottom: 8px; }
.guide-step {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius);
    margin-bottom: 16px;
}
.guide-step-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.guide-step-content h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}
.guide-step-content p {
    font-size: 0.92rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* --- Alert --- */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.92rem;
}
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.alert-error { background: #fce4ec; color: #c62828; border: 1px solid #f8bbd0; }
.alert {
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.alert-dismiss {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    color: inherit;
    opacity: 0.5;
    padding: 4px 8px;
    transition: opacity var(--transition);
}
.alert-dismiss:hover { opacity: 1; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg, #fff);
        flex-direction: column;
        padding: 80px 30px 30px;
        z-index: 99;
        overflow-y: auto;
    }
    .main-nav.open { display: flex; }
    .nav-link { font-size: 1.05rem; padding: 12px 0; border-bottom: 1px solid var(--border-light); }
    .mobile-menu-btn { display: flex; z-index: 100; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-image { display: none; }
    .hero { padding: 60px 0; }
    .hero-video-section { min-height: 400px; }
    .hero-video-section .hero-content { text-align: center; }
    .hero-video-section .hero-content p { max-width: 100%; }
    .hero-video-section .hero-buttons { justify-content: center; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-stats { grid-template-columns: repeat(2, 1fr); }
    .product-detail-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 280px)); justify-content: center; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .section { padding: 50px 0; }
    .section-header { margin-bottom: 30px; }
    .hero-content h1 { font-size: 2.2rem; }
    .features-bar { padding: 30px 0; }
    .features-grid { grid-template-columns: 1fr; gap: 20px; }
    .product-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 200px)); gap: 14px; justify-content: center; }
    .blog-grid { grid-template-columns: 1fr; justify-content: center; }
    .testimonial-grid { grid-template-columns: 1fr; justify-content: center; }
    .newsletter-section { padding: 40px 0; }
    .newsletter-inner { flex-direction: column; text-align: center; }
    .newsletter-form { width: 100%; flex-direction: column; }
    .newsletter-form input { min-width: unset; width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .admin-stats { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }

    /* Cart — stacked layout on mobile */
    .cart-table, .cart-table thead, .cart-table tbody,
    .cart-table th, .cart-table tr, .cart-table td {
        display: block;
    }
    .cart-table thead { display: none; }
    .cart-table tr {
        padding: 16px 0;
        border-bottom: 1px solid var(--border-light);
    }
    .cart-table td {
        padding: 4px 0;
        border: none;
        text-align: left;
    }
    .cart-table td:first-child { font-weight: 600; }
    .cart-summary { max-width: 100%; }

    /* Product detail */
    .product-image-main { min-height: 250px; padding: 30px; }
    .product-meta { flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: minmax(240px, 320px); justify-content: center; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .page-header { padding: 36px 0; }
    .page-header h1 { font-size: 1.8rem; }
    .blog-post-content h1 { font-size: 1.8rem; }
    .guide-step { flex-direction: column; gap: 12px; }
}
