.product-profile-page {
    color: var(--dark);
}

.product-profile-page h1,
.product-profile-page h2,
.product-profile-page h3 {
    letter-spacing: -0.035em;
}

.product-profile-page a:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 6px;
}

.product-profile-hero {
    padding-top: 132px;
    background: #fff;
}

.product-profile-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 72px;
    padding-bottom: 58px;
}

.product-profile-hero-heading {
    display: grid;
    width: fit-content;
    margin-left: -7px;
}

.product-profile-hero h1 {
    font-size: clamp(5.5rem, 9vw, 8.6rem);
    font-weight: 850;
    line-height: 1;
    letter-spacing: -0.065em;
}

.product-profile-range .product-profile-hero-heading {
    width: 100%;
    margin-left: 0;
}

.product-profile-range .product-profile-hero h1 {
    font-size: clamp(2.75rem, 5.4vw, 5rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.product-profile-page[data-product-detail="cc6100"] :is(h1, h2) {
    overflow-wrap: anywhere;
}

.product-profile-page[data-product-detail="cc6100"] .product-profile-hero h1 {
    font-size: clamp(2.15rem, 5.4vw, 5rem);
}

.product-profile-hero-title {
    margin-top: 18px;
    font-size: clamp(1.8rem, 2.8vw, 2.5rem);
    font-weight: 750;
    letter-spacing: -0.04em;
    line-height: 1.4;
    text-wrap: balance;
}

.product-profile-hero-description {
    max-width: 430px;
    margin-top: 22px;
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.95;
}

.product-profile-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.product-profile-hero-actions .btn-primary {
    padding: 14px 30px;
}

.product-profile-product-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 532px;
    padding: 26px 44px;
    border-radius: 34px 34px 100px 34px;
    background: #f1f3f5;
}

.product-profile-product-image {
    display: block;
    width: min(100%, 385px);
    height: auto;
    filter: drop-shadow(12px 23px 15px rgba(15, 23, 42, 0.16));
}

.product-profile-hero[data-banknote-hero] {
    padding-top: 118px;
}

.product-profile-hero[data-banknote-hero] .product-profile-hero-grid {
    max-width: 1040px;
    margin-inline: auto;
    gap: clamp(22px, 3vw, 40px);
    padding-bottom: 32px;
}

.product-profile-range .product-profile-hero[data-banknote-hero] h1 {
    font-size: clamp(2.75rem, 5vw, 4.35rem);
}

.product-profile-hero[data-banknote-hero] .product-profile-hero-description {
    max-width: 465px;
}

.product-profile-hero[data-banknote-hero] .product-profile-product-stage {
    min-height: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.product-profile-hero[data-banknote-hero] .product-profile-product-image {
    width: auto;
    max-width: min(100%, 410px);
    max-height: 440px;
    object-fit: contain;
    filter: drop-shadow(8px 15px 14px rgba(15, 23, 42, 0.15));
}

.product-profile-hero[data-banknote-hero] .product-profile-photo-on-white {
    filter: none;
}

.product-profile-page[data-product-detail="payment-board"] .product-profile-product-stage {
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.product-profile-page[data-product-detail="payment-board"] .product-profile-product-image {
    width: 100%;
    max-height: none;
    filter: none;
}

.product-profile-page[data-product-detail="tm600f"] .product-profile-product-image {
    width: 100%;
    max-width: 100%;
    max-height: none;
    filter: none;
}

.product-profile-page[data-product-detail="gryphon"] .product-profile-photo-on-white {
    width: auto;
    max-width: 100%;
    max-height: 480px;
    filter: none;
    mix-blend-mode: multiply;
}

.product-profile-image-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--gray-700);
    font-size: 0.875rem;
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 1360px) {
    .product-profile-page[data-product-detail="payment-board"] .product-profile-product-stage {
        padding-inline-end: 48px; /* Reserve room for the floating consultation button. */
    }
}

.product-profile-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    padding: 28px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.product-profile-facts p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    color: var(--gray-700);
    font-size: 0.86rem;
    font-weight: 600;
}

.product-profile-facts i {
    color: var(--primary);
    font-size: 1rem;
}

.product-profile-section {
    padding: 94px 0;
}

.product-profile-faceplates {
    background: #f5f7f9;
}

.product-profile-faceplate-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.product-profile-faceplate {
    padding: 16px 24px 24px;
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    background: #fff;
}

.product-profile-faceplate:only-child {
    grid-column: 1 / -1;
}

.product-profile-faceplate img {
    display: block;
    width: 100%;
    height: clamp(220px, 28vw, 360px);
    object-fit: contain;
}

.product-profile-page[data-product-detail="tm600f"] .product-profile-faceplate img {
    height: auto;
    aspect-ratio: 2343 / 732;
    object-fit: cover;
    object-position: center bottom;
}

.product-profile-faceplate figcaption {
    padding-top: 16px;
}

.product-profile-faceplate p {
    margin-top: 6px;
    color: var(--gray-600);
    font-size: 0.94rem;
}

.bv30-selection {
    background: #f6f8fa;
}

.bv30-selection-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.bv30-selection-grid article {
    padding-top: 20px;
    border-top: 2px solid #e45a2c;
}

.bv30-selection-grid h3 {
    font-size: 1.08rem;
    margin-bottom: 10px;
}

.bv30-selection-grid p {
    color: var(--gray-600);
    font-size: .94rem;
    line-height: 1.8;
}

@media (max-width: 700px) {
    .bv30-selection-grid { grid-template-columns: 1fr; gap: 25px; }
}

.product-profile-section h2 {
    max-width: 660px;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 750;
    line-height: 1.45;
    text-wrap: balance;
}

.product-profile-heading-split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 44px;
}

.product-profile-heading p {
    max-width: 310px;
    padding-bottom: 5px;
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.8;
}

.product-profile-specifications .product-profile-heading p,
.product-profile-applications .product-profile-heading p {
    flex-shrink: 0;
    max-width: none;
    white-space: nowrap;
}

.product-profile-advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 44px;
}

.product-profile-advantage + .product-profile-advantage {
    padding-left: 44px;
    border-left: 1px solid var(--gray-200);
}

.product-profile-advantage svg,
.product-profile-advantage-icon {
    width: 43px;
    height: 43px;
    margin-bottom: 20px;
    color: var(--primary);
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.product-profile-advantage-icon {
    display: block;
    color: var(--primary);
    font-size: 1.9rem;
    line-height: 44px;
}

.product-profile-advantage h3 {
    margin-bottom: 13px;
    font-size: 1.2rem;
    font-weight: 700;
}

.product-profile-advantage p {
    color: var(--gray-600);
    font-size: 0.92rem;
    line-height: 1.9;
}

.product-profile-integration {
    background: #f5f7f9;
    scroll-margin-top: 108px;
}

.product-profile-integration-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 80px;
}

.product-profile-integration-copy > p {
    margin-top: 23px;
    color: var(--gray-600);
    line-height: 1.95;
}

.product-profile-installation-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 14px clamp(22px, 4vw, 50px);
    margin: 30px 0;
}

.product-profile-installation-facts dt {
    margin-bottom: 7px;
    color: var(--gray-500);
    font-size: 0.82rem;
}

.product-profile-installation-facts dd {
    font-size: 2.3rem;
    font-weight: 650;
    letter-spacing: -0.045em;
}

.product-profile-installation-facts dd span {
    margin-left: 6px;
    font-size: 1rem;
    font-weight: 500;
}

.product-profile-installation-note {
    display: flex;
    gap: 15px;
    padding-top: 25px;
    border-top: 1px solid #dce2e8;
}

.product-profile-installation-note i {
    padding-top: 5px;
    color: var(--primary);
}

.product-profile-installation-note h3 {
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 650;
}

.product-profile-installation-note p {
    color: var(--gray-600);
    font-size: 0.88rem;
    line-height: 1.8;
}

.product-profile-drawing {
    padding: 24px 28px;
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    background: #fff;
}

.product-profile-drawing-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.86rem;
    font-weight: 650;
}

.product-profile-drawing-heading span + span {
    color: var(--gray-500);
    font-size: 0.75rem;
    font-weight: 400;
    white-space: nowrap;
}

.product-profile-drawing img {
    display: block;
    width: 100%;
    height: auto;
    margin: 22px auto 14px;
}

.product-profile-drawing .product-profile-integration-photo {
    max-height: 390px;
    object-fit: contain;
}

.product-profile-integration-views {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(8px, 2vw, 18px);
    margin-top: 18px;
    text-align: center;
}

.product-profile-integration-views img {
    height: clamp(180px, 28vw, 340px);
    object-fit: contain;
    margin: 0 auto 8px;
}

.product-profile-source {
    margin-top: 18px;
    font-size: 0.9rem;
}

.product-profile-source a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.product-profile-source i {
    margin-left: 6px;
    font-size: 0.75rem;
}

.product-profile-drawing-hint {
    display: none;
    margin-top: 8px;
    color: var(--gray-500);
    font-size: 0.76rem;
}

.product-profile-drawing-canvas:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

@media (max-width: 620px) {
    .product-profile-drawing-hint {
        display: block;
    }

    .product-profile-drawing-canvas {
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
        margin: 10px 0 14px;
    }

    .product-profile-drawing-canvas img {
        width: 580px;
        max-width: none;
        margin: 0;
    }
}

.product-profile-drawing figcaption {
    color: var(--gray-500);
    font-size: 0.76rem;
    line-height: 1.7;
}

.product-profile-drawing-option {
    margin: 16px 0;
    padding-top: 12px;
    border-top: 1px solid var(--gray-200);
    font-size: 0.86rem;
}

.product-profile-drawing-option summary {
    width: fit-content;
    padding: 4px 0;
    cursor: pointer;
    font-weight: 650;
}

.product-profile-drawing-option summary:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

.product-profile-specifications {
    scroll-margin-top: 100px;
}

.product-profile-specification-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 54px;
}

.product-profile-specification-group h3 {
    padding-bottom: 19px;
    border-bottom: 2px solid var(--dark);
    font-size: 1.12rem;
    font-weight: 650;
}

.product-profile-specification-group table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 0.87rem;
    line-height: 1.7;
}

.product-profile-specification-group th,
.product-profile-specification-group td {
    padding: 19px 0;
    border-bottom: 1px solid var(--gray-200);
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.product-profile-specification-group th {
    width: 37%;
    padding-right: 18px;
    color: var(--gray-500);
    font-weight: 450;
}

.product-profile-specification-group td {
    color: var(--dark);
    font-weight: 550;
}

.product-profile-specification-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 25px;
    color: var(--gray-500);
    font-size: 0.8rem;
    line-height: 1.8;
}

.product-profile-specification-note i {
    margin-top: 5px;
}

.product-profile-applications {
    padding-top: 0;
}

.product-profile-applications h2 {
    scroll-margin-top: 108px;
}

.product-profile-application-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.product-profile-application {
    overflow: hidden;
    border-radius: 20px;
    background: #f5f7f9;
}

.product-profile-application > img,
.product-profile-application > picture {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.product-profile-application picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-profile-application-grid.product-profile-device-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 3vw, 32px);
}

.product-profile-device-grid .product-profile-application {
    border-radius: 0;
    background: transparent;
    text-align: center;
}

.product-profile-device-grid .product-profile-application > img {
    height: clamp(72px, 18vw, 168px);
    aspect-ratio: auto;
    object-fit: contain;
}

.product-profile-device-grid .product-profile-application h3 {
    margin-top: 16px;
    font-size: clamp(0.9rem, 2vw, 1.125rem);
    letter-spacing: 0;
}

.product-profile-device-grid .product-profile-application:is(:hover, :focus-visible) h3 {
    color: var(--primary);
}

.product-applications {
    padding: 0 0 clamp(58px, 7vw, 94px);
    scroll-margin-top: 108px;
}

.product-applications-title {
    margin-bottom: 44px;
    color: var(--dark);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 750;
    line-height: 1.45;
}

.product-application-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.product-application-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    background: #f5f7f9;
    color: var(--dark);
    text-align: center;
    text-decoration: none;
}

.product-application-card > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.product-application-card h3 {
    display: grid;
    flex: 1;
    place-content: center;
    margin: 0;
    padding: 13px 8px;
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.45;
}

a.product-application-card:is(:hover, :focus-visible) {
    color: var(--primary);
}

.product-application-card:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

@media (max-width: 1050px) {
    .product-application-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .product-applications-title {
        margin-bottom: 32px;
    }

    .product-application-grid {
        gap: 12px;
    }
}

@media (max-width: 540px) {
    .product-application-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.product-profile-contact {
    margin-top: 0;
    margin-bottom: 90px;
}

@media (max-width: 1050px) {
    .product-profile-hero-grid {
        gap: 36px;
    }

    .product-profile-product-stage {
        min-height: 458px;
        padding: 30px 30px 26px;
    }

    .product-profile-integration-grid {
        gap: 40px;
    }

    .product-profile-heading-split {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .product-profile-heading p {
        max-width: 540px;
    }

    .product-profile-specifications .product-profile-heading p,
    .product-profile-applications .product-profile-heading p {
        max-width: 100%;
        white-space: normal;
    }

    .product-profile-advantage-grid {
        gap: 26px;
    }

    .product-profile-advantage + .product-profile-advantage {
        padding-left: 26px;
    }
}

@media (max-width: 760px) {
    .product-profile-hero {
        padding-top: 105px;
    }

    .product-profile-hero-grid,
    .product-profile-integration-grid,
    .product-profile-specification-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-profile-hero-grid {
        gap: 36px;
        padding-bottom: 34px;
    }

    .product-profile-hero[data-banknote-hero] {
        padding-top: 104px;
    }

    .product-profile-hero[data-banknote-hero] .product-profile-hero-grid {
        gap: 22px;
        padding-bottom: 24px;
    }

    .product-profile-hero[data-banknote-hero] .product-profile-product-image {
        max-width: min(94%, 410px);
        max-height: 310px;
    }

    .product-profile-hero-heading {
        margin-left: -4px;
    }

    .product-profile-hero h1 {
        font-size: 5.7rem;
    }

    .product-profile-hero-description {
        max-width: 500px;
        margin-top: 16px;
        font-size: 0.94rem;
    }

    .product-profile-hero-actions {
        gap: 12px;
        margin-top: 25px;
    }

    .product-profile-product-stage {
        min-height: 388px;
        padding: 20px 28px;
        border-radius: 24px 24px 70px 24px;
    }

    .product-profile-product-image {
        max-height: 350px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }

    .product-profile-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 12px;
        padding: 25px 0;
    }

    .product-profile-facts p {
        justify-content: flex-start;
        gap: 9px;
        font-size: 0.76rem;
    }

    .product-profile-section {
        padding: 58px 0;
    }

    .product-profile-heading-split {
        margin-bottom: 32px;
    }

    .product-profile-faceplate-grid,
    .product-profile-advantage-grid,
    .product-profile-application-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .product-profile-advantage + .product-profile-advantage {
        padding-top: 26px;
        padding-left: 0;
        border-top: 1px solid var(--gray-200);
        border-left: 0;
    }

    .product-profile-advantage svg {
        float: left;
        width: 36px;
        height: 36px;
        margin: 1px 18px 0 0;
    }

    .product-profile-advantage h3,
    .product-profile-advantage p {
        margin-left: 54px;
    }

    .product-profile-drawing {
        padding: 22px 18px;
    }

    .product-profile-specification-grid {
        gap: 36px;
    }

    .product-profile-specification-group th,
    .product-profile-specification-group td {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .product-profile-applications {
        padding-top: 0;
    }

    .product-profile-contact {
        margin-bottom: 50px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-profile-page *,
    .product-profile-page *::before,
    .product-profile-page *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
