/* ===== Product page: desktop (and the base for tablet + mobile) =====

/* ---------- back link + logo ---------- */
#brand-logo-section {
    height: 237px;
    margin: 70px 0;
    padding: 0 144px;                
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.back-link {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
}

.back-link:hover {
    color: var(--primary);
}

#brand-logo-section h1 {
    margin: 0;
    display: flex;
}

.brand-logo {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ---------- banner + description ---------- */
.brand-image {
    display: block;
    width: 100%;
    height: 253px;
    object-fit: cover;
}

.brand-description {
    width: 866px;
    max-width: calc(100% - 48px);     
    margin: 70px auto;
    text-align: center;
}

.brand-description p {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: var(--text);
}

.brand-description p + p {
    margin-top: 16px;
}

/* ---------- product showcase ---------- */
#showcase-section {
    margin-bottom: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 42px; 
}

#showcase-section h2 {
    margin: 0;
    font-size: 32px;
    line-height: 40px;
    font-weight: 700;
    text-align: center;
    color: var(--primary);
}

.product-showcase {
    min-height: 392px;
    display: flex;
    justify-content: center; 
    gap: 32px;
}

.product {
    width: 362px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product img {
    display: block;
    width: 100%;
    height: 304px;
    object-fit: cover;
    border-radius: 12px;
}

.product-description {
    text-align: center;
}

.product-description h3,
.product-description p {
    margin: 0;
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
    color: var(--text);
}

/* ---------- explore ---------- */
#explore-section {
    margin-bottom: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

#explore-section p {
    margin: 0;
    font-size: 20px;
    line-height: 30px;
    font-weight: 800;
    color: var(--text);
}

/* same look as .talk-button, but it grows with its text instead of 140 x 40 */
.explore-button {
    width: auto;
    height: auto;
    padding: 16px 40px;
    font-size: 20px;
    line-height: 24px; 
}

@media screen and (min-width: 1024px) and (max-width: 1232px) {
    .product-showcase {
        width: 100%;
        min-height: 0;
        padding: 0 60px;
        gap: 24px;
    }

    .product {
        width: auto;
        flex: 1 1 0;
        min-width: 0;
        max-width: 340px;
    }

}