.tygh-content:has(.ty-product-detail) {
    background: #f7f7f2;
}
.tygh-content > .content-grid:has(.ty-product-detail) {
    box-sizing: border-box;
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
}
.tygh-content .ty-breadcrumbs__a,
.tygh-content .ty-breadcrumbs__current {
    color: #53535a;
}
.ty-product-detail {
    --ms-detail-ink: #151515;
    --ms-detail-muted: #53535a;
    --ms-detail-border: #d7d7d2;
    --ms-detail-accent: #f37430;
    color: var(--ms-detail-ink);
}
.ty-product-detail .ty-product-block__wrapper {
    --ty-product-block-image-width: clamp(244px, 27vw, 360px) !important;
    align-items: start;
}
.ty-product-detail .ty-product-block__img-wrapper .ty-product-block__img {
    background: #f7f7f2;
    border-radius: 0;
    border: 1px solid var(--ms-detail-border);
    overflow: hidden;
}
.ty-product-detail .ty-product-block__img :is(.ty-product-img, .cm-image-gallery-wrapper-outer) {
    overflow: hidden;
}
.ty-product-detail .ty-product-block__img :is(.ty-product-img, .cm-image-gallery-wrapper-outer) .ty-pict {
    object-fit: contain;
}
.ty-product-detail .ty-product-block-title {
    color: var(--ms-detail-ink);
    font-size: clamp(30px, 3.4vw, 55px);
    letter-spacing: -.055em;
    line-height: 1.08;
    margin-block: 0 16px;
}
.ty-product-detail .ty-product-block__option :is(input:not([type="hidden"]), select, textarea),
.ty-product-detail .ty-product-thumbnails__item,
.ty-product-detail .ty-product-labels__item,
.ty-product-detail .ty-product-block__offer .ty-btn,
.ty-product-detail .ty-product-bottom-fixed .ty-btn {
    border-radius: 0;
}
.ty-product-detail .ty-product-block__description-content {
    color: var(--ms-detail-muted);
    line-height: 1.55;
}
.ty-product-detail .ty-product-block__offer {
    width: auto;
    box-sizing: border-box;
    padding: 19px;
    background: #fff;
    color: var(--ms-detail-ink);
    border: 1px solid var(--ms-detail-border);
    border-radius: 0;
    box-shadow: none;
}
.ty-product-detail .ms-module-subscription {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border-radius: 0;
    padding: 14px;
    margin-bottom: 17px;
    background: #11283b;
    color: #fff;
}
.ty-product-detail .ms-module-subscription strong {
    font-size: 17px;
    line-height: 1.25;
}
.ty-product-detail .ms-module-subscription__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    min-height: 39px;
    border-radius: 0;
    background: var(--ms-detail-accent);
    color: #181a21;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}
.ty-product-detail .ms-module-subscription__link:hover {
    background: #ff9258;
}
.ty-product-detail .ms-module-subscription ~ .ty-product-block__button .ty-btn__primary,
.ty-product-detail .ms-module-subscription ~ .ty-product-block__button .ms_licenses_request_btn {
    border: 1px solid #cbd1d7;
    border-radius: 0;
    background: #fff;
    color: var(--ms-detail-ink);
    min-height: 44px;
}
.ty-product-detail .ms-module-subscription ~ .ty-product-block__button .ty-btn__primary:hover,
.ty-product-detail .ms-module-subscription ~ .ty-product-block__button .ms_licenses_request_btn:hover {
    background: #f7f7f2;
}
.ty-product-detail .ty-product-block__offer .ty-price-num {
    font-size: clamp(22px, 2vw, 30px);
}
.ty-product-detail .ty-product-block__offer .ms-makeshop-price-equivalent .ty-price-num {
    font-size: clamp(15px, 1.5vw, 21px);
}
.ty-product-detail .ty-tabs__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 12px;
}
.ty-product-detail .ty-tabs__item,
.ty-product-detail .ty-tabs__item.active {
    border: 0;
    background: transparent;
    margin: 0;
}
.ty-product-detail .ty-tabs__a {
    display: block;
    padding: 8px 13px;
    border: 1px solid var(--ms-detail-border);
    border-radius: 0;
    color: var(--ms-detail-ink);
    background: #fff;
}
.ty-product-detail .ty-tabs__item.active .ty-tabs__a {
    border-color: var(--ms-detail-ink);
    background: var(--ms-detail-ink);
    color: #fff;
}
.ty-product-detail .ty-tabs__content {
    box-sizing: border-box;
    width: 100%;
    background: #fff;
    border: 1px solid var(--ms-detail-border);
    border-radius: 0;
    color: var(--ms-detail-ink);
    padding: clamp(16px, 3vw, 36px);
}
.ty-product-detail #content_description {
    scroll-margin-top: 100px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
.ty-product-detail #content_description :is(p, ul, ol) {
    max-width: 84ch;
}
.ty-product-detail #content_description > div:is([style*="--ms-info-primary"], [style*="--ms-info-warning"]) {
    border-radius: 0;
}
.ty-product-detail #content_description img {
    max-width: 100%;
    height: auto;
}
.ty-product-detail :is(.ty-tabs__a, .ty-btn, .ms-module-subscription__link):focus-visible {
    outline: 2px solid #2459d6;
    outline-offset: 3px;
}
@media (max-width: 767px) {
    .tygh-content > .content-grid:has(.ty-product-detail) {
        padding-inline: 16px;
    }
    .ty-product-detail .ty-product-block__img-wrapper {
        min-width: 0;
        margin-bottom: 14px;
    }
    .ty-product-detail .ty-product-block__img :is(.ty-product-img, .cm-image-gallery-wrapper-outer) {
        max-height: 280px;
    }
    .ty-product-detail .ty-product-block__img :is(.ty-product-img, .cm-image-gallery-wrapper-outer) .ty-pict {
        max-height: 280px;
    }
    .ty-product-detail .ty-product-thumbnails {
        max-width: 100%;
    }
    .tygh-content :is(.ty-grid-list__item, .ty-grid-list__item form) {
        min-width: 0;
    }
    .tygh-content .ms_licenses_request_btn {
        box-sizing: border-box;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    .ty-product-detail .ty-product-bottom-fixed {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
    }
    .ty-product-detail .ty-product-bottom-fixed__left {
        min-width: 0;
    }
    .ty-product-detail .ty-product-block__offer {
        padding: 14px;
    }
    .ty-product-detail .ty-product-block__offer .ty-price-num {
        font-size: 23px;
    }
}
