/**
 * Featured Products Section - Exact Screenshot Copy
 * Location: /wp-content/plugins/daf-marketplace/assets/css/featured-products.css
 */

.daf-mp-featured-section {
    padding: 4rem 0;
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.daf-mp-featured-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Header */
.daf-mp-featured-header {
    margin-bottom: 3rem;
}

.daf-mp-section-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.daf-mp-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}

.daf-mp-header-left {
    flex: 1;
}

.daf-mp-header-right {
    flex-shrink: 0;
}

.daf-mp-featured-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 0.5rem;
}

.daf-mp-featured-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
}

.daf-mp-view-all-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #10b981;
    text-decoration: none;
    white-space: nowrap;
}

.daf-mp-view-all-link:hover {
    color: #059669;
}

/* Products Grid */
.daf-mp-featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Product Card */
.daf-mp-product-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.daf-mp-product-card:hover {
    border-color: #10b981;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* Product Image */
.daf-mp-product-image {
    position: relative;
    height: 300px;
    background: #f9fafb;
    overflow: hidden;
}

.daf-mp-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.daf-mp-product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 2;
}

.daf-mp-wishlist-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    font-size: 1rem;
    color: #6b7280;
    cursor: pointer;
    z-index: 2;
}

.daf-mp-wishlist-btn:hover {
    color: #ef4444;
    border-color: #ef4444;
}

/* Product Content */
.daf-mp-product-content {
    padding: 1.5rem;
}

.daf-mp-product-brand {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #8b5cf6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.daf-mp-product-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.75rem;
    line-height: 1.4;
}

.daf-mp-product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.daf-mp-stars {
    color: #fbbf24;
    letter-spacing: 2px;
}

.daf-mp-rating-text {
    font-size: 0.8125rem;
    color: #6b7280;
}

.daf-mp-product-features {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

.daf-mp-product-features li {
    font-size: 0.8125rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.daf-mp-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.25rem;
    border-top: 1px solid #f3f4f6;
}

.daf-mp-product-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111827;
}

.daf-mp-product-button {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    background: #ffffff;
    color: #10b981;
    border: 1px solid #10b981;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.daf-mp-product-button:hover {
    background: #10b981;
    color: #ffffff;
}

/* Responsive */
@media (max-width: 900px) {
    .daf-mp-featured-grid {
        grid-template-columns: 1fr;
    }

    .daf-mp-header-row {
        flex-direction: column;
        gap: 1rem;
    }

    .daf-mp-header-right {
        order: -1;
    }
}

@media (max-width: 600px) {
    .daf-mp-featured-section {
        padding: 3rem 0;
    }

    .daf-mp-featured-container {
        padding: 0 1.25rem;
    }

    .daf-mp-featured-title {
        font-size: 1.5rem;
    }

    .daf-mp-product-image {
        height: 260px;
    }

    .daf-mp-product-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .daf-mp-product-button {
        width: 100%;
        justify-content: center;
    }
}