/* ========================================
   VISTARA CREATIONS
   GLOBAL STYLES
   ======================================== */


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

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: #222;

    background: #fff;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

img {
    max-width: 100%;
}


/* ========================================
   NAVBAR
   ======================================== */

.navbar {
    width: 100%;

    background: #fff;

    border-bottom: 1px solid #eaeaea;
}


.navbar-container {
    width: 100%;
    max-width: 1200px;

    min-height: 74px;

    margin: 0 auto;

    padding: 0 24px;

    display: flex;
    align-items: center;

    box-sizing: border-box;
}


/* ========================================
   LOGO
   ======================================== */

.logo {
    flex-shrink: 0;

    color: #222;

    font-size: 16px;

    font-weight: 700;

    letter-spacing: 2px;

    white-space: nowrap;
}


/* ========================================
   NAVIGATION
   ======================================== */

.nav-menu {
    margin-left: auto;

    display: flex;

    align-items: center;

    gap: 30px;
}


.nav-link {
    position: relative;

    color: #555;

    font-size: 13px;

    font-weight: 500;

    transition:
        color 0.2s ease;
}


.nav-link:hover {
    color: #222;
}


.nav-link.active {
    color: #222;

    font-weight: 600;
}


.nav-link.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: -8px;

    height: 1px;

    background: #222;
}


/* ========================================
   NAV ACTIONS
   ======================================== */

.nav-actions {
    margin-left: 30px;

    display: flex;

    align-items: center;

    gap: 14px;
}


.nav-icon {
    position: relative;

    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #222;

    font-size: 20px;

    border-radius: 50%;

    transition:
        background 0.2s ease;
}


.nav-icon:hover {
    background: #f5f3ef;
}


.cart-icon {
    font-size: 17px;
}


.cart-count {
    position: absolute;

    top: -3px;
    right: -4px;

    min-width: 17px;
    height: 17px;

    padding: 0 4px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #222;

    color: #fff;

    font-size: 9px;

    font-weight: 700;

    line-height: 1;
}


/* ========================================
   MOBILE MENU BUTTON
   ======================================== */

.menu-toggle {
    width: 38px;
    height: 38px;

    margin-left: 10px;

    padding: 8px;

    display: none;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 5px;

    border: 0;

    background: transparent;

    cursor: pointer;
}


.menu-toggle span {
    width: 21px;
    height: 2px;

    display: block;

    background: #222;
}


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

.hero {
    width: 100%;

    background: #f7f5f1;
}


.hero-container {
    width: 100%;
    max-width: 1200px;

    min-height: 600px;

    margin: 0 auto;

    padding: 70px 24px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr) minmax(0, 1fr);

    align-items: center;

    gap: 70px;
}


.hero-content {
    width: 100%;

    max-width: 520px;
}


.hero-eyebrow {
    margin: 0 0 18px;

    color: #8a6a35;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;
}


.hero-content h1 {
    margin: 0 0 22px;

    color: #222;

    font-size: clamp(42px, 6vw, 68px);

    line-height: 1.05;

    font-weight: 600;
}


.hero-text {
    max-width: 500px;

    margin: 0 0 32px;

    color: #666;

    font-size: 17px;

    line-height: 1.8;
}


.hero-button {
    min-height: 48px;

    padding: 14px 25px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    background: #222;

    color: #fff;

    border-radius: 4px;

    font-size: 13px;

    font-weight: 700;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.hero-button:hover {
    background: #8a6a35;

    transform: translateY(-1px);
}


.hero-image {
    width: 100%;

    height: 500px;

    overflow: hidden;

    background: #e8e3db;
}


.hero-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


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

.section-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 90px 24px;
}


.section-heading {
    max-width: 700px;

    margin: 0 auto 50px;

    text-align: center;
}


.section-heading .section-eyebrow {
    margin: 0 0 14px;

    color: #8a6a35;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;
}


.section-heading h2 {
    margin: 0 0 15px;

    color: #222;

    font-size: clamp(30px, 4vw, 44px);

    line-height: 1.15;

    font-weight: 600;
}


.section-heading p:last-child {
    margin: 0;

    color: #666;

    font-size: 16px;

    line-height: 1.7;
}


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

.featured-products {
    width: 100%;

    background: #fff;
}


/* ========================================
   FEATURED PRODUCTS GRID
   ======================================== */

.featured-products-grid {

    width: 100%;

    margin: 0 0 45px;
    padding: 0;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;

    box-sizing: border-box;
}


@media (max-width: 650px) {

    .featured-products-grid {

        margin-bottom: 30px;

    }

}


/* ========================================
   FEATURED PRODUCT CARD
   ======================================== */

.featured-products-grid .product-card {
    width: 100%;

    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;

    background: #e8e3db;

    overflow: hidden;

    box-sizing: border-box;

    border: 2px solid #222;
    border-radius: 6px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.featured-products-grid .product-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.10);
}


/* ========================================
   FEATURED PRODUCT IMAGE
   ======================================== */

.featured-products-grid .product-image {
    width: 100%;
    height: 180px;

    flex: 0 0 180px;

    display: block;

    margin: 0;
    padding: 12px;

    overflow: hidden;

    background: #ffffff;

    box-sizing: border-box;
}


.featured-products-grid .product-image img {
    width: 100%;
    height: 100%;

    display: block;

    margin: 0;
    padding: 0;

    object-fit: cover;
    object-position: center;

    box-sizing: border-box;

    transition:
        transform 0.3s ease;
}


.featured-products-grid .product-card:hover .product-image img {
    transform: scale(1.03);
}


/* ========================================
   FEATURED PRODUCT INFORMATION
   ======================================== */

.featured-products-grid .product-info {
    width: 100%;

    min-height: 145px;

    margin: 0;
    padding: 12px 14px 14px;

    display: flex;
    flex-direction: column;

    justify-content: flex-start;

    box-sizing: border-box;

    overflow: visible;

    background: #e8e3db;
}


/* ========================================
   CATEGORY
   ======================================== */

/* ========================================
   PRODUCT CARD TYPOGRAPHY
   ======================================== */

.featured-products-grid .product-category {

    width: 100%;

    margin: 0 0 5px;

    font-family:
        Cambria,
        Cochin,
        Georgia,
        Times,
        'Times New Roman',
        serif;

    font-size: 9px;

    font-weight: 700;

    line-height: 1.2;

    text-transform: uppercase;

    letter-spacing: 1px;

    color: #777;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

}


.featured-products-grid .product-name {

    width: 100%;

    margin: 0;

    font-family:
        Cambria,
        Cochin,
        Georgia,
        Times,
        'Times New Roman',
        serif;

    font-size: 15px;

    font-weight: 700;

    line-height: 1.25;

    color: #222;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}


.featured-products-grid .product-price {

    width: 100%;

    margin: 6px 0 0;

    display: flex;

    flex-direction: column;

    gap: 2px;

    font-family:
        Cambria,
        Cochin,
        Georgia,
        Times,
        'Times New Roman',
        serif;

}


.featured-products-grid .price-kes {

    font-family:
        Cambria,
        Cochin,
        Georgia,
        Times,
        'Times New Roman',
        serif;

    font-size: 13px;

    font-weight: 700;

    line-height: 1.2;

    color: #222;

}


.featured-products-grid .price-usd {

    font-family:
        Cambria,
        Cochin,
        Georgia,
        Times,
        'Times New Roman',
        serif;

    font-size: 10px;

    font-weight: 700;

    line-height: 1.2;

    color: #777;

}


/* ========================================
   ADD TO CART
   ======================================== */

.featured-products-grid .add-to-cart-button {
    width: 100%;

    margin-top: 10px;

    padding: 9px 12px;

    border: 1px solid #222;

    border-radius: 4px;

    background: #222;

    color: #fff;

    font-family: inherit;

    font-size: 12px;

    font-weight: 600;

    line-height: 1.2;

    cursor: pointer;

    box-sizing: border-box;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.featured-products-grid .add-to-cart-button:hover {
    background: #000;
}


.featured-products-grid .add-to-cart-button:active {
    transform: translateY(1px);
}


.featured-products-grid .add-to-cart-button.added {
    background: #555;

    border-color: #555;
}


.featured-products-grid .add-to-cart-button:disabled {
    background: #aaa;

    border-color: #aaa;

    cursor: not-allowed;
}


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

.categories-section {

    width: 100%;

    background: #fff;

}


.categories-grid {

    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;

}


/* ========================================
   CATEGORY CARD
   ======================================== */

.category-card {

    width: 100%;

    height: 220px;

    padding: 30px;

    display: flex;

    align-items: flex-end;

    background: #04f5e1;

    color: #fff;

    border: 1px solid #292724;

    border-radius: 6px;

    overflow: hidden;

    box-sizing: border-box;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        background 0.3s ease;

}


.category-card:hover {

    transform: translateY(-5px);

    background: #3a3733;

}


.category-card h3 {

    margin: 0;

    color: #fff;

    font-family:
        Cambria,
        Cochin,
        Georgia,
        Times,
        'Times New Roman',
        serif;

    font-size: 22px;

    line-height: 1.2;

    font-weight: 700;

}


/* ========================================
   CATEGORY LOADING / EMPTY
   ======================================== */

.category-loading,
.category-empty {

    grid-column:
        1 / -1;

    padding:
        40px 20px;

    text-align: center;

    color: #777;

    font-size: 14px;

}


.category-loading p,
.category-empty p {

    margin: 0;

}


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

@media (max-width: 900px) {

    .categories-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


@media (max-width: 500px) {

    .categories-grid {

        grid-template-columns:
            1fr;

        gap: 15px;

    }


    .category-card {

        height: 170px;

        padding: 22px;

    }


    .category-card h3 {

        font-size: 19px;

    }

}

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

.about-section {
    background: #fff;
}


.about-content {
    max-width: 700px;

    margin: 0 auto;

    text-align: center;
}


.about-content h2 {
    margin: 0 0 20px;

    color: #222;

    font-size: clamp(32px, 4vw, 46px);

    line-height: 1.15;

    font-weight: 600;
}


.about-content p:not(.section-eyebrow) {
    max-width: 600px;

    margin: 0 auto 30px;

    color: #666;

    font-size: 17px;

    line-height: 1.8;
}


/* ========================================
   CONTACT
   ======================================== */

.contact-section {
    background: #f7f5f1;
}


/* ========================================
   TABLET
   ======================================== */

@media (max-width: 900px) {

    .hero-container {
        gap: 45px;
    }


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


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

}


/* ========================================
   MOBILE NAVIGATION
   ======================================== */

@media (max-width: 768px) {

    .navbar-container {
        position: relative;

        min-height: 68px;
    }


    .menu-toggle {
        display: flex;
    }


    .nav-actions {
        margin-left: auto;

        margin-right: 2px;
    }


    .nav-menu {
        display: none;

        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        margin: 0;

        padding: 20px 24px;

        background: #fff;

        border-bottom: 1px solid #eaeaea;

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;

        z-index: 100;
    }


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


    .nav-link.active::after {
        display: none;
    }


    /* HERO */

    .hero-container {
        min-height: auto;

        padding: 50px 24px;

        grid-template-columns: 1fr;

        gap: 40px;
    }


    .hero-content {
        max-width: none;

        text-align: center;
    }


    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }


    .hero-image {
        height: 400px;
    }

}


/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 650px) {

    .section-container {
        padding: 65px 20px;
    }


    .section-heading {
        margin-bottom: 35px;
    }


    /* FEATURED PRODUCTS */

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

        gap: 12px;
    }


    .featured-products-grid .product-image {
        height: 140px;

        padding: 10px;
    }


    .featured-products-grid .product-info {
        height: 90px;

        padding: 10px;
    }


    .featured-products-grid .product-name {
        font-size: 14px;
    }


    .featured-products-grid .price-kes {
        font-size: 12px;
    }


    .featured-products-grid .price-usd {
        font-size: 10px;
    }


    /* CATEGORIES */

    .categories-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }


    .category-card {
        height: 180px;

        padding: 24px;
    }


    .category-card h3 {
        font-size: 20px;
    }

}


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

.site-footer {

    width: 100%;

    margin-top: 30px;

    background: #222;

    color: #fff;

}


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

.footer-container {

    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

    padding: 35px;

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr 1.5fr;

    gap: 50px;

    box-sizing: border-box;

}


/* ========================================
   BRAND
   ======================================== */

.footer-brand {

    max-width: 330px;

}


.footer-logo {

    display: inline-block;

    margin: 0 0 16px;

    color: #fff;

    font-size: 17px;

    font-weight: 700;

    letter-spacing: 1.2px;

    line-height: 1.2;

    text-decoration: none;

}


.footer-brand p {

    max-width: 300px;

    margin: 0;

    color: #aaa;

    font-size: 13px;

    line-height: 1.8;

}


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

.footer-column {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

}


.footer-column h3 {

    margin: 0 0 18px;

    color: #fff;

    font-size: 12px;

    font-weight: 700;

    line-height: 1.2;

    text-transform: uppercase;

    letter-spacing: 1.5px;

}


.footer-column a {

    display: inline-block;

    margin: 0 0 11px;

    color: #aaa;

    font-size: 13px;

    line-height: 1.5;

    text-decoration: none;

    transition:
        color 0.2s ease;

}


.footer-column a:hover {

    color: #fff;

}


.footer-column p {

    margin: 0;

    color: #aaa;

    font-size: 13px;

    line-height: 1.6;

}


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

.footer-bottom {

    width: 100%;

    border-top:
        1px solid #3d3d3d;

}


.footer-bottom-container {

    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

    padding: 18px 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    box-sizing: border-box;

}


.footer-bottom-container p {

    margin: 0;

    color: #888;

    font-size: 11px;

    line-height: 1.5;

}


.footer-legal {

    display: flex;

    align-items: center;

    gap: 22px;

}


.footer-legal a {

    color: #888;

    font-size: 11px;

    line-height: 1.5;

    text-decoration: none;

    transition:
        color 0.2s ease;

}


.footer-legal a:hover {

    color: #fff;

}


/* ========================================
   TABLET
   ======================================== */

@media (max-width: 850px) {

    .footer-container {

        grid-template-columns:
            1.5fr 1fr 1fr;

        gap: 40px;

    }


    .footer-brand {

        grid-column:
            1 / -1;

        max-width: 500px;

    }

}


/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 600px) {

    .footer-container {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 40px 30px;

        padding:
            45px 20px;

    }


    .footer-brand {

        grid-column:
            1 / -1;

        max-width: 100%;

    }


    .footer-brand p {

        max-width: 100%;

    }


    .footer-bottom-container {

        padding:
            18px 20px;

        flex-direction: column;

        align-items: flex-start;

        gap: 12px;

    }


    .footer-legal {

        gap: 18px;

    }

}


/* ========================================
   SMALL MOBILE
   ======================================== */

@media (max-width: 400px) {

    .footer-container {

        grid-template-columns:
            1fr;

        gap: 30px;

    }


    .footer-brand {

        grid-column:
            auto;

    }


    .footer-bottom-container {

        align-items: flex-start;

    }

}