/* Equipment product detail page */

.product-detail {
    padding: 28px 40px 80px;
    background: #f8fafc;
}

.product-detail__topline {
    max-width: 1500px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.product-breadcrumbs {
    min-width: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    color: #7a8696;
    font-size: 12px;
}

.product-breadcrumbs a {
    color: #667085;
    text-decoration: none;
}

.product-breadcrumbs a:hover {
    color: #0864d9;
}

.product-breadcrumbs span {
    color: #b0b8c4;
}

.product-breadcrumbs strong {
    color: #344054;
    font-weight: 650;
}

.product-detail__back-button {
    flex: 0 0 auto;
    width: 88px;
    height: 38px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 11px;
    border: 1px solid #c8ced6;
    border-radius: 6px;
    background: #ffffff;
    color: #344054;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: border-color .16s ease, color .16s ease, background-color .16s ease, transform .16s ease;
}

.product-detail__back-icon {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    display: block;
    fill: currentColor;
}

.product-detail__back-label {
    display: block;
    line-height: 1;
    white-space: nowrap;
}

.product-detail__back-button:hover {
    border-color: #0864d9;
    background: #f8fbff;
    color: #0864d9;
    transform: translateY(-1px);
}

.product-detail__hero,
.product-detail__content,
.product-detail__sections {
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
}

.product-detail__hero {
    display: grid;
    grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
    min-height: 520px;
    overflow: hidden;
    border: 1px solid #e1e7ee;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 26px rgba(16, 24, 40, .035);
}

.product-detail__gallery {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-right: 1px solid #edf1f5;
    background: #f6f8fb;
}

.product-detail__media {
    position: relative;
    flex: 0 0 auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    padding: 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 42%, #ffffff 0%, #f8fafc 62%, #f1f4f7 100%);
}

.product-detail__media img {
    width: 100%;
    height: 100%;
    max-height: 440px;
    display: block;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.product-detail__media-brand {
    position: absolute;
    left: 24px;
    bottom: 20px;
    color: #98a2b3;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .14em;
}

.product-detail__media-placeholder {
    color: #98a2b3;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: .14em;
}

.product-detail__thumbnails {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(92px, 110px));
    gap: 10px;
    padding: 14px 18px 18px;
    border-top: 1px solid #e8edf3;
    background: rgba(255,255,255,.72);
}

.product-detail__thumbnails a {
    height: 82px;
    display: block;
    overflow: hidden;
    border: 1px solid #dde5ee;
    border-radius: 7px;
    background: #ffffff;
}

.product-detail__thumbnails img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.product-detail__summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 52px;
}

.product-detail__model {
    color: #0864d9;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .08em;
}

.product-detail__summary h1 {
    max-width: 620px;
    margin: 12px 0 18px;
    color: #111827;
    font-size: clamp(32px, 3vw, 48px);
    font-weight: 760;
    line-height: 1.06;
    letter-spacing: -.04em;
}

.product-detail__lead {
    max-width: 600px;
    margin: 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.65;
}

.product-detail__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #edf1f5;
}

.product-detail__price strong {
    color: #111827;
    font-size: 28px;
    font-weight: 780;
    letter-spacing: -.025em;
}

.product-detail__price small {
    color: #667085;
    font-size: 13px;
    font-weight: 650;
}

.product-detail__quick-features {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 20px;
}

.product-detail__quick-features span {
    padding: 7px 9px;
    border: 1px solid #e1e7ee;
    border-radius: 5px;
    background: #f9fbfd;
    color: #475467;
    font-size: 10px;
    font-weight: 650;
}

.product-detail__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
    gap: 22px;
    margin-top: 22px;
}

.product-detail__description,
.product-detail__specifications,
.product-detail__section-card {
    padding: 34px 36px 38px;
    border: 1px solid #e3e8ee;
    border-radius: 12px;
    background: #ffffff;
}

.product-detail__description h2,
.product-detail__specifications h2,
.product-detail__section-card h2 {
    margin: 7px 0 18px;
    color: #111827;
    font-size: 26px;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.product-detail__description p {
    max-width: 760px;
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.75;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.product-detail__specifications dl {
    margin: 0;
}

.product-detail__specifications dl > div {
    display: grid;
    grid-template-columns: minmax(120px, .8fr) minmax(130px, 1fr);
    gap: 20px;
    padding: 13px 0;
    border-top: 1px solid #edf1f5;
}

.product-detail__specifications dt,
.product-detail__specifications dd {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
}

.product-detail__specifications dt {
    color: #7a8696;
}

.product-detail__specifications dd {
    color: #111827;
    font-weight: 650;
    text-align: right;
}

.product-detail__sections {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 22px;
}

.product-detail__section-card ul {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-detail__section-card li {
    position: relative;
    padding-left: 18px;
    color: #667085;
    font-size: 14px;
    line-height: 1.55;
}

.product-detail__section-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0864d9;
}

.product-compatible {
    max-width: 1500px;
    margin: 24px auto 0;
}

.product-compatible__heading {
    margin-bottom: 16px;
}

.product-compatible__heading h2 {
    margin: 5px 0 0;
    color: #111827;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.product-compatible__heading p {
    max-width: 620px;
    margin: 6px 0 0;
    color: #667085;
    font-size: 12px;
    line-height: 1.55;
}

.product-compatible__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 250px));
    gap: 14px;
    justify-content: start;
}

.product-compatible-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e3e8ee;
    border-radius: 12px;
    background: #ffffff;
}

.product-compatible-card__media {
    aspect-ratio: 3 / 4;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 12px;
    border-bottom: 1px solid #edf1f5;
    background:
        radial-gradient(circle at 50% 44%, #ffffff 0%, #f7f9fb 58%, #f1f4f7 100%);
    text-decoration: none;
}

.product-compatible-card__media img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 9px;
    mix-blend-mode: multiply;
}

.product-compatible-card__media span {
    color: #98a2b3;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
}

.product-compatible-card__body {
    padding: 13px 14px 14px;
}

.product-compatible-card h3 {
    margin: 0;
    color: #111827;
    font-size: 13px;
    line-height: 1.35;
}

.product-compatible-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid #edf1f5;
}

.product-compatible-card__footer strong {
    color: #111827;
    font-size: 12px;
    font-weight: 750;
}

.product-compatible-card__footer a {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border: 1px solid #0864d9;
    border-radius: 6px;
    background: #0864d9;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(8, 100, 217, .14);
    transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}

.product-compatible-card__footer a:hover {
    border-color: #075abd;
    background: #075abd;
    color: #ffffff;
    transform: translateY(-1px);
}

.product-not-found {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 64px 40px;
    background: #f8fafc;
}

.product-not-found h1 {
    margin: 10px 0 12px;
    font-size: 42px;
    letter-spacing: -.035em;
}

.product-not-found p {
    margin: 0;
    color: #667085;
}

.product-back-link {
    margin-top: 24px;
    color: #0864d9;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 1000px) {
    .product-detail__hero {
        grid-template-columns: 1fr;
    }

    .product-detail__gallery {
        border-right: 0;
        border-bottom: 1px solid #edf1f5;
    }

    .product-detail__media {
        aspect-ratio: auto;
        min-height: 440px;
        padding: 32px;
    }

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

    .product-detail__sections {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .product-compatible__grid {
        grid-template-columns: minmax(0, 250px);
        gap: 12px;
    }

    .product-detail {
        padding: 20px 20px 56px;
    }

    .product-detail__topline {
        margin-bottom: 18px;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .product-breadcrumbs {
        font-size: 11px;
    }

    .product-detail__hero {
        min-height: 0;
        border-radius: 10px;
    }

    .product-detail__media {
        aspect-ratio: auto;
        min-height: 320px;
        padding: 24px;
    }

    .product-detail__media img {
        max-height: 285px;
    }

    .product-detail__summary {
        padding: 32px 24px 34px;
    }

    .product-detail__summary h1 {
        font-size: 32px;
    }

    .product-detail__content,
    .product-detail__sections {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 14px;
    }

    .product-detail__description,
    .product-detail__specifications,
    .product-detail__section-card {
        padding: 26px 24px 30px;
        border-radius: 10px;
    }

    .product-detail__specifications dl > div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .product-detail__specifications dd {
        text-align: left;
    }

    .product-not-found {
        padding: 56px 20px;
    }
}
