/* --- Marketplace Preview Section --- */
.marketplace-preview-section {
    background-color: #fcfcfc; /* Warm off-white */
    padding-top: 80px;
    padding-bottom: 90px;
    font-family: 'Inter', 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #1a1a1a;
}

@media (min-width: 768px) {
    .marketplace-preview-section {
        padding-top: 110px;
        padding-bottom: 120px;
    }
}

.marketplace-preview-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Header */
.marketplace-header {
    margin-bottom: 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mp-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #555555;
    margin-bottom: 16px;
}

.mp-heading {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: #0d1a12; /* Deep forest green */
    margin: 0 0 16px 0;
}

@media (min-width: 768px) {
    .mp-heading {
        font-size: 42px;
    }
}

.mp-subheading {
    font-size: 16px;
    color: #555555;
    max-width: 600px;
    line-height: 1.6;
    margin: 0;
}

/* Main Layout Grid */
.mp-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (min-width: 992px) {
    .mp-layout {
        grid-template-columns: 280px 1fr;
        gap: 60px;
    }
}

/* Categories Sidebar */
.mp-categories {
    background: transparent;
}

.mp-col-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #0d1a12;
}

.mp-category-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.mp-category-item {
    margin-bottom: 12px;
}

.mp-category-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #333333;
    padding: 12px 16px;
    border-radius: 8px;
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.mp-category-link:hover {
    border-color: #d1dac5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    text-decoration: none !important;
}

.mp-category-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mp-category-title::after {
    content: "→";
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.2s ease;
    color: #4a6331; /* Earthy green */
}

.mp-category-link:hover .mp-category-title::after {
    opacity: 1;
    transform: translateX(0);
}

.mp-category-desc {
    font-size: 13px;
    color: #777777;
    margin: 0;
}

.mp-view-all {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    color: #4a6331;
    text-decoration: none;
    transition: opacity 0.2s;
}

.mp-view-all:hover {
    opacity: 0.8;
    text-decoration: none !important;
}

/* Featured Products */
.mp-products-area {
    display: flex;
    flex-direction: column;
}

.mp-tabs {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #eeeeee;
    margin-bottom: 30px;
    padding-bottom: 12px;
}

.mp-tab {
    font-size: 15px;
    font-weight: 500;
    color: #888888;
    cursor: pointer;
    position: relative;
}

.mp-tab.active {
    color: #0d1a12;
    font-weight: 600;
}

.mp-tab.active::after {
    content: "";
    position: absolute;
    bottom: -13px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0d1a12;
}

.mp-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .mp-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .mp-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Product Card */
.mp-product-card {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.mp-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.04);
    text-decoration: none !important;
}

.mp-product-image-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #f9f9f9;
}

.mp-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mp-product-card:hover .mp-product-image {
    transform: scale(1.03);
}

.mp-product-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mp-product-category {
    font-size: 12px;
    color: #888888;
    margin-bottom: 6px;
}

.mp-product-title {
    font-size: 16px;
    font-weight: 600;
    color: #0d1a12;
    margin: 0 0 8px 0;
}

.mp-product-price {
    font-size: 16px;
    font-weight: 700;
    color: #4a6331;
    margin: 0 0 12px 0;
}

.mp-product-verified {
    font-size: 12px;
    color: #2b3618;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
}

.mp-product-verified i {
    color: #4a6331;
}

.mp-product-cta {
    margin-top: auto;
    font-size: 14px;
    font-weight: 600;
    color: #0d1a12;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Promotional Area */
.mp-promos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 992px) {
    .mp-promos {
        grid-template-columns: 1fr 2fr;
    }
}

.mp-promo-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    text-decoration: none;
    color: #ffffff;
}

.mp-promo-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.mp-promo-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.5s ease;
}

.mp-promo-card:hover .mp-promo-bg {
    transform: scale(1.05);
}
.mp-promo-card:hover {
    text-decoration: none !important;
}

.mp-promo-content {
    position: relative;
    z-index: 2;
}

.mp-promo-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.mp-promo-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 16px 0;
}

@media (min-width: 768px) {
    .mp-promo-title {
        font-size: 32px;
    }
}

.mp-promo-cta {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    background: #f7f9d8;
    color: #0d1a12;
    padding: 8px 20px;
    border-radius: 30px;
    transition: background 0.2s;
}

.mp-promo-card:hover .mp-promo-cta {
    background: #ffffff;
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
    .mp-fade-in-up {
        opacity: 0;
        transform: translateY(20px);
        animation: mpFadeInUp 0.8s ease forwards;
    }
    
    @keyframes mpFadeInUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
}
