/*
Theme Name: oceanwp Child
Template: oceanwp
Version: 1.0
*/

.brand-header {
    text-align: center;
    margin: 40px 0 30px;
}

.brand-title {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #111;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

/* decorative underline */
.brand-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #c8aba5, #999);
    border-radius: 3px;
}

.brand-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    background: #ffffff;
    padding: 40px;
}

.brand-category-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
}

.brand-category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.card-image {
    width: 100%;
    height: 170px;
    overflow: hidden;
    background: #f5f5f5;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-title {
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    color: #222;
}