/* All public styles are scoped to the comparison widget. */
.olertis-compare {
    --oic-green: #166754;
    --oic-deep-green: #154f41;
    --oic-gold: #bd994d;
    --oic-border: #dfcda6;
    box-sizing: border-box;
    width: 100%;
    max-width: 1120px;
    margin: 32px auto;
    padding: 0;
    isolation: isolate;
    font-family: inherit;
    line-height: normal;
}
.olertis-compare .oic-frame {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--oic-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(21, 70, 59, 0.055);
    user-select: none;
    -webkit-user-select: none;
}
.olertis-compare .oic-viewport {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
    background: #fff;
    contain: layout paint;
}
.olertis-compare .oic-image-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #fff;
    pointer-events: auto;
}
.olertis-compare .oic-layer-one {
    transform: translateX(-50%);
}
.olertis-compare .oic-image-content {
    position: absolute;
    inset: 0;
    transform: translateX(50%);
}
/* Fit the full image height, preserve proportions and center horizontally.
   Wide images may extend beyond the left/right edges; top/bottom never crop. */
.olertis-compare .oic-image-layer .oic-image {
    position: absolute;
    top: 0;
    bottom: auto;
    left: 50%;
    right: auto;
    display: block;
    box-sizing: content-box;
    width: auto;
    height: 100%;
    min-width: 0;
    max-width: none;
    min-height: 0;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    object-fit: contain;
    transform: translateX(-50%);
    pointer-events: auto;
    -webkit-user-drag: none;
}
.olertis-compare .oic-divider-line {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--oic-gold);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.65), 0 0 12px rgba(214,176,91,0.12);
    transform: translateX(-50%);
    pointer-events: none;
}
.olertis-compare .oic-slider {
    position: absolute;
    z-index: 3;
    top: 0;
    bottom: 0;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    transform: translateX(-50%);
    cursor: ew-resize;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}
.olertis-compare .oic-thumb {
    display: grid;
    box-sizing: border-box;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--oic-deep-green);
    border-radius: 50%;
    background: rgba(255,255,255,0.97);
    color: var(--oic-deep-green);
    box-shadow: 0 3px 16px rgba(15,48,41,0.16), inset 0 0 0 3px #fcf8f0;
    opacity: 1;
    outline: none;
    transition: background-color 180ms ease, box-shadow 180ms ease, opacity 120ms ease;
}
.olertis-compare .oic-slider:hover .oic-thumb,
.olertis-compare[data-oic-dragging="true"] .oic-thumb {
    background: #fcf8f0;
    box-shadow: 0 3px 18px rgba(15,48,41,0.22), inset 0 0 0 3px #fff;
}
.olertis-compare:not([data-oic-input="pointer"]) .oic-slider:focus-visible .oic-thumb,
.olertis-compare[data-oic-dragging="true"] .oic-thumb {
    outline: 2px solid var(--oic-green);
    outline-offset: 4px;
}
.olertis-compare[data-oic-dragging="true"] .oic-thumb {
    opacity: 0.5;
}
.olertis-compare .oic-hint {
    position: absolute;
    z-index: 4;
    top: calc(50% + 38px);
    left: 50%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid rgba(223,205,166,0.9);
    border-radius: 30px;
    background: rgba(255,255,255,0.93);
    color: var(--oic-deep-green);
    font-size: 12px;
    font-weight: 450;
    line-height: 1.4;
    white-space: nowrap;
    opacity: 1;
    transform: translateX(-50%);
    pointer-events: none;
    transition: opacity 200ms ease, visibility 0s;
}
.olertis-compare .oic-hint-arrow {
    flex-shrink: 0;
    color: #9c7a39;
    animation: oic-invitation 2.2s ease-in-out infinite;
}
.olertis-compare[data-oic-interacted="true"] .oic-hint {
    visibility: hidden;
    opacity: 0;
    transition: opacity 200ms ease, visibility 0s 200ms;
}
.olertis-compare[data-oic-interacted="true"] .oic-hint-arrow { animation: none; }
.olertis-compare .oic-light-trail {
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 68px;
    transform: translateX(-50%);
    pointer-events: none;
}
.olertis-compare .oic-trail-side {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 34px;
    overflow: hidden;
}
.olertis-compare .oic-trail-right { left: 50%; }
.olertis-compare .oic-trail-left { right: 50%; transform: scaleX(-1); }
.olertis-compare .oic-trail-side::before {
    position: absolute;
    inset: 0;
    content: "";
    /* One painted background replaces eleven separately filtered animations. */
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='144' viewBox='0 0 34 144'%3E%3Cpath fill='%23fff5cf' d='m9 13 1.5 4.5L15 19l-4.5 1.5L9 25l-1.5-4.5L3 19l4.5-1.5Z'/%3E%3Cpath fill='%23ffe6a0' d='m23 62 1 3 3 1-3 1-1 3-1-3-3-1 3-1Z'/%3E%3Cpath fill='%23fff8df' d='m12 108 1.5 4.5 4.5 1.5-4.5 1.5-1.5 4.5-1.5-4.5-4.5-1.5 4.5-1.5Z'/%3E%3C/svg%3E"),
        linear-gradient(90deg,
            rgba(255,251,232,0.95) 0,
            rgba(238,201,119,0.52) 12%,
            rgba(249,224,163,0.24) 38%,
            rgba(255,243,204,0.18) 67%,
            transparent 100%);
    background-size: 34px 144px, 100% 100%;
    background-repeat: repeat-y, no-repeat;
    opacity: 0;
    transform: translateX(-100%);
    transition: transform 420ms cubic-bezier(0.4, 0, 0.2, 1), opacity 380ms ease;
}
.olertis-compare[data-oic-moving="true"][data-oic-direction="left"] .oic-trail-right::before,
.olertis-compare[data-oic-moving="true"][data-oic-direction="right"] .oic-trail-left::before {
    opacity: 0.7;
    transform: translateX(0);
    transition: transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 300ms ease;
}
.olertis-compare[data-oic-active="true"] .oic-layer-one,
.olertis-compare[data-oic-active="true"] .oic-image-content,
.olertis-compare[data-oic-active="true"] .oic-divider-line,
.olertis-compare[data-oic-active="true"] .oic-slider,
.olertis-compare[data-oic-active="true"] .oic-light-trail {
    will-change: transform;
}
.olertis-compare[data-oic-active="true"] .oic-trail-side::before { will-change: transform, opacity; }
.olertis-compare .oic-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.olertis-compare .oic-no-script { display: block; margin-top: 10px; font-size: 13px; }
@keyframes oic-invitation {
    0%,100% { opacity: 0.4; transform: translateX(-3px); }
    50% { opacity: 1; transform: translateX(3px); }
}
@media (min-width: 1025px) {
    .olertis-compare .oic-frame { aspect-ratio: 17 / 15; }
}
@media (max-width: 767px) {
    .olertis-compare .oic-frame { aspect-ratio: 4 / 5; border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .olertis-compare .oic-hint-arrow { animation: none; }
    .olertis-compare .oic-light-trail { display: none; }
    .olertis-compare .oic-thumb,
    .olertis-compare .oic-hint,
    .olertis-compare[data-oic-interacted="true"] .oic-hint { transition: none; }
}
