/* Commodity detail bottom-section refinement.
 * Prevents Source Trace from stretching into a large empty card and keeps the
 * Buyer Requirement Review readable at every desktop width.
 */

.product-brochure-review-grid {
    align-items: start;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr);
}

.brochure-panel--origin {
    min-height: 0;
    padding-block: 28px;
}

.brochure-panel--origin .brochure-section-title {
    margin-bottom: 18px;
    padding-bottom: 14px;
}

.brochure-panel--origin .brochure-origin-list {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.brochure-panel--origin .brochure-origin-list > div {
    background: #f8faf6;
    border: 1px solid rgba(11, 40, 95, 0.09);
    border-left: 3px solid var(--ior-green);
    min-width: 0;
    padding: 15px 16px;
}

.brochure-panel--origin .brochure-origin-list > div:first-child,
.brochure-panel--origin .brochure-origin-list > div:last-child {
    padding: 15px 16px;
}

.brochure-panel--origin .brochure-origin-list span,
.brochure-panel--origin .brochure-origin-list strong {
    overflow-wrap: anywhere;
}

.product-brochure-check {
    align-items: center;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    min-height: 190px;
    overflow: hidden;
    padding: clamp(30px, 4vw, 48px);
    width: 100%;
}

.product-brochure-check > div {
    min-width: 0;
}

.product-brochure-check h2 {
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 0.98;
    max-width: 760px;
    overflow-wrap: normal;
    text-wrap: balance;
    word-break: normal;
}

.product-brochure-check > div > p:last-child {
    font-size: 0.9rem;
    line-height: 1.72;
    max-width: 780px;
    overflow-wrap: normal;
    word-break: normal;
}

.product-brochure-check .btn {
    align-self: center;
    justify-self: end;
    max-width: 300px;
    white-space: normal;
}

.product-back-link--category {
    margin-top: 24px;
}

@media (max-width: 991.98px) {
    .product-brochure-check {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .product-brochure-check .btn {
        grid-column: 1 / -1;
        justify-self: start;
        max-width: none;
    }
}

@media (max-width: 767.98px) {
    .brochure-panel--origin {
        padding: 24px 20px;
    }

    .brochure-panel--origin .brochure-origin-list {
        grid-template-columns: 1fr;
    }

    .product-brochure-check {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 30px 22px;
    }

    .product-brochure-check h2 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .product-brochure-check .btn {
        justify-self: stretch;
        max-width: none;
        width: 100%;
    }
}
