/* =====================================================
   FRESH FARM — Grocery Shop Design System
   All colors now use CSS variables set by the admin panel.
   Admin Panel → System Settings → Color → Base Color
   ===================================================== */

/* ---------- 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 ---------- */
.marketplace-main-menu {
    background: linear-gradient(135deg, var(--hov-primary) 0%, var(--primary) 60%, var(--primary) 100%) !important;
    border-bottom: 2px solid var(--hov-primary);
}

/* ---------- Header / Logo area ---------- */
.navbar,
nav.bg-dark {
    background: #fff !important;
    border-bottom: 3px solid var(--primary) !important;
    box-shadow: 0 2px 12px var(--soft-primary) !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 var(--soft-primary) !important;
    box-shadow: 0 2px 12px var(--soft-primary) !important;
    transition: box-shadow 0.25s ease, transform 0.25s ease !important;
    overflow: hidden;
}

.aiz-card-box:hover {
    box-shadow: 0 8px 28px var(--soft-primary) !important;
    transform: translateY(-3px) !important;
    border-color: var(--primary) !important;
}

/* Price badge */
.text-primary {
    color: var(--primary) !important;
}

.fw-700.text-primary {
    font-size: 1rem;
    background: var(--soft-primary);
    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, var(--hov-primary), var(--primary)) !important;
    transition: opacity 0.2s ease !important;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

.cart-btn:hover {
    background: linear-gradient(135deg, var(--hov-primary), var(--hov-primary)) !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: var(--soft-primary);
    border: 2px solid var(--soft-primary);
    padding: 8px;
    transition: background 0.2s, border-color 0.2s;
}

.size-80px:hover {
    background: var(--soft-primary);
    border-color: var(--primary);
}

/* ---------- 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: var(--hov-primary);
}

/* Section header bar accent */
.border-bottom-primary,
.border-bottom.border-primary {
    border-color: var(--primary) !important;
    border-width: 3px !important;
}

/* ---------- Buttons ---------- */
.btn-primary {
    background: var(--primary) !important;
    border-color: var(--primary) !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: var(--hov-primary) !important;
    border-color: var(--hov-primary) !important;
    box-shadow: 0 4px 14px var(--soft-primary) !important;
}

.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    border-radius: 8px !important;
    font-weight: 700;
}

.btn-outline-primary:hover {
    background: var(--primary) !important;
    color: #fff !important;
}

/* ---------- Banner / Hero Slider ---------- */
.aiz-carousel img {
    border-radius: 12px;
}

/* ---------- Flash Deal / Offer Sections ---------- */
.bg-primary {
    background: linear-gradient(135deg, var(--hov-primary), var(--primary)) !important;
}

.flash-deal-title,
.bg-primary .text-white {
    font-family: 'Nunito', sans-serif !important;
    font-weight: 800 !important;
}

/* ---------- Footer ---------- */
footer {
    background: var(--hov-primary) !important;
    border-top: 4px solid var(--secondary-base) !important;
}

footer .text-white {
    opacity: 0.92;
}

footer a.text-reset {
    color: rgba(255, 255, 255, 0.75) !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 var(--primary);
}

/* ---------- 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: var(--hov-primary);
}

/* ---------- Product detail page ---------- */
.product-price .text-primary {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
}

/* ---------- Badges ---------- */
.badge-primary {
    background: var(--primary) !important;
    border-radius: 6px !important;
}

.badge-warning {
    background: #f9a825 !important;
    color: var(--hov-primary) !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
}

/* ---------- Cart sidebar ---------- */
.cart-sidebar-title {
    background: linear-gradient(135deg, var(--hov-primary), var(--primary));
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
}

/* ---------- Wishlist icon heart ---------- */
.hov-svg-white:hover svg path {
    fill: var(--primary) !important;
}

/* ---------- Promo / top bar ---------- */
.top-bar,
.alert-success {
    background: var(--soft-primary) !important;
    color: var(--hov-primary) !important;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
}

/* ---------- Inputs / Forms ---------- */
.form-control:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.2rem var(--soft-primary) !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: var(--soft-primary);
}

.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: var(--soft-primary) !important;
}

.service-font-s {
    font-size: 80px !important;
}

@media (max-width: 480px) {
    .service-font-s {
        font-size: 55px !important;
    }
}
