/* MCPOTAR Video Merch & Services - Styles */

.mvvm-merch-container {
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
    border-radius: 8px;
    border-top: 3px solid #C8860A;
}

.mvvm-merch-container h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #333;
}

.mvvm-merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.mvvm-merch-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.mvvm-merch-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transform: translateY(-4px);
    border-color: #C8860A;
}

.mvvm-merch-image {
    width: 100%;
    height: 160px;
    background: #f0f0f0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mvvm-merch-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mvvm-merch-card:hover .mvvm-merch-image img {
    transform: scale(1.05);
}

.mvvm-merch-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 32px;
}

.mvvm-merch-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mvvm-merch-title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mvvm-merch-description {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mvvm-merch-link {
    display: inline-block;
    padding: 10px 16px;
    background: linear-gradient(135deg, #C8860A 0%, #d4941a 100%);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.mvvm-merch-link:hover {
    background: linear-gradient(135deg, #a86f08 0%, #b87d14 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 134, 10, 0.3);
}

/* Empty State */
.mvvm-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.mvvm-empty-state-icon {
    font-size: 40px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.mvvm-empty-state-text {
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .mvvm-merch-container {
        padding: 16px;
        margin: 20px 0;
    }

    .mvvm-merch-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 12px;
    }

    .mvvm-merch-image {
        height: 140px;
    }

    .mvvm-merch-content {
        padding: 12px;
    }

    .mvvm-merch-title {
        font-size: 14px;
    }

    .mvvm-merch-description {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .mvvm-merch-container {
        padding: 12px;
        margin: 16px 0;
    }

    .mvvm-merch-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .mvvm-merch-image {
        height: 120px;
    }

    .mvvm-merch-content {
        padding: 10px;
    }

    .mvvm-merch-title {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .mvvm-merch-description {
        font-size: 11px;
        margin-bottom: 10px;
        -webkit-line-clamp: 2;
    }

    .mvvm-merch-link {
        padding: 8px 12px;
        font-size: 12px;
    }
}
