/**
 * Product archive buying guidance, comparison, solutions, factory media and FAQs.
 */

.product-buying-content {
    color: var(--ink);
    background: #fff;
}

.product-buying-section {
    padding: 88px 0;
    overflow: hidden;
    border-top: 1px solid #e2e8ed;
}

.product-buying-section:nth-child(even) {
    background: #f5f8fa;
}

.product-buying-heading {
    max-width: 900px;
    margin-bottom: 38px;
}

.product-buying-heading .eyebrow {
    margin: 0 0 10px;
}

.product-buying-heading h2 {
    margin: 0;
    font-size: clamp(32px, 3.5vw, 46px);
    line-height: 1.16;
}

.product-buying-heading > p:last-child,
.product-buying-heading > div > p:last-child {
    max-width: 780px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.product-buying-heading--split {
    display: flex;
    max-width: none;
    gap: 32px;
    align-items: flex-end;
    justify-content: space-between;
}

.product-buying-heading--split > div {
    max-width: 900px;
}

.product-buying-heading--split > .text-link {
    flex: 0 0 auto;
    margin-bottom: 5px;
    white-space: nowrap;
}

.product-selection-focus {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    margin-bottom: 28px;
    padding: 26px 30px;
    border-left: 5px solid #0088c7;
    background: #eaf6fc;
}

.product-selection-focus strong {
    color: #075a86;
    font-size: 17px;
}

.product-selection-focus p {
    margin: 0;
    color: #365466;
    line-height: 1.75;
}

.product-guide-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.product-guide-card {
    position: relative;
    min-width: 0;
    padding: 30px 24px 28px;
    overflow: hidden;
    border: 1px solid #dce5eb;
    background: #fff;
    box-shadow: 0 12px 28px rgba(20, 55, 80, 0.06);
}

.product-guide-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #0088c7, #07528b);
    content: "";
}

.product-guide-card > span {
    display: block;
    margin-bottom: 28px;
    color: #a9c0cf;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.product-guide-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.35;
}

.product-guide-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.product-buying-cta {
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
    padding: 25px 30px;
    color: #fff;
    background: linear-gradient(135deg, #075b91 0%, #053b6d 100%);
}

.product-buying-cta p {
    margin: 0;
    line-height: 1.65;
}

.product-buying-cta .button {
    flex: 0 0 auto;
    color: #07537f;
    white-space: nowrap;
    background: #fff;
}

.product-comparison-table {
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid #dbe4ea;
    background: #fff;
    box-shadow: 0 14px 34px rgba(20, 55, 80, 0.06);
    -webkit-overflow-scrolling: touch;
}

.product-comparison-table:focus {
    outline: 3px solid rgba(0, 136, 199, 0.25);
    outline-offset: 3px;
}

.product-comparison-table table {
    width: 100%;
    min-width: 920px;
    border-spacing: 0;
    border-collapse: collapse;
}

.product-comparison-table th,
.product-comparison-table td {
    padding: 19px 20px;
    border-right: 1px solid #e1e8ed;
    border-bottom: 1px solid #e1e8ed;
    text-align: left;
    vertical-align: top;
    line-height: 1.55;
}

.product-comparison-table th:last-child,
.product-comparison-table td:last-child {
    border-right: 0;
}

.product-comparison-table tbody tr:last-child th,
.product-comparison-table tbody tr:last-child td {
    border-bottom: 0;
}

.product-comparison-table thead th {
    color: #fff;
    background: #075a8d;
    font-size: 14px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.product-comparison-table tbody th {
    width: 19%;
    color: #123f5b;
    background: #f3f8fb;
    font-size: 15px;
}

.product-comparison-table tbody td {
    color: #486171;
    font-size: 15px;
}

.product-comparison-table tbody tr:hover td,
.product-comparison-table tbody tr:hover th {
    background: #eef7fb;
}

.product-solution-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.product-solution-card {
    display: flex;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    flex-direction: column;
    color: inherit;
    background: #fff;
    box-shadow: 0 15px 34px rgba(20, 55, 80, 0.1);
}

.product-solution-card figure {
    height: 220px;
    margin: 0;
    overflow: hidden;
    background: #dceaf2;
}

.product-solution-card figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.product-solution-card__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #7596aa;
    font-size: 34px;
    font-weight: 800;
}

.product-solution-card > div {
    display: flex;
    min-height: 210px;
    padding: 24px 22px;
    flex-direction: column;
}

.product-solution-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.35;
}

.product-solution-card p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.product-solution-card > div > span {
    margin-top: auto;
    color: #007fba;
    font-size: 14px;
    font-weight: 800;
}

.product-solution-card:hover {
    color: inherit;
    transform: translateY(-4px);
}

.product-solution-card:hover figure img {
    transform: scale(1.055);
}

.product-factory-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 20px;
}

.product-factory-video {
    position: relative;
    min-width: 0;
    min-height: 540px;
    padding: 0;
    overflow: hidden;
    border: 0;
    color: #fff;
    background: #092f49;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.product-factory-video > img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 540px;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.product-factory-video::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 28, 46, 0.04) 30%, rgba(3, 28, 46, 0.84) 100%);
    content: "";
}

.product-factory-video__overlay {
    position: absolute;
    z-index: 1;
    right: 34px;
    bottom: 32px;
    left: 34px;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 18px;
    align-items: center;
}

.product-factory-video__overlay b {
    display: grid;
    grid-row: span 2;
    width: 64px;
    height: 64px;
    border: 2px solid rgba(255, 255, 255, 0.78);
    border-radius: 50%;
    place-items: center;
    background: rgba(0, 130, 190, 0.88);
    font-size: 20px;
    text-indent: 3px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.product-factory-video__overlay strong {
    font-size: 24px;
    line-height: 1.25;
}

.product-factory-video__overlay small {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.product-factory-video:hover > img {
    transform: scale(1.04);
}

.product-factory-video:hover .product-factory-video__overlay b {
    background: #0088c7;
    transform: scale(1.08);
}

.product-factory-gallery {
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.product-factory-gallery figure {
    min-width: 0;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    background: #dce8ef;
}

.product-factory-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.product-factory-gallery figure:hover img {
    transform: scale(1.055);
}

.product-purchase-faqs .product-buying-heading {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.product-purchase-faqs .product-buying-heading > p:last-child {
    margin-right: auto;
    margin-left: auto;
}

.product-faq-list {
    max-width: 1040px;
    margin: 0 auto;
    border-top: 1px solid #d9e3e9;
}

.product-faq-list details {
    border-bottom: 1px solid #d9e3e9;
    background: #fff;
}

.product-faq-list summary {
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: space-between;
    padding: 23px 4px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 750;
    line-height: 1.45;
    list-style: none;
}

.product-faq-list summary::-webkit-details-marker {
    display: none;
}

.product-faq-list summary b {
    display: grid;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex: 0 0 34px;
    place-items: center;
    color: #007fba;
    background: #e7f5fb;
    font-size: 22px;
    font-weight: 400;
    transition: transform 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.product-faq-list details[open] summary b {
    color: #fff;
    background: #007fba;
    transform: rotate(45deg);
}

.product-faq-list details > div {
    padding: 0 54px 24px 4px;
}

.product-faq-list details p {
    max-width: 880px;
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

@media (max-width: 1180px) {
    .product-guide-grid,
    .product-solution-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-factory-video,
    .product-factory-video > img {
        min-height: 470px;
    }
}

@media (max-width: 900px) {
    .product-buying-section {
        padding: 68px 0;
    }

    .product-selection-focus {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .product-buying-heading--split {
        display: block;
    }

    .product-buying-heading--split > .text-link {
        display: inline-flex;
        margin-top: 18px;
    }

    .product-factory-layout {
        grid-template-columns: 1fr;
    }

    .product-factory-video,
    .product-factory-video > img {
        min-height: 460px;
    }

    .product-factory-gallery {
        min-height: 480px;
    }
}

@media (max-width: 680px) {
    .product-buying-section {
        padding: 48px 0;
    }

    .product-buying-section > .site-shell {
        width: calc(100% - 20px);
    }

    .product-buying-heading {
        margin-bottom: 26px;
    }

    .product-buying-heading h2 {
        font-size: 28px;
        line-height: 1.22;
    }

    .product-buying-heading > p:last-child,
    .product-buying-heading > div > p:last-child {
        margin-top: 13px;
        font-size: 15px;
        line-height: 1.65;
    }

    .product-selection-focus {
        margin-bottom: 16px;
        padding: 20px 17px;
        border-left-width: 4px;
    }

    .product-selection-focus p {
        font-size: 14px;
        line-height: 1.65;
    }

    .product-guide-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .product-guide-card {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        padding: 20px 16px;
        column-gap: 10px;
    }

    .product-guide-card > span {
        grid-row: span 2;
        margin: 2px 0 0;
        font-size: 24px;
    }

    .product-guide-card h3 {
        margin-bottom: 6px;
        font-size: 18px;
    }

    .product-guide-card p {
        font-size: 14px;
    }

    .product-buying-cta {
        display: block;
        margin-top: 16px;
        padding: 22px 17px;
    }

    .product-buying-cta p {
        font-size: 14px;
    }

    .product-buying-cta .button {
        width: 100%;
        margin-top: 16px;
    }

    .product-comparison-table {
        margin-right: -1px;
    }

    .product-comparison-table table {
        min-width: 780px;
    }

    .product-comparison-table th,
    .product-comparison-table td {
        padding: 15px 14px;
        font-size: 13px;
    }

    .product-comparison-table thead th {
        font-size: 12px;
    }

    .product-solution-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .product-solution-card figure {
        height: auto;
        aspect-ratio: 1.3 / 1;
    }

    .product-solution-card > div {
        min-height: 150px;
        padding: 13px 11px;
    }

    .product-solution-card h3 {
        margin-bottom: 8px;
        font-size: 15px;
    }

    .product-solution-card p {
        display: none;
    }

    .product-solution-card > div > span {
        font-size: 12px;
    }

    .product-factory-video,
    .product-factory-video > img {
        min-height: 390px;
    }

    .product-factory-video__overlay {
        right: 20px;
        bottom: 22px;
        left: 20px;
        grid-template-columns: 52px minmax(0, 1fr);
        column-gap: 12px;
    }

    .product-factory-video__overlay b {
        width: 52px;
        height: 52px;
    }

    .product-factory-video__overlay strong {
        font-size: 19px;
    }

    .product-factory-video__overlay small {
        font-size: 12px;
    }

    .product-factory-gallery {
        min-height: 320px;
        gap: 8px;
    }

    .product-faq-list summary {
        gap: 14px;
        padding: 18px 0;
        font-size: 16px;
    }

    .product-faq-list summary b {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
        font-size: 19px;
    }

    .product-faq-list details > div {
        padding: 0 40px 19px 0;
    }

    .product-faq-list details p {
        font-size: 14px;
        line-height: 1.65;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-solution-card,
    .product-solution-card figure img,
    .product-factory-video > img,
    .product-factory-video__overlay b,
    .product-factory-gallery img,
    .product-faq-list summary b {
        transition: none;
    }
}