* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #292f27;
    background-color: #ffffff;
    line-height: 1.6;
}

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

section {
    scroll-margin-top: 20px;
}

:root {
    --green: #3c8b36;
    --dark-green: #245c28;
    --light-green: #eff7e9;
    --orange: #f59b23;
    --text: #292f27;
    --muted: #777e75;
    --border: #e8ece5;
}


/* =========================
   2. TOP BAR
========================= */

.top-bar {
    min-height: 38px;
    padding: 7px 4%;
    background: var(--dark-green);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-size: 12px;
}

.top-bar div {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar a:hover {
    color: #c9efad;
}


/* =========================
   3. HEADER
========================= */

.header {
    width: min(1200px, 92%);
    margin: auto;
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    flex-shrink: 0;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--dark-green);
}

.logo span {
    color: var(--orange);
}

.search {
    flex: 1;
    max-width: 510px;
    display: flex;
    border: 1px solid #dfe5db;
    border-radius: 6px;
    overflow: hidden;
}

.search input {
    width: 100%;
    min-width: 0;
    padding: 13px 16px;
    border: none;
    outline: none;
}

.search button {
    padding: 0 22px;
    border: none;
    background: var(--green);
    color: white;
}

.search button:hover,
.cart-button:hover {
    background: var(--dark-green);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
    white-space: nowrap;
}

.header-actions a:hover {
    color: var(--green);
}


/* =========================
   4. NAVIGATION
========================= */

.navbar {
    min-height: 54px;
    padding: 0 max(4%, calc((100% - 1200px) / 2));
    background: var(--green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.category-menu {
    padding: 15px 18px;
    background: var(--dark-green);
    font-weight: bold;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 14px;
}

.nav-links a,
.hotline {
    white-space: nowrap;
}

.nav-links a:hover {
    color: #e4f8c9;
}

.hotline {
    font-size: 13px;
    font-weight: bold;
}


/* =========================
   5. HERO SECTION
========================= */

.hero {
    margin-top: 28px;
    margin-bottom: 35px;
    min-height: 390px;
    padding: 35px 5%;
    border-radius: 12px;
    background: #f1f6e9;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
    overflow: hidden;
}

.hero-content {
    max-width: 520px;
    padding: 15px 0;
}

.eyebrow {
    display: inline-block;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.hero h1 {
    max-width: 520px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    margin-bottom: 18px;
    color: #263b24;
}

.hero-content > p {
    color: #667063;
    margin-bottom: 15px;
}

.starting-price strong {
    color: var(--green);
    font-size: 23px;
    margin-left: 8px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    margin-top: 8px;
    background: var(--green);
    color: white;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    transition: background 0.2s, transform 0.2s;
}

.btn:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
}

.hero-image {
    height: 320px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}


/* =========================
   6. SERVICE BENEFITS
========================= */

.benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 25px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

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

.benefit-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--light-green);
    font-size: 23px;
}

.benefit h3 {
    font-size: 14px;
}

.benefit p {
    font-size: 12px;
    color: var(--muted);
}


/* =========================
   7. PROMOTIONAL BANNERS
========================= */

.promotions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 65px;
}

.promo {
    min-height: 230px;
    padding: 25px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    overflow: hidden;
}

.promo-fruit {
    background: #fff0d8;
}

.promo-green {
    background: #eaf4dc;
}

.promo span,
.deal span {
    display: inline-block;
    color: var(--green);
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.promo h2 {
    max-width: 220px;
    font-size: 25px;
    line-height: 1.25;
    margin-bottom: 17px;
}

.promo a,
.deal a {
    color: var(--green);
    font-weight: bold;
    font-size: 13px;
}

.promo img {
    width: 43%;
    height: 165px;
    object-fit: cover;
    border-radius: 8px;
}


/* =========================
   8. SECTION HEADINGS
========================= */

.section {
    margin-top: 65px;
    margin-bottom: 65px;
}

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

.section-heading h2,
.about-text h2,
.newsletter h2 {
    font-size: clamp(25px, 3vw, 32px);
    line-height: 1.25;
    color: var(--text);
}

.view-all {
    color: var(--green);
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
}

.view-all:hover,
.promo a:hover,
.deal a:hover {
    color: var(--orange);
}


/* =========================
   9. CATEGORY CARDS
========================= */

.category-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 16px;
}

.category-card {
    padding: 17px 10px;
    border: 1px solid var(--border);
    border-radius: 9px;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}

.category-card:hover {
    border-color: var(--green);
    transform: translateY(-4px);
}

.category-card img {
    width: 100%;
    height: 100px;
    margin-bottom: 13px;
    object-fit: contain;
    border-radius: 6px;
}

.category-card h3 {
    font-size: 14px;
    line-height: 1.3;
}

.category-card p {
    font-size: 12px;
    color: var(--muted);
    margin-top: 5px;
}


/* =========================
   10. DEAL BANNERS
========================= */

.deal-banners {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 65px;
    margin-bottom: 65px;
}

.deal {
    min-height: 220px;
    padding: 25px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.deal::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0.94),
        rgba(255,255,255,0.45)
    );
}

.deal > * {
    position: relative;
    z-index: 1;
}

.deal-one {
    background-color: #e5f0d8;
    background-image: url("image/vegg.avif");
}

.deal-two {
    background-color: #fff0dc;
    background-image: url("image/vegg2.avif");
}

.deal-three {
    background-color: #f6e7d9;
    background-image: url("image/vegg3.avif");
}

.deal h2 {
    max-width: 240px;
    font-size: 24px;
    line-height: 1.25;
    margin-bottom: 18px;
}


/* =========================
   11. PRODUCT CARDS
========================= */

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

.product-card {
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 9px;
    position: relative;
    transition: box-shadow 0.2s, transform 0.2s;
    background: white;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(35, 70, 25, 0.10);
    transform: translateY(-3px);
}

.product-card > img {
    width: 100%;
    height: 190px;
    margin-bottom: 15px;
    object-fit: contain;
    border-radius: 5px;
}

.tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    padding: 4px 9px;
    background: var(--green);
    color: white;
    border-radius: 4px;
    font-size: 11px;
}

.wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: white;
    color: var(--green);
    font-size: 20px;
}

.wishlist:hover {
    background: var(--light-green);
}

.product-category {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 5px;
}

.product-card h3 {
    min-height: 45px;
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 8px;
}

.stars {
    color: #f3a522;
    font-size: 13px;
    margin-bottom: 8px;
}

.stars small {
    color: var(--muted);
    font-size: 11px;
}

.price {
    color: var(--green);
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 12px;
}

.price del {
    color: var(--muted);
    font-size: 13px;
    font-weight: normal;
    margin-left: 5px;
}

.cart-button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: var(--green);
    color: white;
    font-size: 13px;
    font-weight: bold;
    transition: background 0.2s;
}

.featured-section {
    padding: 50px 0;
    background: #f7f9f4;
}


/* =========================
   12. DEAL OF THE WEEK
========================= */

.weekly-deals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.weekly-card {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 9px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.weekly-card img {
    width: 120px;
    height: 130px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 6px;
}

.weekly-card h3 {
    font-size: 15px;
    margin: 12px 0 5px;
}

.discount {
    display: inline-block;
    padding: 3px 8px;
    background: #fff0df;
    color: #db7c10;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
}

.weekly-card .price {
    font-size: 16px;
    margin-bottom: 5px;
}

.stock {
    color: var(--muted);
    font-size: 12px;
}


/* =========================
   13. ABOUT US
========================= */

.about-section {
    padding: 75px 0;
    margin-top: 65px;
    background: #f4f7ed;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 55px;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.about-text h2 {
    max-width: 500px;
    margin-bottom: 20px;
}

.about-text p {
    color: #687064;
    font-size: 14px;
    margin-bottom: 15px;
}

.about-text ul {
    list-style: none;
    margin: 20px 0;
}

.about-text li {
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 14px;
    color: var(--dark-green);
}


/* =========================
   14. BLOG CARDS
========================= */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.blog-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: white;
    transition: box-shadow 0.2s;
}

.blog-card:hover {
    box-shadow: 0 8px 24px rgba(35, 70, 25, 0.10);
}

.blog-card > img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-date {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 10px;
}

.blog-content h3 {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.blog-content > p:not(.blog-date) {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 15px;
}

.blog-content a {
    color: var(--green);
    font-size: 13px;
    font-weight: bold;
}


/* =========================
   15. NEWSLETTER
========================= */

.newsletter {
    padding: 50px 0;
    background: #edf5e5;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.newsletter-content > div {
    max-width: 530px;
}

.newsletter h2 {
    margin-bottom: 10px;
}

.newsletter p {
    color: var(--muted);
    font-size: 14px;
}

.newsletter-form {
    display: flex;
    flex: 1;
    max-width: 480px;
    border: 1px solid #dce5d4;
    background: white;
    border-radius: 6px;
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    width: 100%;
    min-width: 0;
    padding: 14px;
    border: none;
    outline: none;
}

.newsletter-form button {
    padding: 0 18px;
    border: none;
    background: var(--green);
    color: white;
    font-size: 13px;
    font-weight: bold;
}


/* =========================
   16. FOOTER
========================= */

.footer {
    padding-top: 55px;
    background: #192b1b;
    color: #e7eee5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 35px;
    padding-bottom: 45px;
}

.footer .logo {
    display: inline-block;
    color: white;
    margin-bottom: 15px;
}

.footer-about > p,
.contact-info p {
    color: #b7c4b5;
    font-size: 13px;
    margin-bottom: 12px;
}

.footer h3 {
    color: white;
    font-size: 16px;
    margin-bottom: 18px;
}

.footer-grid > div:not(.footer-about) > a {
    display: block;
    width: fit-content;
    margin-bottom: 12px;
    color: #b7c4b5;
    font-size: 13px;
}

.footer-grid a:hover {
    color: #b8e88c;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid #60745e;
    border-radius: 50%;
    font-weight: bold;
}

.footer-bottom {
    min-height: 60px;
    padding: 18px 4%;
    border-top: 1px solid #344635;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    color: #b7c4b5;
    font-size: 12px;
}


/* =========================
   17. COOKIE NOTICE
========================= */

.cookie-notice {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1000;
    width: min(420px, calc(100% - 40px));
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: white;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

.cookie-notice p {
    font-size: 12px;
    color: var(--text);
}

.cookie-notice button {
    padding: 8px 14px;
    flex-shrink: 0;
    border: none;
    border-radius: 5px;
    background: var(--green);
    color: white;
}


/* =========================
   18. TABLET RESPONSIVENESS
========================= */

@media (max-width: 1000px) {

    .header {
        flex-wrap: wrap;
    }

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

    .navbar {
        flex-wrap: wrap;
        padding: 0 4%;
        gap: 0;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        padding: 14px 0;
    }

    .hotline {
        display: none;
    }

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

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

    .weekly-deals {
        grid-template-columns: 1fr;
    }

    .weekly-card img {
        width: 140px;
    }

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

    .hero {
        min-height: 330px;
    }

    .hero-image {
        height: 280px;
    }
}


/* =========================
   19. SMALL TABLETS
========================= */

@media (max-width: 768px) {

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

    .top-bar > div {
        display: none;
    }

    .header {
        gap: 15px;
    }

    .logo {
        font-size: 28px;
    }

    .header-actions {
        gap: 12px;
    }

    .header-actions span {
        display: none;
    }

    .navbar {
        align-items: stretch;
    }

    .category-menu {
        width: 100%;
        text-align: center;
    }

    .nav-links {
        width: 100%;
        gap: 12px 18px;
        font-size: 13px;
    }

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

    .hero-content {
        max-width: 100%;
    }

    .hero-image {
        height: 260px;
    }

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

    .deal-banners {
        grid-template-columns: 1fr 1fr;
    }

    .deal:last-child {
        grid-column: 1 / -1;
    }

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

    .product-card > img {
        height: 170px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image img {
        height: 300px;
    }

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

    .newsletter-content {
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter-form {
        max-width: none;
        min-height: 50px;
    }
}


/* =========================
   20. PHONE RESPONSIVENESS
========================= */

@media (max-width: 480px) {

    .container,
    .header {
        width: 92%;
    }

    .top-bar {
        font-size: 11px;
    }

    .header {
        padding: 16px 0;
    }

    .logo {
        font-size: 25px;
    }

    .header-actions {
        gap: 9px;
        font-size: 18px;
    }

    .search input {
        padding: 12px;
        font-size: 13px;
    }

    .search button {
        padding: 0 14px;
        font-size: 13px;
    }

    .nav-links {
        gap: 10px 14px;
        font-size: 12px;
    }

    .hero {
        margin-top: 18px;
        padding: 22px;
        gap: 20px;
    }

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

    .hero-image {
        height: 220px;
    }

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

    .benefit {
        gap: 8px;
    }

    .benefit-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .benefit h3 {
        font-size: 12px;
    }

    .benefit p {
        font-size: 10px;
    }

    .promotions {
        gap: 15px;
    }

    .promo {
        min-height: 190px;
        padding: 16px;
    }

    .promo h2 {
        font-size: 20px;
    }

    .promo img {
        height: 125px;
        width: 38%;
    }

    .section {
        margin-top: 45px;
        margin-bottom: 45px;
    }

    .section-heading {
        align-items: start;
        gap: 10px;
    }

    .section-heading h2 {
        font-size: 24px;
    }

    .view-all {
        font-size: 12px;
    }

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

    .category-card img {
        height: 100px;
    }

    .deal-banners {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .deal:last-child {
        grid-column: auto;
    }

    .deal {
        min-height: 190px;
        padding: 20px;
    }

    .deal h2 {
        font-size: 22px;
    }

    .product-grid {
        gap: 10px;
    }

    .product-card {
        padding: 10px;
    }

    .product-card > img {
        height: 125px;
        margin-bottom: 10px;
    }

    .product-card h3 {
        font-size: 13px;
        min-height: 38px;
    }

    .product-category {
        font-size: 11px;
    }

    .stars {
        font-size: 11px;
    }

    .stars small {
        font-size: 10px;
    }

    .price {
        font-size: 16px;
    }

    .cart-button {
        padding: 9px 5px;
        font-size: 11px;
    }

    .tag {
        top: 8px;
        left: 8px;
        font-size: 10px;
    }

    .wishlist {
        top: 8px;
        right: 8px;
        width: 27px;
        height: 27px;
        font-size: 17px;
    }

    .weekly-card {
        padding: 12px;
        gap: 12px;
    }

    .weekly-card img {
        width: 95px;
        height: 110px;
    }

    .weekly-card h3 {
        font-size: 13px;
    }

    .about-section {
        padding: 45px 0;
    }

    .about-image img {
        height: 230px;
    }

    .about-text h2 {
        font-size: 26px;
    }

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

    .blog-card > img {
        height: 210px;
    }

    .newsletter {
        padding: 40px 0;
    }

    .newsletter h2 {
        font-size: 25px;
    }

    .newsletter-form {
        flex-direction: column;
        border: none;
        background: transparent;
        gap: 10px;
    }

    .newsletter-form input {
        min-height: 48px;
        border: 1px solid var(--border);
        border-radius: 5px;
        background: white;
    }

    .newsletter-form button {
        min-height: 46px;
        border-radius: 5px;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        font-size: 11px;
    }

    .cookie-notice {
        left: 10px;
        bottom: 10px;
        width: calc(100% - 20px);
    }
}
