html {
    scroll-behavior: smooth;
    scroll-padding-top: 16px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

.button_arrow_text .link__arrow i {
    color: #fff;
    font-size: 18px;
    line-height: 1;
}

.button_arrow_text .link__text {
    font-weight: 400;
}

.block {
    padding: 110px 0;
}

.lead,
.service__row p,
.fact__text {
    font-size: clamp(17px, 1.39vw, 20px);
    line-height: 1;
    color: #171717;
}

.lead {
    max-width: 684px;
    margin: 0;
}

.lead + .lead {
    margin-top: 12px;
}

.lead--indent {
    text-indent: 60px;
}

.title-big,
.statement__text,
.fact__value {
    font-family: var(--pelorus-font);
}

.title-big {
    margin: 0;
    font-size: clamp(30px, 3.125vw, 45px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
}

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 6px;
    align-items: end;
}

.split--top {
    align-items: start;
}

.mark {
    display: block;
    width: 14px;
    height: 10px;
    margin: 14px auto;
    background:
        linear-gradient(#171717, #171717) center top / 100% 2px no-repeat,
        linear-gradient(#171717, #171717) center top / 2px 100% no-repeat;
}

.mark--up {
    transform: scaleY(-1);
}

.telemetry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    font-size: 12px;
    font-weight: 600;
}

.telemetry .mark {
    margin: 0;
}

.shot {
    position: relative;
    overflow: hidden;
    color: #fff;
}

.shot__img {
    display: block;
    width: 100%;
    height: auto;
    background: #2a3138;
}

.shot__layer {
    position: absolute;
    inset: 0;
}

.glass {
    background: rgba(112, 112, 112, .62);
    color: #fff;
    -webkit-backdrop-filter: blur(26px);
    backdrop-filter: blur(26px);
}

.hero .hero__heading {
    position: absolute;
    top: 46%;
    left: 0;
    right: 0;
    margin: 0;
    text-align: center;
    font-size: clamp(18px, 1.95vw, 28px);
    font-weight: 400;
    line-height: 1.16;
}

.hero__logo {
    display: none;
    background: none;
}

.hero__tagline {
    display: block;
}

.hero__card {
    position: absolute;
    top: 61.1%;
    left: 42.2%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 15.6%;
    height: 32.6%;
    padding: 2% 1.8% 2%;
    border-radius: 19% / 16%;
    font-size: clamp(11px, .95vw, 14px);
}

.hero__card-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero__card-top i {
    font-size: 1.5em;
    line-height: 1;
}

.hero__dots {
    position: absolute;
    top: 50%;
    left: 5%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    transform: translateY(-50%);
}

.hero__dots button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.hero__dots button::before {
    content: "";
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, .45);
    border-radius: 50%;
    transition: all .2s ease;
}

.hero__dots .is-active::before {
    width: 6px;
    height: 6px;
    background: #fff;
}

.hero__slides {
    position: relative;
    flex: 1;
    width: 100%;
    margin-top: 6%;
}

.hero__slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s;
}

.hero__slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero__thumb {
    width: 42%;
    min-height: 0;
    flex: 1;
    aspect-ratio: 164 / 240;
    object-fit: cover;
    background: none;
}

.hero__card-text {
    text-align: center;
}

.hero__caption {
    position: absolute;
    top: 95.2%;
    left: 0;
    right: 0;
    margin: 0;
    text-align: center;
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.2;
}

.products {
    padding-top: 90px;
    padding-bottom: 90px;
}

.products__head {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 6px;
    align-items: center;
}

.products__head .button_arrow_text {
    justify-self: start;
}

.products__nav {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 26px 0 24px;
}

.products__nav button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 34px;
    padding: 0;
    border: 0;
    background: #efefef;
    border-radius: 10px;
    color: #171717;
    font-size: 20px;
    cursor: pointer;
    transition: background-color .15s ease-in-out;
}

.products__nav button:hover {
    background: #e0e0e0;
}

.products__list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 23.8vw;
    gap: 10px;
    padding: 0 20px 30px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding: 0 20px;
    scrollbar-width: none;
}

.products__list::-webkit-scrollbar {
    display: none;
}

.product {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 2.5rem;
    background: #cfcfcf;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .12);
    scroll-snap-align: start;
}

.product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: none;
    transition: transform .4s ease;
}

.product:hover img {
    transform: scale(1.03);
}

.product--card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 28px 24px 26px;
    background: #fff;
    text-align: center;
}

.product--card img {
    width: 42%;
    height: auto;
    object-fit: contain;
    filter: brightness(1.09) contrast(1.04);
    mix-blend-mode: multiply;
}

.product__note {
    max-width: 180px;
    font-size: 14px;
    line-height: 1.2;
}

.product__name {
    display: block;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
}

.product__name b {
    display: block;
    color: #ef6c47;
    font-weight: 500;
}

.product__price {
    padding: 7px 20px;
    background: #ef6c47;
    border-radius: 20px;
    color: #fff;
    font-size: 15px;
    line-height: 1.2;
}

.company {
    padding-top: 40px;
    padding-bottom: 90px;
}

.company .block_title_mini {
    margin-bottom: 18px;
}

.company .title-big {
    max-width: 640px;
}

.company__photos {
    display: grid;
    grid-template-columns: 24.6% minmax(0, 1fr);
    gap: 10px;
    margin-top: 40px;
}

.company__photos img {
    width: 100%;
    height: clamp(280px, 31.2vw, 620px);
    object-fit: cover;
    border-radius: 2.5rem;
}

.statement {
    padding: 80px 0;
    text-align: center;
}

.statement__text {
    max-width: 1140px;
    margin: 0 auto 34px;
    font-size: clamp(19px, 1.75vw, 25px);
    font-weight: 500;
    line-height: 1.12;
}

.history .block_title_mini {
    margin-bottom: 18px;
}

.history__head {
    margin-bottom: 36px;
}

.history__grid {
    display: grid;
    grid-template-columns: 222fr 340fr 456fr 339fr;
    gap: 10px;
    align-items: start;
}

.history__photo {
    grid-row: 1;
    width: 100%;
    height: clamp(180px, 21.6vw, 420px);
    object-fit: cover;
    border-radius: 2.5rem;
}

.history__photo--tall {
    grid-row: 1 / span 2;
    height: clamp(260px, 31.2vw, 600px);
}

.history__fact {
    grid-column: 3 / -1;
    grid-row: 2;
    padding-left: 11.6%;
    margin-top: 28px;
}

.fact__value {
    font-size: clamp(64px, 10.4vw, 150px);
    font-weight: 500;
    line-height: 1;
}

.fact__value sup {
    position: relative;
    top: -.08em;
    font-size: .52em;
    line-height: 0;
    vertical-align: super;
}

.fact__text {
    margin: 8px 0 0;
}

.production {
    padding: 56px 0 70px;
}

.production .statement__text {
    margin-bottom: 26px;
    max-width: 1300px;
    text-align: center;
}

.production__fact {
    margin-left: 50%;
}

.services {
    padding: 60px 0 80px;
}

.services__intro {
    margin-bottom: 26px;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 20px;
}

.service {
    display: flex;
    flex-direction: column;
}

.service .title-big {
    max-width: 560px;
    min-height: 2em;
    margin-bottom: 18px;
}

.service__row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}

.service__row p {
    max-width: 450px;
    margin: 0;
}

.service__row .button_arrow_text {
    flex-shrink: 0;
}

.service__photo {
    position: relative;
    margin-top: auto;
    overflow: hidden;
    border-radius: 1.5rem;
    color: #fff;
}

.service__photo img {
    width: 100%;
    height: auto;
}

.service__slides {
    position: relative;
    aspect-ratio: 1359 / 767;
    background: #2a3138;
}

.service__photo .service__slide {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .45s ease;
}

.service__photo .service__slide.is-active {
    opacity: 1;
}

.service__photo::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: 1;
    height: 34%;
    background: linear-gradient(180deg, rgba(8, 12, 18, .42), rgba(8, 12, 18, 0));
}

.service__title {
    position: absolute;
    top: 6%;
    left: 5%;
    z-index: 2;
    font-size: clamp(16px, 1.75vw, 25px);
    line-height: 1.15;
}

.service__tags {
    position: absolute;
    left: 5%;
    bottom: 6.5%;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: clamp(10px, .85vw, 12px);
}

.service__tags li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    background: rgba(160, 150, 140, .72);
    border-radius: 16px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.service__progress {
    position: absolute;
    left: 5.5%;
    bottom: 9.5%;
    z-index: 2;
    display: flex;
    gap: 5px;
    width: 44%;
}

.service__progress button {
    flex: 1;
    height: 15px;
    padding: 6px 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.service__progress button::before {
    content: "";
    display: block;
    height: 3px;
    background: rgba(255, 255, 255, .4);
    transition: background-color .2s ease;
}

.service__progress .is-active::before {
    background: #fff;
}

.service__arrows {
    position: absolute;
    right: 5.5%;
    bottom: 5%;
    z-index: 2;
    display: flex;
    gap: 3px;
}

.service__arrows button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, .34);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.final .shot__layer {
    text-align: center;
}

.final p {
    margin: 0;
}

.final__top {
    position: absolute;
    top: 38%;
    left: 15%;
    right: 15%;
    font-size: clamp(13px, 1.3vw, 18.5px);
    line-height: 1.16;
}

.final__title {
    margin: 0 0 22px;
    font-size: clamp(26px, 3.125vw, 45px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
}

.final__bottom {
    position: absolute;
    top: 81.6%;
    left: 0;
    right: 0;
    font-size: clamp(13px, 1.3vw, 18.5px);
    line-height: 1.16;
}

.final__bottom .button_arrow_text {
    margin-top: 12px;
}

@media (max-width: 991px) {
    .block {
        padding: 56px 0;
    }

    .shot__layer {
        position: static;
    }

    .hero {
        min-height: 620px;
        min-height: 100svh;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .hero picture,
    .hero .shot__img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .hero .shot__img {
        object-fit: cover;
        object-position: 66% 50%;
    }

    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(8, 12, 18, .28) 0%, rgba(8, 12, 18, 0) 30%, rgba(8, 12, 18, .5) 100%);
    }

    .hero .shot__layer {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 100px 16px 18px;
    }

    .hero .hero__heading {
        position: static;
        font-size: 19px;
    }

    .hero__tagline br {
        display: none;
    }

    .hero__logo {
        display: block;
        width: min(82%, 520px);
        height: auto;
        margin: 0 auto 14px;
        opacity: .78;
    }

    .hero__card {
        position: static;
        width: 210px;
        height: auto;
        gap: 12px;
        padding: 20px 24px;
        border-radius: 36px;
        font-size: 13px;
    }

    .hero__dots {
        left: 8px;
    }

    .hero__slides {
        flex: none;
        height: 160px;
        margin-top: 0;
    }

    .hero__thumb {
        width: 78px;
    }

    .hero__caption {
        position: static;
    }

    .products__list {
        grid-auto-columns: minmax(250px, 42vw);
    }

    .company__photos {
        grid-template-columns: 34% minmax(0, 1fr);
    }

    .history__fact {
        padding-left: 0;
    }

    .service__row {
        flex-direction: column;
        align-items: flex-start;
    }

    .service .title-big {
        min-height: 0;
    }

    .final {
        min-height: 620px;
        display: flex;
        background: #1f2428;
    }

    .final .shot__img {
        position: absolute;
        inset: 0;
        height: 100%;
        object-fit: cover;
        object-position: 62% 50%;
    }

    .final::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(8, 12, 18, .5);
    }

    .final .shot__layer {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 44px;
        width: 100%;
        padding: 48px 16px;
    }

    .final__top,
    .final__bottom {
        position: static;
        font-size: 15px;
    }

    .final__title {
        font-size: 30px;
        margin-bottom: 14px;
    }
}

@media (max-width: 767px) {
    .split,
    .products__head,
    .services__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .services__grid {
        gap: 40px;
    }

    .lead,
    .service__row p,
    .fact__text {
        line-height: 1.2;
    }

    .lead--indent {
        text-indent: 36px;
    }

    .title-big br,
    .statement__text br,
    .final__title br {
        display: none;
    }

    .products__head {
        gap: 20px;
    }

    .products__list {
        grid-auto-columns: 74vw;
    }

    .product {
        border-radius: 1.5rem;
    }

    .company__photos {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .history__photo,
    .history__photo--tall {
        grid-row: auto;
        height: 200px;
        border-radius: 1.5rem;
    }

    .history__fact {
        grid-column: 1 / -1;
        grid-row: auto;
        margin-top: 18px;
    }

    .production__fact {
        margin-left: 0;
        margin-top: 8px;
    }

    .production .statement__text br {
        display: none;
    }

    .company__photos img {
        height: 260px;
        border-radius: 1.5rem;
    }

    .telemetry {
        padding: 14px 16px;
    }

    .statement {
        padding: 48px 0;
    }

    .service__title {
        font-size: 18px;
    }

    .service__tags {
        left: 12px;
        right: 12px;
        bottom: 10px;
        gap: 6px;
    }

    .service__tags li {
        padding: 5px 9px;
    }

    .service__progress {
        left: 14px;
        bottom: 26px;
        width: 42%;
    }

    .service__arrows {
        right: 12px;
        bottom: 12px;
    }
}

.site-header__toggle,
.site-header__nav-catalog {
    display: none;
}

@media (max-width: 1100px) {
    .site-header__catalog {
        display: none;
    }

    .site-header__toggle {
        display: flex;
        gap: 14px;
        border: 0;
        color: #fff;
        font: inherit;
        cursor: pointer;
    }

    .site-header__nav.is-open {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        min-width: 240px;
        padding: 8px 20px;
        background: rgba(40, 46, 52, .82);
    }

    .site-header__nav.is-open a {
        display: block;
        padding: 13px 0;
        border-bottom: 1px solid rgba(255, 255, 255, .18);
    }

    .site-header__nav.is-open a:last-child {
        border-bottom: 0;
    }

    .site-header__nav.is-open a:hover {
        color: #fff;
    }
}

.request {
    width: min(480px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
    padding: 36px 40px;
    overflow-y: auto;
    border: 0;
    border-radius: 2rem;
    background: #fff;
    color: #171717;
}

.request::backdrop {
    background: rgba(8, 12, 18, .55);
}

.request__trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.request__close {
    position: absolute;
    top: 22px;
    right: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: none;
    color: #171717;
    font-size: 16px;
    cursor: pointer;
}

.request__close:focus {
    outline: 0;
}

.request__close:focus-visible {
    outline: 2px solid #ef6c47;
    border-radius: 6px;
}

.request__title {
    margin-bottom: 26px;
    padding: 0 28px;
    font-family: var(--pelorus-font);
    text-align: center;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.1;
}

.request__field {
    margin-bottom: 20px;
}

.request__field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
}

.request__field input,
.request__field textarea {
    display: block;
    width: 100%;
    padding: 8px 0;
    border: 0;
    border-bottom: 1px solid #cfcfcf;
    border-radius: 0;
    outline: 0;
    background: none;
    color: #171717;
    font: inherit;
    font-size: 16px;
    line-height: 1.3;
    text-align: center;
    resize: vertical;
    transition: border-color .15s ease-in-out;
}

.request__field input::placeholder,
.request__field textarea::placeholder {
    color: #9a9a9a;
}

.request__field input:hover,
.request__field textarea:hover {
    border-color: #171717;
}

.request__field input:focus,
.request__field textarea:focus {
    border-color: #ef6c47;
}

.request__consent {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 22px;
    text-align: center;
    color: #777;
    font-size: 12px;
    line-height: 1.35;
}

.request__consent input {
    cursor: pointer;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #171717;
}

.request__consent a {
    color: #171717;
    text-decoration: underline;
}

.request__error {
    margin: 0 0 16px;
    text-align: center;
    color: #c8391a;
    font-size: 14px;
    line-height: 1.3;
}

.request__submit {
    display: flex;
    margin: 0 auto;
}

.request__submit[disabled] {
    opacity: .6;
    cursor: wait;
}

.request__done {
    text-align: center;
}

.request__done p {
    margin: 0 0 24px;
    font-size: 17px;
    line-height: 1.35;
}

.request__done .button_arrow_text {
    display: inline-flex;
}

@media (max-width: 767px) {
    .request {
        padding: 28px 20px;
        border-radius: 1.5rem;
    }

    .request__title {
        padding: 0 32px;
        font-size: 22px;
    }
}

.site-header__consult-short {
    display: none;
}

@media (max-width: 767px) {
    .site-header__right {
        gap: 6px;
    }

    .site-header__phone {
        justify-content: center;
        width: 42px;
        padding: 0;
    }

    .site-header__phone-num {
        display: none;
    }

    .site-header__consult {
        display: flex;
        min-height: 42px;
        padding: 0 14px;
    }

    .site-header__consult-full {
        display: none;
    }

    .site-header__consult-short {
        display: inline;
    }
}

.products {
    padding-bottom: 50px;
}

.start__box {
    border-radius: 2.5rem;
}

.start__title {
    position: absolute;
    top: 5.2%;
    left: 4%;
    right: 4%;
    margin: 0;
    color: #fff;
    text-align: center;
    font-family: var(--pelorus-font);
    font-size: clamp(28px, 3.125vw, 45px);
    font-weight: 500;
    line-height: 1;
}

.start__card {
    position: absolute;
    top: 36.5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(8px, 1.1vw, 16px);
    width: 24.6%;
    height: 27.6%;
    padding: 2% 2.8%;
    border-radius: 2.2rem;
    background: rgba(120, 124, 128, .58);
}

.start__card--1 {
    left: 4.1%;
}

.start__card--2 {
    left: 37.7%;
}

.start__card--3 {
    left: 71.2%;
}

.start__card h3 {
    margin: 0;
    font-family: var(--pelorus-font);
    font-size: clamp(16px, 1.75vw, 25px);
    font-weight: 500;
    line-height: 1.1;
}

.start__card p {
    margin: 0;
    font-size: clamp(11px, 1vw, 14.5px);
    line-height: 1.2;
}

.start__note {
    position: absolute;
    top: 87.2%;
    left: 8%;
    right: 8%;
    margin: 0;
    color: #fff;
    text-align: center;
    font-size: clamp(13px, 1.39vw, 20px);
    line-height: 1.1;
}

@media (max-width: 991px) {
    .start__box {
        background: #1f2428;
    }

    .start__box .shot__img {
        height: 240px;
        object-fit: cover;
    }

    .start__box .shot__layer {
        display: grid;
        gap: 12px;
        padding: 24px 16px;
    }

    .start__title,
    .start__card,
    .start__note {
        position: static;
        width: auto;
        height: auto;
    }

    .start__title {
        order: -1;
        font-size: 28px;
        margin-bottom: 8px;
    }

    .start__card {
        padding: 22px 20px;
        border-radius: 1.5rem;
        background: rgba(255, 255, 255, .1);
    }

    .start__card h3 {
        font-size: 21px;
    }

    .start__card p {
        font-size: 15px;
        line-height: 1.25;
    }

    .start__note {
        margin-top: 8px;
        font-size: 15px;
        line-height: 1.2;
    }

    .start__note br {
        display: none;
    }
}

@media (max-width: 767px) {
    .start__box {
        border-radius: 1.5rem;
    }

    .products {
        padding-bottom: 36px;
    }
}

.product__more {
    position: absolute;
    left: 50%;
    bottom: 22px;
    padding: 9px 20px;
    background: rgba(23, 23, 23, .82);
    border-radius: 20px;
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
    transform: translateX(-50%);
    transition: background-color .15s ease-in-out;
}

.product:hover .product__more {
    background: #ef6c47;
}

html:has(dialog[open]) {
    overflow: hidden;
}

.pm {
    width: min(1120px, calc(100vw - 40px));
    max-width: none;
    max-height: calc(100dvh - 40px);
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 2rem;
    background: #fff;
    color: #171717;
}

.pm::backdrop {
    background: rgba(8, 12, 18, .6);
}

.pm__close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, .85);
    border-radius: 50%;
    color: #171717;
    font-size: 16px;
    cursor: pointer;
}

.pm__close:focus {
    outline: 0;
}

.pm__close:focus-visible {
    outline: 2px solid #ef6c47;
}

.pm__grid {
    display: grid;
    grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
    height: min(720px, calc(100dvh - 40px));
}

.pm__photo {
    min-height: 0;
    background: #cfcfcf;
}

.pm__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: none;
}

.pm__body {
    min-height: 0;
    padding: 44px 48px;
    overflow-y: auto;
    font-size: 16px;
    line-height: 1.4;
}

.pm__title {
    margin: 0 44px 12px 0;
    font-family: var(--pelorus-font);
    font-size: clamp(26px, 2.4vw, 34px);
    font-weight: 500;
    line-height: 1.05;
}

.pm__price {
    margin-bottom: 18px;
    color: #ef6c47;
    font-family: var(--pelorus-font);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.1;
}

.pm__cta {
    margin: 6px 0 26px;
}

.pm__intro {
    margin: 0 0 22px;
}

.pm__label {
    margin: 0 0 10px;
    font-family: var(--pelorus-font);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
}

.pm__list {
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.pm__list li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 18px;
}

.pm__list li::before {
    content: "";
    position: absolute;
    top: .55em;
    left: 0;
    width: 7px;
    height: 7px;
    background: #ef6c47;
    border-radius: 2px;
}

.pm__body p {
    margin: 0 0 18px;
}

.pm__body .pm__note {
    margin-bottom: 0;
    color: #777;
    font-size: 14px;
}

@media (max-width: 767px) {
    .pm {
        width: calc(100vw - 16px);
        max-height: calc(100dvh - 16px);
        overflow-y: auto;
        border-radius: 1.5rem;
    }

    .pm__grid {
        display: block;
        height: auto;
    }

    .pm__photo {
        height: 280px;
    }

    .pm__body {
        padding: 24px 20px 28px;
        overflow: visible;
    }

    .product__more {
        bottom: 16px;
    }
}

.pm--gallery .pm__grid {
    grid-template-columns: minmax(0, 62%) minmax(0, 1fr);
    height: auto;
    max-height: calc(100dvh - 40px);
}

.pm__gallery {
    min-width: 0;
    background: #f1f1f1;
}

.pm__slides {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: #e9e9e9;
}

.pm__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .3s ease;
}

.pm__slide.is-active {
    opacity: 1;
}

.pm__arrow {
    position: absolute;
    top: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, .85);
    border-radius: 50%;
    color: #171717;
    font-size: 18px;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color .15s ease-in-out, color .15s ease-in-out;
}

.pm__arrow:hover {
    background: #ef6c47;
    color: #fff;
}

.pm__arrow--prev {
    left: 14px;
}

.pm__arrow--next {
    right: 14px;
}

.pm__thumbs {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 6px;
    padding: 10px;
}

.pm__thumbs button {
    display: block;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 8px;
    background: none;
    cursor: pointer;
    transition: border-color .15s ease-in-out;
}

.pm__thumbs button:hover {
    border-color: #cfcfcf;
}

.pm__thumbs .is-active,
.pm__thumbs .is-active:hover {
    border-color: #ef6c47;
}

.pm__thumbs img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    background: none;
}

@media (max-width: 767px) {
    .pm--gallery .pm__grid {
        display: block;
        max-height: none;
    }

    .pm__thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .pm__arrow {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
}

.pm__gallery--tall {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #e4e4e4;
}

.pm__gallery--tall .pm__slides {
    flex: 1;
    min-height: 0;
    aspect-ratio: auto;
    background: #e4e4e4;
}

.pm__gallery--tall .pm__slide {
    object-fit: cover;
    background: none;
}

.pm__gallery--tall .pm__slide--fit {
    object-fit: contain;
}

#pm-pro .pm__grid,
#pm-mini .pm__grid,
#pm-kt .pm__grid {
    grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
}

.pm__gallery--tall .pm__thumbs {
    display: flex;
    flex-shrink: 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.pm__gallery--tall .pm__thumbs button {
    flex: 0 0 62px;
}

.pm__gallery--tall .pm__thumbs img {
    aspect-ratio: 1;
}

@media (max-width: 767px) {
    .pm__gallery--tall .pm__slides {
        flex: none;
        height: 460px;
    }

    .pm__gallery--tall .pm__slide {
        object-fit: contain;
    }
}
