/**
 * OneRio — Carrinho do site geral ("Seu roteiro"), 1.98.4 (protótipo aprovado em 08/11/2026).
 *
 * Uma barra azul-marinho no pé da tela com o resumo (fotos dos atrativos, ingressos e total)
 * que, ao toque, sobe e vira o carrinho: a folha branca com o roteiro por dia, as sugestões
 * e, no pé, a mesma barra azul com o total e "Finalizar compra" — a linguagem do pop-up de
 * ingressos. Na página do atrativo, a barra vira um círculo à esquerda do "Ver ingressos".
 *
 * - Tokens próprios (`--oc-*`): vale em qualquer página do site geral, com ou sem visit.css.
 * - Celular primeiro; a partir de 768 px, barra centrada e a folha como diálogo que sobe do pé.
 * - Toques de 44 px no mínimo, foco de 3 px, contraste AA (branco no laranja só em texto grande).
 * - Blindado contra o tema (button/a/h2/h3/ul/img) com !important só onde o tema costuma pintar.
 *
 * @package OneRio_Booking
 */

@font-face { font-family: 'Chillax'; src: url('../../templates/tickets/onerio-brand/fonts/Chillax-Semibold.otf') format('opentype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Chillax'; src: url('../../templates/tickets/onerio-brand/fonts/Chillax-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../../templates/tickets/onerio-brand/fonts/Satoshi-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../../templates/tickets/onerio-brand/fonts/Satoshi-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../../templates/tickets/onerio-brand/fonts/Satoshi-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }

/* ============================ Base ============================ */
.opw-cart, .opw-cart-dock {
    --oc-navy: #00085f;
    --oc-navy-2: #0a1580;
    --oc-navy-3: #00053d;
    --oc-accent: #ff5d06;
    --oc-accent-ink: #c8490a;
    --oc-cream: #fbffe1;
    --oc-ink: #172033;
    --oc-muted: rgba(0, 8, 95, .68);
    --oc-faint: rgba(0, 8, 95, .5);
    --oc-line: rgba(0, 8, 95, .12);
    --oc-line-2: rgba(0, 8, 95, .2);
    --oc-soft: #f2f2f6;
    --oc-soft-2: rgba(0, 8, 95, .055);
    --oc-ok: #15805a;
    --oc-ok-soft: rgba(21, 128, 90, .1);
    --oc-gutter: 20px;
    --oc-ease: cubic-bezier(.16, 1, .3, 1);
    --oc-display: 'Chillax', 'Satoshi', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --oc-body: 'Satoshi', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-family: var(--oc-body);
    -webkit-font-smoothing: antialiased;
}
.opw-cart *, .opw-cart *::before, .opw-cart *::after, .opw-cart-dock * { box-sizing: border-box; }
.opw-cart[hidden], .opw-cart [hidden], .opw-cart-dock[hidden] { display: none !important; }
.opw-cart button, .opw-cart-dock {
    font-family: var(--oc-body) !important; letter-spacing: 0 !important; text-transform: none !important; text-shadow: none !important;
    -webkit-tap-highlight-color: transparent; cursor: pointer;
}
.opw-cart a { text-decoration: none !important; box-shadow: none; }
.opw-cart a:focus-visible, .opw-cart button:focus-visible, .opw-cart-dock:focus-visible {
    outline: 3px solid var(--oc-accent) !important; outline-offset: 3px;
}
/* A folha recebe o foco ao abrir (leitor de tela lê o título): sem contorno no contêiner. */
.opw-cart__sheet:focus, .opw-cart__sheet:focus-visible { outline: none !important; }
.opw-cart ul, .opw-cart ol { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.opw-cart li { margin: 0; padding: 0; }
.opw-cart li::before, .opw-cart li::marker { content: none; }
.opw-cart p { margin: 0; }
.opw-cart h2, .opw-cart h3 { margin: 0; padding: 0; border: 0; background: none; }
body .opw-cart img { display: block; max-width: none; border: 0; border-radius: 0; box-shadow: none; }
.opw-cart svg { flex: 0 0 auto; }
.opw-cart-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* O espaço no fim da página para a barra não cobrir o rodapé (só quando a barra aparece). */
.opw-cart__spacer { height: 0; }
html.opw-cart-has .opw-cart.is-bar .opw-cart__spacer { height: calc(92px + env(safe-area-inset-bottom)); }

/* ============================ Barra (fechado) ============================ */
/* Pílula azul de 64 px no pé, com 12 px de folga das bordas: as fotos dos atrativos, os
   ingressos, o total e a seta laranja (o toque abre). Entra subindo; some quando a folha abre. */
.opw-cart__bar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 95;
    display: flex; align-items: center; gap: 12px; min-height: 64px; margin: 0; padding: 8px 8px 8px 10px !important;
    border: 0 !important; border-radius: 999px !important; background: var(--oc-navy) !important; color: #fff !important;
    box-shadow: 0 16px 34px rgba(0, 8, 95, .32), 0 2px 8px rgba(0, 8, 95, .18), inset 0 0 0 1px rgba(255, 255, 255, .1); text-align: left;
    transform: translateY(0); opacity: 1;
    transition: transform .42s var(--oc-ease), opacity .24s var(--oc-ease), box-shadow .2s;
}
.opw-cart:not(.is-bar) .opw-cart__bar, .opw-cart.is-open .opw-cart__bar { transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; }
.opw-cart__bar:hover { background: var(--oc-navy-2) !important; }
.opw-cart__bar:active { transform: scale(.985); }

.opw-cart__thumbs { display: flex; align-items: center; flex: 0 0 auto; padding-left: 2px; }
.opw-cart__thumb {
    position: relative; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--oc-navy-2);
    box-shadow: 0 0 0 2px var(--oc-navy); flex: 0 0 auto;
}
.opw-cart__thumb + .opw-cart__thumb { margin-left: -12px; }
.opw-cart__thumb img { width: 100%; height: 100%; object-fit: cover; }
.opw-cart__thumb.is-more { display: grid; place-items: center; background: var(--oc-navy-2); color: var(--oc-cream); font-size: 13px; font-weight: 700; }

/* Duas linhas: "Seu roteiro · 3 ingressos" pequeno e o total em destaque (cabe em 320 px). */
.opw-cart__bar-text { display: flex; flex-direction: column; justify-content: center; min-width: 0; flex: 1 1 auto; line-height: 1.2; }
.opw-cart__bar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 500; color: rgba(251, 255, 225, .82); }
.opw-cart__bar-meta::before { content: " · "; }
.opw-cart__bar-meta:empty::before { content: none; }
.opw-cart__bar-total { display: flex; align-items: center; gap: 6px; margin-top: 1px; font-family: var(--oc-display); font-size: 19px; font-weight: 700; line-height: 24px; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.opw-cart__bar-go {
    display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%;
    background: var(--oc-accent); color: #fff; box-shadow: 0 6px 16px rgba(255, 93, 6, .45);
}
.opw-cart__bar-go svg { width: 22px; height: 22px; }
.opw-cart__bar-go-text { display: none; }
.opw-cart__save-dot {
    display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px; font-family: var(--oc-body);
    background: rgba(251, 255, 225, .16); color: var(--oc-cream); font-size: 12px; font-weight: 700; line-height: 18px;
}
.opw-cart.is-bump .opw-cart__bar-go, .opw-cart-dock.is-bump { animation: opwCartBump .5s var(--oc-ease); }
@keyframes opwCartBump { 0% { transform: scale(1); } 35% { transform: scale(1.16); } 70% { transform: scale(.94); } 100% { transform: scale(1); } }

/* Antes do primeiro carregamento (o cookie diz que há itens): a barra já está no lugar, em brilho. */
.opw-cart.is-loading .opw-cart__bar-meta, .opw-cart.is-loading .opw-cart__bar-total { color: transparent; border-radius: 8px; background: linear-gradient(90deg, rgba(255, 255, 255, .08) 25%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .08) 75%) 0 0 / 200% 100%; animation: opwCartShimmer 1.2s linear infinite; }
.opw-cart.is-loading .opw-cart__bar-meta { display: inline-block; width: 74px; height: 14px; vertical-align: -2px; }
.opw-cart.is-loading .opw-cart__bar-meta::before { content: none; }
.opw-cart.is-loading .opw-cart__bar-total { width: 96px; height: 20px; }
@keyframes opwCartShimmer { to { background-position: -200% 0; } }

/* ============================ Círculo (página do atrativo) ============================ */
/* Com itens no roteiro, o "Ver ingressos" divide o pé: o carrinho vira um círculo azul de
   60 px à esquerda (com a contagem em laranja) e o botão laranja fica com o resto. */
.opw-cart-dock {
    pointer-events: auto; position: relative; display: none; place-items: center; flex: 0 0 60px; width: 60px; height: 60px; margin: 0 !important; padding: 0 !important;
    border: 0 !important; border-radius: 50% !important; background: var(--oc-navy) !important; color: #fff !important;
    box-shadow: 0 12px 26px rgba(0, 8, 95, .34), 0 2px 8px rgba(0, 8, 95, .14); transition: transform .15s var(--oc-ease), background .2s;
}
html.opw-cart-has .opw-cart-dock { display: grid; }
.opw-cart-dock:hover { background: var(--oc-navy-2) !important; }
.opw-cart-dock:active { transform: scale(.94); }
.opw-cart-dock svg { width: 26px; height: 26px; }
.opw-cart-dock__count {
    position: absolute; top: -4px; right: -4px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px;
    background: var(--oc-accent); color: #fff; font-size: 13px; font-weight: 700; line-height: 24px; text-align: center;
    font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2px #fff;
}
.opw-cart-dock__count:empty { display: none; }
/* O pé com os dois: o círculo e o laranja numa linha, juntos centrados no computador. */
html.opw-cart-has .opw-vp-cta { gap: 10px; align-items: center; }
html.opw-cart-has .opw-vp .opw-vp-cta__btn { flex: 1 1 auto; min-width: 0; max-width: 300px; }
@media (max-width: 374px) {
    /* Celular estreito: uma foto só na barra, para "Seu roteiro · 5 ingressos" caber inteiro. */
    .opw-cart__thumb:nth-child(n+2) { display: none; }
}
@media (max-width: 359px) {
    .opw-cart-dock { flex-basis: 56px; width: 56px; height: 56px; }
    html.opw-cart-has .opw-vp .opw-vp-cta__btn { gap: 8px; padding: 0 16px !important; font-size: 18px !important; }
}

/* ============================ Aviso "adicionado" ============================ */
.opw-cart__toast {
    position: fixed; left: 50%; bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 96;
    display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 32px); padding: 10px 16px 10px 12px;
    border-radius: 999px; background: #fff; color: var(--oc-navy); font-size: 15px; font-weight: 700; white-space: nowrap;
    box-shadow: 0 14px 30px rgba(0, 8, 95, .22), 0 0 0 1px var(--oc-line);
    transform: translate(-50%, 12px); opacity: 0; pointer-events: none; transition: transform .3s var(--oc-ease), opacity .2s var(--oc-ease);
}
.opw-cart__toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.opw-cart__toast-ic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--oc-ok); color: #fff; }
.opw-cart__toast-ic svg { width: 15px; height: 15px; }

/* ============================ Folha (aberto) ============================ */
.opw-cart__scrim { position: fixed; inset: 0; z-index: 99980; background: rgba(0, 4, 38, .45); opacity: 0; pointer-events: none; transition: opacity .28s var(--oc-ease); }
.opw-cart.is-open .opw-cart__scrim { opacity: 1; pointer-events: auto; }
.opw-cart__sheet {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 99985; display: flex; flex-direction: column;
    max-height: calc(100% - 40px); max-height: calc(100dvh - 40px); margin: 0; background: #fff; color: var(--oc-ink);
    border-radius: 32px 32px 0 0; overflow: hidden; outline: none; box-shadow: 0 -18px 48px rgba(0, 4, 38, .22);
    transform: translateY(102%); transition: transform .42s var(--oc-ease), visibility 0s .42s; visibility: hidden;
}
.opw-cart.is-open .opw-cart__sheet { transform: none; visibility: visible; transition: transform .42s var(--oc-ease), visibility 0s; }
.opw-cart__grab { flex: 0 0 auto; width: 40px; height: 5px; margin: 10px auto 0; border-radius: 3px; background: rgba(0, 8, 95, .16); }
.opw-cart__head { flex: 0 0 auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 12px var(--oc-gutter) 10px; }
.opw-cart__title { font-family: var(--oc-display) !important; font-size: 26px !important; font-weight: 700 !important; line-height: 32px !important; color: var(--oc-navy) !important; letter-spacing: 0 !important; text-transform: none !important; }
.opw-cart__sub { margin-top: 2px !important; font-size: 14px; line-height: 20px; color: var(--oc-muted); }
.opw-cart__close {
    display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; margin: 0; padding: 0 !important; border: 0 !important;
    border-radius: 50% !important; background: #e9e9f1 !important; color: var(--oc-navy) !important;
}
.opw-cart__close:hover { background: #dcdce8 !important; }
.opw-cart__close svg { width: 20px; height: 20px; }
.opw-cart__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 4px var(--oc-gutter) 24px; }

/* Pé da folha: a barra azul do pop-up de ingressos, com o total e "Finalizar compra". */
.opw-cart__foot {
    flex: 0 0 auto; position: relative; z-index: 2; display: flex; align-items: center; gap: 14px;
    padding: 14px var(--oc-gutter) calc(14px + env(safe-area-inset-bottom)); background: var(--oc-navy); color: #fff;
    border-radius: 24px 24px 0 0; box-shadow: 0 -10px 28px rgba(0, 8, 95, .16);
}
.opw-cart__sum { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; line-height: 1.2; }
.opw-cart__sum-label { font-size: 13px; color: rgba(251, 255, 225, .78); }
.opw-cart__sum-total { font-family: var(--oc-display); font-size: 24px; font-weight: 700; line-height: 30px; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.opw-cart__sum-save { margin-top: 1px; font-size: 13px; font-weight: 700; color: var(--oc-cream); white-space: nowrap; }
.opw-cart__pay {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 0 0 auto; min-height: 54px; padding: 0 22px;
    border-radius: 999px; background: var(--oc-accent); color: #fff !important; font-size: 18px; font-weight: 700; line-height: 22px; white-space: nowrap;
    box-shadow: 0 10px 24px rgba(255, 93, 6, .42); transition: background .2s, transform .15s var(--oc-ease);
}
.opw-cart__pay:hover { background: var(--oc-accent-ink); color: #fff !important; }
.opw-cart__pay:active { transform: scale(.97); }
.opw-cart__pay svg { width: 20px; height: 20px; }
.opw-cart__pay.is-busy { pointer-events: none; opacity: .75; }

/* ============================ Roteiro ============================ */
/* 1.98.5: o pop-up de ingressos entrega ao roteiro — a confirmação mora no topo da folha. */
.opw-cart__added {
    display: flex; align-items: flex-start; gap: 12px; margin: 2px 0 18px; padding: 14px; border-radius: 18px;
    background: var(--oc-ok-soft); color: var(--oc-navy); box-shadow: inset 0 0 0 1px rgba(21, 128, 90, .18); outline: none;
    animation: opwCartIn .32s var(--oc-ease) both;
}
.opw-cart__added-ic { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: var(--oc-ok); color: #fff; }
.opw-cart__added-ic svg { width: 18px; height: 18px; }
.opw-cart__added-text { min-width: 0; }
.opw-cart__added-title { font-family: var(--oc-display); font-size: 17px; font-weight: 700; line-height: 22px; color: var(--oc-navy); text-wrap: balance; }
.opw-cart__added-sub { margin-top: 2px !important; font-size: 13px; line-height: 18px; color: var(--oc-muted); }
.opw-cart__added-keep {
    display: inline-flex; align-items: center; min-height: 36px; margin: 4px 0 -6px; padding: 0 !important; border: 0 !important; background: none !important;
    color: var(--oc-navy) !important; font-size: 14px !important; font-weight: 700 !important; line-height: 20px !important; text-decoration: underline !important; text-underline-offset: 3px;
}
.opw-cart__added-keep:hover { color: var(--oc-accent-ink) !important; }
.opw-cart__added.is-still { animation: none; }
@keyframes opwCartIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* O que acabou de entrar: contorno verde que assenta no cinza e a etiqueta "Novo". */
.opw-cart__item.is-new { position: relative; animation: opwCartNew 2.4s ease-out 1.2s both; }
.opw-cart__new {
    position: absolute; top: -9px; right: 14px; padding: 1px 10px; border-radius: 999px; background: var(--oc-ok); color: #fff;
    font-size: 11.5px; font-weight: 700; line-height: 17px; letter-spacing: .02em; box-shadow: 0 0 0 3px #fff;
}
@keyframes opwCartNew {
    from { box-shadow: inset 0 0 0 2px var(--oc-ok); background: #f3faf6; }
    to { box-shadow: inset 0 0 0 1px var(--oc-line); background: #fff; }
}
/* Economia aplicada: faixa creme com o Passaporte que entrou sozinho. */
.opw-cart__win {
    display: flex; align-items: center; gap: 12px; margin: 4px 0 18px; padding: 12px 14px; border-radius: 18px;
    background: var(--oc-cream); color: var(--oc-navy); box-shadow: inset 0 0 0 1px rgba(0, 8, 95, .08);
}
.opw-cart__win-ic { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: var(--oc-navy); color: var(--oc-cream); }
.opw-cart__win-ic svg { width: 20px; height: 20px; }
.opw-cart__win strong { display: block; font-size: 15px; line-height: 20px; }
.opw-cart__win p span { display: block; font-size: 13px; line-height: 18px; color: var(--oc-muted); }

.opw-cart__day + .opw-cart__day { margin-top: 18px; }
.opw-cart__day-title {
    display: flex; align-items: center; gap: 8px; margin: 0 0 10px !important; font-family: var(--oc-body) !important;
    font-size: 14px !important; font-weight: 700 !important; line-height: 20px !important; color: var(--oc-navy) !important; letter-spacing: 0 !important; text-transform: none !important;
}
.opw-cart__day-title svg { width: 18px; height: 18px; color: var(--oc-accent-ink); }
.opw-cart__day-title::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--oc-line); }

.opw-cart__item {
    display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 12px; border-radius: 20px; background: #fff;
    box-shadow: inset 0 0 0 1px var(--oc-line); transition: opacity .25s var(--oc-ease), transform .25s var(--oc-ease);
}
.opw-cart__item + .opw-cart__item { margin-top: 10px; }
.opw-cart__item-media { display: block; width: 64px; height: 64px; border-radius: 16px; overflow: hidden; background: var(--oc-soft); }
.opw-cart__item-media img { width: 100%; height: 100%; object-fit: cover; }
.opw-cart__item-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.opw-cart__item-name { font-size: 16px; font-weight: 700; line-height: 21px; color: var(--oc-navy); }
.opw-cart__item-name a { color: inherit !important; }
.opw-cart__tag { display: inline-block; margin: 0 0 4px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 93, 6, .12); color: var(--oc-accent-ink); font-size: 11.5px; font-weight: 700; line-height: 16px; }
.opw-cart__item-when { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 3px !important; font-size: 13px; line-height: 18px; color: var(--oc-muted); }
.opw-cart__item-when span { display: inline-flex; align-items: center; gap: 4px; }
.opw-cart__item-when svg { width: 14px; height: 14px; }
.opw-cart__lines { margin-top: 6px !important; }
/* Uma linha por tipo de ingresso: em cima o tipo e o total; embaixo o preço de cada e o +/−. */
.opw-cart__line { display: flex; flex-direction: column; gap: 4px; padding: 8px 0; font-size: 14px; line-height: 20px; color: var(--oc-ink); transition: opacity .2s; }
.opw-cart__line + .opw-cart__line { border-top: 1px dashed var(--oc-line); }
.opw-cart__line.is-busy { opacity: .55; pointer-events: none; }
.opw-cart__line-top, .opw-cart__line-ctl { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.opw-cart__type { flex: 1 1 auto; min-width: 0; font-weight: 700; color: var(--oc-navy); overflow-wrap: anywhere; }
.opw-cart__unit { font-size: 12.5px; color: var(--oc-muted); font-variant-numeric: tabular-nums; }
.opw-cart__step { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: var(--oc-soft-2); }
.opw-cart__step-btn {
    position: relative; display: grid; place-items: center; width: 34px; height: 34px; margin: 0; padding: 0 !important; border: 0 !important;
    border-radius: 50% !important; background: #fff !important; color: var(--oc-navy) !important; box-shadow: 0 1px 3px rgba(0, 8, 95, .16);
}
.opw-cart__step-btn::after { content: ""; position: absolute; inset: -5px; } /* área de toque de 44 px */
.opw-cart__step-btn:hover { background: var(--oc-cream) !important; }
.opw-cart__step-btn:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.opw-cart__step-btn.is-rm { color: #b42318 !important; }
.opw-cart__step-btn svg { width: 16px; height: 16px; }
.opw-cart__step-qty { min-width: 28px; font-size: 15px; font-weight: 700; color: var(--oc-navy); text-align: center; font-variant-numeric: tabular-nums; }
.opw-cart__line-msg { margin: 2px 0 0 !important; padding: 8px 10px; border-radius: 12px; background: #fff4e5; color: #7a3d00; font-size: 13px; line-height: 18px; }
.opw-cart__line-msg a { color: inherit !important; font-weight: 700; text-decoration: underline !important; }
/* Com desconto, o preço cheio riscado fica em cima, pequeno: o tipo do ingresso não perde espaço. */
.opw-cart__price { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; font-weight: 700; color: var(--oc-navy); font-variant-numeric: tabular-nums; line-height: 18px; }
.opw-cart__price del { font-size: 12px; font-weight: 500; line-height: 15px; color: var(--oc-faint); }
.opw-cart__price.is-off { color: var(--oc-ok); }
.opw-cart__line.is-removed { flex-direction: row; align-items: center; justify-content: space-between; color: var(--oc-muted); font-size: 13.5px; } /* 1.98.5: "Desfazer" ao lado, não esticado */
.opw-cart__undo {
    min-height: 36px; padding: 0 12px !important; margin: 0 -8px 0 0; border: 0 !important; border-radius: 999px !important;
    background: var(--oc-soft-2) !important; color: var(--oc-navy) !important; font-size: 13.5px !important; font-weight: 700 !important;
}
.opw-cart__undo:hover { background: rgba(0, 8, 95, .1) !important; }
.opw-cart__item.is-going { opacity: .45; }

/* ============================ Venda cruzada ============================ */
/* "Feche o Passaporte": o que falta para o desconto entrar sozinho. Cartão claro com a borda
   laranja, as duas fotos com o "+" e o botão que leva à reserva já na data do roteiro. */
.opw-cart__nudge {
    position: relative; margin: 20px 0 0; padding: 16px; border-radius: 22px; background: #fff;
    box-shadow: inset 0 0 0 1.5px rgba(255, 93, 6, .45), 0 10px 24px rgba(255, 93, 6, .08);
}
.opw-cart__nudge-top { display: flex; align-items: center; gap: 14px; }
.opw-cart__nudge-art { display: flex; align-items: center; flex: 0 0 auto; }
.opw-cart .opw-cart__nudge-art img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff; }

.opw-cart__nudge-plus { position: relative; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; margin: 0 -8px; border-radius: 50%; background: var(--oc-accent); color: #fff; font-size: 16px; font-weight: 700; line-height: 1; box-shadow: 0 0 0 3px #fff; }
.opw-cart__nudge-kicker { font-size: 12.5px; font-weight: 700; line-height: 17px; color: var(--oc-accent-ink); }
.opw-cart__nudge-title { margin-top: 1px !important; font-family: var(--oc-display); font-size: 21px; font-weight: 700; line-height: 26px; color: var(--oc-navy); }
.opw-cart__nudge-sub { margin-top: 10px !important; font-size: 14px; line-height: 20px; color: var(--oc-muted); }
.opw-cart__nudge-cta {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin-top: 12px; padding: 0 18px;
    border-radius: 999px; background: var(--oc-navy); color: #fff !important; font-size: 15px; font-weight: 700; line-height: 20px;
    transition: background .2s, transform .15s var(--oc-ease);
}
.opw-cart__nudge-cta:hover { background: var(--oc-navy-2); color: #fff !important; }
.opw-cart__nudge-cta:active { transform: scale(.98); }
.opw-cart__nudge-cta svg { width: 18px; height: 18px; }

/* "Pertinho" / "Mais no Rio": fileira de fotos inteiras com o nome e o "a partir de". */
.opw-cart__more { margin: 24px 0 0; }
.opw-cart__more-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.opw-cart__more-title { font-family: var(--oc-display) !important; font-size: 19px !important; font-weight: 700 !important; line-height: 24px !important; color: var(--oc-navy) !important; letter-spacing: 0 !important; text-transform: none !important; }
.opw-cart__more-sub { margin-top: 2px !important; font-size: 13.5px; line-height: 19px; color: var(--oc-muted); }
.opw-cart__progress { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--oc-navy); white-space: nowrap; }
.opw-cart__progress i { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--oc-line-2); }
.opw-cart__progress i.is-on { background: var(--oc-accent); }
.opw-cart__rail {
    display: flex; gap: 12px; margin: 0 calc(-1 * var(--oc-gutter)) !important; padding: 2px var(--oc-gutter) 6px !important;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--oc-gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.opw-cart__rail::-webkit-scrollbar { display: none; }
.opw-cart__rail > li { flex: 0 0 156px; scroll-snap-align: start; }
.opw-cart__tile {
    position: relative; display: block; height: 212px; border-radius: 22px; overflow: hidden; background: var(--oc-soft);
    box-shadow: 0 8px 18px rgba(0, 8, 95, .1); color: inherit !important; transition: transform .2s var(--oc-ease), box-shadow .2s var(--oc-ease);
}
.opw-cart__tile:hover { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(0, 8, 95, .14); }
.opw-cart__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.opw-cart__tile-chip { position: absolute; top: 8px; left: 8px; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--oc-navy); font-size: 11.5px; font-weight: 700; line-height: 16px; }
.opw-cart__tile-panel { position: absolute; left: 6px; right: 6px; bottom: 6px; display: flex; flex-direction: column; padding: 10px 12px 11px; border-radius: 16px; background: #faf9f9; }
.opw-cart__tile-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--oc-display); font-size: 15px; font-weight: 700; line-height: 19px; color: var(--oc-navy); }
.opw-cart__tile-from { margin-top: 3px; font-size: 12.5px; line-height: 17px; color: #5f6b78; white-space: nowrap; }
.opw-cart__tile-from b { color: var(--oc-navy); }
.opw-cart__tile-go { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 12.5px; font-weight: 700; line-height: 16px; color: var(--oc-accent-ink); }
.opw-cart__tile-go svg { width: 14px; height: 14px; }

/* ============================ Vazio, carregando, erro ============================ */
.opw-cart__empty { padding: 20px 4px 4px; text-align: center; }
.opw-cart__empty-ic { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: var(--oc-soft); color: var(--oc-navy); }
.opw-cart__empty-ic svg { width: 28px; height: 28px; }
.opw-cart__empty-title { font-family: var(--oc-display); font-size: 20px; font-weight: 700; line-height: 26px; color: var(--oc-navy); }
.opw-cart__empty-sub { margin-top: 4px !important; font-size: 14px; line-height: 20px; color: var(--oc-muted); }
.opw-cart.is-empty .opw-cart__foot { display: none; }
.opw-cart__skel { height: 96px; border-radius: 20px; background: linear-gradient(90deg, #f2f2f6 25%, #e8e8f0 50%, #f2f2f6 75%) 0 0 / 200% 100%; animation: opwCartShimmer 1.2s linear infinite; }
.opw-cart__skel + .opw-cart__skel { margin-top: 10px; }
.opw-cart__err { padding: 16px; border-radius: 16px; background: #fdecea; color: #8a1f14; font-size: 14px; line-height: 20px; }
.opw-cart__err a { color: inherit !important; font-weight: 700; text-decoration: underline !important; }
.opw-cart__note { margin-top: 18px !important; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; color: var(--oc-faint); }
.opw-cart__note svg { width: 14px; height: 14px; }

/* Com o pop-up de ingressos aberto (html.opw-abx-lock), a barra e o aviso saem da frente. */
html.opw-abx-lock .opw-cart__bar { transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; }
html.opw-abx-lock .opw-cart__toast { opacity: 0; }

/* Com a folha aberta, a página não rola por baixo. */
html.opw-cart-lock, html.opw-cart-lock body { overflow: hidden !important; }
/* Com o roteiro aberto, o pé da página (círculo + "Ver ingressos") sai de cena: no computador ele
   aparecia por baixo do diálogo. */
html.opw-cart-lock .opw-vp-cta { opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s; }

/* ============================ Telas maiores ============================ */
@media (min-width: 768px) {
    .opw-cart, .opw-cart-dock { --oc-gutter: 28px; }
    .opw-cart__bar { left: 50%; right: auto; bottom: calc(20px + env(safe-area-inset-bottom)); width: min(560px, calc(100% - 48px)); transform: translateX(-50%); }
    .opw-cart:not(.is-bar) .opw-cart__bar, .opw-cart.is-open .opw-cart__bar { transform: translate(-50%, calc(100% + 32px)); }
    .opw-cart__bar:active { transform: translateX(-50%) scale(.99); }
    /* No computador sobra espaço: o botão laranja diz o que faz. */
    .opw-cart__bar-go { display: inline-flex; align-items: center; flex: 0 0 auto; width: auto; gap: 6px; padding: 0 16px 0 20px; border-radius: 999px; font-size: 15px; font-weight: 700; white-space: nowrap; }
    .opw-cart__bar-go-text { display: inline; }
    .opw-cart__nudge-cta { display: inline-flex; }
    .opw-cart__toast { bottom: calc(100px + env(safe-area-inset-bottom)); }
    /* A folha vira um diálogo de até 680 px que sobe do pé, com todos os cantos redondos. */
    .opw-cart__sheet {
        left: 50%; right: auto; bottom: 24px; width: min(680px, calc(100% - 64px)); max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px);
        border-radius: 32px; transform: translate(-50%, 40px); opacity: 0; box-shadow: 0 30px 80px rgba(0, 8, 95, .3);
        transition: transform .38s var(--oc-ease), opacity .24s var(--oc-ease), visibility 0s .38s;
    }
    .opw-cart.is-open .opw-cart__sheet { transform: translate(-50%, 0); opacity: 1; transition: transform .38s var(--oc-ease), opacity .24s var(--oc-ease), visibility 0s; }
    .opw-cart__grab { display: none; }
    .opw-cart__head { padding-top: 24px; }
    .opw-cart__title { font-size: 30px !important; line-height: 36px !important; }
    .opw-cart__foot { padding: 16px var(--oc-gutter); border-radius: 24px; margin: 0 8px 8px; }
    .opw-cart__rail > li { flex-basis: 176px; }
    .opw-cart__tile { height: 228px; }
    .opw-cart__item { grid-template-columns: 76px minmax(0, 1fr); padding: 14px; }
    .opw-cart__item-media { width: 76px; height: 76px; }
}
@media (prefers-reduced-motion: reduce) {
    .opw-cart *, .opw-cart-dock { transition: none !important; animation: none !important; }
}
