/* Author Manager Styles */

.author-products-wrapper {
    margin: 20px 0;
}

.author-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.author-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ddd;
}

.author-info {
    flex: 1;
}

.author-name {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #333;
}

.author-description {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.products-grid {
    display: grid;
    gap: 20px;
}

.product-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}

.product-card h4 {
    margin: 10px 0;
    font-size: 16px;
}

.product-card h4 a {
    color: #333;
    text-decoration: none;
}

.product-card h4 a:hover {
    color: #0073aa;
}

.product-card .price {
    margin: 10px 0;
    font-size: 18px;
    font-weight: bold;
    color: #0073aa;
}

.product-card .button {
    display: inline-block;
    padding: 10px 20px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.product-card .button:hover {
    background: #005177;
}

/* Responsive */
@media (max-width: 768px) {
    .author-header {
        flex-direction: column;
        text-align: center;
    }
    
    .author-image {
        width: 80px;
        height: 80px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr !important;
    }
}
