
/* =========================================================
   FASTXMART - MAIN STYLESHEET
   ========================================================= */

:root {
    --primary: #16a34a;
    --primary-dark: #087f3d;
    --primary-light: #eaf8ef;

    --orange: #f59e0b;
    --dark: #14201a;
    --text: #526158;
    --muted: #7b8780;

    --white: #ffffff;
    --light: #f7faf8;
    --border: #e7eee9;

    --shadow: 0 15px 45px rgba(19, 55, 35, 0.09);
    --radius: 20px;
}


/* =========================================================
   RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
}

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

button {
    font-family: inherit;
}

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


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Outfit", sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.logo > span:last-child > span {
    color: var(--primary);
}

.logo small {
    display: block;
    margin-top: 5px;
    font-family: "DM Sans", sans-serif;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--muted);
}

.logo-icon {
    width: 43px;
    height: 43px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--primary);
    box-shadow: 0 8px 20px rgba(22,163,74,.25);
    font-size: 19px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 27px;
}

.main-nav a {
    color: #4d5a52;
    font-size: 14px;
    font-weight: 600;
    transition: .25s;
}

.main-nav a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 12px;
    color: var(--white);
    background: var(--primary);
    font-size: 13px;
    font-weight: 700;
    transition: .25s;
}

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

.menu-toggle {
    display: none;
    width: 43px;
    height: 43px;
    border: 0;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 20px;
    cursor: pointer;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    overflow: hidden;
    min-height: 650px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(120deg, #f3fbf5 0%, #ffffff 55%, #fff9ee 100%);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    gap: 60px;
}

.hero-content {
    padding: 70px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    margin-bottom: 20px;
    border-radius: 50px;
    color: var(--primary-dark);
    background: #e2f7e8;
    font-size: 12px;
    font-weight: 700;
}

.hero h1 {
    margin-bottom: 20px;
    color: var(--dark);
    font-family: "Outfit", sans-serif;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.03;
    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    max-width: 600px;
    margin-bottom: 30px;
    font-size: 17px;
    color: var(--text);
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    transition: .25s;
}

.btn-primary {
    color: var(--white);
    background: var(--primary);
    box-shadow: 0 10px 25px rgba(22,163,74,.22);
}

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

.btn-light {
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--dark);
}

.btn-light:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-white {
    background: var(--white);
    color: var(--primary-dark);
}

.btn-white:hover {
    transform: translateY(-3px);
}

.hero-trust {
    display: flex;
    gap: 30px;
    margin-top: 42px;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-item strong {
    color: var(--dark);
    font-family: "Outfit", sans-serif;
    font-size: 17px;
}

.trust-item span {
    color: var(--muted);
    font-size: 11px;
}

.hero-visual {
    position: relative;
    min-height: 510px;
    display: grid;
    place-items: center;
}

.hero-circle {
    position: absolute;
    width: 410px;
    height: 410px;
    border-radius: 50%;
    background: #e3f7e9;
}

.basket-visual {
    position: relative;
    z-index: 2;
    width: 330px;
    height: 330px;
    display: grid;
    place-items: center;
}

.basket {
    position: absolute;
    bottom: 20px;
    font-size: 190px;
    color: #b87528;
    filter: drop-shadow(0 18px 15px rgba(0,0,0,.12));
}

.fruit {
    position: absolute;
    z-index: 3;
    width: 75px;
    height: 75px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    font-size: 34px;
    box-shadow: 0 12px 25px rgba(0,0,0,.13);
}

.fruit-orange {
    top: 45px;
    left: 70px;
    background: #f59e0b;
}

.fruit-green {
    top: 25px;
    right: 55px;
    background: var(--primary);
}

.fruit-red {
    top: 115px;
    left: 125px;
    background: #ef4444;
}

.floating-card {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 16px;
    background: rgba(255,255,255,.95);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.floating-card > i {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--primary);
    background: var(--primary-light);
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    color: var(--dark);
    font-size: 12px;
}

.floating-card small {
    color: var(--muted);
    font-size: 10px;
}

.card-top {
    top: 70px;
    right: 15px;
}

.card-bottom {
    bottom: 70px;
    left: 5px;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.shape-one {
    width: 200px;
    height: 200px;
    top: -100px;
    left: -100px;
    background: rgba(22,163,74,.05);
}

.shape-two {
    width: 280px;
    height: 280px;
    right: -160px;
    bottom: -150px;
    background: rgba(245,158,11,.06);
}


/* =========================================================
   BENEFITS
   ========================================================= */

.benefits {
    position: relative;
    z-index: 5;
    margin-top: -35px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.benefit {
    display: flex;
    gap: 13px;
    padding: 23px 18px;
    background: var(--white);
}

.benefit-icon {
    flex: 0 0 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
}

.benefit h3 {
    margin-bottom: 2px;
    color: var(--dark);
    font-size: 13px;
}

.benefit p {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    padding: 100px 0;
}

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

.section-heading.centered {
    display: block;
    max-width: 680px;
    margin: 0 auto 45px;
    text-align: center;
}

.eyebrow {
    display: block;
    margin-bottom: 9px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.section-heading h2,
.about-content h2,
.cta-box h2 {
    color: var(--dark);
    font-family: "Outfit", sans-serif;
    font-size: clamp(30px,4vw,45px);
    line-height: 1.12;
    letter-spacing: -1px;
}

.section-heading h2 span,
.about-content h2 span,
.cta-box h2 span {
    color: var(--primary);
}

.section-heading > p {
    max-width: 350px;
    color: var(--muted);
    font-size: 13px;
}


/* =========================================================
   CATEGORIES
   ========================================================= */

.categories-section {
    background: var(--white);
}

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

.category-card {
    padding: 12px 12px 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    text-align: center;
    transition: .3s;
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: #bde5c9;
    box-shadow: var(--shadow);
}

.category-image {
    height: 145px;
    margin-bottom: 15px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 52px;
}

.green-bg { background: #e9f8ee; color: #32a852; }
.orange-bg { background: #fff4df; color: #f59e0b; }
.yellow-bg { background: #fff9dc; color: #c89400; }
.blue-bg { background: #e8f3ff; color: #3985d1; }
.pink-bg { background: #fff0f3; color: #ef6d88; }
.purple-bg { background: #f2edff; color: #8762d8; }
.teal-bg { background: #e5f8f6; color: #1a9b8e; }
.red-bg { background: #fff0ed; color: #e75b44; }

.category-card h3 {
    margin-bottom: 2px;
    color: var(--dark);
    font-family: "Outfit", sans-serif;
    font-size: 17px;
}

.category-card p {
    color: var(--muted);
    font-size: 11px;
}


/* =========================================================
   OFFER
   ========================================================= */

.offer-section {
    padding: 0 0 100px;
}

.offer-banner {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 70px;
    border-radius: 25px;
    color: var(--white);
    background: linear-gradient(120deg, #087f3d, #16a34a);
}

.offer-content {
    position: relative;
    z-index: 2;
}

.offer-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    opacity: .8;
}

.offer-banner h2 {
    max-width: 550px;
    margin: 8px 0 10px;
    font-family: "Outfit", sans-serif;
    font-size: clamp(30px,4vw,45px);
    line-height: 1.1;
}

.offer-banner h2 strong {
    color: #d7f9df;
}

.offer-banner p {
    margin-bottom: 22px;
    color: rgba(255,255,255,.78);
}

.offer-decoration {
    width: 230px;
    height: 230px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.85);
    font-size: 120px;
}


/* =========================================================
   PRODUCTS
   ========================================================= */

.products-section {
    background: var(--light);
}

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

.product-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    transition: .3s;
}

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

.product-image {
    position: relative;
    height: 190px;
    display: grid;
    place-items: center;
    background: #f1f8f3;
    color: var(--primary);
    font-size: 70px;
}

.product-card:nth-child(2) .product-image {
    background: #fff5e5;
    color: #ef9b18;
}

.product-card:nth-child(3) .product-image {
    background: #fff9e2;
    color: #c79a17;
}

.product-card:nth-child(4) .product-image {
    background: #eaf3ff;
    color: #4c88c8;
}

.product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    border-radius: 7px;
    background: var(--white);
    color: var(--primary);
    font-size: 9px;
    font-weight: 800;
}

.product-info {
    padding: 17px;
}

.product-info small {
    color: var(--muted);
    font-size: 10px;
}

.product-info h3 {
    margin: 3px 0 14px;
    color: var(--dark);
    font-family: "Outfit", sans-serif;
    font-size: 17px;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-bottom strong {
    color: var(--primary);
    font-size: 12px;
}

.product-bottom button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 9px;
    background: var(--primary);
    color: var(--white);
    cursor: pointer;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
    padding: 100px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
    min-height: 430px;
    display: grid;
    place-items: center;
    border-radius: 25px;
    background: #eaf8ef;
}

.about-main-card {
    width: 270px;
    height: 270px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--primary);
    box-shadow: 0 25px 45px rgba(22,163,74,.25);
}

.about-main-card i {
    margin-bottom: 12px;
    font-size: 65px;
}

.about-main-card strong {
    font-family: "Outfit", sans-serif;
    font-size: 28px;
}

.about-main-card span {
    font-size: 11px;
    opacity: .8;
}

.about-small-card {
    position: absolute;
    right: 30px;
    bottom: 35px;
    padding: 15px 22px;
    border-radius: 13px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.about-small-card strong,
.about-small-card span {
    display: block;
}

.about-small-card strong {
    color: var(--primary);
    font-family: "Outfit", sans-serif;
    font-size: 20px;
}

.about-small-card span {
    color: var(--muted);
    font-size: 10px;
}

.about-content > p {
    margin: 18px 0;
    color: var(--text);
    font-size: 14px;
}

.about-points {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
    margin: 25px 0 30px;
}

.about-points div {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--dark);
    font-size: 12px;
    font-weight: 600;
}

.about-points i {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 10px;
}


/* =========================================================
   LOCATIONS
   ========================================================= */

.locations-section {
    background: var(--light);
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 12px;
}

.location-card {
    padding: 22px 10px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--white);
    text-align: center;
    transition: .25s;
}

.location-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.location-card i {
    display: block;
    margin-bottom: 6px;
    color: var(--primary);
}

.location-card span {
    color: var(--dark);
    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   REVIEWS
   ========================================================= */

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

.review-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 8px 25px rgba(0,0,0,.025);
}

.stars {
    margin-bottom: 13px;
    color: #f5a623;
    letter-spacing: 2px;
    font-size: 13px;
}

.review-card > p {
    min-height: 90px;
    color: var(--text);
    font-size: 13px;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.avatar {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 800;
}

.review-user strong,
.review-user span {
    display: block;
}

.review-user strong {
    color: var(--dark);
    font-size: 12px;
}

.review-user span {
    color: var(--muted);
    font-size: 10px;
}


/* =========================================================
   CTA
   ========================================================= */

.cta-section {
    padding: 0 0 100px;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 55px 65px;
    border-radius: 25px;
    background: #effaf2;
}

.cta-box p {
    max-width: 570px;
    margin-top: 12px;
    color: var(--text);
    font-size: 13px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    color: #aebbb2;
    background: #122019;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1.3fr;
    gap: 50px;
    padding: 70px 0 55px;
}

.footer-logo {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-brand > p {
    max-width: 300px;
    margin-bottom: 22px;
    color: #91a098;
    font-size: 12px;
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-links a {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(255,255,255,.07);
    color: #dce8e0;
    font-size: 12px;
    transition: .2s;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-column h3 {
    margin-bottom: 18px;
    color: var(--white);
    font-family: "Outfit", sans-serif;
    font-size: 14px;
}

.footer-column a {
    display: block;
    margin-bottom: 9px;
    color: #91a098;
    font-size: 12px;
    transition: .2s;
}

.footer-column a:hover {
    color: #fff;
}

.footer-column p {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    color: #91a098;
    font-size: 11px;
}

.footer-column p i {
    margin-top: 5px;
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
}

.footer-bottom .container {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p,
.footer-bottom a {
    color: #718078;
    font-size: 10px;
}

.footer-bottom div {
    display: flex;
    gap: 20px;
}


/* =========================================================
   WHATSAPP
   ========================================================= */

.whatsapp-btn {
    position: fixed;
    z-index: 999;
    right: 22px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 18px;
    border-radius: 50px;
    color: var(--white);
    background: #25d366;
    box-shadow: 0 12px 30px rgba(37,211,102,.3);
    font-size: 12px;
    font-weight: 800;
    transition: .25s;
}

.whatsapp-btn i {
    font-size: 20px;
}

.whatsapp-btn:hover {
    transform: translateY(-4px);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .main-nav {
        gap: 17px;
    }

    .hero-grid {
        gap: 25px;
    }

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

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

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

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

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

}


@media (max-width: 800px) {

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

    .header-inner {
        min-height: 70px;
    }

    .main-nav {
        position: absolute;
        top: 70px;
        left: 14px;
        right: 14px;
        display: none;
        padding: 15px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border: 1px solid var(--border);
        border-radius: 15px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        padding: 12px;
        border-radius: 8px;
    }

    .main-nav a:hover {
        background: var(--primary-light);
    }

    .menu-toggle {
        display: grid;
        place-items: center;
    }

    .cart-btn span {
        display: none;
    }

    .hero {
        min-height: auto;
    }

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

    .hero-content {
        padding: 65px 0 30px;
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        min-height: 400px;
    }

    .hero-circle {
        width: 320px;
        height: 320px;
    }

    .card-top {
        right: 5%;
    }

    .card-bottom {
        left: 5%;
    }

    .section {
        padding: 75px 0;
    }

    .section-heading {
        display: block;
    }

    .section-heading > p {
        margin-top: 15px;
    }

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

    .offer-banner {
        padding: 40px 30px;
    }

    .offer-decoration {
        display: none;
    }

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

    .about-visual {
        min-height: 350px;
    }

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

    .review-card > p {
        min-height: auto;
    }

    .cta-box {
        padding: 40px 30px;
        flex-direction: column;
        align-items: flex-start;
    }

}


@media (max-width: 520px) {

    .logo {
        font-size: 21px;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero-trust {
        gap: 18px;
    }

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

    .category-grid,
    .product-grid {
        grid-template-columns: 1fr 1fr;
    }

    .category-image {
        height: 115px;
        font-size: 42px;
    }

    .product-image {
        height: 150px;
        font-size: 55px;
    }

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

    .about-points {
        grid-template-columns: 1fr;
    }

    .about-main-card {
        width: 220px;
        height: 220px;
    }

    .about-main-card i {
        font-size: 50px;
    }

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

    .footer-bottom .container {
        padding: 18px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .whatsapp-btn {
        right: 15px;
        bottom: 15px;
        width: 52px;
        height: 52px;
        padding: 0;
        justify-content: center;
    }

    .whatsapp-btn span {
        display: none;
    }

}
