/* ============================================================
   GREEN STORE — Components
   Header, Hero, Nav, Cards, Categories, Cart, Footer, Admin
   ============================================================ */

/* =====================
   TOP BAR — Light Minimal
===================== */
.topbar {
    background: var(--bg-section);
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    padding: 0;
    border-bottom: 1px solid var(--border-light);
    height: var(--topbar-height);
    display: flex;
    align-items: center;
}
.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}
.topbar-features {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}
.topbar-feature {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 0.2px;
}
.topbar-feature i {
    color: var(--primary-green);
    font-size: 10px;
}
.topbar-links {
    display: flex;
    align-items: center;
    gap: var(--space-5);
}
.topbar-links a {
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 0.2px;
    transition: color var(--transition-fast);
}
.topbar-links a:hover { color: var(--primary-green); }

/* =====================
   SITE HEADER — White Sticky
===================== */
.site-header {
    background: white;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: var(--z-fixed);
    transition: all var(--transition-base);
}
.site-header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 2px 16px rgba(22, 163, 74, 0.08);
}
.site-header.compact {
    border-bottom-color: var(--border);
    box-shadow: 0 2px 12px rgba(22, 163, 74, 0.06);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    height: var(--header-height);
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    flex-shrink: 0;
}
.logo-mark {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.30);
}
.logo-text {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-black);
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: -0.3px;
    text-transform: uppercase;
}
.logo-text span { color: var(--primary-green); }
.logo-sub {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: var(--font-weight-normal);
    letter-spacing: 0.3px;
    margin-top: 1px;
}

/* =====================
   SEARCH BAR
===================== */
.header-search {
    flex: 1;
    max-width: 460px;
    position: relative;
}
.search-form {
    display: flex;
    align-items: center;
    background: var(--bg-section);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    overflow: hidden;
    transition: all var(--transition-fast);
}
.search-form:focus-within {
    border-color: var(--primary-green);
    background: white;
    box-shadow: 0 0 0 3px var(--primary-green-glow);
}
.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    direction: rtl;
}
.search-input::placeholder { color: var(--text-muted); }
.search-btn {
    padding: var(--space-2) var(--space-5);
    background: var(--primary-green);
    color: white;
    border: none;
    cursor: pointer;
    font-size: var(--font-size-sm);
    height: 100%;
    transition: background var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}
.search-btn:hover { background: var(--primary-green-hover); }

/* Search Suggestions Dropdown */
.search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: var(--z-dropdown);
    overflow: hidden;
    max-height: 420px;
    overflow-y: auto;
}

/* =====================
   HEADER ACTIONS
===================== */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    flex-shrink: 0;
}
.header-action-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: var(--space-2) var(--space-3);
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    text-decoration: none;
    background: none;
    border: none;
    font-family: var(--font-primary);
}
.header-action-btn:hover {
    color: var(--text-primary);
    background: var(--bg-alt);
}
.header-action-btn i { font-size: 19px; }
.header-action-btn span {
    font-size: 10px;
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.2px;
}
.action-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    min-width: 17px;
    height: 17px;
    background: var(--primary-green);
    color: white;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border: 2px solid white;
    transition: transform var(--transition-spring);
}
.action-badge.bump {
    animation: scaleInBounce 0.4s var(--transition-spring);
}

/* =====================
   MAIN NAVIGATION — White Clean
===================== */
.main-nav {
    background: white;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: var(--header-height);
    z-index: calc(var(--z-fixed) - 1);
}
.nav-container {
    display: flex;
    align-items: center;
    gap: 0;
    height: 44px;
    overflow-x: auto;
    scrollbar-width: none;
}
.nav-container::-webkit-scrollbar { display: none; }
.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0 var(--space-5);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    height: 100%;
    transition: all var(--transition-fast);
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    letter-spacing: 0.2px;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: var(--space-5);
    left: var(--space-5);
    height: 2px;
    background: var(--primary-green);
    transform: scaleX(0);
    transition: transform var(--transition-fast);
    border-radius: 2px 2px 0 0;
}
.nav-link:hover {
    color: var(--primary-green);
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active {
    color: var(--primary-green);
    font-weight: var(--font-weight-bold);
}
.nav-link.active::after { transform: scaleX(1); }
.nav-link i { color: var(--primary-green); font-size: 14px; }

/* =====================
   DROPDOWN NAVIGATION
===================== */
.nav-dropdown {
    position: relative;
}
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: auto;
    min-width: 220px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: var(--space-2) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition-base);
    z-index: calc(var(--z-dropdown) + 10);
    border: 1px solid var(--border-light);
    white-space: nowrap;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.active .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-5);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    transition: all var(--transition-fast);
    text-decoration: none;
}
.dropdown-item i { color: var(--primary-green); width: 16px; text-align: center; font-size: 14px; }
.dropdown-item:hover {
    background: var(--bg-section);
    color: var(--primary-green);
}

/* =====================
   MOBILE TOGGLE
===================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: var(--space-2);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}
.mobile-menu-toggle:hover { background: var(--bg-alt); }
.mobile-menu-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
    display: block;
}
.mobile-menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(4.5px, 4.5px);
}
.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* =====================
   MOBILE DRAWER
===================== */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    background: white;
    z-index: calc(var(--z-modal) + 10);
    box-shadow: var(--shadow-xl);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform var(--transition-slow), visibility var(--transition-slow);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border-light);
}
.mobile-drawer.open {
    transform: translateX(0) !important;
    visibility: visible !important;
}
.drawer-header {
    padding: var(--space-5) var(--space-5);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.drawer-close {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 16px;
    transition: all var(--transition-fast);
}
.drawer-close:hover {
    background: var(--border);
    color: var(--text-primary);
}
.drawer-user-info {
    padding: var(--space-4) var(--space-5);
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border-light);
}
.drawer-user-info .user-name {
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    font-size: var(--font-size-sm);
}
.drawer-user-info .user-email {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    margin-top: 2px;
}
.drawer-nav {
    flex: 1;
    padding: var(--space-3) 0;
}
.drawer-nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    color: var(--text-primary);
    font-size: var(--font-size-sm);
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-weight: var(--font-weight-medium);
}
.drawer-nav-link i {
    color: var(--primary-green);
    width: 18px;
    text-align: center;
    font-size: 15px;
}
.drawer-nav-link:hover {
    background: var(--bg-section);
    color: var(--primary-green);
}
.drawer-nav-section {
    padding: var(--space-3) var(--space-5) var(--space-1);
    font-size: 10px;
    font-weight: var(--font-weight-medium);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-top: 1px solid var(--border-light);
    margin-top: var(--space-2);
}
.drawer-footer {
    padding: var(--space-5);
    border-top: 1px solid var(--border-light);
    flex-shrink: 0;
    background: var(--bg-alt);
}

/* =====================
   HERO SECTION — GREEN STORE Premium
===================== */
.hero-section {
    background: #F7FBF8;
    min-height: 82vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}
.hero-bg-accent {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
/* Soft Green Blob — Top Right */
.hero-bg-accent::before {
    content: '';
    position: absolute;
    top: -120px;
    left: -180px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(22,163,74,0.07) 0%, transparent 65%);
    border-radius: 50%;
    animation: blobFloat 8s ease-in-out infinite;
}
/* Turquoise Blob — Bottom Left */
.hero-bg-accent::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(20,184,166,0.06) 0%, transparent 65%);
    border-radius: 50%;
    animation: blobFloat 10s ease-in-out infinite 2s;
}

/* Lime Decorative Circle */
.hero-section::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 45%;
    width: 180px;
    height: 180px;
    border: 2px solid rgba(132, 204, 22, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

/* Legacy support */
.hero-bg-shapes { display: none; }
.hero-shape { display: none; }

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    padding: var(--space-20) 0;
}
.hero-text { color: var(--text-primary); }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--primary-green-light);
    border: 1px solid var(--primary-green-medium);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 11px;
    color: var(--primary-green-dark);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-6);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.hero-badge i { font-size: 10px; color: var(--lime); }

/* Legacy */
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--primary-green-light);
    border: 1px solid var(--primary-green-medium);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 11px;
    color: var(--primary-green-dark);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-6);
    letter-spacing: 0.3px;
}
.hero-tag i { font-size: 10px; color: var(--primary-green); }

.hero-title {
    font-size: var(--fs-hero);
    font-weight: var(--font-weight-light);
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: var(--space-5);
    letter-spacing: -1px;
}
.hero-title strong {
    font-weight: var(--font-weight-black);
}
.hero-title .highlight {
    color: var(--primary-green);
    font-weight: var(--font-weight-bold);
    -webkit-text-fill-color: initial;
    background: none;
    position: relative;
    display: inline-block;
}
.hero-desc {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-8);
    max-width: 460px;
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}
.hero-divider {
    width: 1px;
    height: 24px;
    background: var(--border-dark);
    opacity: 0.4;
}
.hero-trust {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-8);
    color: var(--text-muted);
    font-size: var(--font-size-xs);
}
.hero-trust-icon {
    width: 28px;
    height: 28px;
    background: var(--primary-green-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 11px;
    flex-shrink: 0;
}

/* Legacy stats */
.hero-stats {
    display: flex;
    gap: var(--space-8);
    margin-top: var(--space-10);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-light);
}
.hero-stat { text-align: center; }
.hero-stat-number {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-black);
    color: var(--text-primary);
}
.hero-stat-label {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    margin-top: 2px;
}

/* Hero Image Side */
.hero-image-side {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-floating-cards {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}
.hero-main-image {
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    object-fit: cover;
    animation: heroFloatLight 6s ease-in-out infinite;
    max-height: 560px;
}
.hero-floating-badge {
    position: absolute;
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-4);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    border: 1px solid var(--border-light);
    /* منع خروج البطاقات من حدود الشاشة */
    max-width: calc(100% - var(--space-8));
    box-sizing: border-box;
}
.hero-badge-top {
    top: -16px;
    right: -16px;
    animation: float 4s ease-in-out infinite;
}
.hero-badge-bottom {
    bottom: 24px;
    left: -24px;
    animation: float 5s ease-in-out infinite 1s;
}
.hero-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.hero-badge-text strong {
    display: block;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}
.hero-badge-text span {
    font-size: 11px;
    color: var(--text-muted);
}

/* =====================
   FEATURES STRIP
===================== */
.features-strip {
    background: white;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: var(--space-6) 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}
.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}
.feature-item:hover { background: var(--bg-alt); }
.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-green-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 20px;
    flex-shrink: 0;
    transition: all var(--transition-base);
}
.feature-item:hover .feature-icon {
    background: var(--primary-green);
    color: white;
    transform: scale(1.05);
}
.feature-text strong {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 2px;
}
.feature-text span {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

/* =====================
   CATEGORY CARDS — GREEN STORE
===================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-4);
}
.category-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-6) var(--space-4);
    text-align: center;
    border: 1.5px solid var(--border-light);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
}
.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-green-light);
    opacity: 0;
    transition: opacity var(--transition-base);
    border-radius: var(--radius-lg);
}
.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-green);
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.15);
}
.category-card:hover::before { opacity: 1; }
.category-icon-wrap {
    width: 64px;
    height: 64px;
    background: var(--bg-section);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-3);
    transition: all var(--transition-base);
    font-size: 26px;
    color: var(--primary-green);
    position: relative;
    border: 2px solid var(--border);
}
.category-card:hover .category-icon-wrap {
    background: var(--primary-green);
    color: white;
    transform: scale(1.08);
    border-color: var(--primary-green);
}
.category-card-img {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    margin: 0 auto var(--space-3);
}
.category-name {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 3px;
    position: relative;
    transition: color var(--transition-fast);
}
.category-card:hover .category-name { color: var(--primary-green); }
.category-count {
    font-size: 11px;
    color: var(--text-muted);
    position: relative;
}

/* =====================
   PRODUCT CARD — Premium Design
===================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
    gap: var(--space-5);
    width: 100%;
    max-width: 100%;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-3px);
    border-color: var(--border);
}

.product-card-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--bg-alt);
}
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

/* Badges */
.product-badges {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

/* Wishlist / Actions */
.product-card-actions {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    opacity: 0;
    transform: translateX(-8px);
    transition: all var(--transition-base);
    z-index: 2;
}
.product-card:hover .product-card-actions {
    opacity: 1;
    transform: translateX(0);
}
.card-action-btn {
    width: 34px;
    height: 34px;
    background: white;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    color: var(--text-secondary);
    font-size: 14px;
    transition: all var(--transition-fast);
}
.card-action-btn:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
    transform: scale(1.08);
}
.card-action-btn.wishlisted {
    color: var(--rose);
    border-color: var(--rose-light);
    background: var(--rose-light);
}

/* Product Card Body */
.product-card-body {
    padding: var(--space-4);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.product-brand {
    font-size: 11px;
    color: var(--primary-green);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.product-name {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-name a {
    color: inherit;
    text-decoration: none;
}
.product-name a:hover { color: var(--primary-green); }

.product-rating {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.rating-count {
    font-size: 11px;
    color: var(--text-muted);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
}

.product-price-section {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: var(--space-2);
}
.product-price {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-black);
    color: var(--text-primary);
    letter-spacing: -0.3px;
}
.product-price-compare {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    text-decoration: line-through;
}
.product-discount {
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    color: white;
    background: var(--danger);
    padding: 2px 7px;
    border-radius: var(--radius-full);
}

/* =====================
   ADD TO CART BUTTON — GREEN
===================== */
.add-to-cart-btn {
    width: 100%;
    padding: var(--space-3);
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    transition: all var(--transition-base);
    font-family: var(--font-primary);
    letter-spacing: 0.2px;
}
.add-to-cart-btn:hover {
    background: var(--primary-green-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-green);
}
.add-to-cart-btn:active { transform: translateY(0); }
.add-to-cart-btn.out-of-stock {
    background: var(--bg-section);
    color: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    border: 1px solid var(--border);
}

/* Product Card Footer */
.product-card-footer {
    padding: 0 var(--space-4) var(--space-4);
}

/* Out of Stock Overlay */
.out-of-stock-badge {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
    font-size: var(--font-size-xs);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* =====================
   PROMOTIONAL BANNERS
===================== */
.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-5);
}
.promo-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    cursor: pointer;
    transition: all var(--transition-base);
}
.promo-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.promo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.promo-card:hover img { transform: scale(1.04); }
.promo-card-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-5);
    color: white;
}
.promo-card-label {
    font-size: 11px;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}
.promo-card-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
}
.promo-card-action {
    margin-top: var(--space-3);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-xs);
    color: rgba(255,255,255,0.9);
    font-weight: var(--font-weight-medium);
}

/* Large promo */
.promo-grid-2 {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-5);
}
.promo-card.large { aspect-ratio: 4/3; }

/* =====================
   CART SIDEBAR
===================== */
.cart-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 400px;
    max-width: min(400px, 92vw);
    height: 100vh;
    background: white;
    z-index: var(--z-modal);
    border-right: 1px solid var(--border-light);
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    transition: left var(--transition-slow);
    box-sizing: border-box;
}
.cart-sidebar.open {
    left: 0;
}
.cart-sidebar-header {
    padding: var(--space-5) var(--space-6);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.cart-sidebar-header h3 {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}
.cart-sidebar-items {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-4) var(--space-6);
}
.cart-sidebar-footer {
    padding: var(--space-5) var(--space-6);
    border-top: 1px solid var(--border-light);
    flex-shrink: 0;
    background: var(--bg-alt);
}
.cart-item {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--border-light);
    transition: opacity var(--transition-fast);
}
.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cart-item-variant {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    margin-bottom: var(--space-2);
}
.cart-item-price {
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    font-size: var(--font-size-sm);
}
.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--space-2);
}

/* Cart Totals */
.cart-totals-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    padding: var(--space-2) 0;
}
.cart-totals-row.total {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-black);
    color: var(--text-primary);
    border-top: 1px solid var(--border);
    margin-top: var(--space-3);
    padding-top: var(--space-4);
}

/* =====================
   NEWSLETTER SECTION
===================== */
.newsletter-section {
    background: var(--bg-dark);
    padding: var(--space-20) 0;
}
.newsletter-content {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}
.newsletter-title {
    font-size: var(--fs-section);
    font-weight: var(--font-weight-bold);
    color: white;
    margin-bottom: var(--space-3);
}
.newsletter-subtitle {
    color: rgba(255,255,255,0.55);
    font-size: var(--font-size-base);
    margin-bottom: var(--space-8);
    line-height: var(--line-height-relaxed);
}
.newsletter-form {
    display: flex;
    gap: 0;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: rgba(255,255,255,0.06);
}
.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: var(--space-4) var(--space-5);
    font-size: var(--font-size-sm);
    color: white;
    font-family: var(--font-primary);
    direction: rtl;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-input:focus { outline: none; }

/* =====================
   TOAST NOTIFICATIONS
===================== */
.toast-container {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    pointer-events: none;
}
.toast {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-5);
    box-shadow: var(--shadow-xl);
    min-width: 280px;
    max-width: 380px;
    border: 1px solid var(--border-light);
    border-right: 3px solid var(--accent);
    pointer-events: all;
    animation: toastSlideIn 0.35s ease;
}
.toast.hiding { animation: toastSlideOut 0.3s ease forwards; }
.toast-success { border-right-color: var(--success); }
.toast-error   { border-right-color: var(--danger); }
.toast-warning { border-right-color: var(--warning); }
.toast-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.toast-success .toast-icon { background: var(--success-light); color: var(--success); }
.toast-error .toast-icon   { background: var(--danger-light); color: var(--danger); }
.toast-warning .toast-icon { background: var(--warning-light); color: var(--warning); }
.toast-info .toast-icon    { background: var(--info-light); color: var(--info); }
.toast-body { flex: 1; min-width: 0; }
.toast-title {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 2px;
}
.toast-message {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    line-height: 1.5;
}
.toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    padding: 2px;
    line-height: 1;
    transition: color var(--transition-fast);
}
.toast-close:hover { color: var(--text-primary); }

/* =====================
   SEARCH SUGGESTIONS
===================== */
.search-suggestions-header {
    padding: var(--space-3) var(--space-5);
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-light);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-5);
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
    transition: background var(--transition-fast);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--bg-alt); }
.search-result-img {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--bg-alt);
    flex-shrink: 0;
}
.search-result-name {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
}
.search-result-price {
    font-size: var(--font-size-xs);
    color: var(--primary-green);
    font-weight: var(--font-weight-medium);
    margin-top: 2px;
}

/* =====================
   MOBILE BOTTOM NAV
===================== */
.mobile-bottom-nav {
    display: none;
}

/* =====================
   SITE FOOTER — Dark Green
===================== */
.site-footer {
    background: #064E3B;
    color: rgba(255,255,255,0.65);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}
.footer-top {
    padding: var(--space-20) 0 var(--space-16);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: var(--space-12);
}
.footer-brand {}
.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
    text-decoration: none;
}
.footer-logo-mark {
    width: 36px;
    height: 36px;
    background: var(--accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}
.footer-logo-text {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-black);
    color: white;
}
.footer-tagline {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
    color: rgba(255,255,255,0.5);
    margin-bottom: var(--space-6);
    max-width: 280px;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.footer-social {
    display: flex;
    gap: var(--space-3);
}
.social-btn {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 15px;
    transition: all var(--transition-fast);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.08);
}
.social-btn:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
    transform: translateY(-2px);
}
.footer-title {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    color: white;
    margin-bottom: var(--space-5);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.footer-links a {
    font-size: var(--font-size-sm);
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.footer-links a:hover {
    color: var(--lime);
    padding-right: var(--space-2);
}
.footer-links a i { font-size: 10px; color: var(--lime); }
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--font-size-sm);
    color: rgba(255,255,255,0.5);
    overflow-wrap: anywhere;
    word-break: break-word;
}
.contact-item i {
    color: var(--lime);
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: var(--space-6) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    flex-wrap: wrap;
}
.footer-copy {
    font-size: var(--font-size-xs);
    color: rgba(255,255,255,0.35);
}
.payment-badges {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}
.payment-badge {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-xs);
    color: rgba(255,255,255,0.4);
}
.payment-badge i { color: var(--lime); }

/* =====================
   PROFILE / DASHBOARD
===================== */
.user-profile-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: var(--space-8);
    align-items: start;
    width: 100%;
}
.profile-form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}
.order-detail-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--space-8);
    align-items: start;
    width: 100%;
}
.dashboard-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: var(--space-8);
    align-items: start;
    padding: var(--space-12) 0 var(--space-20);
}
.dashboard-sidebar {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    position: sticky;
    top: calc(var(--header-height) + var(--topbar-height) + var(--space-4));
}
.dashboard-nav-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-weight: var(--font-weight-medium);
}
.dashboard-nav-item i { color: var(--primary-green); width: 18px; text-align: center; }
.dashboard-nav-item:hover,
.dashboard-nav-item.active {
    background: var(--bg-section);
    color: var(--primary-green);
    border-right: 2px solid var(--primary-green);
    padding-right: calc(var(--space-5) - 2px);
}
.dashboard-nav-item.active { font-weight: var(--font-weight-bold); }
.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}
.dashboard-stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    border: 1px solid var(--border-light);
    text-align: center;
}
.dashboard-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto var(--space-3);
}
.dashboard-stat-value {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-black);
    color: var(--text-primary);
}
.dashboard-stat-label {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    margin-top: 2px;
}

/* =====================
   PRODUCT LISTING LAYOUT
===================== */
.listing-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: var(--space-8);
    align-items: start;
}
.filters-sidebar {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    padding: var(--space-5);
    position: sticky;
    top: calc(var(--header-height) + 60px);
}
.filter-group {
    border-bottom: 1px solid var(--border-light);
    padding-bottom: var(--space-5);
    margin-bottom: var(--space-5);
}
.filter-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
.filter-title {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}
.filter-option {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) 0;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: color var(--transition-fast);
}
.filter-option:hover { color: var(--text-primary); }
.filter-option input[type="checkbox"] {
    accent-color: var(--primary-green);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Price Range */
.price-range-inputs {
    display: flex;
    gap: var(--space-3);
    align-items: center;
}
.price-range-inputs input {
    width: 100%;
    padding: var(--space-2) var(--space-3);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-family: var(--font-primary);
    color: var(--text-primary);
    direction: ltr;
    text-align: center;
}
.price-range-inputs input:focus {
    border-color: var(--accent);
    outline: none;
}

/* Sorting Bar */
.sorting-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-6);
    padding: var(--space-4) var(--space-5);
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}
.sorting-info {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}
.sorting-select {
    padding: var(--space-2) var(--space-4);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: white;
    cursor: pointer;
}

/* =====================
   ADMIN LAYOUT — GREEN STORE
===================== */
.admin-body {
    background: var(--bg-section);
    font-family: var(--font-primary);
    direction: rtl;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}
.admin-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    box-sizing: border-box;
}
.admin-sidebar {
    width: var(--sidebar-width);
    background: var(--admin-sidebar-bg);
    color: white;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: all 0.3s ease;
    border-left: 1px solid rgba(255,255,255,0.04);
}
.admin-sidebar-header {
    padding: var(--space-5) var(--space-5);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}
.admin-logo-mark {
    width: 36px;
    height: 36px;
    background: var(--primary-green);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}
.admin-nav {
    flex: 1;
    padding: var(--space-4) 0;
    overflow-y: auto;
}
.admin-nav-section-label {
    padding: var(--space-4) var(--space-5) var(--space-2);
    font-size: 10px;
    font-weight: var(--font-weight-medium);
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.admin-nav-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-5);
    color: rgba(255,255,255,0.6);
    font-size: var(--font-size-sm);
    text-decoration: none;
    transition: all 0.2s ease;
    border-right: 2px solid transparent;
    font-weight: var(--font-weight-normal);
}
.admin-nav-item:hover {
    color: white;
    background: rgba(255,255,255,0.05);
}
.admin-nav-item.active {
    color: white;
    background: rgba(22, 163, 74, 0.18);
    border-right-color: var(--lime);
}
.admin-nav-item i {
    width: 18px;
    text-align: center;
    font-size: 15px;
    color: rgba(255,255,255,0.4);
}
.admin-nav-item.active i,
.admin-nav-item:hover i { color: var(--lime); }
.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.admin-topbar {
    height: 60px;
    background: white;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-6);
    position: sticky;
    top: 0;
    z-index: 50;
}
.admin-topbar-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}
.admin-content {
    padding: var(--space-6);
    flex: 1;
}
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}
.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    transition: all var(--transition-base);
}
.stat-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}
.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.stat-val {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-black);
    color: var(--text-primary);
    line-height: 1;
}
.stat-lbl {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    margin-top: 3px;
}

/* Admin Table */
.table-responsive { overflow-x: auto; border-radius: var(--radius-lg); }
.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
}
.admin-table th {
    background: var(--bg-alt);
    padding: var(--space-4) var(--space-5);
    text-align: right;
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-light);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.admin-table td {
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--border-light);
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--bg-alt); }

/* Admin Header Toggle */
.admin-header-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    color: var(--text-secondary);
    font-size: 20px;
}

/* =====================
   SECTION TABS
===================== */
.section-tabs {
    display: flex;
    gap: var(--space-2);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: var(--space-8);
}
.section-tab {
    padding: var(--space-3) var(--space-5);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
    border-bottom: 2px solid transparent;
    text-decoration: none;
    margin-bottom: -1px;
}
.section-tab:hover { color: var(--primary-green); }
.section-tab.active {
    color: var(--primary-green);
    border-bottom-color: var(--primary-green);
    font-weight: var(--font-weight-bold);
}
