@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
    --primary-color: #15803d;       /* Xanh lá đại ngàn Tây Nguyên */
    --primary-dark: #14532d;        /* Xanh rừng sâu */
    --primary-light: #22c55e;       /* Xanh mầm tươi */
    --accent-gold: #eab308;         /* Vàng hoàng kim OCOP / Hoa cà phê nở */
    --accent-amber: #d97706;        /* Hổ phách mật ong / Đất đỏ */
    --accent-red: #dc2626;          /* Đỏ bazan cờ lệnh xúc tiến */
    --dark-bg: #0f172a;             /* Đen xanh hiện đại */
    --surface-card: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 20px 35px -5px rgba(21, 128, 61, 0.15), 0 10px 15px -5px rgba(0, 0, 0, 0.05);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-main);
    background-color: #f8fafc;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Utility Gradients & Badges */
.bg-gradient-forest {
    background: linear-gradient(135deg, #14532d 0%, #15803d 50%, #166534 100%);
}

.bg-gradient-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #eab308 100%);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.text-gradient-forest {
    background: linear-gradient(135deg, #15803d, #047857);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #d97706, #eab308);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-forest {
    background-color: #dcfce7;
    color: #166534;
}

.badge-gold {
    background-color: #fef3c7;
    color: #b45309;
}

.badge-red {
    background-color: #fee2e2;
    color: #b91c1c;
}

.badge-blue {
    background-color: #e0f2fe;
    color: #0369a1;
}

.badge-ocop-5 {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}

.badge-ocop-4 {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
}

.badge-ocop-3 {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #ffffff;
}

/* Header & Navigation */
.top-bar {
    background-color: #0f172a;
    color: #94a3b8;
    font-size: 0.8125rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.top-bar-link:hover {
    color: var(--accent-gold);
}

.main-navbar {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #15803d, #047857);
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 6px 15px rgba(21, 128, 61, 0.35);
}

.brand-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #14532d;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.brand-subtitle {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent-amber);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    padding: 0.5rem 0.25rem;
    position: relative;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(20, 83, 45, 0.88) 100%), url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?w=1600&auto=format&fit=crop&q=80') center/cover no-repeat;
    color: #ffffff;
    padding: 5rem 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(234, 179, 8, 0.15), transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(34, 197, 94, 0.2), transparent 50%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.4rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    color: #fef08a;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #e2e8f0;
    max-width: 680px;
    margin-bottom: 2.25rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.85rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, #15803d 0%, #166534 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(21, 128, 61, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #166534 0%, #14532d 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(21, 128, 61, 0.5);
}

.btn-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.4);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(217, 119, 6, 0.5);
}

.btn-outline-light {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
    background-color: #ffffff;
    color: #14532d;
    transform: translateY(-2px);
}

.btn-outline-forest {
    background-color: transparent;
    color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
}

.btn-outline-forest:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Stats Counter Section */
.stats-section {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.08);
    margin-top: -3.5rem;
    position: relative;
    z-index: 10;
    padding: 2.5rem 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    position: relative;
}

.stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background-color: #dcfce7;
    color: var(--primary-color);
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Section Header Component */
.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 3.5rem;
}

.section-pretitle {
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* Card Styles */
.card-custom {
    background-color: var(--surface-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-custom:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(21, 128, 61, 0.25);
}

/* Product Card */
.product-card-img-wrap {
    position: relative;
    padding-top: 68%;
    overflow: hidden;
    background-color: #f1f5f9;
}

.product-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-custom:hover .product-card-img {
    transform: scale(1.06);
}

.product-card-badges {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    right: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.product-body {
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.7rem;
}

.product-producer {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-color);
}

.product-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #15803d;
}

.product-unit {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Category & Filter Tabs */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.filter-tab-btn {
    padding: 0.6rem 1.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background-color: #ffffff;
    color: #475569;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-tab-btn:hover,
.filter-tab-btn.active {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.25);
}

/* Livestream Box */
.live-stream-box {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: var(--radius-lg);
    color: #ffffff;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.live-badge-pulse {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #ef4444;
    color: #ffffff;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Investment Project Card */
.invest-card {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.invest-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-gold);
}

.invest-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    background-color: #f8fafc;
    padding: 1rem;
    border-radius: var(--radius-md);
    margin: 1rem 0;
}

.invest-meta-item {
    font-size: 0.8rem;
}

.invest-meta-label {
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.15rem;
}

.invest-meta-val {
    font-weight: 700;
    color: #0f172a;
}

/* Member Directory Card */
.member-card {
    background-color: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.member-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.member-logo-wrap {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f1f5f9;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.member-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Leadership Card */
.leader-card {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    text-align: center;
    transition: var(--transition-smooth);
}

.leader-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.leader-img-wrap {
    width: 130px;
    height: 130px;
    margin: 2rem auto 1.25rem;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #15803d, #eab308);
    overflow: hidden;
}

.leader-img-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1.5rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content-wrap {
    background-color: #ffffff;
    width: 100%;
    max-width: 750px;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
    position: relative;
    transform: scale(0.95);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-content-wrap {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    z-index: 10;
}

.modal-close-btn:hover {
    background-color: #fee2e2;
    color: #dc2626;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    background-color: #0f172a;
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-left: 4px solid var(--primary-color);
    animation: toastSlideIn 0.3s ease forwards;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Utilities */
@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ffffff;
        flex-direction: column;
        align-items: stretch;
        padding: 2rem 1.5rem;
        gap: 1rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        overflow-y: auto;
    }
    .nav-menu.active {
        transform: translateX(0);
    }
    .mobile-menu-btn {
        display: block !important;
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #0f172a;
    cursor: pointer;
}

/* ====================================================
   MARKET SHOWCASE - SENDAVN STYLE
   ==================================================== */

/* Vertical bar accent */
.market-section-bar {
    display: inline-block;
    width: 4px;
    height: 22px;
    background: var(--primary-color);
    border-radius: 4px;
    flex-shrink: 0;
}

/* Scrollable Category Icons */
.market-category-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
}
.market-category-scroll::-webkit-scrollbar { display: none; }

.market-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-main);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}
.market-cat-item:hover {
    transform: translateY(-3px);
}
.market-cat-item:hover .market-cat-icon {
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}
.market-cat-item.active .market-cat-icon {
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--primary-color);
}

.market-cat-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    transition: var(--transition-smooth);
}

.market-cat-item span {
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    color: #374151;
}

/* Feature Banner Grid */
.market-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 180px;
    gap: 12px;
}

@media (min-width: 768px) {
    .market-feature-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 260px;
    }
    .market-feature-grid .market-feature-card:first-child {
        grid-column: span 2;
    }
}

.market-feature-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: block;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.market-feature-card:hover {
    transform: scale(1.02);
}
.market-feature-card:hover .market-feature-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.1) 60%);
}

.market-feature-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.08) 60%);
    transition: background 0.35s ease;
}

.market-feature-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.1rem 1.2rem;
    z-index: 2;
}
.market-feature-sub {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}
.market-feature-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 0.6rem;
}
.market-feature-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.35);
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    transition: background 0.25s ease;
}
.market-feature-card:hover .market-feature-btn {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Filter Bar */
.market-filter-bar {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    box-shadow: var(--shadow-soft);
}

.market-filter-search {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.55rem 1rem;
}
.market-filter-search i {
    color: #94a3b8;
    font-size: 0.85rem;
}
.market-filter-search input {
    border: none;
    background: transparent;
    font-size: 0.85rem;
    color: var(--text-main);
    width: 100%;
    font-family: inherit;
}
.market-filter-search input:focus { outline: none; }
.market-filter-search input::placeholder { color: #94a3b8; }

.market-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.mft-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: inherit;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}
.mft-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #f0fdf4;
}
.mft-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(21,128,61,0.3);
}

.market-ocop-tabs {
    display: flex;
    gap: 0.4rem;
}

/* Product Showcase Grid (5 cols on large) */
.product-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (min-width: 640px) {
    .product-showcase-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .product-showcase-grid { grid-template-columns: repeat(5, 1fr); }
}

/* Sendavn-style Product Card (no price) */
.sp-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e8edf2;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    cursor: pointer;
}
.sp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(21,128,61,0.14);
    border-color: rgba(21,128,61,0.2);
}

.sp-img-wrap {
    position: relative;
    padding-top: 100%; /* 1:1 aspect ratio like sendavn */
    background: #f1f5f9;
    overflow: hidden;
}
.sp-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.sp-card:hover .sp-img {
    transform: scale(1.07);
}

.sp-badges {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    z-index: 2;
}

.sp-export-badge {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    z-index: 2;
}

.sp-body {
    padding: 0.8rem 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sp-cat {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}
.sp-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
    margin-bottom: 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sp-producer {
    font-size: 0.7rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.2rem;
}
.sp-origin {
    font-size: 0.68rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.7rem;
}
.sp-desc {
    font-size: 0.7rem;
    color: #64748b;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.75rem;
    flex-grow: 1;
}

.sp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.74rem;
    font-weight: 700;
    font-family: inherit;
    padding: 0.55rem;
    border-radius: 8px;
    border: 1.5px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 100%;
}
.sp-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(21,128,61,0.25);
}

.sp-packaging {
    font-size: 0.66rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.6rem;
}

.member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(21, 128, 61, 0.12);
    border-color: rgba(21, 128, 61, 0.3) !important;
}


