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

/* Convert attribute table into 3-column grid */
.product-attributes-table tbody {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 15px;
}

/* Each attribute row becomes a card */
.product-attributes-table tr {
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    padding: 10px;
    background: #fff;
}

/* Label */
.product-attributes-table th {
    width: 100%;
    border: none;
    padding: 0;
    font-weight: 600;
    margin-bottom: 4px;
}

/* Value */
.product-attributes-table td {
    width: 100%;
    border: none;
    padding: 0;
    color: #777;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .product-attributes-table tbody {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .product-attributes-table tbody {
        grid-template-columns: 1fr;
    }
}
