:root {
    --green-950: #00352a;
    --green-900: #004333;
    --green-800: #005d45;
    --green-700: #08764f;
    --green-600: #0b8b5d;
    --green-soft: #eaf6f0;
    --red: #f32635;
    --red-dark: #d91c2c;
    --white: #fff;
    --ink: #12221e;
    --muted: #6c7974;
    --line: #e2e9e5;
    --background: #f7f9f8;
    --radius: 18px;
    --shadow: 0 12px 35px rgba(0,55,42,.09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--ink);
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}

/* TOP */

.top-strip {
    background: var(--green-950);
    color: white;
    font-size: 11px;
}

.top-strip-inner {
    min-height: 34px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.top-strip strong {
    color: #65dfa5;
}

/* HEADER */

.header-main {
    background: white;
}

.header-main-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    min-width: 150px;
}

.brand-logo {
    width: 150px;
    max-height: 60px;
    object-fit: contain;
}

.brand-fallback {
    display: none;
    line-height: .9;
    font-size: 20px;
    font-weight: 900;
}

.brand-fallback b {
    display: block;
    color: var(--red);
}

.brand-fallback span {
    color: #18a767;
}

.search-box {
    flex: 1;
    max-width: 610px;
    height: 48px;
    display: flex;
    border: 1px solid #d8e1dd;
    border-radius: 10px;
    background: #f8faf9;
    overflow: hidden;
}

.search-box input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 17px;
    background: transparent;
}

.search-box button {
    width: 54px;
    border: 0;
    background: var(--green-800);
    color: white;
    cursor: pointer;
}

.header-actions {
    margin-left: auto;
    display: flex;
    gap: 16px;
}

.header-link {
    min-width: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--green-950);
}

.header-link span {
    font-size: 21px;
}

.header-link small {
    font-size: 10px;
    font-weight: 800;
}

/* NAV */

.navigation {
    background: white;
    border-top: 1px solid #edf1ef;
    border-bottom: 1px solid var(--line);
}

.navigation-inner {
    min-height: 49px;
    display: flex;
    align-items: center;
    gap: 25px;
    overflow-x: auto;
}

.navigation-inner a {
    padding: 15px 0 12px;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 800;
    color: #44534e;
    border-bottom: 3px solid transparent;
}

.navigation-inner a:hover,
.navigation-inner a.active {
    color: var(--green-800);
    border-bottom-color: var(--red);
}

.navigation-spacer {
    flex: 1;
}

/* FLASH */

.flash {
    margin-top: 18px;
    padding: 13px 18px;
    border-radius: 10px;
    font-weight: 700;
}

.flash-success {
    background: #e7f8ef;
    color: #075c3f;
}

.flash-error {
    background: #fff0f2;
    color: #a10c1c;
}

/* HERO */

.hero {
    color: white;
    background:
        radial-gradient(circle at 85% 20%, rgba(56,218,143,.22), transparent 32%),
        linear-gradient(125deg, #002f26, #006044);
}

.hero-inner {
    min-height: 475px;
    padding: 70px 0;
    display: grid;
    grid-template-columns: 1.5fr .7fr;
    align-items: center;
    gap: 70px;
}

.hero-label {
    display: inline-block;
    padding: 7px 12px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    background: rgba(255,255,255,.09);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.hero h1 {
    margin: 19px 0;
    font-size: clamp(43px, 6vw, 70px);
    line-height: .98;
    letter-spacing: -3px;
}

.hero h1 span {
    color: #5de1a3;
}

.hero-copy p {
    max-width: 650px;
    color: rgba(255,255,255,.82);
    font-size: 17px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 23px;
    border-radius: 9px;
    font-weight: 900;
}

.button-red {
    background: var(--red);
    color: white;
}

.button-red:hover {
    background: var(--red-dark);
}

.button-white {
    background: white;
    color: var(--green-950);
}

.hero-location {
    padding: 23px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 20px;
    background: rgba(255,255,255,.09);
    backdrop-filter: blur(10px);
}

.location-heading {
    display: flex;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,.13);
}

.location-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    background: white;
    color: var(--green-900);
    border-radius: 12px;
}

.location-heading small {
    display: block;
    opacity: .65;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
}

.location-heading strong {
    display: block;
    margin-top: 3px;
    font-size: 19px;
}

.location-heading span {
    display: block;
    opacity: .7;
    font-size: 11px;
}

.hero-location form {
    padding-top: 20px;
}

.hero-location label {
    display: block;
    margin-bottom: 7px;
    opacity: .7;
    font-size: 10px;
    font-weight: 800;
}

.hero-location select {
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 8px;
    padding: 0 11px;
    background: white;
    color: var(--ink);
}

/* SECTIONS */

.section {
    padding: 64px 0;
}

.section-alt {
    background: #edf5f1;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.section-label {
    display: block;
    margin-bottom: 6px;
    color: var(--green-700);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.6px;
}

.section-heading h2 {
    margin: 0;
    font-size: 31px;
    line-height: 1.1;
    letter-spacing: -.9px;
}

.section-heading p {
    margin: 7px 0 0;
    color: var(--muted);
}

.see-all {
    white-space: nowrap;
    color: var(--green-700);
    font-size: 13px;
    font-weight: 900;
}

/* CATEGORIES */

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.category-card {
    min-height: 158px;
    padding: 21px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,.025);
    transition: .2s;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.category-icon {
    width: 49px;
    height: 49px;
    display: grid;
    place-items: center;
    margin-bottom: 15px;
    border-radius: 13px;
    background: var(--green-soft);
    font-size: 24px;
}

.category-card strong {
    display: block;
    font-size: 14px;
}

.category-card span {
    display: block;
    margin-top: 4px;
    color: var(--green-700);
    font-size: 11px;
    font-weight: 800;
}

/* PRODUCTS */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: white;
    transition: .2s;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.product-image {
    position: relative;
    display: block;
    height: 230px;
    overflow: hidden;
    background: #eef3f0;
}

.product-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .3s;
}

.product-card:hover .product-image img {
    transform: scale(1.035);
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 46px;
    color: #9ca8a3;
}

.available {
    position: absolute;
    top: 11px;
    left: 11px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #e8f8ef;
    color: var(--green-700);
    font-size: 9px;
    font-weight: 900;
}

.product-info {
    padding: 15px;
}

.product-category {
    display: block;
    color: var(--green-700);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.product-title {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}

.product-title:hover {
    color: var(--green-700);
}

.product-sku {
    display: block;
    margin-top: 3px;
    color: #9ba6a2;
    font-size: 9px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.price {
    color: var(--green-950);
    font-size: 17px;
    font-weight: 900;
}

.cart-add {
    width: 37px;
    height: 37px;
    border: 0;
    border-radius: 9px;
    background: var(--green-800);
    color: white;
    font-size: 22px;
    cursor: pointer;
}

.cart-add:hover {
    background: var(--green-600);
}

.sold-out {
    color: #a33;
    font-size: 10px;
    font-weight: 800;
}

/* BENEFITS */

.benefits {
    padding: 32px 0;
    background: var(--green-950);
    color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.benefit {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.benefit > span {
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255,255,255,.1);
}

.benefit strong {
    display: block;
    font-size: 13px;
}

.benefit small {
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,.62);
    font-size: 10px;
}

/* FOOTER */

.footer {
    background: #001f19;
    color: white;
}

.footer-grid {
    padding: 54px 0;
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 45px;
}

.footer-logo {
    font-size: 21px;
    font-weight: 900;
}

.footer-logo b {
    color: var(--red);
}

.footer-logo span {
    color: #29bd79;
}

.footer-about p {
    max-width: 350px;
    color: rgba(255,255,255,.58);
    font-size: 11px;
}

.footer h4 {
    margin: 0 0 13px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer a,
.footer-outlet {
    display: block;
    margin: 8px 0;
    color: rgba(255,255,255,.63);
    font-size: 11px;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 17px 0;
    color: rgba(255,255,255,.4);
    font-size: 10px;
}

/* TABLET */

@media (max-width: 1000px) {

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-location {
        max-width: 620px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE */

@media (max-width: 720px) {

    .container {
        width: min(100% - 24px, 600px);
    }

    .top-strip-inner {
        justify-content: center;
        text-align: center;
    }

    .top-strip-inner > span:last-child {
        display: none;
    }

    .header-main-inner {
        min-height: auto;
        padding: 14px 0;
        flex-wrap: wrap;
        gap: 12px;
    }

    .brand {
        min-width: 0;
    }

    .brand-logo {
        width: 128px;
    }

    .search-box {
        order: 3;
        flex-basis: 100%;
        max-width: none;
    }

    .header-actions {
        gap: 4px;
    }

    .header-link {
        min-width: 45px;
    }

    .header-link small {
        display: none;
    }

    .navigation-inner {
        gap: 20px;
    }

    .navigation-inner a:nth-of-type(n+6) {
        display: none;
    }

    .hero-inner {
        padding: 52px 0;
    }

    .hero h1 {
        font-size: 43px;
        letter-spacing: -2px;
    }

    .hero-copy p {
        font-size: 15px;
    }

    .section {
        padding: 45px 0;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 9px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 11px;
    }

    .category-card {
        min-height: 137px;
        padding: 15px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-image {
        height: 175px;
    }

    .product-info {
        padding: 11px;
    }

    .product-title {
        font-size: 12px;
    }

    .price {
        font-size: 14px;
    }

    .cart-add {
        width: 34px;
        height: 34px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

@media (max-width: 450px) {

    .hero h1 {
        font-size: 38px;
    }

    .product-image {
        height: 155px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
