.heatpex-3d-viewer {
    width: 100%;
    margin: 24px auto 110px;
    color: #3c3c3c;
}

.heatpex-3d-viewer__copy {
    position: absolute;
    top: 62px;
    left: 72px;
    z-index: 3;
    display: block;
    width: min(500px, 40%);
    margin: 0;
    padding: 0;
    pointer-events: auto;
    text-align: left;
}

.heatpex-3d-viewer__copy::before {
    content: "";
    display: block;
    width: 86px;
    height: 4px;
    margin: 0 0 22px;
    background: #c6183d;
    transform: skew(-18deg);
    transform-origin: left center;
}

.heatpex-3d-viewer__eyebrow {
    display: block;
    margin: 0;
    padding-left: 0;
    padding-bottom: 10px;
    color: #3c3c3c;
    font-size: 14px;
    font-weight: 700;
    font-style: italic;
    line-height: 1.4;
    letter-spacing: 5px;
    text-align: left;
    text-transform: uppercase;
}

.heatpex-3d-viewer__title {
    margin: 0;
    padding: 0;
    color: #c6183d;
    background: transparent;
    font-size: 40px;
    font-weight: 700;
    font-style: italic;
    line-height: 1.08;
    text-align: left;
    text-transform: uppercase;
    width: 100%;
}

.heatpex-3d-viewer__title.heading--ribbon::after {
    display: none;
}

.heatpex-3d-viewer__lead {
    max-width: 390px;
    margin: 18px 0 0;
    color: #575757;
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
}

.heatpex-3d-viewer__copy.category-description__top,
.heatpex-3d-viewer__copy .category-description__subheading,
.heatpex-3d-viewer__copy .category-description__heading {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: left;
}

.heatpex-3d-viewer__stage {
    position: relative;
    width: min(100%, 1340px);
    height: var(--heatpex-viewer-height, 620px);
    margin: 0 auto;
    background: #fff;
    overflow: hidden;
}

.heatpex-3d-viewer__stage::before {
    content: none;
}

.heatpex-3d-viewer__stage::after {
    content: none;
}

.heatpex-3d-viewer__model {
    display: block;
    width: 68%;
    height: 100%;
    margin-left: auto;
    --poster-color: transparent;
    --progress-bar-color: #e4003a;
    --progress-bar-height: 3px;
}

.heatpex-3d-viewer__ioniser-preload {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.heatpex-3d-viewer__ar-preload {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.heatpex-3d-viewer__colors {
    margin: 34px 0 0;
}

.heatpex-3d-viewer__option {
    margin: 22px 0 0;
}

.heatpex-3d-viewer__colors-label {
    margin: 0 0 12px;
    color: #3c3c3c;
    font-size: 13px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 2px;
    line-height: 1;
    text-transform: uppercase;
}

.heatpex-3d-viewer__color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.heatpex-3d-viewer__color-option {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    border: 2px solid #e0e0e0;
    border-radius: 0;
    background: #fff;
    color: #3c3c3c;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.heatpex-3d-viewer__color-option:hover,
.heatpex-3d-viewer__color-option:focus {
    border-color: #c6183d;
    outline: none;
}

.heatpex-3d-viewer__color-option.is-active {
    border-color: #c6183d;
    background: #c6183d;
    color: #fff;
}

.heatpex-3d-viewer__toggle-option {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    border: 2px solid #e0e0e0;
    border-radius: 0;
    background: #fff;
    color: #3c3c3c;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.heatpex-3d-viewer__toggle-option:hover,
.heatpex-3d-viewer__toggle-option:focus {
    border-color: #c6183d;
    outline: none;
}

.heatpex-3d-viewer__toggle-option.is-active {
    border-color: #c6183d;
    background: #c6183d;
    color: #fff;
}

.heatpex-3d-viewer__toggle-dot {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    flex: 0 0 auto;
}

.heatpex-3d-viewer__toggle-option.is-active .heatpex-3d-viewer__toggle-dot {
    background: currentColor;
    box-shadow: inset 0 0 0 4px #c6183d;
}

.heatpex-3d-viewer__swatch {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 1px solid currentColor;
    border-radius: 50%;
    flex: 0 0 auto;
}

.heatpex-3d-viewer__swatch--white {
    background: #fff;
}

.heatpex-3d-viewer__swatch--black {
    background: #111;
}

.heatpex-3d-viewer__progress {
    position: absolute;
    left: 28px;
    bottom: 28px;
    color: #777;
    font-size: 13px;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
}

.heatpex-3d-viewer__progress[hidden] {
    display: none;
}

.heatpex-3d-viewer__progress--error {
    color: #e4003a;
}

@media screen and (max-width: 1070px) {
    .heatpex-3d-viewer {
        margin: 48px auto 90px;
    }

    .heatpex-3d-viewer__copy {
        top: 40px;
        left: 44px;
        width: min(380px, 40%);
    }

    .heatpex-3d-viewer__eyebrow {
        padding-left: 0;
        font-size: 12px;
        letter-spacing: 4px;
    }

    .heatpex-3d-viewer__title {
        padding-left: 0;
        font-size: 38px;
    }

    .heatpex-3d-viewer__title.heading--ribbon::after {
        display: none;
    }

    .heatpex-3d-viewer__lead {
        max-width: 390px;
        margin-left: 0;
        font-size: 14px;
    }

    .heatpex-3d-viewer__colors {
        margin-left: 0;
    }

    .heatpex-3d-viewer__stage {
        height: min(var(--heatpex-viewer-height, 620px), 70vw);
        min-height: 420px;
    }

    .heatpex-3d-viewer__model {
        width: 64%;
    }
}

@media screen and (max-width: 580px) {
    .heatpex-3d-viewer__copy {
        top: 24px;
        left: 24px;
        width: calc(100% - 48px);
        padding: 0;
    }

    .heatpex-3d-viewer__eyebrow,
    .heatpex-3d-viewer__title {
        padding-left: 0;
    }

    .heatpex-3d-viewer__eyebrow {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .heatpex-3d-viewer__title {
        font-size: 27px;
    }

    .heatpex-3d-viewer__title.heading--ribbon::after {
        display: none;
    }

    .heatpex-3d-viewer__lead {
        margin-left: 0;
        max-width: 320px;
        font-size: 13px;
    }

    .heatpex-3d-viewer__colors {
        margin: 20px 0 0;
    }

    .heatpex-3d-viewer__option {
        margin: 14px 0 0;
    }

    .heatpex-3d-viewer__color-option {
        min-height: 38px;
        padding: 9px 13px;
        font-size: 11px;
    }

    .heatpex-3d-viewer__toggle-option {
        min-height: 38px;
        padding: 9px 13px;
        font-size: 11px;
    }

    .heatpex-3d-viewer__stage {
        height: 760px;
        min-height: 760px;
    }

    .heatpex-3d-viewer__model {
        position: absolute;
        left: 0;
        top: 350px;
        width: 100%;
        height: 300px;
        margin: 0;
    }

    .heatpex-3d-viewer__progress {
        left: 16px;
        bottom: 18px;
    }

    .heatpex-3d-viewer__ar-btn {
        left: 24px;
        right: 24px;
        bottom: 42px;
        width: calc(100% - 48px);
        min-height: 52px;
        padding: 12px 14px;
        font-size: 13px;
    }
}

.heatpex-3d-viewer__ar-btn {
    position: absolute;
    bottom: 24px;
    right: 24px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #c6183d;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(198, 24, 61, 0.3);
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.heatpex-3d-viewer__ar-btn:hover {
    background-color: #a31030;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(198, 24, 61, 0.4);
}

.heatpex-3d-viewer__ar-btn:active {
    transform: translateY(0);
}

.heatpex-3d-viewer__ar-btn.is-hidden {
    display: none !important;
}

.heatpex-3d-viewer__ar-guide[hidden] {
    display: none;
}

.heatpex-3d-viewer__ar-guide {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 36px 72px;
    background: rgba(255, 255, 255, 0.72);
}

.heatpex-3d-viewer__ar-guide-panel {
    width: min(440px, 100%);
    border-left: 5px solid #c6183d;
    background: #fff;
    padding: 30px 32px 28px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.16);
}

.heatpex-3d-viewer__ar-target {
    position: relative;
    width: 58px;
    height: 58px;
    margin: 0 0 18px;
    border: 2px solid #c6183d;
    border-radius: 50%;
}

.heatpex-3d-viewer__ar-target::before,
.heatpex-3d-viewer__ar-target::after {
    content: "";
    position: absolute;
    background: #c6183d;
}

.heatpex-3d-viewer__ar-target::before {
    left: 50%;
    top: -10px;
    bottom: -10px;
    width: 2px;
    transform: translateX(-50%);
}

.heatpex-3d-viewer__ar-target::after {
    top: 50%;
    left: -10px;
    right: -10px;
    height: 2px;
    transform: translateY(-50%);
}

.heatpex-3d-viewer__ar-target span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c6183d;
    transform: translate(-50%, -50%);
}

.heatpex-3d-viewer__ar-guide-eyebrow {
    margin: 0 0 10px;
    color: #3c3c3c;
    font-size: 13px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 3px;
    line-height: 1;
    text-transform: uppercase;
}

.heatpex-3d-viewer__ar-guide-title {
    margin: 0;
    color: #c6183d;
    font-size: 28px;
    font-weight: 900;
    font-style: italic;
    line-height: 1.1;
    text-transform: uppercase;
}

.heatpex-3d-viewer__ar-guide-copy {
    margin: 16px 0 0;
    color: #575757;
    font-size: 15px;
    line-height: 1.55;
}

.heatpex-3d-viewer__ar-guide-status {
    margin: 16px 0 0;
    border-left: 3px solid #c6183d;
    background: #f7f7f7;
    color: #3c3c3c;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.heatpex-3d-viewer__ar-guide-status[hidden] {
    display: none;
}

.heatpex-3d-viewer__ar-guide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 0;
}

.heatpex-3d-viewer__ar-guide-start,
.heatpex-3d-viewer__ar-guide-close {
    min-height: 42px;
    border: 2px solid #c6183d;
    border-radius: 0;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
}

.heatpex-3d-viewer__ar-guide-start {
    background: #c6183d;
    color: #fff;
}

.heatpex-3d-viewer__ar-guide-close {
    background: #fff;
    color: #3c3c3c;
    border-color: #e0e0e0;
}

.heatpex-3d-viewer__ar-guide-start:hover,
.heatpex-3d-viewer__ar-guide-start:focus,
.heatpex-3d-viewer__ar-guide-close:hover,
.heatpex-3d-viewer__ar-guide-close:focus {
    outline: none;
    border-color: #c6183d;
}

@media screen and (max-width: 580px) {
    .heatpex-3d-viewer__ar-guide {
        align-items: flex-end;
        padding: 18px;
    }

    .heatpex-3d-viewer__ar-guide-panel {
        padding: 22px 20px 20px;
    }

    .heatpex-3d-viewer__ar-guide-title {
        font-size: 23px;
    }

    .heatpex-3d-viewer__ar-guide-copy {
        font-size: 13px;
    }
}
