:root {
    --green: #009505;
    --green-dark: #007a04;
    --lime: #8cbf43;
    --button: #6ab165;
    --purple: #923a7f;
    --ink: #242424;
    --muted: #555;
    --line: #e6e6e6;
    --max: 1170px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    font-family: "Karla", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background: #fff;
}

img { max-width: 100%; height: auto; }

a { color: var(--green); text-decoration: none; }

a:hover { color: var(--green-dark); }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }

p { margin: 0 0 1rem; }

.container {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

.topbar {
    background: var(--green);
    color: #fff;
    min-height: 42px;
    font-size: 16px;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 42px;
}

.topbar a { color: #fff; }

.topbar-links {
    display: flex;
    gap: 18px;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 14px;
}

.topbar-phone i { margin-right: 6px; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); }

.header-row {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    align-items: center;
    gap: 16px;
    min-height: 95px;
}

.logo img { max-height: 95px; width: auto; display: block; }

.header-title {
    margin: 0;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #1c1c1c;
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 15px;
}

.header-tools a,
.icon-button {
    color: #333;
    background: none;
    border: 0;
    cursor: pointer;
    font: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header-tools a:hover,
.icon-button:hover { color: var(--green); }

.count-pill {
    display: inline-flex;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 99px;
    background: var(--green);
    color: #fff;
    font-size: 11px;
    align-items: center;
    justify-content: center;
}

.cart-link strong { font-weight: 700; }

.burger {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

.burger span,
.burger span:before,
.burger span:after {
    display: block;
    height: 2px;
    width: 18px;
    background: #222;
    position: relative;
    margin: 0 auto;
}

.burger span:before,
.burger span:after {
    content: "";
    position: absolute;
    left: 0;
}

.burger span:before { top: -6px; }
.burger span:after { top: 6px; }

.main-nav {
    border-top: 1px solid #f2f2f2;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 22px;
    margin: 0;
    padding: 12px 0 14px;
}

.main-nav a {
    color: #333;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 14px;
    font-weight: 600;
}

.main-nav a:hover,
.main-nav a.active { color: var(--green); }

.page-banner {
    background: var(--green);
    color: #fff;
    text-align: center;
    padding: 48px 20px 36px;
}

.page-banner h1 { margin: 0; font-size: 42px; }

.crumbs { margin-top: 8px; font-size: 14px; }

.crumbs a { color: #fff; }

.alert {
    background: #eef8ee;
    border: 1px solid #b7e0b4;
    color: #146214;
    padding: 12px 16px;
    margin: 16px auto;
    width: min(var(--max), calc(100% - 40px));
    border-radius: 8px;
}

.alert-error {
    background: #fff4f4;
    border-color: #f0c2c2;
    color: #8a1f1f;
}

.hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .25)),
        url("../images/bg-hero.png") center / cover no-repeat,
        url("../images/hero-food.jpg") center / cover no-repeat;
    padding: 90px 0;
}

.hero h3 {
    margin: 0 0 12px;
    font-size: 28px;
    letter-spacing: .02em;
}

.hero h1 {
    margin: 0 0 22px;
    font-size: 52px;
    line-height: 50px;
    max-width: 640px;
}

.btn {
    display: inline-block;
    background: var(--button);
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 12px 22px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
}

.btn:hover { background: #5aa356; color: #fff; }

.btn-white { background: #fff; color: #333; }

.btn-white:hover { background: #f3f3f3; color: #111; }

.btn-lime { background: var(--lime); }

.btn-blue { background: #1d6fbf; }

.btn-blue:hover { background: #155a9c; color: #fff; }

.section { padding: 56px 0; }

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.split img,
.frame img {
    width: 100%;
    display: block;
    border-radius: 4px;
}

.section h2 { font-size: 32px; margin: 0 0 12px; }

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.card-green {
    background: var(--green);
    color: #fff;
    border-radius: 10px;
    padding: 42px 36px;
}

.card-green h3 { font-size: 32px; line-height: 34px; margin: 0 0 14px; }

.card-green p { font-size: 20px; line-height: 28px; }

.card-green a { color: #fff; font-size: 22px; font-weight: 700; }

.center-title { text-align: center; font-size: 32px; margin: 0 0 28px; }

.reasons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.reason {
    position: relative;
    background: #f3fbf2;
    border: 1px solid #cfe8cc;
    border-radius: 15px;
    padding: 22px 22px 12px 68px;
}

.reason i {
    position: absolute;
    left: 22px;
    top: 28px;
    color: var(--green);
    font-size: 22px;
}

.reason h3 { color: var(--green); margin: 0 0 8px; font-size: 28px; }

.prose { padding: 48px 0 72px; }

.prose h2 { font-size: 32px; }

.price-list { list-style: none; padding: 0; }

.price-list li {
    background: #f7fbf6;
    border-left: 4px solid var(--green);
    margin: 0 0 10px;
    padding: 12px 16px;
    font-size: 18px;
}

.faq-layout {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 36px;
    padding: 48px 0 72px;
}

.faq-nav {
    border: 1px solid var(--lime);
    border-radius: 10px;
    padding: 22px 24px;
    box-shadow: 6px 6px 9px rgba(0, 0, 0, .12);
    align-self: start;
}

.faq-nav h2 { font-size: 2rem; margin-top: 0; }

.faq-nav ol { padding-left: 18px; }

.faq-nav a { color: #222; }

.faq-body h3 { font-size: 22px; margin-bottom: 8px; }

.faq-body hr { border: 0; border-top: 1px solid #ddd; margin: 22px 0; }

.band {
    background:
        linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .45)),
        url("../images/hero-food.jpg") center / cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 70px 20px;
}

.band h2 { font-size: 34px; line-height: 36px; margin: 0 0 10px; }

.band h4 { font-weight: 500; font-size: 18px; margin: 0 0 18px; }

.green-copy { background: var(--green); color: #fff; }
.green-copy h2, .green-copy a, .green-copy li { color: #fff; }

.steps { padding: 40px 0 20px; }

.step {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 16px;
}

.step-label {
    background: var(--lime);
    color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: 22px;
    border-radius: 10px;
    padding: 6px 10px;
    max-width: 200px;
    margin: 0 auto;
}

.enroll-title { text-align: center; color: #fff; }

.enroll {
    background: var(--green);
    padding: 30px 0 50px;
}

.enroll-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}

.enroll-card { background: #fff; border-radius: 0 0 20px 20px; overflow: hidden; text-align: center; }

.enroll-card img { width: 100%; display: block; border-radius: 0; }

.enroll-card a {
    display: block;
    padding: 20px;
    color: #222;
    font-size: 22px;
    font-weight: 700;
}

.enroll-card a:hover { background: #74b66f; color: #fff; }

.login-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    padding: 50px 0 70px;
}

.login-card {
    color: #fff;
    text-align: center;
    padding: 36px 40px 50px;
}

.login-card h2 { font-size: 42px; margin: 0 0 10px; }

.login-card.purple { background: var(--purple); }

.login-card.lime { background: var(--lime); }

.login-card .btn { margin: 8px 6px; }

.signup-wrap {
    background: url("../images/bg-signup.jpeg") center / cover no-repeat;
    padding: 70px 16px 100px;
}

.signup-card {
    background: #fff;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    padding: 10px 24px 36px;
    text-align: center;
}

.signup-card h2 { font-size: 32px; }

.stack-form { max-width: 400px; margin: 0 auto; text-align: left; }

.stack-form label,
.form-grid label,
.account-form label { display: block; font-weight: 700; margin-bottom: 6px; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
select,
textarea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 12px 14px;
    font: inherit;
    margin-bottom: 16px;
    background: #fff;
}

textarea { min-height: 140px; }

.terms { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 16px; }

.terms input { width: auto; margin-top: 4px; }

.contact-grid,
.started-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 48px 0 72px;
}

.info-box h2 { margin-top: 0; }

.map { width: 100%; height: 360px; border: 0; margin-top: 12px; }

.get-started-form {
    border: 2px solid var(--lime);
    border-radius: 20px;
    padding: 24px;
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    padding: 22px 0 8px;
    color: #666;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 18px;
    padding-bottom: 70px;
}

.product-card { text-align: center; }

.product-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: #f6f6f6;
}

.product-card h2,
.product-card h3 { font-size: 16px; margin: 12px 0 4px; font-weight: 600; }

.product-card h2 a,
.product-card h3 a { color: #222; }

.price { color: var(--green); font-weight: 700; display: block; margin-bottom: 8px; }

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 0 70px;
}

.qty-row { display: flex; gap: 10px; align-items: center; }

.qty-row input { width: 80px; margin: 0; }

.cart-table { width: 100%; border-collapse: collapse; margin: 20px 0 30px; }

.cart-table th,
.cart-table td { border-bottom: 1px solid var(--line); padding: 14px 8px; text-align: left; }

.cart-table img { width: 72px; height: 72px; object-fit: cover; }

.cart-actions { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 60px; }

.account-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 30px; padding: 40px 0 70px; }

.account-nav { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); }

.account-nav a,
.account-nav button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: #fff;
    color: #333;
    font: inherit;
    cursor: pointer;
}

.account-nav a:hover,
.account-nav button:hover { background: #f6fbf5; color: var(--green); }

.login-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 0 70px;
}

.search-overlay,
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    display: none;
    z-index: 80;
}

.search-panel {
    position: fixed;
    left: 50%;
    top: 18%;
    transform: translateX(-50%);
    width: min(640px, calc(100% - 32px));
    background: #fff;
    padding: 28px;
    z-index: 90;
    display: none;
    border-radius: 6px;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(500px, calc(100% - 24px));
    padding: 28px 22px 22px;
    border-radius: 10px;
    z-index: 100;
    display: none;
    text-align: center;
    color: #fff;
    background:
        linear-gradient(rgba(0, 0, 0, .35), rgba(0, 0, 0, .35)),
        url("../images/popup-bg.png") center / cover no-repeat;
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
}

.popup img { width: 150px; margin-bottom: 12px; }

.popup h3 { color: #fff; margin: 0 0 12px; font-size: 26px; }

.popup input { margin-bottom: 8px; }

.popup-close,
.search-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: 0;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.search-close { color: #222; position: static; float: right; font-size: 16px; }

.phone-field { display: flex; gap: 0; margin-bottom: 8px; }

.phone-field span {
    background: #fff;
    color: #222;
    border-radius: 4px 0 0 4px;
    padding: 12px 10px;
    font-size: 14px;
}

.phone-field input { border-radius: 0 4px 4px 0; margin: 0; }

.honeypot { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.site-footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 22px 16px;
    font-size: 14px;
}

.site-footer a { color: #fff; }

.to-top {
    position: fixed;
    right: 22px;
    bottom: 96px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: var(--green);
    color: #fff;
    cursor: pointer;
    z-index: 40;
    display: none;
}

.empty { padding: 30px 0 70px; text-align: center; }

.error { color: #a12626; font-size: 14px; margin: -10px 0 12px; }

@media (max-width: 991px) {
    .burger { display: inline-flex; align-items: center; justify-content: center; }

    .header-row { grid-template-columns: auto 1fr auto; min-height: 70px; }

    .header-title { font-size: 16px; }

    .logo img { max-height: 60px; }

    .tool-label { display: none; }

    .main-nav { display: none; background: #fff; }

    .main-nav.open { display: block; }

    .main-nav ul { flex-direction: column; align-items: flex-start; padding: 10px 0 16px; }

    .hero { min-height: 420px; }

    .hero h1 { font-size: 34px; line-height: 36px; }

    .split,
    .cards,
    .reasons,
    .faq-layout,
    .login-types,
    .enroll-grid,
    .contact-grid,
    .started-grid,
    .product-layout,
    .login-panels,
    .account-wrap { grid-template-columns: 1fr; }

    .product-grid { grid-template-columns: repeat(2, 1fr); }

    .step { grid-template-columns: 1fr; }

    .topbar-inner { flex-direction: column; align-items: flex-start; padding: 8px 0; }

    .topbar-links { flex-wrap: wrap; gap: 10px 14px; }

    .page-banner h1 { font-size: 32px; }
}

@media (max-width: 640px) {
    .product-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

    .header-title { display: none; }
}
