/**
 * Multi Vendor GeEvents - Producer Page Styles
 * Version: 1.0
 * Author: GeHost
 */

.mvg-producer-page {
    margin: 0;
    padding: 0;
}

.mvg-producer-header {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-color: #f8f9fa;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 60px;
}

.mvg-producer-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 60px;
}

.mvg-producer-avatar-container {
    position: relative;
    z-index: 2;
}

.mvg-producer-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.mvg-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mvg-producer-info {
    padding: 40px 0;
    text-align: center;
    background: #fff;
}

.mvg-producer-name {
    font-size: 2.5em;
    margin: 0 0 20px 0;
    color: #333;
    font-weight: 600;
}

.mvg-producer-email {
    margin: 10px 0;
    color: #666;
}

.mvg-producer-email a {
    color: #0073aa;
    text-decoration: none;
}

.mvg-producer-bio {
    max-width: 600px;
    margin: 20px auto;
    color: #555;
    line-height: 1.6;
}

.mvg-producer-social {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.mvg-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 25px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    font-weight: 500;
}

.mvg-social-link:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mvg-producer-products {
    padding: 60px 0;
    background: #f8f9fa;
}

.mvg-products-title {
    font-size: 2em;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.mvg-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.mvg-product-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mvg-product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.mvg-product-image {
    position: relative;
    overflow: hidden;
}

.mvg-product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mvg-product-item:hover .mvg-product-img {
    transform: scale(1.05);
}

.mvg-product-info {
    padding: 20px;
}

.mvg-product-title {
    margin: 0 0 10px 0;
    font-size: 1.1em;
    line-height: 1.4;
}

.mvg-product-title a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.mvg-product-title a:hover {
    color: #0073aa;
}

.mvg-product-price {
    font-size: 1.2em;
    font-weight: 700;
    color: #e74c3c;
    margin: 15px 0;
}

.mvg-product-actions {
    margin-top: 15px;
}

.mvg-product-button {
    display: inline-block;
    padding: 12px 24px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.mvg-product-button:hover {
    background: #005a87;
    color: #fff;
}

.mvg-no-products {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 1.1em;
}

.mvg-producer-button-wrapper {
    margin: 20px 0;
    text-align: center;
}

.mvg-producer-button {
    display: inline-block;
    padding: 12px 24px;
    background: #28a745;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.mvg-producer-button:hover {
    background: #218838;
    color: #fff;
}

.mvg-current-producer {
    color: #0073aa;
    text-decoration: none;
    font-weight: 600;
}

.mvg-current-producer:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mvg-producer-header {
        height: 250px;
        padding-bottom: 40px;
    }
    
    .mvg-producer-header-overlay {
        padding-bottom: 40px;
    }
    
    .mvg-producer-avatar {
        width: 100px;
        height: 100px;
    }
    
    .mvg-producer-name {
        font-size: 2em;
    }
    
    .mvg-producer-social {
        flex-direction: column;
        align-items: center;
    }
    
    .mvg-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .mvg-product-image {
        position: relative;
        overflow: hidden;
        width: 100%;
        padding-bottom: 75%; /* Aspect ratio melhorado para mobile */
    }
    
    .mvg-product-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .mvg-container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .mvg-products-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
        gap: 15px;
    }
    
    .mvg-product-image {
        padding-bottom: 60%; /* Aspect ratio otimizado para telas muito pequenas */
    }
    
    .mvg-producer-info {
        padding: 30px 0;
    }
    
    .mvg-producer-products {
        padding: 40px 0;
    }
}