/* Header Styles */
.top-green-bar {
    background: #17a55b; /* solid green - no gradient */
    color: #fff;
    padding: 8px 0;
}
.top-green-bar .top-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    font-weight: 600;
    font-size: 0.95rem;
}
.top-green-bar a { color: rgba(255,255,255,0.95); text-decoration: none; }
.top-green-bar .sep { margin: 0 10px; color: rgba(255,255,255,0.45); }

.header {
    background: #fff;
    color: #1a1a1a;
    padding: 14px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 6px 24px rgba(2, 48, 20, 0.06);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: nowrap;
    gap: 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle, .back-btn {
    background: none;
    border: none;
    color: #1a1a1a;
    font-size: 1.35rem;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-btn {
    font-size: 1.2rem;
}

.logo-wrap { display:flex; align-items:center; gap:12px; }
.site-logo { height:44px; width:auto; display:block; }

.header-title h1 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.header-title p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-right a {
    color: #1a1a1a;
    text-decoration: none;
    position: relative;
}

.header-right i { font-size: 1.2rem; color: #0b8a36; }

#cartCount {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #1b5e20;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

.desktop-nav {
    display: none;
    gap: 18px;
    align-items: center;
}

.desktop-nav a {
    color: #224a2e;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    font-weight: 600;
}

.desktop-nav a:hover { background: rgba(46,125,50,0.06); color: #0b8a36; }
.desktop-nav a.active { background: rgba(46,125,50,0.12); color: #0b8a36; }

@media (min-width: 992px) {
    .desktop-nav { display:flex; }
    .menu-toggle {
        display: none;
    }
    .header-content {
        flex-wrap: nowrap;
    }
}

/* Mobile Sidebar Menu */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    z-index: 2000;
    transition: left 0.3s;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
}

.mobile-sidebar.active {
    left: 0;
}

.sidebar-header {
    background: #17a55b; /* solid green to match header */
    color: #fff;
    padding: 18px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-close {
    background: none;
    border: none;
    color: #1a1a1a;
    font-size: 1.5rem;
    cursor: pointer;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    border-bottom: 1px solid #eee;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: rgba(23,165,91,0.06);
    color: #17a55b;
}

.sidebar-menu i {
    margin-right: 15px;
    width: 20px;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    display: none;
}

.sidebar-overlay.active {
    display: block;
}

/* Mobile Footer Navigation */
.mobile-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #ddd;
    z-index: 999;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .mobile-footer {
        display: none !important;
    }
}

.footer-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.footer-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 0.75rem;
    transition: color 0.3s;
    padding: 5px 10px;
}

.footer-nav-item.active {
    color: #17a55b;
}

.footer-nav-item.active i {
    color: #17a55b;
}

.footer-nav-item i {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

/* Desktop Footer */
.desktop-footer {
    background: #1b5e20;
    color: white;
    padding: 40px 20px;
    margin-top: 60px;
    display: none;
}

@media (min-width: 768px) {
    .desktop-footer {
        display: block !important;
    }
}

.desktop-footer h5 {
    color: #e6ffed;
    margin-bottom: 20px;
}

.desktop-footer ul {
    list-style: none;
    padding: 0;
}

.desktop-footer ul li {
    margin-bottom: 10px;
}

.desktop-footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.desktop-footer a:hover {
    color: #e6ffed;
}

