:root {
    --grocery-green: #198754;
    --grocery-dark: #113d2a;
    --grocery-soft: #eef9f2;
    --grocery-accent: #ffc107;
}

body {
    background: #f7fbf8;
    color: #21312a;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.profile-icon {
    align-items: center;
    background: #fff;
    border-radius: 50%;
    color: var(--grocery-green);
    display: inline-flex;
    font-size: .78rem;
    font-weight: 800;
    height: 22px;
    justify-content: center;
    width: 22px;
}

.hero {
    background: linear-gradient(135deg, rgba(25,135,84,.95), rgba(17,61,42,.92));
    color: #fff;
    padding: 72px 0;
}

.section-title {
    color: var(--grocery-dark);
    font-weight: 800;
}

.product-card {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(17,61,42,.08);
    height: 100%;
    overflow: hidden;
}

.product-card img {
    aspect-ratio: 4 / 3;
    width: 100%;
    object-fit: cover;
    background: var(--grocery-soft);
}

.badge-offer {
    background: var(--grocery-accent);
    color: #2b2b2b;
}

.info-band {
    background: var(--grocery-soft);
    border-left: 4px solid var(--grocery-green);
}

.auth-box, .admin-card {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(17,61,42,.08);
}

.admin-sidebar {
    min-height: 100vh;
    background: var(--grocery-dark);
}

.admin-sidebar a {
    color: rgba(255,255,255,.84);
    display: block;
    padding: 11px 16px;
    text-decoration: none;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    background: rgba(255,255,255,.12);
    color: #fff;
}

.table td, .table th {
    vertical-align: middle;
}

.thumb {
    width: 70px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
}

@media (max-width: 767px) {
    .hero {
        padding: 46px 0;
    }

    .display-5 {
        font-size: 2rem;
    }

    .admin-sidebar {
        min-height: auto;
    }
}
