.page-product-showcase {
    background: #fff;
}

.product-showcase {
    padding: 26px 0 72px;
}

.product-showcase__shell {
    width: min(1160px, calc(100% - 48px));
    margin: 0 auto;
}

.product-showcase__crumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 22px;
    color: #7d8792;
}

.product-showcase__crumbs a {
    color: #7d8792;
    text-decoration: none;
}

.product-showcase__hero {
    display: grid;
    grid-template-columns: minmax(360px, 420px) minmax(0, 1fr);
    gap: 72px;
    align-items: start;
}

.product-showcase__media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-showcase__media img {
    display: block;
    width: 100%;
    max-width: 420px;
    object-fit: contain;
}

.product-showcase__summary {
    padding-top: 6px;
}

.product-showcase__summary h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.35;
    color: #7f9bb6;
    font-weight: 700;
}

.product-showcase__model,
.product-showcase__updated {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 24px;
    color: #9aa0a6;
}

.product-showcase__model {
    margin-top: 16px;
    font-size: 20px;
    line-height: 30px;
    color: #a4a4a4;
    font-weight: 700;
}

.product-showcase__model span,
.product-showcase__updated span {
    font-weight: 400;
}

.product-showcase__brief {
    margin-top: 24px;
}

.product-showcase__brief h2 {
    margin: 0;
    font-size: 15px;
    line-height: 24px;
    color: #5a6069;
    font-weight: 700;
}

.product-showcase__brief p {
    margin: 14px 0 0;
    font-size: 15px;
    line-height: 1.95;
    color: #8b8f95;
}

.product-showcase__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 40px;
}

.product-showcase__consult {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 0;
    padding: 0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    color: #4c6177;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.product-showcase__consult:hover {
    text-decoration: none;
    color: #4c6177;
    opacity: 0.92;
    transform: translateY(-1px);
}

.product-showcase__consult-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #edf4fb;
    color: #7f98b4;
}

.product-showcase__consult-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.product-showcase__consult-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.2;
}

.product-showcase__consult-copy strong {
    font-size: 12px;
    font-weight: 700;
    color: #a0afc1;
}

.product-showcase__consult-copy span {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #586f87;
}

.product-showcase__back {
    display: inline-block;
    margin-top: 18px;
    color: #8b8f95;
    font-size: 14px;
    line-height: 22px;
    text-decoration: none;
}

.product-showcase__detail {
    margin-top: 38px;
}

.product-showcase__photos {
    margin-top: 34px;
}

.product-showcase__detail-tab {
    border-bottom: 1px solid #dde3e8;
}

.product-showcase__detail-tab span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 114px;
    height: 46px;
    padding: 0 24px;
    border: 1px solid #dde3e8;
    border-bottom: none;
    background: #fff;
    font-size: 16px;
    line-height: 24px;
    color: #4f5964;
    font-weight: 700;
}

.product-showcase__detail-body {
    padding: 24px 0 0;
}

.product-showcase__detail-body h3 {
    margin: 24px 0 8px;
    font-size: 17px;
    line-height: 28px;
    color: #4b545f;
    font-weight: 700;
}

.product-showcase__detail-body p {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.95;
    color: #555;
}

.product-showcase__detail-lead {
    font-weight: 700;
    color: #424a53;
}

body.is-lightbox-open {
    overflow: hidden;
}

.product-showcase__gallery {
    padding-top: 28px;
}

.product-showcase__gallery-stage {
    position: relative;
    padding: 0 72px;
}

.product-showcase__gallery-main,
.product-showcase__gallery-button,
.product-showcase__gallery-thumb,
.product-showcase__lightbox-backdrop,
.product-showcase__lightbox-button,
.product-showcase__lightbox-close {
    -webkit-appearance: none;
    appearance: none;
}

.product-showcase__gallery-main {
    display: block;
    position: relative;
    width: 100%;
    padding: 24px;
    border: 1px solid #dfe6ec;
    background: linear-gradient(180deg, #fff 0%, #f7fafc 100%);
    box-shadow: 0 18px 40px rgba(92, 114, 135, 0.08);
    cursor: zoom-in;
}

.product-showcase__gallery-main-image {
    display: block;
    width: min(100%, 980px);
    max-height: 720px;
    margin: 0 auto;
    object-fit: contain;
}

.product-showcase__gallery-zoom-tip,
.product-showcase__gallery-counter {
    position: absolute;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(41, 56, 73, 0.78);
    color: #fff;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.02em;
}

.product-showcase__gallery-zoom-tip {
    left: 22px;
}

.product-showcase__gallery-counter {
    right: 22px;
}

.product-showcase__gallery-button,
.product-showcase__lightbox-button {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 46px;
    height: 46px;
    margin-top: -23px;
    border: 1px solid #d9e0e7;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    color: #71849a;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.product-showcase__gallery-button:hover,
.product-showcase__lightbox-button:hover,
.product-showcase__gallery-thumb:hover,
.product-showcase__lightbox-close:hover {
    transform: translateY(-2px);
}

.product-showcase__gallery-button:hover,
.product-showcase__lightbox-button:hover {
    box-shadow: 0 10px 24px rgba(90, 111, 132, 0.18);
}

.product-showcase__gallery-button--prev {
    left: 6px;
}

.product-showcase__gallery-button--next {
    right: 6px;
}

.product-showcase__gallery-thumbs {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
    padding: 4px 2px 8px;
    overflow-x: auto;
}

.product-showcase__gallery-thumbs--single {
    display: none;
}

.product-showcase__gallery-thumb {
    flex: 0 0 132px;
    width: 132px;
    height: 96px;
    padding: 0;
    border: 1px solid #d7dfe7;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-showcase__gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-showcase__gallery-thumb.is-active {
    border-color: #89a6c2;
    box-shadow: 0 0 0 3px rgba(137, 166, 194, 0.18);
}

.product-showcase__lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.product-showcase__lightbox[hidden] {
    display: none;
}

.product-showcase__lightbox-backdrop {
    position: absolute;
    inset: 0;
    border: none;
    background: rgba(16, 24, 34, 0.82);
    cursor: zoom-out;
}

.product-showcase__lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 1240px);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-showcase__lightbox-close {
    align-self: flex-end;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.product-showcase__lightbox-content {
    width: 100%;
    padding: 0 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-showcase__lightbox-content img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 200px);
    object-fit: contain;
}

.product-showcase__lightbox-button {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.product-showcase__lightbox-button--prev {
    left: 0;
}

.product-showcase__lightbox-button--next {
    right: 0;
}

.product-showcase__lightbox-footer {
    margin-top: 20px;
}

.product-showcase__lightbox-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 14px;
    line-height: 1;
}

@media (max-width: 1024px) {
    .product-showcase__hero {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-showcase__actions {
        margin-top: 40px;
    }

    .product-showcase__gallery-stage {
        padding: 0 56px;
    }

    .product-showcase__gallery-button,
    .product-showcase__lightbox-button {
        width: 42px;
        height: 42px;
        margin-top: -21px;
    }

    .product-showcase__gallery-thumb {
        flex-basis: 118px;
        width: 118px;
        height: 86px;
    }

    .product-showcase__lightbox-content {
        padding: 0 56px;
    }
}

@media (max-width: 640px) {
    .product-showcase {
        padding: 20px 0 48px;
    }

    .product-showcase__shell {
        width: calc(100% - 24px);
    }

    .product-showcase__hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-showcase__summary h1 {
        font-size: 22px;
    }

    .product-showcase__model {
        font-size: 18px;
        line-height: 28px;
    }

    .product-showcase__actions {
        flex-direction: column;
        margin-top: 28px;
    }

    .product-showcase__consult {
        width: auto;
        justify-content: flex-start;
    }

    .product-showcase__detail-tab span {
        min-width: 96px;
        padding: 0 20px;
    }

    .product-showcase__gallery-stage {
        padding: 0 40px;
    }

    .product-showcase__gallery-main {
        padding: 14px;
    }

    .product-showcase__gallery-zoom-tip,
    .product-showcase__gallery-counter {
        bottom: 12px;
        height: 30px;
        padding: 0 12px;
        font-size: 12px;
    }

    .product-showcase__gallery-zoom-tip {
        left: 12px;
    }

    .product-showcase__gallery-counter {
        right: 12px;
    }

    .product-showcase__gallery-button,
    .product-showcase__lightbox-button {
        width: 36px;
        height: 36px;
        margin-top: -18px;
        font-size: 22px;
    }

    .product-showcase__gallery-button--prev {
        left: 0;
    }

    .product-showcase__gallery-button--next {
        right: 0;
    }

    .product-showcase__gallery-thumbs {
        justify-content: flex-start;
        gap: 10px;
        margin-top: 14px;
    }

    .product-showcase__gallery-thumb {
        flex-basis: 88px;
        width: 88px;
        height: 72px;
    }

    .product-showcase__lightbox {
        padding: 12px;
    }

    .product-showcase__lightbox-close {
        width: 42px;
        height: 42px;
        margin-bottom: 12px;
        font-size: 28px;
    }

    .product-showcase__lightbox-content {
        padding: 0 44px;
    }

    .product-showcase__lightbox-content img {
        max-height: calc(100vh - 148px);
    }

    .product-showcase__lightbox-button--prev {
        left: 4px;
    }

    .product-showcase__lightbox-button--next {
        right: 4px;
    }

    .product-showcase__lightbox-footer {
        margin-top: 16px;
    }
}
