.site-main--product-detail {
    background: #f7fafc;
}

.mp-product-detail {
    padding: 72px 0 96px;
}

.mp-product-detail__shell {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 34px;
    align-items: start;
    padding: 28px;
    border: 1px solid rgba(31, 41, 55, .08);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(15, 23, 42, .08);
}

.mp-product-gallery {
    min-width: 0;
}

.mp-product-gallery__main {
    overflow: hidden;
    border-radius: 18px;
    background: #eaf7fa;
}

.mp-product-gallery__main img {
    width: 100%;
    aspect-ratio: 1 / .82;
    object-fit: cover;
}

.mp-product-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.mp-product-gallery__thumb {
    overflow: hidden;
    border: 2px solid rgba(31, 143, 169, .14);
    border-radius: 12px;
    background: #fff;
}

.mp-product-gallery__thumb img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.mp-product-detail__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    color: #1f5f73;
    font-weight: 800;
}

.mp-product-detail__content {
    position: sticky;
    top: 24px;
    min-width: 0;
}

.mp-product-detail__groups {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.mp-product-detail__groups a {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: #eaf7fa;
    color: #1f5f73;
    font-size: 13px;
    font-weight: 800;
}

.mp-product-detail__content h2 {
    margin: 0 0 16px;
    color: #111827;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
}

.mp-product-detail__lead {
    margin: 0 0 22px;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.75;
}

.mp-product-detail__quick {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 24px;
}

.mp-product-detail__quick div {
    padding: 16px;
    border: 1px solid rgba(31, 143, 169, .14);
    border-radius: 14px;
    background: #f3fbfd;
}

.mp-product-detail__quick span,
.mp-product-detail__quick strong {
    display: block;
}

.mp-product-detail__quick span {
    margin-bottom: 4px;
    color: #5b6677;
    font-size: 13px;
    font-weight: 700;
}

.mp-product-detail__quick strong {
    color: #111827;
    font-size: 16px;
}

.mp-product-detail__entry {
    color: #374151;
    font-size: 16px;
    line-height: 1.8;
}

.mp-product-detail__entry > *:first-child {
    margin-top: 0;
}

.mp-product-detail__entry > *:last-child {
    margin-bottom: 0;
}

.mp-product-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.mp-product-detail__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid #1f8fa9;
    border-radius: 999px;
    background: #1f8fa9;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 14px 32px rgba(31, 143, 169, .24);
}

.mp-product-detail__btn--ghost {
    background: #fff;
    color: #1f5f73;
    box-shadow: none;
}

.mp-product-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 52px;
}

.mp-product-specs__panel {
    padding: 26px;
    border: 1px solid rgba(31, 41, 55, .08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .06);
}

.mp-product-specs__panel--wide {
    grid-column: 1 / -1;
}

.mp-product-specs h2 {
    margin: 0 0 16px;
    color: #111827;
    font-size: 22px;
}

.mp-product-specs ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mp-product-specs li {
    position: relative;
    padding-left: 22px;
    color: #4b5563;
}

.mp-product-specs li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #1f8fa9;
}

.mp-product-specs dl {
    display: grid;
    gap: 0;
    margin: 0;
}

.mp-product-specs dl div {
    display: grid;
    grid-template-columns: minmax(160px, .35fr) 1fr;
    gap: 18px;
    padding: 14px 0;
    border-top: 1px solid rgba(31, 41, 55, .10);
}

.mp-product-specs dl div:first-child {
    border-top: 0;
    padding-top: 0;
}

.mp-product-specs dt {
    color: #111827;
    font-weight: 800;
}

.mp-product-specs dd {
    margin: 0;
    color: #4b5563;
}

@media (max-width: 991px) {
    .mp-product-detail {
        padding: 54px 0 72px;
    }

    .mp-product-detail__shell {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 20px;
    }

    .mp-product-detail__content {
        position: static;
    }

    .mp-product-specs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .mp-product-detail__actions {
        flex-direction: column;
    }

    .mp-product-detail__quick {
        grid-template-columns: 1fr;
    }

    .mp-product-gallery__thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .mp-product-detail__btn {
        width: 100%;
    }

    .mp-product-specs__panel {
        padding: 20px;
    }

    .mp-product-specs dl div {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}
