.product-page {
    --pb-bg: #080808;
    --pb-panel: #111112;
    --pb-panel-alt: #0d0d0e;
    --pb-line: #2a2a2c;
    --pb-text: #f4f4f4;
    --pb-muted: #96969b;
    min-height: 100vh;
    background: var(--pb-bg);
    color: var(--pb-text);
}

.product-shell {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    padding: 122px 0 112px;
}

.product-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    margin-bottom: 26px;
}

.product-back {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    color: #b5b5ba;
    font-size: 11px;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.product-back:hover { color: #fff; transform: translateX(-3px); }
.product-nav__trail { display: flex; align-items: center; gap: 10px; color: #626267; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.product-nav__trail i { width: 3px; height: 3px; border-radius: 50%; background: #626267; }
.product-nav__trail strong { color: #a7a7ac; font-weight: 500; }

.product-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr);
    min-height: 570px;
    overflow: hidden;
    border: 1px solid var(--pb-line);
    border-radius: 24px;
    background: var(--pb-panel);
}

.product-gallery {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 0;
    background: var(--pb-panel-alt);
}

.product-gallery__stage {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 23px 0 0 23px;
    background: #090909;
}

.product-gallery__stage img,
.product-gallery__stage iframe { width: 100%; height: 100%; }
.product-gallery__stage img { object-fit: contain; }
.product-gallery__stage iframe { object-fit: cover; }
.product-gallery__stage img { cursor: zoom-in; transition: transform 300ms ease, filter 300ms ease; }
.product-gallery__stage:hover img { transform: scale(1.012); filter: brightness(1.04); }

.product-gallery__zoom {
    position: absolute;
    z-index: 2;
    right: 16px;
    bottom: 16px;
    display: flex;
    min-height: 44px;
    align-items: center;
    width: 44px;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: rgba(12,12,13,.88);
    backdrop-filter: blur(12px);
    color: #f4f4f4;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease;
}

.product-gallery__zoom:hover { background: #f4f4f4; color: #080808; }
.product-gallery__data { display: none; }
.product-gallery__arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: rgba(12,12,13,.82);
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 180ms ease;
}
.product-gallery__arrow:hover { background: #f2f2f3; color: #090909; }
.product-gallery__arrow--prev { left: 18px; }
.product-gallery__arrow--next { right: 18px; }

.product-summary {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 46px 48px 36px;
    border-left: 1px solid var(--pb-line);
}

.product-summary__topline { display: flex; align-items: center; justify-content: flex-end; color: #85858a; font-size: 13px; font-weight: 500; }
.product-summary__status { display: flex; align-items: center; gap: 8px; color: #d5d5d8; }
.product-summary__status i { width: 6px; height: 6px; border-radius: 50%; background: #efeff0; }
.product-summary__status.is-offline i { background: #606065; }
.product-summary__heading { padding: 58px 0 42px; }
.product-summary h1 { margin-top: 14px; color: #fff; font-size: clamp(50px, 5vw, 76px); font-weight: 600; letter-spacing: -.065em; line-height: .94; }
.product-summary__lead { max-width: 500px; margin-top: 26px; color: #a8a8ad; font-size: 16px; line-height: 1.7; }

.product-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 22px 34px;
    margin: 0;
    padding: 21px 0;
    border-top: 1px solid var(--pb-line);
    border-bottom: 1px solid var(--pb-line);
}
.product-facts div { display: flex; flex-direction: column; gap: 6px; }
.product-facts dt { color: #626267; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.product-facts dd { margin: 0; color: #d4d4d7; font-size: 10px; font-weight: 500; }

.product-plans { margin-top: auto; padding-top: 30px; border-top: 1px solid var(--pb-line); }
.product-plans__heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 11px; }
.product-plans__heading span { color: #efeff0; font-size: 14px; font-weight: 600; }
.product-plans__heading small { color: #66666a; font-size: 8px; }
.product-plans__list { border-top: 1px solid var(--pb-line); }
.product-plans__list form,
.product-summary > form,
.product-details__body > form { width: 100%; margin: 0; }
.product-plan {
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid var(--pb-line);
    color: inherit;
    text-decoration: none;
    transition: padding 180ms ease, background-color 180ms ease;
    width: 100%;
    border: 0;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.product-plan:hover { padding-inline: 10px; background: rgba(255,255,255,.018); }
.product-plan__choice { display: flex; align-items: center; gap: 13px; }
.product-plan__choice i { width: 14px; height: 14px; border: 1px solid #636368; border-radius: 50%; }
.product-plan.is-featured .product-plan__choice i { border: 4px solid #f2f2f3; }
.product-plan__choice div,
.product-plan__price { display: flex; flex-direction: column; gap: 4px; }
.product-plan__choice span { color: #eeeef0; font-size: 12px; font-weight: 600; }
.product-plan__choice small { color: #85858a; font-size: 12px; }
.product-plan__price { align-items: flex-end; }
.product-plan__price b { color: #fff; font-size: 22px; letter-spacing: -.03em; }

.product-buy {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding: 0 20px;
    border-radius: 11px;
    background: #f1f1f2;
    color: #090909;
    text-decoration: none;
    transition: background-color 180ms ease, transform 180ms ease;
    width: 100%;
    border: 0;
    font: inherit;
    cursor: pointer;
}
.product-buy > span { font-size: 14px; font-weight: 700; text-transform: uppercase; }
.product-buy > b { font-size: 15px; }
.product-buy:hover { background: #fff; transform: translateY(-1px); }
.product-buy.is-disabled { justify-content: center; background: #1b1b1d; color: #77777b; }
.product-delivery { margin-top: 13px; color: #69696d; font-size: 8px; line-height: 1.5; text-align: center; }
.product-delivery i { margin-right: 6px; color: #aaa; font-style: normal; }

.product-details {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 90px;
    margin-top: 84px;
    padding-top: 64px;
    border-top: 1px solid var(--pb-line);
}
.product-details__intro h2 { color: #fff; font-size: clamp(36px, 4vw, 56px); font-weight: 500; letter-spacing: -.055em; line-height: 1; }
.product-details__body > p { max-width: 720px; color: #a2a2a7; font-size: 15px; line-height: 1.8; white-space: pre-line; }
.product-details__features { margin-top: 42px; border-top: 1px solid var(--pb-line); }
.product-details__features > div {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 22px;
    align-items: start;
    padding: 22px 0;
    border-bottom: 1px solid var(--pb-line);
}
.product-details__features b { color: #e8e8ea; font-size: 12px; font-weight: 600; }
.product-details__features p { color: #89898e; font-size: 13px; line-height: 1.6; }
.product-support {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #aaa;
    background: transparent;
    color: #eee;
    font-size: 10px;
    text-align: left;
    cursor: pointer;
}
.product-support span { color: #747479; }
.product-support b { font-size: 10px; font-weight: 600; }

body.gallery-open { overflow: hidden; }
.modal { display: none; position: fixed; z-index: 20; inset: 0; align-items: center; justify-content: center; padding: 52px 82px; background: rgba(0,0,0,.96); opacity: 0; transition: opacity 180ms ease; }
.modal.active { opacity: 1; }
.modal__viewport { width: 100%; height: 100%; overflow: auto; display: flex; align-items: center; justify-content: center; }
.modal-content { display: block; max-width: 90%; max-height: 90%; border-radius: 14px; cursor: zoom-in; }
.modal-content.is-zoomed { max-width: none; max-height: none; border-radius: 0; cursor: zoom-out; }
.modal__close,
.modal__nav { position: fixed; z-index: 2; border: 0; border-radius: 10px; background: #202022; color: #fff; cursor: pointer; }
.modal__close { top: 22px; right: 24px; width: 44px; height: 44px; border-radius: 50%; font-size: 23px; }
.modal__nav { top: 50%; width: 46px; height: 70px; font-size: 30px; transform: translateY(-50%); }
.modal__nav--prev { left: 20px; }
.modal__nav--next { right: 20px; }
.modal__hint { position: fixed; bottom: 18px; color: #77777b; font-size: 9px; }

@media (prefers-reduced-motion: no-preference) {
    .product-hero { animation: product-enter 320ms ease both; }
    @keyframes product-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}

@media (max-width: 1080px) {
    .product-hero { grid-template-columns: 1fr; }
    .product-gallery__stage { aspect-ratio: 16 / 10; border-radius: 23px 23px 0 0; }
    .product-summary { border-top: 1px solid var(--pb-line); border-left: 0; }
    .product-summary__heading { padding-top: 50px; }
    .product-plans { margin-top: 20px; }
    .product-details { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
    body:has(.product-page) .titlebar__content { align-items: center; justify-content: space-between; padding: 0 14px; }
    body:has(.product-page) .titlebar__item { width: auto; }
    body:has(.product-page) .titlebar__item:first-child { display: flex; }
    body:has(.product-page) .titlebar__item:nth-child(2) { display: none; }
    body:has(.product-page) .titlebar__item:last-child { gap: 2px; }
    body:has(.product-page) .titlebar__item:last-child .titlebar__button { min-height: 44px; padding-inline: 9px; font-size: 9px; }
    .product-shell { width: min(100% - 24px, 1280px); padding: 104px 0 72px; }
    .product-nav { margin-bottom: 12px; }
    .product-nav__trail { display: none; }
    .product-hero { min-height: 0; border-radius: 18px; }
    .product-gallery { padding: 0; }
    .product-gallery__stage { aspect-ratio: 16 / 11; border-radius: 17px 17px 0 0; }
    .product-gallery__zoom { right: 10px; bottom: 10px; width: 44px; justify-content: center; padding: 0; }
    .product-gallery__zoom span { display: none; }
    .product-summary { padding: 32px 22px 24px; }
    .product-summary__heading { padding: 46px 0 32px; }
    .product-summary h1 { font-size: 50px; }
    .product-summary__lead { font-size: 15px; }
    .product-plans__heading small { display: none; }
    .product-plan { min-height: 72px; }
    .product-details { margin-top: 72px; padding-top: 54px; }
    .product-details__features > div { grid-template-columns: 1fr; gap: 10px; }
    .modal { padding: 64px 10px; }
    .modal__nav { top: auto; bottom: 18px; height: 44px; }
}
