/* MATCH THEME GRID CONTEXT */
.brand-related-products-wrapper {
    grid-column: 1 / -1;
    padding: 60px 0;
    margin-bottom: 50px;
    background: #fafafa;
}

.brand-related-products {
    width: 100%;
    padding: 0 24px;
}

.brand-related-products h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-top: 20px;
    margin-bottom: 0;
    color: #006F77;
    letter-spacing: 0.4px;
}

/* GRID */
.brand-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
    margin-top: 30px;
    padding-bottom: 30px;
}

/* CARD */
.brand-product-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 22px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.10);
}

/* LINK COLOUR LOCK */
.brand-product-link,
.brand-product-link:hover,
.brand-product-link:focus,
.brand-product-link:active {
    color: inherit;
    text-decoration: none;
}

/* IMAGE */
.brand-product-image {
    background: #ffffff;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-product-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.25s ease;
}

.brand-product-card:hover img {
    transform: scale(1.04);
}

/* INFO */
.brand-product-info {
    padding: 22px 18px 26px;
    text-align: center;
}

.brand-product-title {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #1d1d1d;
    margin: 0 0 10px;
    min-height: 42px;
}

.brand-product-info .price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #006F77;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .brand-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 992px) {
    .brand-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .brand-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 520px) {
    .brand-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .brand-related-products h2 {
        font-size: 1.8rem;
    }
}
