* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f7f5ed;
    color: #333333;
    line-height: 1.7;
}

header {
    background-color: #234d38;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

header h1 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 48px;
    letter-spacing: 3px;
}

header p {
    margin: 10px 0 0;
}

main {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

section {
    background-color: white;
    margin-bottom: 25px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

h2 {
    margin-top: 0;
    font-family: Georgia, serif;
    color: #234d38;
}

li {
    margin-bottom: 8px;
}

footer {
    background-color: #234d38;
    color: white;
    text-align: center;
    padding: 20px;
}
    nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    background-color: #193b2a;
    padding: 15px 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 6px;
}

nav a:hover,
nav a:focus-visible {
    background-color: #f7f5ed;
    color: #234d38;
}
.product-image {
    display: block;
    width: 100%;
    max-width: 350px;
    height: auto;
    margin: 20px auto;
    border-radius: 10px;
}
#contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 600px;
    margin-top: 25px;
}

#contact-form label {
    font-weight: bold;
    color: #234d38;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #bbbbbb;
    border-radius: 6px;
    font: inherit;
}

#contact-form textarea {
    resize: vertical;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: 2px solid #234d38;
    outline-offset: 2px;
}

#contact-form button {
    align-self: flex-start;
    background-color: #234d38;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font: inherit;
    font-weight: bold;
    cursor: pointer;
}

#contact-form button:hover {
    background-color: #193b2a;
}

#form-response {
    color: #234d38;
    font-weight: bold;
}
.explore-button {
    display: block;
    width: fit-content;
    margin: 20px auto 0;
    padding: 12px 24px;
    background-color: #234d38;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
}

.explore-button:hover,
.explore-button:focus-visible {
    background-color: #193b2a;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 20px;
}

.products-grid section {
    margin-bottom: 0;
}

.coming-soon-card {
    grid-column: 1 / -1;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    background-color: #102f25;
    padding: 20px 28px;
    text-align: left;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-brand img {
    flex-shrink: 0;
}

.site-header h1 {
    font-size: 28px;
    letter-spacing: 0;
    line-height: 1.2;
}

.site-header p {
    margin: 4px 0 0;
    color: #d6e3da;
    font-size: 14px;
}

.site-header nav {
    justify-content: flex-start;
    gap: 8px;
    padding: 0;
    background-color: transparent;
}

.site-header nav a[aria-current="page"] {
    background-color: #f7f5ed;
    color: #102f25;
}

/* Places the welcome text and milk photo side by side */
.home-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 32px;
    padding: clamp(24px, 5vw, 48px);
}

/* Makes the welcome heading stand out */
.home-hero h2 {
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.1;
    margin-bottom: 16px;
}

/* Lines up the button with the text */
.home-hero .explore-button {
    margin: 20px 0 0;
}

/* Centers the milk photo in its column */
.home-hero .product-image {
    margin: 0 auto;
}

/* Stacks the text and photo on smaller screens */
@media (max-width: 700px) {
    .home-hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Homepage welcome section */
main:has(> .home-hero) {
    max-width: none;
    margin: 0;
    padding: 0;
}

main:has(> .home-hero) > section:not(.home-hero) {
    width: min(960px, calc(100% - 40px));
    margin-inline: auto;
}

main > section.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5.5rem);
    padding: clamp(2rem, 5.2vw, 4.6rem) max(1.25rem, calc((100% - 76rem) / 2));
    background: #fffdf6;
    border-radius: 0;
    box-shadow: none;
}

.home-hero .hero-eyebrow {
    margin: 0;
    color: #36593e;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-hero .hero-eyebrow::before {
    content: "";
    display: inline-block;
    width: 0.48rem;
    height: 0.48rem;
    margin-right: 0.6rem;
    border-radius: 50%;
    background: #829b48;
}

.home-hero .hero-copy h1 {
    max-width: 11ch;
    margin: 0.95rem 0 1.3rem;
    color: #173b2e;
    font: 400 clamp(2.75rem, 6.4vw, 6.25rem) / 1.02 Georgia, serif;
    letter-spacing: -0.045em;
}

.home-hero h1 em {
    color: #54713b;
}

.home-hero .hero-copy > p:not(.hero-eyebrow) {
    max-width: 34rem;
    color: #41554a;
    font-size: clamp(1rem, 1.7vw, 1.19rem);
}

.home-hero > .product-image {
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    border-radius: 1.5rem;
}

.home-hero .explore-button {
    margin: 1.5rem 0 0;
    border-radius: 99px;
    background-color: #173b2e;
}

@media (max-width: 700px) {
    main > section.home-hero {
        grid-template-columns: minmax(0, 1fr);
    }
}

.mobile-brand-row {
    display: none;
}

@media (max-width: 700px) {
    .site-header:has(> .mobile-brand-row) {
        display: block;
        padding: 0.75rem 1rem 0.5rem;
        text-align: left;
    }

    .site-header:has(> .mobile-brand-row) > :not(.mobile-brand-row):not(nav) {
        display: none;
    }

    .mobile-brand-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .mobile-brand {
        display: flex;
        align-items: center;
        gap: 0.65rem;
        color: white;
        text-decoration: none;
        font: bold 1.8rem / 1 Georgia, serif;
    }

    .mobile-brand svg {
        width: 44px;
        height: 44px;
        padding: 8px;
        border-radius: 12px;
        background: #173b2e;
        color: #d9e8ab;
    }

    .mobile-brand small {
        display: block;
        margin-top: 0.3rem;
        font: bold 0.6rem / 1 Arial, sans-serif;
        letter-spacing: 0.2em;
    }

    .mobile-contact {
        padding: 0.55rem 0.8rem;
        border: 1px solid #8ba08f;
        border-radius: 99px;
        color: white;
        text-decoration: none;
        font-size: 0.875rem;
        font-weight: bold;
        white-space: nowrap;
    }

    .site-header:has(> .mobile-brand-row) > nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0 1rem;
        margin: 0.5rem 0 0;
    }

    .site-header:has(> .mobile-brand-row) > nav a {
        padding: 0.45rem 0;
        border-bottom: 2px solid transparent;
        border-radius: 0;
        background: transparent;
        color: white;
        font-size: 0.875rem;
        white-space: nowrap;
    }

    .site-header:has(> .mobile-brand-row) > nav a[aria-current="page"] {
        border-bottom-color: #d9e8ab;
        background: transparent;
        color: white;
    }

    main > section.home-hero {
        padding: 2rem 1rem;
        gap: 1.5rem;
    }

    .home-hero .hero-copy h1 {
        font-size: clamp(2.65rem, 12vw, 4.7rem);
    }
}

main:has(> .home-hero) > section.home-products {
    width: min(76rem, calc(100% - 5rem));
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem) 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.home-products-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.6rem;
}

.home-products .collection-label {
    margin: 0 0 0.5rem;
    color: #36593e;
    font-size: 0.72rem;
    font-weight: bold;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-products h2 {
    margin: 0;
    color: #173b2e;
    font: 400 clamp(2.4rem, 5vw, 4.35rem) / 1.05 Georgia, serif;
    letter-spacing: -0.045em;
}

.view-all-products {
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #829b48;
    color: #173b2e;
    font-weight: bold;
    text-decoration: none;
}

.home-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.8rem, 2vw, 1.7rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-product-grid > li {
    margin: 0;
}

.home-product-grid a {
    display: block;
    overflow: hidden;
    border: 1px solid #dce1d2;
    border-radius: 1rem;
    background: #fffdf6;
    color: #173b2e;
    text-decoration: none;
}

.home-product-grid a:hover,
.home-product-grid a:focus-visible {
    border-color: #829b48;
}

.home-product-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.home-product-name {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    font-weight: bold;
}

@media (max-width: 700px) {
    main:has(> .home-hero) > section.home-products {
        width: calc(100% - 2rem);
    }

    .home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-product-name {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .home-product-grid {
        grid-template-columns: 1fr;
    }
}

.home-hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.5rem;
}

.home-hero .meet-sabzar-link {
    display: inline-block;
    padding: 0.5rem 0;
    color: #15392e;
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 0.35em;
}

.products-grid > .products-intro {
    grid-column: 1 / -1;
    margin: 0;
    padding: clamp(1.5rem, 4vw, 3.5rem);
    background: #edf0e2;
    border-radius: 16px;
    box-shadow: none;
}

.products-intro .products-intro-label {
    margin: 0 0 0.75rem;
    color: #506b36;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.products-intro h2 {
    margin: 0;
    color: #15392e;
    font-family: Georgia, serif;
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: normal;
    line-height: 1.05;
}

.products-intro .products-intro-description {
    margin: 0.75rem 0 0;
    color: #40574c;
}

.product-filter-bar {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.product-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-filter-buttons button {
    padding: 0.55rem 0.9rem;
    border: 1px solid #bdc9ac;
    border-radius: 999px;
    background: #fffdf8;
    color: #15392e;
    font: inherit;
    cursor: pointer;
}

.product-filter-buttons button[aria-pressed="true"] {
    border-color: #15392e;
    background: #15392e;
    color: white;
}

.products-grid > .product-filter-bar[hidden],
.products-grid > [data-category][hidden] {
    display: none;
}