/* =====================================================
   FRESH FARM — Grocery Shop Design System
   ===================================================== */

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6,
.fw-700, .fw-800, .fw-900 {
    font-family: 'Nunito', sans-serif;
    letter-spacing: -0.02em;
}

/* ---------- Top Nav bar (green bar) ---------- */
.marketplace-main-menu {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 60%, #388e3c 100%) !important;
    border-bottom: 2px solid #1a4a1d;
}

/* ---------- Header / Logo area ---------- */
.navbar, nav.bg-dark {
    background: #fff !important;
    border-bottom: 3px solid var(--primary) !important;
    box-shadow: 0 2px 12px rgba(46, 125, 50, 0.12) !important;
}

/* ---------- Search bar ---------- */
.search-form .form-control,
#search .form-control {
    border-color: var(--primary) !important;
    border-width: 2px !important;
    border-radius: 8px 0 0 8px !important;
    font-family: 'Nunito', sans-serif;
}

#search .btn-primary,
.search-form .btn {
    border-radius: 0 8px 8px 0 !important;
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    font-weight: 700;
}

/* ---------- Product Cards ---------- */
.aiz-card-box {
    border-radius: 12px !important;
    border: 1px solid #e8f5e9 !important;
    box-shadow: 0 2px 12px rgba(46, 125, 50, 0.07) !important;
    transition: box-shadow 0.25s ease, transform 0.25s ease !important;
    overflow: hidden;
}

.aiz-card-box:hover {
    box-shadow: 0 8px 28px rgba(46, 125, 50, 0.18) !important;
    transform: translateY(-3px) !important;
    border-color: #a5d6a7 !important;
}

/* Price badge */
.text-primary {
    color: #2e7d32 !important;
}

.fw-700.text-primary {
    font-size: 1rem;
    background: #e8f5e9;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-block;
}

/* Unit label next to price (e.g. / kg) */
.fs-12.text-secondary {
    font-size: 11px;
    color: #78909c !important;
    font-weight: 500;
}

/* Discount tag */
.absolute-top-left.bg-primary {
    background: #e53935 !important;
    border-radius: 0 0 8px 0 !important;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    letter-spacing: 0;
}

/* Add to Cart button on product card */
.cart-btn {
    background: linear-gradient(135deg, #2e7d32, #43a047) !important;
    transition: opacity 0.2s ease !important;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

.cart-btn:hover {
    background: linear-gradient(135deg, #1b5e20, #2e7d32) !important;
}

/* ---------- Featured Category Carousel ---------- */
.pt-3.pt-md-2rem section,
section .bg-white.px-sm-3 {
    border-radius: 12px;
    overflow: hidden;
}

/* Category icon circle */
.size-80px {
    border-radius: 50%;
    background: #f1f8f1;
    border: 2px solid #c8e6c9;
    padding: 8px;
    transition: background 0.2s, border-color 0.2s;
}

.size-80px:hover {
    background: #c8e6c9;
    border-color: #2e7d32;
}

/* ---------- Section Headings ---------- */
.section-title,
.title-bordered h2,
h2.fs-16, h2.fs-18, h2.fs-20 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    color: #1b5e20;
}

/* Section header bar accent */
.border-bottom-primary,
.border-bottom.border-primary {
    border-color: #2e7d32 !important;
    border-width: 3px !important;
}

/* ---------- Buttons ---------- */
.btn-primary {
    background: #2e7d32 !important;
    border-color: #2e7d32 !important;
    border-radius: 8px !important;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: background 0.2s, box-shadow 0.2s !important;
}

.btn-primary:hover {
    background: #1b5e20 !important;
    border-color: #1b5e20 !important;
    box-shadow: 0 4px 14px rgba(46, 125, 50, 0.35) !important;
}

.btn-outline-primary {
    color: #2e7d32 !important;
    border-color: #2e7d32 !important;
    border-radius: 8px !important;
    font-weight: 700;
}

.btn-outline-primary:hover {
    background: #2e7d32 !important;
    color: #fff !important;
}

/* ---------- Banner / Hero Slider ---------- */
.aiz-carousel img {
    border-radius: 12px;
}

/* ---------- Flash Deal / Offer Sections ---------- */
.bg-primary {
    background: linear-gradient(135deg, #2e7d32, #43a047) !important;
}

.flash-deal-title,
.bg-primary .text-white {
    font-family: 'Nunito', sans-serif !important;
    font-weight: 800 !important;
}

/* ---------- Footer ---------- */
footer {
    background: #1b5e20 !important;
    border-top: 4px solid #f9a825 !important;
}

footer .text-white {
    opacity: 0.92;
}

footer a.text-reset {
    color: #c8e6c9 !important;
    transition: color 0.2s;
}

footer a.text-reset:hover {
    color: #fff !important;
}

/* ---------- Category Menu sidebar ---------- */
.hover-category-menu,
.click-category-menu {
    border-top: 3px solid #2e7d32;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb-item.active,
.breadcrumb-item a {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
}

/* ---------- Page titles ---------- */
.page-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    color: #1b5e20;
}

/* ---------- Product detail page ---------- */
.product-price .text-primary {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
}

/* ---------- Badges ---------- */
.badge-primary {
    background: #2e7d32 !important;
    border-radius: 6px !important;
}

.badge-warning {
    background: #f9a825 !important;
    color: #1b5e20 !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
}

/* ---------- Cart sidebar ---------- */
.cart-sidebar-title {
    background: linear-gradient(135deg, #1b5e20, #2e7d32);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
}

/* ---------- Wishlist icon heart ---------- */
.hov-svg-white:hover svg path {
    fill: #2e7d32 !important;
}

/* ---------- Promo / top bar ---------- */
.top-bar, .alert-success {
    background: #e8f5e9 !important;
    color: #1b5e20 !important;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
}

/* ---------- Inputs / Forms ---------- */
.form-control:focus {
    border-color: #2e7d32 !important;
    box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.15) !important;
}

/* ---------- Misc ---------- */
.card-img-overlay {
    background: rgba(0,0,0,0.42);
    padding: 2.25rem !important;
}

.seller_card_margin {
    margin-bottom: 10px;
}

.seller_btn-circle {
    padding: 20px;
    border-radius: 50%;
    text-align: center;
}

.btn-outline-light {
    color: #fff !important;
}

.btn-outline-light:hover {
    color: #000 !important;
}

.catbg {
    background: #f1f8f1;
}

.height-md-340px,
.sizefor-md-340px { height: 475px; }
.height-md-300px,
.sizefor-md-300px { height: 300px; }
.height-md-410px,
.sizefor-md-410px { height: 445px; }

.review_bg {
    background-color: #f1f8f1 !important;
}

.service-font-s { font-size: 80px !important; }

@media (max-width: 480px) {
    .service-font-s { font-size: 55px !important; }
}