/* ============================================================
   Hohlfeldt Garten Shop – Main Stylesheet
   Design: Nature-inspired, clean, professional e-commerce
   Primary: #1a5c1a (forest green)  Accent: #f5a623 (amber)
   ============================================================ */

:root {
    --primary: #1a5c1a;
    --primary-light: #2d7a2d;
    --primary-dark: #0f3d0f;
    --accent: #f5a623;
    --accent-dark: #d4881a;
    --text: #1a1a1a;
    --text-muted: #666;
    --bg: #ffffff;
    --bg-light: #f8faf8;
    --bg-green: #f0f7f0;
    --border: #e0e8e0;
    --shadow-sm: 0 1px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Lato', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

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

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

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

/* ─── Topbar ─────────────────────────────────────────────── */
.topbar {
    background: var(--primary-dark);
    color: #fff;
    font-size: 13px;
    padding: 7px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar-left, .topbar-right { display: flex; gap: 20px; align-items: center; }
.topbar a { color: #c8e6c8; font-size: 13px; }
.topbar a:hover { color: #fff; }
.topbar i { margin-right: 5px; }

/* ─── Main Header ────────────────────────────────────────── */
.main-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; gap: 20px; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-icon {
    width: 42px; height: 42px;
    background: var(--primary);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 20px;
}
.logo-text {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--primary);
    white-space: nowrap;
}

.header-search {
    flex: 1;
    display: flex;
    max-width: 520px;
    border: 2px solid var(--border);
    border-radius: 50px;
    overflow: hidden;
    transition: border-color var(--transition);
}
.header-search:focus-within { border-color: var(--primary); }
.header-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 18px;
    font-size: 14px;
    font-family: 'Lato', sans-serif;
    background: transparent;
}
.header-search button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    font-size: 15px;
    transition: background var(--transition);
}
.header-search button:hover { background: var(--primary-light); }

.header-actions { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.header-action-btn {
    display: flex; flex-direction: column; align-items: center;
    gap: 2px; padding: 8px 12px;
    color: var(--text-muted); font-size: 12px;
    border-radius: var(--radius); transition: all var(--transition);
    position: relative; text-decoration: none;
}
.header-action-btn:hover { color: var(--primary); background: var(--bg-green); }
.header-action-btn i { font-size: 20px; }
.action-label { font-size: 11px; }
.cart-badge {
    position: absolute; top: 4px; right: 6px;
    background: var(--accent); color: #fff;
    border-radius: 50%; width: 18px; height: 18px;
    font-size: 11px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}

/* ─── Navigation ─────────────────────────────────────────── */
.main-nav {
    background: var(--primary);
    position: relative;
    z-index: 99;
}
.nav-inner {
    display: flex; align-items: stretch;
    min-height: 48px;
}
.nav-categories-dropdown { position: relative; }
.nav-cat-btn {
    background: rgba(0,0,0,0.2);
    color: #fff; border: none;
    padding: 0 20px; height: 100%;
    font-size: 14px; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; gap: 8px;
    transition: background var(--transition);
    font-family: 'Nunito', sans-serif;
}
.nav-cat-btn:hover { background: rgba(0,0,0,0.35); }
.nav-cat-menu {
    display: none; position: absolute; top: 100%; left: 0;
    background: #fff; border: 1px solid var(--border);
    border-radius: 0 0 var(--radius) var(--radius);
    min-width: 220px; box-shadow: var(--shadow-md);
    z-index: 200;
}
.nav-categories-dropdown:hover .nav-cat-menu { display: block; }
.nav-cat-menu a {
    display: block; padding: 10px 18px;
    color: var(--text); font-size: 14px;
    border-bottom: 1px solid var(--border);
    transition: all var(--transition);
}
.nav-cat-menu a:last-child { border-bottom: none; }
.nav-cat-menu a:hover { background: var(--bg-green); color: var(--primary); padding-left: 24px; }

.nav-links {
    display: flex; list-style: none;
    margin: 0; padding: 0;
    align-items: center;
}
.nav-links a {
    display: block; padding: 0 16px; height: 48px;
    line-height: 48px; color: rgba(255,255,255,0.9);
    font-size: 14px; font-weight: 600;
    transition: all var(--transition);
    white-space: nowrap;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.15); }

.mobile-menu-btn {
    display: none; background: none; border: none;
    color: #fff; font-size: 22px; cursor: pointer;
    margin-left: auto; padding: 0 16px;
}

/* ─── Mobile Nav ─────────────────────────────────────────── */
.mobile-nav-overlay {
    display: none; position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 1000; padding: 60px 30px 30px;
    overflow-y: auto;
}
.mobile-nav-overlay.active { display: block; }
.mobile-nav-close {
    position: absolute; top: 16px; right: 20px;
    background: none; border: none;
    color: #fff; font-size: 28px; cursor: pointer;
}
.mobile-nav-overlay ul { list-style: none; }
.mobile-nav-overlay a {
    display: block; color: #fff; font-size: 18px;
    padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
    font-family: 'Nunito', sans-serif; font-weight: 700;
}

/* ─── Flash messages ─────────────────────────────────────── */
.flash-container { margin: 16px auto; }
.alert {
    padding: 12px 16px; border-radius: var(--radius);
    margin-bottom: 8px; display: flex;
    justify-content: space-between; align-items: center;
    font-size: 14px;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error, .alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }
.alert-warning { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }
.alert-close { background: none; border: none; font-size: 18px; cursor: pointer; opacity: 0.6; }
.alert-close:hover { opacity: 1; }

/* ─── Hero Section ───────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #2d8a2d 100%);
    color: #fff; padding: 80px 0;
    position: relative; overflow: hidden;
    min-height: 480px; display: flex; align-items: center;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="40" fill="rgba(255,255,255,0.04)"/><circle cx="10" cy="80" r="30" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: cover;
}
.hero-content { position: relative; max-width: 600px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px; padding: 6px 16px;
    font-size: 13px; margin-bottom: 20px;
}
.hero-badge::before { content: '●'; color: var(--accent); }
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800; margin-bottom: 16px;
    line-height: 1.2;
}
.hero h1 span { color: var(--accent); }
.hero p { font-size: 17px; opacity: 0.9; margin-bottom: 32px; max-width: 480px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── Trust Badges ───────────────────────────────────────── */
.trust-badges {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-icon {
    width: 48px; height: 48px; flex-shrink: 0;
    background: var(--bg-green);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 20px;
}
.trust-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.trust-item p { font-size: 12px; color: var(--text-muted); }

/* ─── Section headings ───────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--text); }
.section-header h2 span { color: var(--accent); }
.section-header p { color: var(--text-muted); margin-top: 10px; max-width: 600px; margin-left: auto; margin-right: auto; }

section { padding: 60px 0; }

/* ─── Product Cards ──────────────────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}
.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    position: relative;
}
.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--primary);
}
.product-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-light);
}
.product-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-badge {
    position: absolute; top: 12px; left: 12px;
    background: #e53e3e; color: #fff;
    font-size: 12px; font-weight: 700;
    padding: 3px 9px; border-radius: 50px;
}
.product-card-body { padding: 16px; }
.product-brand { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.product-name {
    font-family: 'Nunito', sans-serif;
    font-weight: 700; font-size: 14px;
    color: var(--text); margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.price-current { font-size: 18px; font-weight: 800; color: var(--primary); font-family: 'Nunito', sans-serif; }
.price-old { font-size: 13px; color: var(--text-muted); text-decoration: line-through; }
.price-vat { font-size: 11px; color: var(--text-muted); }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 22px; border-radius: 50px;
    font-size: 14px; font-weight: 700;
    font-family: 'Nunito', sans-serif;
    cursor: pointer; border: 2px solid transparent;
    transition: all var(--transition); text-decoration: none;
    white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-light); border-color: var(--primary-light); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); border-color: #fff; }
.btn-white:hover { background: var(--bg-green); }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-danger { background: #e53e3e; color: #fff; border-color: #e53e3e; }
.btn-danger:hover { background: #c53030; border-color: #c53030; color: #fff; }

.btn-add-cart {
    width: 100%; background: var(--primary); color: #fff;
    border: none; padding: 10px; border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    font-size: 13px; font-weight: 700; cursor: pointer;
    transition: background var(--transition);
    font-family: 'Nunito', sans-serif;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-add-cart:hover { background: var(--primary-light); }
.btn-add-cart--disabled { background: #9e9e9e !important; cursor: not-allowed !important; }
.btn-add-cart--disabled:hover { background: #9e9e9e !important; }

/* ─── Stock Urgency ──────────────────────────────────────── */
.stock-urgency {
    display: flex; align-items: center; gap: 6px;
    background: #fff5f5; border: 1px solid #feb2b2;
    color: #c53030; border-radius: 6px;
    font-size: 12px; font-weight: 600;
    padding: 5px 10px; margin: 4px 0 8px;
    animation: pulse-urgency 2s ease-in-out infinite;
}
.stock-urgency .fa-fire { color: #e53e3e; font-size: 12px; }
@keyframes pulse-urgency {
    0%, 100% { background: #fff5f5; }
    50%       { background: #fed7d7; }
}
.product-badge--oos { background: #718096 !important; }
.product-card--out-of-stock .product-card-image img {
    opacity: 0.5; filter: grayscale(50%);
}

/* ─── Category Cards ─────────────────────────────────────── */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.category-card {
    background: var(--bg-green);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    transition: all var(--transition);
    text-decoration: none;
    color: var(--text);
    display: block;
}
.category-card:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.category-card i { font-size: 36px; color: var(--primary); margin-bottom: 12px; display: block; }
.category-card:hover i { color: #fff; }
.category-card h3 { font-size: 16px; font-weight: 700; }

/* ─── Why Us section ─────────────────────────────────────── */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}
.why-us-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: all var(--transition);
}
.why-us-item:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.why-us-icon {
    width: 60px; height: 60px;
    background: var(--bg-green);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 24px;
    margin: 0 auto 16px;
}
.why-us-item h3 { font-size: 16px; margin-bottom: 8px; }
.why-us-item p { font-size: 13px; color: var(--text-muted); }

/* ─── Shop page ──────────────────────────────────────────── */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.shop-sidebar {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: sticky; top: 100px;
}
.sidebar-section { margin-bottom: 28px; }
.sidebar-section h3 { font-size: 15px; font-weight: 700; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); color: var(--primary); }
.sidebar-section ul { list-style: none; }
.sidebar-section li a {
    display: flex; justify-content: space-between;
    padding: 7px 0; font-size: 14px;
    color: var(--text); border-bottom: 1px solid var(--border);
    transition: color var(--transition);
}
.sidebar-section li a:hover, .sidebar-section li a.active { color: var(--primary); font-weight: 700; }
.sidebar-section li a .count { color: var(--text-muted); font-size: 12px; }

.shop-main-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.shop-main-header h1 { font-size: 22px; }
.shop-sort select {
    padding: 8px 14px; border: 1px solid var(--border);
    border-radius: var(--radius); font-size: 14px;
    font-family: 'Lato', sans-serif; background: #fff;
    cursor: pointer;
}

/* ─── Product Detail ─────────────────────────────────────── */
.product-detail { padding: 40px 0; }
.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-gallery { position: sticky; top: 100px; }
.gallery-main {
    aspect-ratio: 1; border-radius: var(--radius-lg);
    overflow: hidden; border: 1px solid var(--border);
    background: var(--bg-light); margin-bottom: 12px;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-thumb {
    width: 72px; height: 72px;
    border-radius: var(--radius); overflow: hidden;
    border: 2px solid var(--border); cursor: pointer;
    transition: border-color var(--transition);
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

/* Gallery main: cursor + zoom hint */
#galleryMainWrap { position: relative; cursor: zoom-in; }
.gallery-zoom-hint {
    position: absolute; bottom: 12px; right: 12px;
    background: rgba(0,0,0,.45); color: #fff;
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; opacity: 0; transition: opacity .2s; pointer-events: none;
}
#galleryMainWrap:hover .gallery-zoom-hint { opacity: 1; }

/* Gallery prev/next arrows */
.gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,.85); border: 1px solid var(--border);
    color: var(--text); width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 14px; z-index: 2;
    transition: background .2s, box-shadow .2s;
    box-shadow: var(--shadow-sm);
}
.gallery-nav:hover { background: #fff; box-shadow: var(--shadow-md); }
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

/* ─── Lightbox ────────────────────────────────────────── */
.lightbox-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,.92);
    display: flex; align-items: center; justify-content: center; flex-direction: column;
    opacity: 0; pointer-events: none;
    transition: opacity .25s;
}
.lightbox-overlay.active { opacity: 1; pointer-events: all; }
.lightbox-img-wrap {
    position: relative;
    max-width: 90vw; max-height: 78vh;
    display: flex; align-items: center; justify-content: center;
}
#lightboxImg {
    max-width: 90vw; max-height: 78vh;
    object-fit: contain;
    border-radius: 4px;
    transition: opacity .2s;
    display: block;
}
.lightbox-loader {
    position: absolute; inset: 0;
    display: none; align-items: center; justify-content: center;
    color: #fff; font-size: 2rem;
}
.lightbox-close {
    position: absolute; top: 16px; right: 20px;
    background: rgba(255,255,255,.15); border: none; color: #fff;
    width: 44px; height: 44px; border-radius: 50%;
    font-size: 18px; cursor: pointer; z-index: 10;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,.15); border: none; color: #fff;
    width: 52px; height: 52px; border-radius: 50%;
    font-size: 20px; cursor: pointer; z-index: 10;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,.3); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter {
    color: rgba(255,255,255,.7); font-size: 13px;
    margin-top: 12px; letter-spacing: .5px;
}
.lightbox-thumbs {
    display: flex; gap: 8px; margin-top: 12px;
    max-width: 90vw; overflow-x: auto; padding-bottom: 4px;
}
.lb-thumb {
    width: 56px; height: 56px; flex-shrink: 0;
    border-radius: 4px; overflow: hidden;
    border: 2px solid rgba(255,255,255,.25); cursor: pointer;
    transition: border-color .2s;
}
.lb-thumb.active, .lb-thumb:hover { border-color: #fff; }
.lb-thumb img { width: 100%; height: 100%; object-fit: contain; background: #111; }

.product-info .product-brand-tag {
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; color: var(--text-muted); margin-bottom: 8px;
}
.product-info h1 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin-bottom: 16px; }
.product-info .price-block { margin-bottom: 20px; }
.product-info .price-current { font-size: 2rem; }
.product-info .price-vat { font-size: 13px; color: var(--text-muted); }
.product-info .price-free-ship { color: var(--primary); font-size: 13px; font-weight: 700; }

.qty-selector { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.qty-selector label { font-weight: 700; font-size: 14px; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.qty-control button {
    background: var(--bg-light); border: none;
    width: 36px; height: 36px; font-size: 18px;
    cursor: pointer; transition: background var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.qty-control button:hover { background: var(--bg-green); }
.qty-control input {
    width: 52px; border: none; text-align: center;
    font-size: 15px; font-weight: 700;
    height: 36px; outline: none;
    font-family: 'Nunito', sans-serif;
}

.product-trust { display: flex; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.product-trust-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); }
.product-trust-item i { color: var(--primary); }

.product-tabs { margin-top: 32px; }
.tab-nav { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 20px; }
.tab-btn {
    background: none; border: none; padding: 10px 20px;
    font-size: 14px; font-weight: 700; cursor: pointer;
    color: var(--text-muted); border-bottom: 2px solid transparent;
    margin-bottom: -2px; transition: all var(--transition);
    font-family: 'Nunito', sans-serif;
}
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; font-size: 14px; line-height: 1.8; color: var(--text-muted); }
.tab-content.active { display: block; }
.tab-content p { margin-bottom: 12px; }
.tab-content strong { color: var(--text); }

/* ─── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb {
    padding: 14px 0;
    font-size: 13px; color: var(--text-muted);
    display: flex; gap: 6px; align-items: center;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text); }

/* ─── Cart ───────────────────────────────────────────────── */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
    background: var(--bg-green); padding: 12px 16px;
    text-align: left; font-size: 13px; font-weight: 700;
    color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px;
}
.cart-table td { padding: 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-item-img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }
.cart-item-name { font-weight: 700; font-size: 14px; color: var(--text); }
.cart-item-remove { color: #e53e3e; background: none; border: none; cursor: pointer; font-size: 16px; }
.cart-summary {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: sticky; top: 100px;
}
.cart-summary h3 { font-size: 18px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--border); }
.summary-row.total { font-size: 18px; font-weight: 800; color: var(--primary); border-bottom: none; padding-top: 14px; }

/* ─── Checkout ───────────────────────────────────────────── */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.checkout-form-section {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
}
.checkout-form-section h3 { font-size: 17px; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 10px 14px;
    border: 1px solid var(--border); border-radius: var(--radius);
    font-size: 14px; font-family: 'Lato', sans-serif;
    transition: border-color var(--transition); outline: none;
    background: #fff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 80px; }

.payment-option {
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all var(--transition);
}
.payment-option:hover { border-color: var(--primary); }
.payment-option.selected { border-color: var(--primary); background: var(--bg-green); }
.payment-option label { cursor: pointer; display: flex; align-items: center; gap: 12px; }
.payment-option input[type="radio"] { accent-color: var(--primary); width: 18px; height: 18px; }
.payment-option-info h4 { font-size: 15px; font-weight: 700; }
.payment-option-info p { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

.order-summary-box {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: sticky; top: 100px;
}
.order-summary-box h3 { font-size: 18px; margin-bottom: 20px; }
.order-item-row { display: flex; gap: 12px; margin-bottom: 14px; align-items: center; }
.order-item-row img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }
.order-item-row .item-name { font-size: 13px; font-weight: 700; flex: 1; }
.order-item-row .item-price { font-size: 14px; font-weight: 700; color: var(--primary); white-space: nowrap; }

/* ─── Forms (login, register) ────────────────────────────── */
.auth-page { min-height: 70vh; display: flex; align-items: center; padding: 40px 0; background: var(--bg-light); }
.auth-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 440px; width: 100%; margin: 0 auto;
    box-shadow: var(--shadow-md);
}
.auth-box h2 { font-size: 24px; margin-bottom: 8px; }
.auth-box p.subtitle { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }

/* ─── Account ────────────────────────────────────────────── */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.account-sidebar {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: sticky; top: 100px;
}
.account-sidebar a {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 20px; font-size: 14px; font-weight: 600;
    color: var(--text); border-bottom: 1px solid var(--border);
    transition: all var(--transition);
}
.account-sidebar a:hover, .account-sidebar a.active { background: var(--bg-green); color: var(--primary); }
.account-sidebar a i { width: 18px; text-align: center; color: var(--primary); }
.account-content {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
}
.account-content h2 { font-size: 20px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); }

.orders-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.orders-table th { background: var(--bg-green); padding: 10px 14px; text-align: left; font-weight: 700; color: var(--text-muted); font-size: 12px; text-transform: uppercase; }
.orders-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); }
.order-status {
    display: inline-block; padding: 3px 10px;
    border-radius: 50px; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.status-pending { background: #fff3cd; color: #856404; }
.status-processing { background: #cce5ff; color: #004085; }
.status-shipped { background: #d4edda; color: #155724; }
.status-completed { background: #d4edda; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }

/* ─── Page (CMS) ─────────────────────────────────────────── */
.page-content { max-width: 800px; margin: 40px auto; padding: 0 20px; }
.page-content h1 { font-size: 2rem; margin-bottom: 24px; color: var(--primary); }
.page-content h2 { font-size: 1.4rem; margin: 24px 0 12px; }
.page-content p { margin-bottom: 14px; color: var(--text-muted); line-height: 1.8; }
.page-content strong { color: var(--text); }

/* ─── Pagination ─────────────────────────────────────────── */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: var(--radius);
    font-size: 14px; font-weight: 700; border: 1px solid var(--border);
    color: var(--text); transition: all var(--transition);
}
.pagination a:hover { background: var(--bg-green); border-color: var(--primary); color: var(--primary); }
.pagination span.current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ─── Legal pages ───────────────────────────────────────── */
.legal-section { margin-bottom: 36px; }
.legal-section h2 { font-size: 1.2rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--bg-green); }
.legal-section h3 { font-size: 1rem; font-weight: 700; margin: 16px 0 8px; color: var(--text); }
.legal-section p { margin-bottom: 12px; line-height: 1.8; color: #333; }
.legal-section ul, .legal-section ol { margin: 8px 0 12px; line-height: 1.9; color: #333; }
.legal-section a { color: var(--primary); text-decoration: underline; }

/* ─── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb { font-size: 13px; color: var(--text-muted); }
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--text-muted); }
.breadcrumb a::after { content: ' /'; margin: 0 4px; color: var(--text-muted); }

/* ─── Newsletter ─────────────────────────────────────────── */
.footer-newsletter {
    background: var(--primary);
    color: #fff; padding: 50px 0;
    text-align: center;
}
.footer-newsletter h3 { font-size: 1.6rem; margin-bottom: 8px; }
.footer-newsletter p { opacity: 0.85; margin-bottom: 24px; }
.newsletter-form { display: flex; max-width: 460px; margin: 0 auto; gap: 0; }
.newsletter-form input {
    flex: 1; padding: 13px 20px;
    border: none; border-radius: 50px 0 0 50px;
    font-size: 14px; outline: none;
}
.newsletter-form button {
    background: var(--accent); color: #fff;
    border: none; padding: 13px 24px;
    border-radius: 0 50px 50px 0;
    font-size: 14px; font-weight: 700;
    cursor: pointer; transition: background var(--transition);
    font-family: 'Nunito', sans-serif;
}
.newsletter-form button:hover { background: var(--accent-dark); }

/* ─── Footer ─────────────────────────────────────────────── */
.footer-main { background: #0f2d0f; color: #c8e6c8; padding: 50px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { font-family: 'Nunito', sans-serif; font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer-logo i { color: var(--accent); margin-right: 6px; }
.footer-about { font-size: 13px; line-height: 1.7; margin-bottom: 16px; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-contact a { color: #a8d5a8; font-size: 13px; }
.footer-contact a:hover { color: #fff; }
.footer-contact i { margin-right: 6px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #a8d5a8; font-size: 13px; transition: color var(--transition); }
.footer-col a:hover { color: #fff; }
/* ─── Footer carriers / payment bar ─────────────────────── */
.footer-carriers { background: #f5f7f5; border-top: 1px solid #dde8dd; padding: 20px 0; }
.footer-carriers-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-carriers-group { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-carriers-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: #555; white-space: nowrap; }
.carrier-logos { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.carrier-logo-wrap { display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #dde8dd; border-radius: 6px; padding: 4px 8px; box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: box-shadow .2s; }
.carrier-logo-wrap:hover { box-shadow: 0 2px 8px rgba(0,0,0,.12); }

.footer-bottom { background: #0a1f0a; padding: 16px 0; text-align: center; }
.footer-bottom p { color: #6a8f6a; font-size: 12px; }
.footer-vat { margin-top: 4px; }

/* ─── Cookie banner ──────────────────────────────────────── */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: rgba(15,45,15,0.97);
    color: #fff; padding: 20px;
    z-index: 9999; backdrop-filter: blur(4px);
}
.cookie-content { max-width: 800px; margin: 0 auto; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cookie-content p { font-size: 13px; flex: 1; }
.cookie-actions { display: flex; gap: 10px; }
.btn-cookie-necessary, .btn-cookie-all {
    padding: 9px 18px; border-radius: 50px;
    font-size: 13px; font-weight: 700; cursor: pointer;
    border: 2px solid rgba(255,255,255,0.4);
    font-family: 'Nunito', sans-serif;
}
.btn-cookie-necessary { background: transparent; color: #fff; }
.btn-cookie-all { background: var(--primary-light); color: #fff; border-color: var(--primary-light); }

/* ─── Order confirmation page ────────────────────────────── */
.order-success {
    text-align: center; padding: 60px 20px;
    max-width: 700px; margin: 0 auto;
}
.order-success-icon {
    width: 80px; height: 80px;
    background: var(--bg-green);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 36px;
    margin: 0 auto 24px;
}
.bank-details-box {
    background: var(--bg-green);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 24px; margin: 24px 0;
    text-align: left;
}
.bank-details-box h3 { color: var(--primary); margin-bottom: 16px; }
.bank-detail-row { display: flex; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.bank-detail-row:last-child { border-bottom: none; }
.bank-detail-label { color: var(--text-muted); min-width: 160px; }
.bank-detail-value { font-weight: 700; }
.bank-detail-value.highlight { color: var(--primary); font-size: 16px; }
.bank-detail-value.reference { color: #e53e3e; font-family: monospace; font-size: 16px; }

/* ─── Track order ────────────────────────────────────────── */
.track-box {
    max-width: 540px; margin: 60px auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}
.track-box h1 { font-size: 24px; margin-bottom: 8px; }
.track-box p { color: var(--text-muted); margin-bottom: 24px; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { position: static; }
    .product-detail-layout { grid-template-columns: 1fr; }
    .product-gallery { position: static; }
    .cart-layout { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .account-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    .header-search { display: none; }
    .topbar-right { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero { padding: 50px 0; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input, .newsletter-form button { border-radius: 50px; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .auth-box { padding: 24px; }
    .trust-grid { grid-template-columns: 1fr; }
}

/* ─── Utilities ──────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.p-3 { padding: 24px; }
.bg-light { background: var(--bg-light); }
.section-bg { background: var(--bg-light); }
.divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 50px; font-size: 12px; font-weight: 700; }
.badge-green { background: #d4edda; color: #155724; }
.badge-red { background: #f8d7da; color: #721c24; }
.badge-blue { background: #cce5ff; color: #004085; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state i { font-size: 48px; margin-bottom: 16px; opacity: 0.4; }
.empty-state h3 { font-size: 18px; margin-bottom: 8px; }
