/* Phase 2E follow-up — Product Page Polish Spec v1.1.
 * Presentation-only refinement. Keep Product v2 data/runtime, gallery, documents,
 * routes, shared site chrome behavior, Hero geometry, and CTA geometry unchanged.
 */

/* Desktop reference: 1440px-class viewport. Keep the product page aligned to the
 * existing 1180px shared site container instead of scaling indefinitely on ultrawide displays.
 */
.intesa-pr-wrap {
    padding-top: 58px;
}

.intesa-pr-hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
    gap: 56px;
    margin-bottom: 34px;
}

.intesa-pr-eyebrow {
    margin-bottom: 13px;
    font-size: 13px;
    letter-spacing: 0.07em;
}

.intesa-pr-title {
    max-width: 700px;
    font-size: clamp(46px, 3.7vw, 52px);
    font-weight: 820;
    line-height: 1.07;
    letter-spacing: -0.032em;
}

.intesa-pr-short {
    max-width: 690px;
    margin-top: 22px;
    color: #526077;
    font-size: 18px;
    line-height: 1.62;
}

.intesa-pr-meta {
    gap: 9px;
    margin-top: 22px;
}

.intesa-pr-pill {
    min-height: 36px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 650;
}

/* CTA geometry was visually accepted after the balance pass. Keep this pair stable.
 * Scope the button rule through the product wrapper so it outranks the preserved
 * legacy renderer style block that is emitted later in the page markup.
 */
.intesa-pr-actions {
    align-items: center;
    gap: 14px;
    margin-top: 26px;
}

.intesa-pr-wrap .intesa-pr-actions .intesa-pr-btn {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 188px;
    height: 52px;
    min-height: 52px;
    padding: 0 28px;
    font-size: 15px;
    font-weight: 760;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.intesa-pr-media-card {
    min-height: 430px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intesa-pr-main-image {
    height: 315px;
}

.intesa-pr-gallery-thumbs {
    margin-top: 18px;
}

.intesa-pr-gallery-thumb {
    width: 62px;
    height: 54px;
}

.intesa-pr-spec-grid {
    gap: 14px;
    margin-top: 30px;
    margin-bottom: 46px;
}

.intesa-pr-spec-card {
    min-height: 88px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intesa-pr-spec-label {
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
}

.intesa-pr-spec-value {
    font-size: 19px;
    line-height: 1.28;
}

/* Product Page Polish v1.1 — content rhythm and typography.
 * Scope every rule below through .intesa-pr-wrap so this stylesheet wins over
 * the legacy renderer style block without !important and without changing runtime markup.
 */
.intesa-pr-wrap .intesa-pr-section {
    width: min(100%, 1000px);
    margin: 0 0 44px;
}

.intesa-pr-wrap .intesa-pr-section > h2 {
    position: static;
    margin: 0 0 16px;
    padding: 1px 0 1px 12px;
    border-left: 4px solid var(--intesa-brand);
    color: var(--intesa-ink);
    font-size: 27px;
    font-weight: 780;
    line-height: 1.18;
    letter-spacing: -0.022em;
}

.intesa-pr-wrap .intesa-pr-section > h2::before {
    content: none !important;
    display: none !important;
}

.intesa-pr-wrap .intesa-pr-section > h3 {
    margin: 18px 0 8px;
    color: var(--intesa-ink);
    font-size: 16px;
    font-weight: 720;
    line-height: 1.35;
}

.intesa-pr-wrap .intesa-pr-section p,
.intesa-pr-wrap .intesa-pr-section:not(.intesa-pr-video-section) > div:not(.intesa-pr-doc-list) {
    margin-top: 0;
    margin-bottom: 0;
    color: #475467;
    font-size: 16px;
    line-height: 1.72;
}

/* Preserve real paragraph rhythm when Overview later contains more than one paragraph. */
.intesa-pr-wrap .intesa-pr-section p + p {
    margin-top: 12px;
}

.intesa-pr-wrap .intesa-pr-list {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 22px;
    color: #334155;
    font-size: 15px;
    line-height: 1.72;
}

.intesa-pr-wrap .intesa-pr-list li + li {
    margin-top: 6px;
}

.intesa-pr-wrap .intesa-pr-video-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 520px));
    gap: 16px;
    align-items: start;
}

.intesa-pr-wrap .intesa-pr-video-card {
    border-radius: 15px;
}

.intesa-pr-wrap .intesa-pr-video-title {
    padding: 12px 15px 13px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.intesa-pr-wrap .intesa-pr-table {
    max-width: 940px;
}

.intesa-pr-wrap .intesa-pr-table th,
.intesa-pr-wrap .intesa-pr-table td {
    min-height: 52px;
    padding: 13px 16px;
    font-size: 14px;
    line-height: 1.5;
}

.intesa-pr-wrap .intesa-pr-table th {
    width: 33%;
    background: #f8fafc;
    font-weight: 740;
}

.intesa-pr-wrap .intesa-pr-table td {
    color: #475467;
}

.intesa-pr-wrap .intesa-pr-doc-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.intesa-pr-wrap .intesa-pr-doc-card {
    min-height: 92px;
    padding: 15px 16px;
}

.intesa-pr-wrap .intesa-pr-doc-type {
    margin-bottom: 5px;
    font-size: 10.5px;
    line-height: 1.25;
    letter-spacing: 0.025em;
}

.intesa-pr-wrap .intesa-pr-doc-card strong {
    font-size: 14px;
    font-weight: 650;
    line-height: 1.35;
}

/* Accessories stay deliberately simple, but use the same reading rhythm as the rest of the page. */
.intesa-pr-wrap .intesa-pr-section > h3 + .intesa-pr-list {
    margin-bottom: 14px;
}

.intesa-pr-wrap .intesa-pr-section > .intesa-pr-list:last-child {
    margin-bottom: 0;
}

@media (max-width: 980px) {
    .intesa-pr-wrap {
        padding-top: 44px;
    }

    .intesa-pr-hero {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
        gap: 34px;
    }

    .intesa-pr-title {
        font-size: clamp(40px, 5vw, 48px);
    }

    .intesa-pr-short {
        font-size: 17px;
    }

    .intesa-pr-wrap .intesa-pr-doc-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .intesa-pr-wrap {
        padding-top: 32px;
    }

    .intesa-pr-hero {
        grid-template-columns: 1fr;
        gap: 26px;
        margin-bottom: 24px;
    }

    .intesa-pr-title {
        max-width: 620px;
        font-size: clamp(34px, 8vw, 42px);
        line-height: 1.08;
    }

    .intesa-pr-short {
        margin-top: 16px;
        font-size: 16px;
        line-height: 1.62;
    }

    .intesa-pr-meta {
        margin-top: 17px;
    }

    .intesa-pr-actions {
        margin-top: 20px;
    }

    .intesa-pr-media-card {
        min-height: 0;
        padding: 20px;
    }

    .intesa-pr-main-image {
        height: 280px;
    }

    .intesa-pr-spec-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 24px;
        margin-bottom: 38px;
    }

    .intesa-pr-wrap .intesa-pr-section {
        width: 100%;
        margin-bottom: 34px;
    }

    .intesa-pr-wrap .intesa-pr-section > h2 {
        margin-bottom: 14px;
        padding-left: 11px;
        font-size: 23px;
    }

    .intesa-pr-wrap .intesa-pr-section p,
    .intesa-pr-wrap .intesa-pr-section:not(.intesa-pr-video-section) > div:not(.intesa-pr-doc-list),
    .intesa-pr-wrap .intesa-pr-list {
        font-size: 15px;
    }

    .intesa-pr-wrap .intesa-pr-video-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .intesa-pr-wrap .intesa-pr-table th,
    .intesa-pr-wrap .intesa-pr-table td {
        padding: 11px 12px;
        font-size: 13.5px;
    }
}

@media (max-width: 520px) {
    .intesa-pr-wrap {
        width: min(calc(100% - 28px), var(--intesa-container));
        padding-top: 24px;
    }

    .intesa-pr-hero {
        gap: 20px;
        margin-bottom: 20px;
    }

    .intesa-pr-eyebrow {
        margin-bottom: 9px;
        font-size: 11px;
    }

    .intesa-pr-title {
        font-size: clamp(30px, 9vw, 36px);
        line-height: 1.1;
        letter-spacing: -0.032em;
    }

    .intesa-pr-short {
        font-size: 15px;
    }

    .intesa-pr-pill {
        min-height: 30px;
        padding: 5px 9px;
        font-size: 10px;
    }

    .intesa-pr-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .intesa-pr-wrap .intesa-pr-actions .intesa-pr-btn {
        width: 100%;
        min-width: 0;
        height: 50px;
        min-height: 50px;
        padding: 0 18px;
        font-size: 13px;
    }

    .intesa-pr-media-card {
        padding: 15px;
        border-radius: 18px;
    }

    .intesa-pr-main-image {
        height: 220px;
    }

    .intesa-pr-gallery-thumb {
        width: 58px;
        height: 48px;
    }

    .intesa-pr-spec-grid {
        grid-template-columns: 1fr;
        gap: 9px;
        margin-top: 18px;
        margin-bottom: 32px;
    }

    .intesa-pr-spec-card {
        min-height: 70px;
        padding: 13px 15px;
        border-radius: 13px;
    }

    .intesa-pr-spec-label {
        margin-bottom: 3px;
        font-size: 10px;
    }

    .intesa-pr-spec-value {
        font-size: 15px;
    }

    .intesa-pr-wrap .intesa-pr-section {
        margin-bottom: 28px;
    }

    .intesa-pr-wrap .intesa-pr-section > h2 {
        margin-bottom: 12px;
        padding-left: 9px;
        border-left-width: 3px;
        font-size: 21px;
        line-height: 1.2;
    }

    .intesa-pr-wrap .intesa-pr-section > h3 {
        margin-top: 13px;
        margin-bottom: 6px;
        font-size: 14px;
    }

    .intesa-pr-wrap .intesa-pr-section p + p {
        margin-top: 9px;
    }

    .intesa-pr-wrap .intesa-pr-list li + li {
        margin-top: 4px;
    }

    .intesa-pr-wrap .intesa-pr-table th,
    .intesa-pr-wrap .intesa-pr-table td {
        padding: 9px 10px;
        font-size: 12.5px;
        line-height: 1.45;
    }

    .intesa-pr-wrap .intesa-pr-table th {
        width: 40%;
    }

    .intesa-pr-wrap .intesa-pr-doc-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .intesa-pr-wrap .intesa-pr-doc-card {
        min-height: 74px;
        padding: 12px 13px;
        gap: 5px;
    }
}
