/* ==========================================================================
   Brand Details — white card with a two-column layout: intro + downloads + CTA
   on the left, a list of product-category cards on the right.
   ========================================================================== */

.section.branddetails {
    background: var(--color-secondary);
}

.branddetails-card {
    display: grid;
    grid-template-columns: minmax(0, 461px) minmax(0, 568px);
    justify-content: space-between;
    gap: 40px;
    background: var(--color-background);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: clamp(32px, 5vw, 64px) clamp(24px, 7vw, 112px);
}

/* ---- Left column: intro + downloads + CTA ------------------------------- */
.branddetails-intro {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.branddetails-lead {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.branddetails-heading {
    margin: 0;
    color: var(--color-foreground);
}
.branddetails-body,
.branddetails-body p {
    color: var(--color-foreground);
}
.branddetails-body p { margin: 0; }
.branddetails-body p + p { margin-top: 1em; }

/* Downloads list */
.branddetails-downloads {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px 0;
}
.branddetails-downloads-title {
    margin: 0;
    color: var(--color-foreground);
}
.branddetails-downloads-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.branddetails-download {
    display: flex;
    align-items: center;
    gap: 8px;
}
.branddetails-download-icon {
    flex-shrink: 0;
    display: inline-flex;
    width: 16px;
    height: 16px;
    color: var(--color-primary);
}
.branddetails-download-icon svg { width: 16px; height: 16px; display: block; }
.branddetails-download-link {
    font-family: var(--font-body);
    font-size: var(--text-label-sm);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-primary);
    text-decoration: none;
}
.branddetails-download-link:hover { text-decoration: underline; }

/* CTA */
.branddetails-btn { align-self: flex-start; }
.branddetails-btn .fa { font-size: 14px; }

/* ---- Right column: product cards ---------------------------------------- */
.branddetails-products {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.branddetails-product {
    display: flex;
    align-items: center;
    gap: 24px;
}
.branddetails-product-image {
    flex-shrink: 0;
    width: 76px;
    height: 73px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-neutral-100);
}
.branddetails-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.branddetails-product-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.branddetails-product-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: var(--text-heading-sm);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-foreground);
}
.branddetails-product-sub {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--text-paragraph-sm);
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 0.02em;
    color: var(--color-secondary-foreground);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
    .branddetails-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: clamp(24px, 5vw, 48px);
    }
}
@media (max-width: 480px) {
    .branddetails-product { gap: 16px; }
    .branddetails-product-image { width: 64px; height: 61px; }
}
