/* fonts */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

html {
    height: 100%;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #f5f8f2;
    color: #333333;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* utility */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 26px;
    border-radius: 24px;
    border: none;
    background: #18a145;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.1s ease;
}

.btn:hover {
    background: #15843a;
    transform: translateY(-1px);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 11px;
}

/* header */

.header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8d8;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8d8;
}

.promo-bar {
    display: none;
    background: #2b221d;
    color: #ffffff;
}

.promo-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 0;
    text-align: center;
}

.promo-text {
    font-size: 12px;
    line-height: 1.3;
}

.promo-btn {
    background: #a86c2b;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 18px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 16px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.menu-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    position: relative;
    cursor: pointer;
    display: none;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
    display: block;
    width: 20px;
    height: 2px;
    background: #333333;
    border-radius: 2px;
    position: relative;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    left: 0;
}

.menu-icon::before {
    top: -6px;
}

.menu-icon::after {
    top: 6px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
    border-radius: 0;
    display: block;
}

.brand-word {
    display: none;
    font-weight: 700;
    font-size: 18px;
    color: #7b4b22;
    text-transform: lowercase;
}

.brand-text {
    font-weight: 700;
    font-size: 18px;
}

.brand-green {
    color: #18a145;
}

.brand-orange {
    color: #e3a326;
}

.account-btn {
    background: #ffcc2e;
    border: none;
    border-radius: 18px;
    padding: 6px 14px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-link {
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    font-size: 14px;
    position: relative;
}

.nav-link.has-caret::after {
    content: '▾';
    font-size: 12px;
    margin-left: 6px;
    color: #777777;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.location-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 18px;
    border: 1px solid #dfe7d5;
    background: #ffffff;
    color: #2d5b39;
    font-size: 12px;
}

.icon-btn {
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 13px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-brand-logo {
    width: 56px;
    height: 56px;
    border-radius: 0%;
    overflow: hidden;
}

.header-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-brand-title {
    font-weight: 700;
    font-size: 18px;
    color: #208a3b;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-actions a,
.header-actions button {
    font-size: 13px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #333333;
}

.header-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0 14px;
    font-size: 13px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-nav a {
    text-decoration: none;
    color: #333333;
    font-weight: 500;
}

.header-nav a.active {
    color: #18a145;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-cta {
    background: #ffcc2e;
    border-radius: 18px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* hero section */

.hero {
    background: url('img/herobanner.png') center/cover no-repeat;
    color: #ffffff;
    padding: 26px 0 18px;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}

.hero-content h1 {
    font-size: 38px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 14px;
    margin-bottom: 12px;
}

.hero-offer {
    background: rgba(0, 0, 0, 0.18);
    border-radius: 18px;
    display: inline-flex;
    padding: 4px 14px;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    margin-bottom: 8px;
}

.hero-code-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #333333;
    padding: 8px 14px;
    border-radius: 24px;
    margin-bottom: 14px;
}

.hero-code-label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    color: #777777;
}

.hero-code {
    padding: 4px 10px;
    border-radius: 14px;
    background: #ffe39a;
    font-weight: 700;
    font-size: 13px;
}

/* features bar */
.features-bar {
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 0;
}

.features-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #2a3a25;
}

/* mobile drawer */
.mobile-drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mobile-drawer-overlay.active {
    display: block;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: -300px;
    /* Hidden by default */
    width: 280px;
    height: 100%;
    background: #fdfaf6;
    /* Beige tone from screenshot */
    z-index: 1000;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-drawer.active {
    left: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #fdfaf6;
}

.drawer-title {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    color: #333;
}

.drawer-close {
    background: #e0e0e0;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #555;
}

.drawer-content {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
}

.drawer-link {
    padding: 14px 20px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #eee;
    background: #fdfaf6;
}

.drawer-link:hover {
    background: #f5f5f5;
}

.drawer-footer {
    margin-top: auto;
    padding: 20px;
    border-top: 1px solid #eee;
}

.drawer-login {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
}

.drawer-socials {
    display: flex;
    gap: 16px;
}

.social-icon {
    text-decoration: none;
    color: #777;
    font-size: 16px;
}


/* hero right image */

.hero-image {
    position: relative;
}

.hero-image-main {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 73, 38, 0.6);
}

.hero-image-main img {
    width: 100%;
    height: auto;
    display: block;
}

/* category section */

.section {
    padding: 36px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 22px;
    font-size: 24px;
    font-weight: 700;
    color: #2a3a25;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.category-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px 14px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(16, 54, 32, 0.08);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(16, 54, 32, 0.12);
}

.category-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 10px;
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-card h3 {
    font-size: 14px;
    font-weight: 600;
}

/* best deals */

.deals-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.product-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(16, 54, 32, 0.09);
    display: flex;
    flex-direction: column;
}

.product-img {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
}

.product-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.product-caret {
    color: #18a145;
    font-size: 14px;
}

.product-title {
    font-weight: 600;
}

.product-subtitle {
    font-size: 12px;
    color: #6b7280;
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
}

.product-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rating-group {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.stars {
    color: #f0b631;
    letter-spacing: 2px;
    display: inline-block;
    line-height: 1;
}

.rating-num {
    color: #6b7280;
    display: inline-block;
}

.product-price {
    font-weight: 700;
    font-size: 14px;
}

.product-meta-bottom {
    color: #6b7280;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #f0b631;
}

.product-actions {
    margin-top: 8px;
    display: flex;
    justify-content: flex-end;
}

/* why choose */

.why {
    background: url('../img/whychoose.png') no-repeat center center;
    background-size: cover;
    border-radius: 22px;
    padding: 24px 22px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 18px;
    align-items: center;
    box-shadow: 0 8px 24px rgba(16, 54, 32, 0.08);
}

.why-title {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 700;
    color: #2a3a25;
}

.why-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    font-size: 13px;
    margin-bottom: 14px;
}

.why-list-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.why-image img {
    width: 100%;
    height: auto;
}

/* footer mini */

.footer-mini {
    background: url('../img/footerimg.jpg') no-repeat center center;
    background-size: cover;
    color: #ffffff;
    padding: 14px 0;
    font-size: 14px;
    margin-top: auto !important;
    flex-shrink: 0;
}

.footer-mini-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.footer-consent {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #18a145;
    font-weight: 600;
    -webkit-text-stroke: 0.5px black;
}

.footer-input {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    padding: 4px;
    border-radius: 22px;
}

.footer-input input {
    border: none;
    outline: none;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 18px;
}

.footer-input button {
    padding: 6px 16px;
    border-radius: 18px;
    border: none;
    background: #18a145;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

/* Search Styles */
.header_search {
    flex-grow: 1;
    margin: 0 20px;
    max-width: 500px;
    position: relative;
}

.header_search_form_container {
    display: flex;
    align-items: center;
    background: #f1f1f1;
    border-radius: 25px;
    padding: 5px 15px;
    width: 100%;
}

.header_search_input {
    border: none;
    background: transparent;
    outline: none;
    padding: 8px;
    flex-grow: 1;
    font-size: 14px;
}

.header_search_button {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
}

.header_search_button img {
    width: 18px;
    height: 18px;
}

.suggestions-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1050;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    margin-top: 5px;
}

.suggestions-container .product {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
    font-size: 14px;
    color: #333;
}

.suggestions-container .product:last-child {
    border-bottom: none;
}

.suggestions-container .product:hover {
    background: #f9f9f9;
}

.suggestions-container .product a {
    text-decoration: none;
    color: #18a145;
    font-weight: bold;
    font-size: 13px;
    margin-left: auto;
}

.mobile-search-container {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

/* mobile search */
.mobile-search-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #333;
}

.mobile-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #ffffff;
    z-index: 2000;
    display: none;
    align-items: center;
    padding: 0 16px;
    gap: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-search-overlay.active {
    display: flex;
}

.mobile-search-overlay .header_search_form_container {
    flex: 1;
    background: #f1f3f5;
    border-radius: 20px;
    padding: 2px 15px;
    display: flex;
    align-items: center;
}

.mobile-search-overlay .header_search_input {
    border: none;
    background: transparent;
    padding: 10px 0;
    width: 100%;
    outline: none;
    font-size: 14px;
}

.mobile-search-close {
    background: transparent;
    border: none;
    font-size: 20px;
    color: #666;
    padding: 8px;
}

/* responsive */

@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .deals-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .why {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 640px) {
    .header-middle {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .header-inner {
        flex-wrap: nowrap;
        gap: 8px;
        padding: 4px 0;
    }

    .header-nav {
        display: none;
    }

    .account-btn {
        display: none;
    }

    .location-btn {
        display: none;
    }

    .promo-bar {
        display: block;
    }

    .menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .header-right {
        margin-left: auto;
    }

    .mobile-search-btn {
        display: inline-flex;
    }

    .header-brand-logo {
        width: 48px;
        height: 48px;
    }

    .brand-logo {
        height: 40px;
        width: auto;
        border-radius: 0;
        object-fit: contain;
    }

    .brand-word {
        display: inline;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .deals-row {
        grid-template-columns: 1fr;
    }

    .footer-mini-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    @media (max-width: 768px) {
        .header-nav {
            display: none;
        }

        .header_search {
            display: none;
            /* Hide desktop search on mobile */
        }
    }
}