/* ================================================================
   carrossel.css — V2.1
   Estilos do motor de carrosséis (CarrosselEngine).
   Visual alinhado ao estilo dos modais do sistema.
================================================================ */

/* ─────────────────────────────────────────
   RAIZ + WRAPPER DO CARROSSEL
───────────────────────────────────────── */
.ce-root {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.ce-wrap {
    /* Fade lateral bem suave — pontas sem véu opaco */
    --ce-fade-bg: color-mix(in srgb, var(--t-bg, #0a0b0e) 28%, transparent);
    position: relative;
    isolation: isolate;
    width: 100%;
    border: none;
    border-radius: 0;
    padding: 20px 0 12px;
    box-sizing: border-box;
    overflow: hidden;
    background-color: transparent;
    background-image: none;
}

/* Fade lateral — só um véu leve (desktop desliga; mask no outer faz o resto) */
.ce-wrap::before,
.ce-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(36px, 10%, 64px);
    z-index: 6;
    pointer-events: none;
}

.ce-wrap::before {
    left: 0;
    background: linear-gradient(
        to right,
        var(--ce-fade-bg) 0%,
        color-mix(in srgb, var(--ce-fade-bg) 55%, transparent) 55%,
        transparent 100%
    );
}

.ce-wrap::after {
    right: 0;
    background: linear-gradient(
        to left,
        var(--ce-fade-bg) 0%,
        color-mix(in srgb, var(--ce-fade-bg) 55%, transparent) 55%,
        transparent 100%
    );
}

@supports not (background: color-mix(in srgb, red, blue)) {
    .ce-wrap::before {
        background: linear-gradient(
            to right,
            var(--ce-fade-bg) 0%,
            rgba(10, 11, 14, 0.55) 55%,
            transparent 100%
        );
    }
    .ce-wrap::after {
        background: linear-gradient(
            to left,
            var(--ce-fade-bg) 0%,
            rgba(10, 11, 14, 0.55) 55%,
            transparent 100%
        );
    }
}

.ce-wrap .ce-fc-outer {
    margin: 0;
    width: 100%;
}

/* Rodapé fora do wrap — texto dos botões não é cortado */
.ce-footer {
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
    padding: 0 4px;
}

/* ─────────────────────────────────────────
   FLIP CARD — OUTER / TRACK
───────────────────────────────────────── */

/* Outer: máscara — pontas totalmente transparentes (sem hard edge) */
.ce-fc-outer {
    overflow: hidden;
    width: 100%;
    padding: 12px 0;
    cursor: grab;
    touch-action: pan-y;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        transparent 3%,
        rgba(0, 0, 0, 0.25) 9%,
        #000 16%,
        #000 84%,
        rgba(0, 0, 0, 0.25) 91%,
        transparent 97%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        transparent 3%,
        rgba(0, 0, 0, 0.25) 9%,
        #000 16%,
        #000 84%,
        rgba(0, 0, 0, 0.25) 91%,
        transparent 97%,
        transparent 100%
    );
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-mode: alpha;
    mask-mode: alpha;
}
.ce-fc-outer:active { cursor: grabbing; }

/* Track — flex horizontal que translada para centralizar o ativo */
.ce-fc-track {
    display: flex;
    gap: var(--ce-gap, 16px);
    transition: transform .38s cubic-bezier(.4,0,.2,1);
    will-change: transform;
    align-items: center;
}

/* ── Card — filho direto da track ──
   Sobrescreve estilos antigos de .option com !important */
.ce-fc-track > .option {
    flex: 0 0 var(--ce-card-w, 260px) !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
    opacity: 0;
    animation: none !important;
    transform: scale(.76) translateZ(0);
    filter: none;
    pointer-events: none;
    transition:
        opacity  .38s cubic-bezier(.4,0,.2,1),
        transform .38s cubic-bezier(.4,0,.2,1),
        filter   .38s cubic-bezier(.4,0,.2,1);
    border-radius: 16px !important;
    overflow: visible !important;
    position: relative;
    cursor: pointer;
    /* anulando herança dos estilos globais antigos de .option */
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: auto !important;
    min-width: 0 !important;
    text-align: left !important;
}

/* Só o centro e as duas laterais. O fade-in legado não pode revelar os demais. */
.ce-fc-track > .option:not(.ce-active):not(.ce-adj) {
    opacity: 0 !important;
    visibility: hidden;
}

/* Cards adjacentes — menores; P&B na imagem; pai sem filter (nitidez) */
.ce-fc-track > .option.ce-adj {
    opacity: .96;
    transform: scale(.72) translateZ(0);
    filter: none;
    pointer-events: auto;
    z-index: 1;
}

/* Esquerda: transparente do meio para a ponta esquerda. Direita: do meio para a direita. */
.ce-fc-track > .option.ce-side-left {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 50%);
    mask-image: linear-gradient(to right, transparent 0%, #000 50%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.ce-fc-track > .option.ce-side-right {
    -webkit-mask-image: linear-gradient(to right, #000 50%, transparent 100%);
    mask-image: linear-gradient(to right, #000 50%, transparent 100%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.ce-fc-track > .option.ce-active {
    opacity: 1;
    transform: scale(1);
    filter: none;
    pointer-events: auto;
    z-index: 2;
    box-shadow: none !important;
}

/* Pulso dourado no título do card ativo */
@keyframes ce-pulse {
    0%,100% { text-shadow: 0 2px 8px rgba(0,0,0,.8); }
    50%      { text-shadow: 0 2px 24px rgba(212,168,67,.75); }
}
.ce-fc-track > .option.ce-active .ce-fc-front h3 {
    animation: ce-pulse 2.6s ease-in-out infinite;
}

/* ─────────────────────────────────────────
   FLIP CARD — ESTRUTURA DO CARD
───────────────────────────────────────── */

/* Wrapper do flip — perspective só ao virar (mantém imagem nítida na frente).
   No Firefox, overflow:hidden no ancestral quebra backface-visibility (frente espelhada). */
.ce-fc-flip-wrap {
    width: 100%;
    height: var(--ce-card-h, 400px);
    flex-shrink: 0;
    perspective: none;
    border-radius: 16px;
    overflow: hidden;
}

.ce-fc-track > .option.ce-flipped .ce-fc-flip-wrap,
.ce-fc-track > .option.ce-unflipping .ce-fc-flip-wrap {
    perspective: 1100px;
    overflow: visible;
}

/* Inner — pivot do flip 3D */
.ce-fc-inner {
    width: 100%;
    height: 100%;
    transform: rotateY(0deg);
    transform-style: preserve-3d;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
    position: relative;
    border-radius: 16px;
}

.ce-fc-track > .option.ce-flipped,
.ce-fc-track > .option.ce-unflipping {
    transform-style: preserve-3d;
}

.ce-fc-track > .option.ce-flipped .ce-fc-inner {
    transform: rotateY(180deg);
}

/* Frente e verso compartilham posicionamento absoluto */
.ce-fc-front,
.ce-fc-back {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
}

/* ── FRENTE ── */
.ce-fc-front {
    background: #1e2028;
    transform: rotateY(0deg) translateZ(0.1px);
}

/* Imagem de fundo do card — nitidez máxima no ativo */
.ce-fc-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.ce-fc-slides .ce-fc-bg {
    opacity: 0;
    transition: opacity var(--ce-slide-fade, .4s) ease;
    z-index: 0;
}
.ce-fc-slides .ce-fc-bg.is-on {
    opacity: 1;
    z-index: 1;
}

.ce-fc-front img.ce-fc-bg {
    display: block !important;
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    min-width: 0 !important;
    object-fit: cover !important;
    object-position: center center;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    filter: none;
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: none;
}

/* Adjacentes: P&B só na imagem (pai sem filter = texto/nítido) */
.ce-fc-track > .option.ce-adj .ce-fc-front img.ce-fc-bg {
    filter: grayscale(1) contrast(1.04) saturate(0.15) !important;
}

/* Card ativo — imagem colorida e nítida */
.ce-fc-track > .option.ce-active .ce-fc-front img.ce-fc-bg {
    filter: none !important;
    image-rendering: auto;
    transform: none !important;
}

/* Gradiente sobre a imagem */
.ce-fc-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to bottom,
        rgba(0,0,0,.0)  0%,
        rgba(0,0,0,.35) 45%,
        rgba(0,0,0,.78) 100%);
}

/* Informações na parte inferior da frente */
.ce-fc-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 16px 18px 20px;
    z-index: 2;
}

/* Faixa escura atrás do título, detalhes e valor */
.ce-fc-info::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140%;
    background: linear-gradient(to top,
        rgba(0,0,0,.94) 0%,
        rgba(0,0,0,.82) 45%,
        rgba(0,0,0,.45) 75%,
        rgba(0,0,0,0) 100%);
    border-radius: 0 0 16px 16px;
    pointer-events: none;
    z-index: -1;
}

.ce-wrap .ce-fc-info h3,
.ce-wrap .ce-fc-info .ce-sub,
.ce-wrap .ce-fc-info .ce-price {
    position: relative;
    z-index: 1;
}

/* h3 — especificidade elevada para superar .secondary-options .option h3 do mobile.css */
.ce-wrap .ce-fc-info h3 {
    font-size: 1.55rem !important;
    font-weight: 800 !important;
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,.95) !important;
    margin: 0 !important;
    line-height: 1.15 !important;
    text-align: left !important;
}

.ce-wrap .ce-fc-info h3 .ce-title-num {
    color: #f0cf72 !important;
    -webkit-text-fill-color: #f0cf72;
}

.ce-wrap .ce-fc-info .ce-sub {
    font-size: .82rem;
    color: rgba(255,255,255,.88);
    margin-top: 6px;
    text-align: left;
    display: block;
    line-height: 1.35;
    white-space: normal;
}

.ce-wrap .ce-fc-info .ce-sub-ico {
    display: inline-flex;
    color: rgba(255,255,255,.9);
    flex-shrink: 0;
}

.ce-wrap .ce-fc-info .ce-price {
    margin-top: 8px;
    text-align: left;
    display: block;
    width: 100%;
}

/* ── Badges de preço nos cards ── */
.ce-fc-info .ce-price .price-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 2px;
    width: 100%;
}

/* Sessão principal — valor centralizado e em destaque */
.ce-fc-info .ce-price .price-container--principal {
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.ce-price-hero {
    display: block;
    width: 100%;
    text-align: center;
    font-size: clamp(1.55rem, 2.4vw, 2.05rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.01em;
    color: #f0cf72;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}

.ce-price-badge-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.ce-discount-badge,
.ce-acrescimo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.ce-discount-badge {
    color: #d7ffe8;
    background: rgba(24, 140, 78, 0.28);
    border: 1px solid rgba(72, 200, 120, 0.45);
    box-shadow: 0 0 8px rgba(40, 160, 90, 0.18);
}

.ce-acrescimo-badge {
    color: #ffe8c8;
    background: rgba(180, 110, 30, 0.32);
    border: 1px solid rgba(232, 168, 72, 0.5);
    box-shadow: 0 0 8px rgba(200, 130, 40, 0.18);
}

/* Cards laterais: badges monocromáticas */
.ce-fc-track > .option:not(.ce-active) .ce-discount-badge,
.ce-fc-track > .option:not(.ce-active) .ce-acrescimo-badge {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: none;
}

.price-container--secundaria .ce-price-badge-row {
    justify-content: flex-start;
}

.ce-price-divider {
    height: 1px;
    width: 100%;
    background: rgba(255, 255, 255, 0.28);
    margin: 2px 0 2px;
}

.ce-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px;
    max-width: 100%;
    width: 100%;
}

.ce-price-label {
    font-size: .78rem;
    font-weight: 500;
    color: rgba(255,255,255,.9);
    line-height: 1.3;
    white-space: nowrap;
    min-width: 0;
}

.ce-price-value-badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.ce-price-value-badge--option {
    color: #1a1408;
    background: linear-gradient(135deg, #f5e08a 0%, #f0cf72 45%, #e09a28 100%);
    border: none;
    box-shadow: 0 2px 10px rgba(224, 154, 40, 0.35);
}

.ce-price-row--total {
    padding: 6px 10px;
    border-radius: 10px;
    background: linear-gradient(100deg, #1e5cff 0%, #1236b8 45%, #0a1c6e 100%);
    border: 1px solid rgba(120, 170, 255, 0.55);
    box-shadow: 0 0 14px rgba(40, 100, 255, 0.32);
}

.ce-price-total-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.ce-price-total-ico {
    display: inline-flex;
    color: #fff;
    flex-shrink: 0;
}

.ce-price-row--total .ce-price-label {
    color: #fff;
    font-weight: 500;
}

.ce-price-value-badge--gold {
    color: #fff;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    font-size: 0.95rem;
}

/* Valor da opção principal (formato de show) — badge única com o valor */
.ce-price-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.01em;
    white-space: nowrap;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.ce-price-badge--main {
    color: #f0d78a;
    background: rgba(212,168,67,.18);
    border: 1px solid rgba(212,168,67,.45);
    box-shadow: 0 2px 10px rgba(212,168,67,.12);
}

/* Legado: preço simples sem classe badge (fallback) */
.ce-wrap .ce-fc-info .ce-price:not(:has(.price-container)):not(.ce-price-badge) {
    font-size: 1.1rem;
    font-weight: 800;
    color: #d4a843;
}

/* Preço detalhado — ids mantidos para compatibilidade legada */
.ce-fc-info .ce-price #option-price:not(.ce-price-badge) {
    font-size: .78rem;
    font-weight: 500;
    color: rgba(255,255,255,.62);
    margin-top: 6px;
}

.ce-fc-info .ce-price #total-price:not(.ce-price-badge) {
    font-size: .95rem;
    font-weight: 800;
    color: #d4a843;
    margin-top: 4px;
}

/* Sem borda dourada residual nos cards do carrossel (seleção usa glow do ativo) */
.ce-fc-track > .option.selected .ce-fc-front::after,
.ce-fc-track > .option.selected .ce-fc-back::after {
    content: none !important;
    display: none !important;
    border: none !important;
    box-shadow: none !important;
    background: none !important;
}

/* ── VERSO ── */
.ce-fc-back {
    background: #16181f;
    transform: rotateY(180deg) translateZ(0.1px);
    display: flex;
    flex-direction: column;
    padding: 0;
}

.ce-fc-back-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #d4a843;
    margin: 0 0 12px;
    text-align: center;
}

.ce-back-specs {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    overflow-y: auto;
}

.ce-back-specs li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .8rem;
    color: rgba(255,255,255,.42);
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.ce-back-specs li:last-child { border-bottom: none; }
.ce-back-specs li span { color: #f0f0f0; font-weight: 600; }

.ce-back-detalhe {
    font-size: .76rem;
    color: rgba(255,255,255,.55);
    line-height: 1.55;
    margin: 8px 0 0;
}

.ce-back-body {
    flex: 1;
    min-height: 0;
    position: relative;
    overflow: hidden;
    background: #0f1116;
}

.ce-back-panel {
    display: block;
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 0;
    transition: opacity .32s ease, visibility .32s ease;
}

.ce-back-panel.is-on {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.ce-back-panel--detalhes {
    overflow-y: auto;
    padding: 14px 12px 44px;
    background: #16181f;
}

.ce-back-panel--media {
    background: #0f1116;
}

.ce-back-slides {
    position: absolute;
    inset: 0;
    background: #0f1116;
}

.ce-back-slide {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    border: none;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    transition: opacity var(--ce-slide-fade, .4s) ease;
    z-index: 0;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

.ce-back-slide.is-on {
    opacity: 1;
    z-index: 1;
}

.ce-back-slide--video {
    object-fit: unset;
    background: #000;
}

.ce-back-video-el {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
    object-position: center center;
    background: #000;
}

.ce-back-mute {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(36, 40, 52, .88);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background .2s, border-color .2s;
}

.ce-back-mute:hover,
.ce-back-mute:focus-visible {
    background: rgba(50, 54, 68, .94);
    border-color: rgba(255,255,255,.35);
    outline: none;
}

.ce-back-mute-ico {
    display: block;
    width: 16px;
    height: 16px;
    background: currentColor;
    /* speaker */
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ce-back-mute.is-muted .ce-back-mute-ico {
    /* speaker muted */
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M16.5 12c0-1.77-1-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M16.5 12c0-1.77-1-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ce-back-badges {
    display: flex;
    gap: 5px;
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 4;
    min-height: 22px;
    pointer-events: none;
}

.ce-back-badges .ce-back-badge {
    pointer-events: auto;
}

.ce-back-badge {
    flex: 1;
    min-height: 22px;
    padding: 3px 6px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(36, 40, 52, .88);
    color: rgba(255,255,255,.72);
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
    transition: border-color .2s, color .2s, background .2s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.ce-back-badge.is-on {
    border-color: rgba(212,168,67,.65);
    color: #1a1408;
    background: rgba(212,168,67,.9);
}


/* ─────────────────────────────────────────
   BOTÕES DE AÇÃO (abaixo do carrossel)
───────────────────────────────────────── */
.ce-footer .ce-active-btns {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 6px;
    padding: 8px 8px 4px;
    width: 100%;
    box-sizing: border-box;
    overflow: visible !important;
}

/* Botões de ação (div + span — texto sempre visível) */
.ce-footer .ce-action-btn {
    flex: 1;
    min-height: 38px;
    padding: 8px 6px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.ce-footer .ce-action-label {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    letter-spacing: .1px;
    white-space: normal;
    pointer-events: none;
    overflow: visible !important;
    max-height: none !important;
}

/* Voltar — Minha seleção (glass) */
.ce-footer .ce-action-back {
    border-radius: 999px !important;
    color: #f3f4f8 !important;
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: background .2s, border-color .2s, box-shadow .2s, color .2s, filter .2s;
}
.ce-footer .ce-action-back .ce-action-label {
    color: #f3f4f8 !important;
    -webkit-text-fill-color: #f3f4f8 !important;
    font-weight: 700 !important;
}
.ce-footer .ce-action-back:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(247, 212, 126, 0.4) !important;
    color: #fff !important;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.28),
        0 0 18px rgba(233, 180, 76, 0.12);
    opacity: 1 !important;
}
.ce-footer .ce-action-back:hover .ce-action-label {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

/* Trocar serviço — Glass / pílula (mesma altura dos demais) */
.ce-footer .ce-action-back.ce-action-trocar,
.ce-footer .ce-action-back.btn-trocar-servico {
    font-weight: 650;
    color: rgba(255, 255, 255, 0.78) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 999px !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.ce-footer .ce-action-back.ce-action-trocar .ce-action-label,
.ce-footer .ce-action-back.btn-trocar-servico .ce-action-label {
    color: rgba(255, 255, 255, 0.78) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.78) !important;
    font-weight: 600 !important;
}
.ce-footer .ce-action-back.ce-action-trocar:hover,
.ce-footer .ce-action-back.btn-trocar-servico:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.ce-footer .ce-action-back.ce-action-trocar:hover .ce-action-label,
.ce-footer .ce-action-back.btn-trocar-servico:hover .ce-action-label {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

/* Selecionar — Minha seleção (glow suave; borda mais iluminada) */
.ce-footer .ce-action-select {
    border-radius: 999px !important;
    color: #221600 !important;
    background:
        linear-gradient(
            145deg,
            rgba(247, 212, 126, 0.95) 0%,
            rgba(233, 180, 76, 0.92) 48%,
            rgba(154, 111, 30, 0.88) 100%
        ) !important;
    /* border: 1.5px solid rgba(255, 240, 190, 0.92) !important; */
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(255, 236, 180, 0.45),
        0 0 14px rgba(247, 212, 126, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.62),
        inset 0 -1px 0 rgba(154, 111, 30, 0.22);
    transition: background .2s, border-color .2s, box-shadow .2s, filter .2s, transform .2s, opacity .2s;
}
.ce-footer .ce-action-select .ce-action-label {
    color: #221600 !important;
    -webkit-text-fill-color: #221600 !important;
    font-weight: 700 !important;
}
.ce-footer .ce-action-select:hover {
    transform: none;
    filter: brightness(1.02);
    border-color: rgba(255, 248, 220, 1) !important;
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.24),
        0 0 0 1px rgba(255, 244, 200, 0.65),
        0 0 20px rgba(247, 212, 126, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        inset 0 -1px 0 rgba(154, 111, 30, 0.18);
    opacity: 1 !important;
}
.ce-footer .ce-action-select.is-transitioning,
body.ce-slide-ativa .ce-footer .ce-action-select,
body.ef-transicao-ativa .ce-footer .ce-action-select {
    opacity: 0.5 !important;
    pointer-events: none !important;
    cursor: default !important;
    filter: none !important;
    transform: none !important;
}
.ce-footer .ce-action-back[hidden] {
    display: none !important;
}

/* ─────────────────────────────────────────
   DICA + NAVEGAÇÃO
───────────────────────────────────────── */
.ce-hint {
    text-align: center;
    font-size: .65rem;
    color: rgba(255,255,255,.16);
    margin-top: 6px;
    padding: 0 14px;
    letter-spacing: .1px;
}

.ce-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 8px 0 2px;
}

.ce-progresso-badges {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1 0 100%;
    width: min(100%, var(--ce-card-w, 280px));
    max-width: var(--ce-card-w, 280px);
    margin: 0 auto;
    box-sizing: border-box;
}

.ce-progresso-badge {
    flex: 1 1 0;
    min-width: 0;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
}

.ce-progresso-badge.is-done {
    background: rgba(212, 167, 60, 0.5);
}

.ce-progresso-badge.is-active {
    background: var(--t-accent, #d4a843);
}

.ce-nav-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.75);
    font-size: .9rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, border-color .2s, opacity .2s;
    flex-shrink: 0;
    line-height: 1;
}

/* Setas laterais / dots — ocultos no mobile por padrão */
.ce-side-nav {
    display: none;
}

.ce-dots {
    display: none;
}
.ce-nav-btn:hover    { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; }
.ce-nav-btn:disabled { opacity: .25; cursor: default; }

.ce-counter {
    font-size: .82rem;
    font-weight: 600;
    color: rgba(255,255,255,.45);
    min-width: 48px;
    text-align: center;
    letter-spacing: .2px;
}

/* ─────────────────────────────────────────
   FADE FULLCARD
───────────────────────────────────────── */
.ce-fade-stage {
    position: relative;
    width: 100%;
    min-height: 480px;
}

.ce-fade-stage > .option {
    position: absolute !important;
    inset: 0 !important;
    display: flex;
    flex-direction: column;
    background: #16181f !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity .45s ease;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    text-align: left !important;
    box-shadow: none !important;
}

.ce-fade-stage > .option.ce-fade-active {
    opacity: 1;
    pointer-events: auto;
}

.ce-fade-img-wrap {
    flex: 0 0 52%;
    position: relative;
    overflow: hidden;
}

.ce-fade-img-wrap > img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    display: block !important;
    pointer-events: none;
    -webkit-user-drag: none;
    margin: 0 !important;
    padding: 0 !important;
    transition: transform .4s ease;
}

.ce-fade-stage > .option.ce-fade-active .ce-fade-img-wrap > img {
    transform: scale(1.04);
}

.ce-fade-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.08) 0%, rgba(0,0,0,.72) 100%);
}

.ce-fade-img-title {
    position: absolute;
    bottom: 14px; left: 18px; right: 18px;
}

.ce-fade-img-title h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,.9);
    margin: 0;
    text-align: left;
}

.ce-fade-img-title .ce-sub {
    font-size: .78rem;
    color: rgba(255,255,255,.58);
    margin-top: 4px;
    text-align: left;
    display: block;
}

.ce-fade-body {
    flex: 1;
    padding: 14px 18px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
}

.ce-fade-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #d4a843;
}

.ce-fade-detalhe {
    font-size: .76rem;
    color: rgba(255,255,255,.42);
    line-height: 1.5;
}

.ce-fade-specs {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
}

.ce-fade-specs li {
    display: flex;
    justify-content: space-between;
    font-size: .76rem;
    color: rgba(255,255,255,.4);
    padding: 4px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.ce-fade-specs li span { color: #f0f0f0; font-weight: 600; }
.ce-fade-specs li:last-child { border-bottom: none; }

.ce-fade-footer {
    padding: 10px 16px 16px;
    flex-shrink: 0;
}

.ce-fade-select-btn {
    width: 100%;
    padding: 14px;
    background: #d4a843;
    color: #111;
    border: none;
    border-radius: 12px;
    font-size: .92rem;
    font-weight: 800;
    cursor: pointer;
    transition: opacity .2s;
    letter-spacing: .2px;
}
.ce-fade-select-btn:hover { opacity: .86; }

/* Barra de progresso + dots + setas (Fade) */
.ce-fade-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 12px 0 0;
}

.ce-fade-dots { display: flex; gap: 7px; }

.ce-fade-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    cursor: pointer;
    transition: background .3s, transform .3s;
}
.ce-fade-dot.ce-dot-active {
    background: #d4a843;
    transform: scale(1.35);
}

.ce-fade-progress {
    height: 2px;
    background: rgba(255,255,255,.07);
    border-radius: 99px;
    margin: 8px 16px 0;
    overflow: hidden;
}
.ce-fade-progress-bar {
    height: 100%;
    background: #d4a843;
    border-radius: 99px;
    transition: width .4s ease;
}

/* ─────────────────────────────────────────
   CABEÇALHO DA PÁGINA (trocar serviço + título)
───────────────────────────────────────── */
.ce-page-header {
    order: -1;
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding: 4px 10px 2px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    z-index: 3;
}

.ce-step-indicator {
    margin: 0 0 4px;
    padding: 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
    text-align: center;
}

.ce-page-header #titulo-formato {
    padding-top: 0 !important;
    margin: 4px 0 8px !important;
    color: var(--t-text, #f0f0f0) !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    text-align: center !important;
}

#service-container-principal .btn-trocar-servico,
.ce-page-header .btn-trocar-servico {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 auto 6px !important;
    padding: 8px 16px !important;
    min-height: 38px;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 999px !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: border-color .2s, background .2s, color .2s, box-shadow .2s;
    letter-spacing: .1px;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: rgba(255, 255, 255, 0.78) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.78);
}
#service-container-principal .btn-trocar-servico:hover,
.ce-page-header .btn-trocar-servico:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff;
}

/* ─────────────────────────────────────────
   MOBILE FIRST
───────────────────────────────────────── */
@media (max-width: 640px) {
    .ce-fc-outer {
        padding: 6px 0;
        /* Máscara no outer borra imagens no iOS — fade lateral fica no .ce-wrap */
        -webkit-mask-image: none;
        mask-image: none;
    }

    /* Cards laterais — P&B na imagem (pai sem filter) */
    .ce-fc-track > .option.ce-adj {
        transform: scale(.86) translateZ(0);
        opacity: .97;
        filter: none !important;
    }

    .ce-fc-track > .option.ce-adj .ce-fc-front img.ce-fc-bg {
        filter: grayscale(1) contrast(1.04) !important;
    }

    .ce-fc-track > .option.ce-active {
        transform: scale(1) !important;
        filter: none !important;
    }

    .ce-fc-track > .option.ce-active .ce-fc-front img.ce-fc-bg {
        filter: none !important;
    }

    /* 3D só ao virar o card — frente fica mais nítida */
    .ce-fc-flip-wrap {
        perspective: none;
    }

    .ce-fc-track > .option.ce-flipped .ce-fc-flip-wrap,
    .ce-fc-track > .option.ce-unflipping .ce-fc-flip-wrap {
        perspective: 1100px;
        overflow: visible;
    }

    .ce-fc-inner {
        transform: rotateY(0deg);
        transform-style: preserve-3d;
    }

    .ce-fc-track {
        will-change: auto;
    }

    .ce-wrap::before,
    .ce-wrap::after {
        width: clamp(52px, 22%, 96px);
    }

    .ce-wrap .ce-fc-info h3    { font-size: 1.25rem !important; }
    .ce-wrap .ce-fc-info .ce-price { font-size: .95rem; }
    .ce-fc-back-title          { font-size: 1rem; }

    /* Botões de ação — compactos */
    #conteudo-dinamico .ce-footer .ce-active-btns,
    .ce-footer .ce-active-btns {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        gap: 6px;
        padding: 6px 8px 2px;
    }

    .ce-footer .ce-action-btn {
        padding: 7px 5px;
        min-height: 34px;
        border-radius: 8px;
    }

    .ce-footer .ce-action-label {
        font-size: 11px !important;
    }

    .ce-page-header {
        padding: 2px 8px 0;
    }

    .ce-page-header #titulo-formato {
        font-size: 1.15rem !important;
        margin: 0 auto 8px !important;
    }

    /* Navegação compacta */
    .ce-nav { gap: 12px; padding: 4px 0 0; }
    .ce-nav-btn { width: 28px; height: 28px; font-size: .75rem; }
    .ce-counter { font-size: .72rem; min-width: 36px; }

    .ce-hint { font-size: .58rem; padding: 0 8px; margin-top: 4px; }
}

/* ─────────────────────────────────────────
   SEÇÕES DO FLUXO (extras / som / luz)
───────────────────────────────────────── */
.ce-section-title {
    font-family: var(--t-font, inherit);
    font-size: var(--t-fs-lg, 1.15rem);
    font-weight: var(--t-fw-bold, 700);
    color: var(--t-text, #fff);
    text-align: center;
    margin: 0 0 12px;
    padding: 0 8px;
}

/* Detalhes sob cada card — acompanha o movimento do carrossel */
.ce-fc-track > .option > .ce-details-under {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72%;
    max-width: 220px;
    margin: 10px auto 0;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(18, 16, 28, 0.55);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    box-sizing: border-box;
    user-select: none;
    flex-shrink: 0;
    pointer-events: auto;
    transition: background 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
}

.ce-fc-track > .option.ce-adj > .ce-details-under {
    opacity: 0.72;
}

.ce-fc-track > .option:not(.ce-active):not(.ce-adj) > .ce-details-under {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.ce-fc-track > .option > .ce-details-under:hover,
.ce-fc-track > .option > .ce-details-under:focus-visible {
    background: rgba(28, 24, 42, 0.72);
    border-color: rgba(255, 255, 255, 0.32);
    color: rgba(255, 255, 255, 0.92);
    outline: none;
}

.ce-details-under-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.ce-section-mount {
    width: 100%;
}

.ce-section-mount .ce-root {
    margin: 0 auto;
}

/* Badge opção sugerida — borda circulante + canto superior direito */
@keyframes ce-badge-border-spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.ce-fc-front .ce-opcao-sugerida-wrap {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 6;
    border-radius: 999px;
    padding: 2px;
    pointer-events: none;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.38);
}

.ce-fc-front .ce-opcao-sugerida-wrap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 280%;
    aspect-ratio: 1;
    background: conic-gradient(
        from 0deg,
        rgba(212, 168, 67, 0.25) 0deg,
        #d4a843 40deg,
        #fff8e7 80deg,
        #ffffff 120deg,
        #f0d78a 160deg,
        #d4a843 200deg,
        #fff 240deg,
        #f5e6b8 280deg,
        #d4a843 320deg,
        rgba(212, 168, 67, 0.25) 360deg
    );
    animation: ce-badge-border-spin 6s linear infinite;
    z-index: 0;
}

.ce-fc-front .ce-opcao-sugerida {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 13px;
    border-radius: 999px;
    font-family: var(--t-font, system-ui, sans-serif);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #111;
    background: linear-gradient(135deg, #ffe566 0%, #f5c84a 45%, #e89a20 100%);
    border: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
    white-space: nowrap;
    line-height: 1.15;
}

.ce-fc-front .ce-opcao-sugerida::before {
    content: '★';
    font-size: .78rem;
    line-height: 1;
    color: #111;
    opacity: 0.95;
}

.ce-fc-track > .option.ce-active .ce-fc-front .ce-opcao-sugerida-wrap::before {
    animation-duration: 5s;
}

.ce-fc-track > .option.ce-adj .ce-fc-front .ce-opcao-sugerida-wrap {
    opacity: 0.72;
    transform: scale(0.94);
    filter: grayscale(0.15);
}

.ce-fc-track > .option.ce-adj .ce-fc-front .ce-opcao-sugerida-wrap::before {
    animation-duration: 9s;
}

@media (max-width: 1080px) {
    .ce-fc-front .ce-opcao-sugerida-wrap {
        top: 8px;
        right: 8px;
        padding: 1.5px;
    }

    .ce-fc-front .ce-opcao-sugerida {
        padding: 5px 10px;
        font-size: .65rem;
        gap: 4px;
    }

    .ce-fc-front .ce-opcao-sugerida::before {
        font-size: .7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ce-fc-front .ce-opcao-sugerida-wrap::before {
        animation: none;
        background: conic-gradient(from 45deg, #f0d78a, #d4a843, #f0d78a);
    }
}

/* Preço detalhado dentro do card — ver regras acima (.ce-fc-info .ce-price) */

/* Spotlight — overlay escuro com área em destaque (checklist 2.4) */
body.ce-spotlight-active {
    overflow: hidden;
}

.ce-spotlight {
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.ce-spotlight.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.ce-spotlight-panel {
    position: fixed;
    background: rgba(0, 0, 0, 0.82);
    pointer-events: auto;
}

.ce-spotlight-ring {
    position: fixed;
    border-radius: 0;
    border: 2px solid rgba(212, 168, 67, 0.85);
    box-shadow: 0 0 0 2px rgba(212, 168, 67, 0.2), 0 0 24px rgba(212, 168, 67, 0.35);
    pointer-events: none;
    transition: top 0.2s ease, left 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.ce-spotlight.is-visible.is-hiding {
    opacity: 0;
    pointer-events: none;
}

.ce-spotlight-message {
    position: fixed;
    z-index: 10045;
    width: min(92vw, 420px);
    max-width: calc(100vw - 24px);
    padding: 14px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(20, 22, 30, 0.98) 0%, rgba(28, 31, 42, 0.99) 100%);
    border: 1px solid rgba(212, 168, 67, 0.4);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    text-align: center;
    pointer-events: auto;
    opacity: 0;
    box-sizing: border-box;
    transition: opacity 0.32s ease 0.06s;
}

.ce-spotlight.is-visible:not(.is-hiding) .ce-spotlight-message {
    opacity: 1;
}

.ce-spotlight.is-visible.is-hiding .ce-spotlight-message {
    opacity: 0;
    transition-delay: 0s;
}

.ce-spotlight-text {
    margin: 0 0 8px;
    color: var(--t-text, #e8e8ec);
    font-family: var(--t-font, system-ui, sans-serif);
    font-size: 0.88rem;
    line-height: 1.5;
    text-align: center;
}

.ce-spotlight-step-count {
    margin: 0 0 12px;
    color: rgba(212, 168, 67, 0.9);
    font-family: var(--t-font, system-ui, sans-serif);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center;
    line-height: 1.2;
}

.ce-spotlight-ok {
    display: block;
    margin: 0 auto;
    padding: 8px 18px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #f5e6b8 0%, #d4a843 100%);
    color: #1a1208;
    font-family: var(--t-font, system-ui, sans-serif);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.02em;
}

.ce-spotlight-ok:hover {
    opacity: 0.92;
}

.ce-spotlight-highlight {
    position: relative;
    z-index: 10042 !important;
}

@media (max-width: 1080px) {
    .ce-spotlight-message {
        width: min(92vw, 340px);
        min-width: min(88vw, 280px);
        max-width: calc(100vw - 20px);
        padding: 14px 16px;
    }

    .ce-spotlight-text {
        font-size: 0.86rem;
        line-height: 1.55;
        text-align: center;
    }
}
