.product-detail-page {
    --pd-blue: #1b9bce;
    --pd-pale: #c8effd;
    --pd-ink: #172a3a;
    color: var(--pd-ink);
    background: #fff;
}

.product-detail-shell {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

.product-detail-hero {
    position: relative;
    min-height: 470px;
    overflow: hidden;
    background-color: #05080c;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.77) 37%, rgba(0, 0, 0, 0.18) 76%), url('../../assets/images/seo-marketing-hero.png');
    background-position: center;
    background-size: cover;
}

.product-detail-hero__content {
    display: flex;
    align-items: center;
    width: min(1160px, calc(100% - 40px));
    min-height: 470px;
    margin-inline: auto;
    padding: clamp(3rem, 8vw, 6.25rem) 0;
}

.product-detail-hero__inner {
    max-width: 510px;
    color: #fff;
}

.product-detail-eyebrow {
    display: inline-flex;
    margin-bottom: 1.25rem;
    padding: 0.4rem 1.2rem;
    color: #fff;
    font-size: 0.76rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 4px;
}

.product-detail-hero h1 {
    max-width: 460px;
    margin: 0 0 1.15rem;
    font-family: var(--font-sans);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.13;
}

.product-detail-hero p {
    max-width: 480px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.96rem;
    line-height: 1.75;
}

.product-overview {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(2.5rem, 7vw, 6rem);
    padding-block: clamp(4rem, 8vw, 7rem);
}

.product-overview__media {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 430px;
}

.product-overview__phones {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    width: 100%;
}

.product-overview__phones img {
    width: min(48%, 230px);
    max-height: 470px;
    object-fit: contain;
    filter: drop-shadow(0 22px 25px rgba(19, 45, 63, 0.12));
}

.product-overview__phones img + img {
    margin-left: -13%;
    transform: translateY(28px);
}

.product-overview__single {
    width: min(100%, 430px);
    max-height: 390px;
    object-fit: contain;
}

.product-overview__eyebrow {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: 0.35rem 1.1rem;
    color: #234254;
    font-size: 0.76rem;
    font-weight: 600;
    border: 1px solid #77c4df;
    border-radius: 5px;
}

.product-overview h2,
.product-features h2 {
    margin: 0 0 1rem;
    font-family: var(--font-sans);
    font-weight: 800;
}

.product-overview h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.55rem);
}

.product-overview p {
    margin: 0 0 1.5rem;
    color: #667681;
    line-height: 1.8;
}

.product-overview__button {
    display: inline-flex;
    padding: 0.78rem 1.65rem;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, #168bbf, #28b9e5);
    border-radius: 5px;
}

.product-overview__button:hover,
.product-overview__button:focus {
    color: #fff;
}

.product-features {
    padding-bottom: clamp(3rem, 7vw, 6rem);
}

.product-features__heading {
    margin-bottom: 2.35rem;
    text-align: center;
}

.product-features__heading p {
    margin: 0;
    color: #8a969e;
}

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

.product-feature {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    min-height: 154px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #b6cbd5;
    border-radius: 7px;
}

.product-feature:nth-child(4n + 2),
.product-feature:nth-child(4n + 3),
.product-feature:last-child:nth-child(odd) {
    background: var(--pd-pale);
    border-color: var(--pd-pale);
}

.product-feature:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 7px);
    justify-self: center;
}

.product-feature__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    color: var(--pd-blue);
    font-size: 2.6rem;
    border-right: 1px solid rgba(54, 99, 121, 0.13);
}

.product-feature__body {
    padding: 1.2rem 1.35rem;
}

.product-feature h3 {
    margin: 0 0 0.55rem;
    font-size: 1.1rem;
    font-weight: 750;
}

.product-feature p {
    margin: 0;
    color: #71808a;
    font-size: 0.83rem;
    line-height: 1.6;
}

@media (max-width: 767.98px) {
    .product-detail-shell {
        width: min(100% - 24px, 1160px);
    }

    .product-detail-hero,
    .product-detail-hero__content {
        min-height: 430px;
    }

    .product-detail-hero {
        background-position: 66% center;
    }

    .product-detail-hero__content {
        padding-inline: 1.4rem;
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.87), rgba(0, 0, 0, 0.48));
    }

    .product-overview {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .product-overview__media {
        min-height: 340px;
    }

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

    .product-feature,
    .product-feature:last-child:nth-child(odd) {
        grid-column: auto;
        width: 100%;
    }
}

@media (max-width: 479.98px) {
    .product-feature {
        grid-template-columns: 78px minmax(0, 1fr);
    }

    .product-feature__icon {
        font-size: 2rem;
    }

    .product-feature__body {
        padding: 1rem;
    }
}
