* {
    box-sizing: border-box;
}

html,
body.fr-qv-page {
    min-height: 100%;
    margin: 0;
    background: #fff;
    color: #171717;
    font-family: "Open Sans", Arial, sans-serif;
}

body.fr-qv-page {
    overflow-x: hidden;
}

.fr-qv-page a {
    color: inherit;
    text-decoration: none;
}

.fr-qv-page img {
    max-width: 100%;
    display: block;
}

.qv-shell {
    width: min(1180px, calc(100vw - 36px));
    margin: 0 auto;
    padding: 28px 0 34px;
}

.fr-product-detail-page .qv-shell {
    padding-top: 46px;
    padding-bottom: 72px;
}

.fr-product-hero {
    background: #f4f1ed;
    border-bottom: 1px solid #e7e1dc;
}

.fr-product-hero .fr-container {
    padding-top: 20px;
    padding-bottom: 20px;
}

.fr-product-hero .fr-breadcrumb {
    color: #2b2724;
    margin-bottom: 0;
}

.fr-product-hero .fr-breadcrumb a {
    color: #2b2724;
    font-weight: 700;
}

.fr-product-hero .fr-breadcrumb span {
    color: #e1251b;
    font-weight: 800;
}

.fr-product-hero .fr-breadcrumb span::before {
    color: #8d8178;
}

.qv-back {
    border: 0;
    background: transparent;
    color: #e1251b;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.qv-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: 34px;
    align-items: start;
}

.qv-gallery {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 18px;
    min-width: 0;
}

.qv-thumbs {
    display: grid;
    gap: 14px;
    align-content: start;
}

.qv-thumb {
    width: 88px;
    aspect-ratio: 1;
    padding: 0;
    border: 1px solid #e2ded9;
    background: #fff;
    cursor: pointer;
    transition: border-color .18s ease, opacity .18s ease, transform .18s ease;
}

.qv-thumb:hover,
.qv-thumb.is-active {
    border-color: #e1251b;
    opacity: 1;
    transform: translateY(-1px);
}

.qv-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qv-main-image {
    position: relative;
    min-height: 520px;
    margin: 0;
    padding: 18px;
    border: 1px solid #ebe7e3;
    background: linear-gradient(180deg, #fff 0%, #faf8f6 100%);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.qv-main-image__button {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
    padding: 0;
    border: 0;
    background: transparent;
    display: grid;
    place-items: center;
    cursor: zoom-in;
}

.qv-main-image img {
    width: 100%;
    max-height: 600px;
    object-fit: contain;
    transition: transform .24s ease;
    pointer-events: none;
}

.qv-main-image:hover img {
    transform: scale(1.035);
}

.qv-zoom-hint {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .82);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease;
}

.qv-main-image:hover .qv-zoom-hint,
.qv-main-image__button:focus-visible .qv-zoom-hint {
    opacity: 1;
    transform: translateY(0);
}

body.image-zoom-open {
    overflow: hidden;
}

.qv-image-lightbox[hidden] {
    display: none;
}

.qv-image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: grid;
    place-items: center;
    padding: 24px;
}

.qv-lightbox__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(9, 9, 9, .84);
    cursor: zoom-out;
}

.qv-lightbox__panel {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100vw - 48px));
    height: min(86vh, 820px);
    border-radius: 8px;
    background: #fff;
    display: grid;
    place-items: stretch;
    overflow: hidden;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .42);
}

.qv-lightbox__stage {
    grid-area: 1 / 1;
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: 100%;
    padding: 54px 78px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.qv-lightbox__image {
    box-sizing: border-box;
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    padding: 0;
    object-fit: contain;
    transform-origin: center;
    transition: transform .16s ease;
}

.qv-lightbox__image.is-zoomed {
    cursor: grab;
    touch-action: none;
}

.qv-lightbox__image.is-panning {
    cursor: grabbing;
}

.qv-lightbox__toolbar {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    display: flex;
    gap: 8px;
}

.qv-lightbox__toolbar button,
.qv-lightbox__nav {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 999px;
    background: rgba(0, 0, 0, .78);
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    transition: background .18s ease, transform .18s ease;
}

.qv-lightbox__toolbar button:hover,
.qv-lightbox__nav:hover {
    background: #e1251b;
    transform: translateY(-1px);
}

.qv-lightbox__close {
    background: #e1251b !important;
}

.qv-lightbox__nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    font-size: 28px;
}

.qv-lightbox__nav:hover {
    transform: translateY(-50%) translateY(-1px);
}

.qv-lightbox__nav--prev {
    left: 18px;
}

.qv-lightbox__nav--next {
    right: 18px;
}

.qv-summary {
    padding: 10px 0 0;
}

.qv-summary__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.qv-eyebrow {
    margin: 0;
    color: #e1251b;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.qv-status {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.qv-status.is-available {
    background: #28b84a;
}

.qv-status.is-request {
    background: #a65b00;
}

.qv-summary h1 {
    margin: 0 0 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 56px);
    line-height: .98;
    color: #171717;
    letter-spacing: 0;
}

.qv-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    min-height: 54px;
    margin-bottom: 18px;
}

.qv-trust img {
    width: auto;
    max-width: 86px;
    max-height: 58px;
    object-fit: contain;
}

.qv-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 0 0 18px;
    padding: 22px 0;
    border-top: 1px solid #ebe7e3;
    border-bottom: 1px solid #ebe7e3;
    color: #e1251b;
    font-size: 30px;
    font-weight: 800;
}

.qv-price__old {
    color: #7a7a7a;
    font-size: 22px;
    font-weight: 700;
    text-decoration: line-through;
}

.qv-price__new {
    color: #e1251b;
}

.qv-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 22px;
}

.qv-facts div {
    padding: 16px;
    border: 1px solid #ebe7e3;
    background: #fbfaf8;
}

.qv-facts dt {
    color: #777;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.qv-facts dd {
    margin: 7px 0 0;
    color: #151515;
    font-size: 16px;
    font-weight: 800;
}

.qv-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.qv-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.qv-button--primary {
    background: #e1251b;
    color: #fff;
}

.qv-button--ghost {
    border: 1px solid #191919;
    background: #fff;
    color: #191919;
}

.qv-tabs-wrap {
    margin-top: 34px;
    border-top: 1px solid #191919;
}

.qv-tabs {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    padding: 0;
    border-bottom: 1px solid #e7e2de;
}

.qv-tabs button {
    min-height: 58px;
    padding: 0;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: #151515;
    cursor: pointer;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 900;
}

.qv-tabs button:hover,
.qv-tabs button.is-active {
    color: #e1251b;
    border-bottom-color: #e1251b;
}

.qv-tab-panels {
    padding: 28px 0 0;
}

.qv-panel {
    display: none;
}

.qv-panel.is-active {
    display: block;
}

.qv-panel h2 {
    margin: 0 0 20px;
    color: #171717;
    font-size: 26px;
    line-height: 1.1;
    font-weight: 900;
}

.qv-richtext {
    max-width: 780px;
    color: #343434;
    font-size: 15px;
    line-height: 1.72;
}

.qv-richtext b,
.qv-richtext strong {
    color: #151515;
    font-weight: 900;
}

.qv-richtext br {
    line-height: 1.85;
}

.qv-downloads {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 14px;
    max-width: 760px;
}

.qv-downloads a {
    align-items: center;
    gap: 12px;
    min-height: 68px;
    padding: 14px;
    border: 1px solid #e3ded9;
    background: #fff;
    color: #181818;
    font-weight: 900;
}

.qv-downloads a:hover,
.qv-related-card:hover {
    border-color: #e1251b;
}

.qv-downloads span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    border-radius: 6px;
    background: #191919;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.qv-video,
.qv-link {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    min-height: 72px;
    padding: 16px 18px;
    border: 1px solid #e1251b;
    background: #fff7f6;
    color: #e1251b;
    font-weight: 900;
}

.qv-video span {
    color: #555;
    font-weight: 700;
}

.qv-related {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.qv-related-card {
    display: block;
    padding: 0;
    border: 1px solid #e6e0da;
    background: #fff;
    color: #111;
    cursor: pointer;
    text-align: left;
    overflow: hidden;
}

.qv-related-card img {
    width: 100%;
    aspect-ratio: 1.15;
    object-fit: contain;
    background: #fbfaf8;
}

.qv-related-card span {
    display: block;
    padding: 12px;
    min-height: 42px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.qv-empty {
    margin: 0;
    color: #666;
}

@media (max-width: 940px) {
    .qv-shell {
        width: min(100% - 24px, 720px);
        padding-top: 18px;
    }

    .qv-hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .qv-main-image {
        min-height: 360px;
    }

    .qv-lightbox__panel {
        width: calc(100vw - 24px);
        height: calc(100dvh - 42px);
    }

    .qv-summary h1 {
        font-size: 36px;
    }

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

@media (max-width: 620px) {
    .qv-shell {
        width: min(100% - 18px, 520px);
    }

    .qv-gallery {
        grid-template-columns: 1fr;
    }

    .qv-thumbs {
        display: flex;
        overflow-x: auto;
        order: 2;
        padding-bottom: 8px;
    }

    .qv-thumb {
        min-width: 74px;
        width: 74px;
    }

    .qv-main-image {
        min-height: 300px;
        padding: 10px;
    }

    .qv-zoom-hint {
        right: 10px;
        bottom: 10px;
        min-height: 34px;
        padding: 0 11px;
        opacity: 1;
        transform: none;
        font-size: 11px;
    }

    .qv-image-lightbox {
        padding: 0;
    }

    .qv-lightbox__panel {
        width: 100vw;
        height: 100dvh;
        border-radius: 0;
    }

    .qv-lightbox__stage {
        padding: 72px 14px 86px;
    }

    .qv-lightbox__toolbar {
        top: auto;
        right: 50%;
        bottom: 16px;
        transform: translateX(50%);
        padding: 8px;
        border-radius: 999px;
        background: rgba(0, 0, 0, .28);
    }

    .qv-lightbox__toolbar button,
    .qv-lightbox__nav {
        width: 42px;
        height: 42px;
    }

    .qv-lightbox__nav--prev {
        left: 10px;
    }

    .qv-lightbox__nav--next {
        right: 10px;
    }

    .qv-summary h1 {
        font-size: 30px;
    }

    .qv-facts,
    .qv-downloads,
    .qv-related {
        grid-template-columns: 1fr;
    }

    .qv-tabs {
        gap: 20px;
    }

    .qv-tabs button {
        font-size: 14px;
    }
}
