/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/



body.tax-product_brand .brand-author-box {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
}

body.tax-product_brand .brand-author-image img {
    max-width: 320px;
    height: auto;
    border-radius: 6px;
}

body.tax-product_brand .brand-author-description {
    flex: 1;
    font-size: 16px;
    line-height: 1.6;
}

/* მობილურისთვის (ტელეფონები) */
@media (max-width: 768px) {
    body.tax-product_brand .brand-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    body.tax-product_brand .brand-author-image img {
        max-width: 100%;
        margin-bottom: 20px;
    }
    body.tax-product_brand .brand-author-description {
        flex: unset;
    }
}


.authors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.author-grid-item {
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.author-grid-item:hover {
    opacity: 0.85;
}

.author-image img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.author-grid-item:hover .author-image img {
    transform: scale(1.05);
}

.author-name {
    font-weight: 500;
    margin-top: 10px;
	font-size: 16px;
}

/* Responsive: 2 კალუმნი 768px ქვემოთ */
@media (max-width: 768px) {
    .authors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive: 1 კალუმნი 480px ქვემოთ */
@media (max-width: 480px) {
    .authors-grid {
        grid-template-columns: 1fr;
    }
}


.product-isbn {
    font-size: 14px;
    color: #333;
    margin-top: 10px;
}
