.lg-sales-video-feed {
    --lg-sales-bg: linear-gradient(135deg, #0f172a 0%, #111827 45%, #1f2937 100%);
    --lg-sales-panel: rgba(255, 255, 255, 0.08);
    --lg-sales-border: rgba(255, 255, 255, 0.12);
    --lg-sales-text: #f8fafc;
    --lg-sales-muted: rgba(248, 250, 252, 0.78);
    --lg-sales-accent: #f97316;
    color: var(--lg-sales-text);
    padding: 24px;
    border-radius: 28px;
    background: var(--lg-sales-bg);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.28);
}

body.lg-sales-video-feed-page,
body.lg-sales-video-feed-active {
    overflow: hidden;
    background: #020617;
}

body.lg-sales-video-feed-page .site,
body.lg-sales-video-feed-page .site-content,
body.lg-sales-video-feed-page .entry-content,
body.lg-sales-video-feed-page main,
body.lg-sales-video-feed-page article,
body.lg-sales-video-feed-page .post,
body.lg-sales-video-feed-page .page {
    max-width: none !important;
}

.lg-sales-video-feed,
.lg-sales-video-feed * {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    box-sizing: border-box;
}

/* Global SVG reset — overrides any theme svg { display:none } or fill/stroke resets */
.lg-sales-video-feed svg {
    display: inline-block !important;
    visibility: visible !important;
    overflow: visible !important;
    pointer-events: none;
}
.lg-sales-video-feed svg * {
    vector-effect: non-scaling-stroke;
}

.lg-sales-video-feed button,
.lg-sales-video-feed a,
.lg-sales-video-feed [data-action] {
    outline: none;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
}

.lg-sales-video-feed button:focus,
.lg-sales-video-feed a:focus,
.lg-sales-video-feed button:focus-visible,
.lg-sales-video-feed a:focus-visible {
    outline: none;
    box-shadow: none;
}

.lg-sales-video-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.lg-sales-video-header h2,
.lg-sales-video-bottom h3 {
    margin: 0;
    color: #fff;
}

.lg-sales-video-header p {
    margin: 8px 0 0;
    color: var(--lg-sales-muted);
}

.lg-sales-video-bottom p {
    margin: 0 0 10px;
    color: var(--lg-sales-muted);
    /* Trunca em 2 linhas para não cobrir o vídeo */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.lg-sales-video-kicker,
.lg-sales-video-count,
.lg-sales-video-tags span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lg-sales-video-kicker,
.lg-sales-video-count {
    color: #fdba74;
}

.lg-sales-video-stage {
    position: relative;
    height: min(78vh, 820px);
    overflow: hidden;
    border-radius: 32px;
    background: #020617;
    border: 1px solid var(--lg-sales-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Botão fechar do PHP fica escondido — o JS injeta os botões dentro do phone */
.lg-sales-video-close {
    display: none !important;
}

/* ── Top-right button group (cart + close) ── */
.lg-sales-video-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    z-index: 5;
}

.lg-sales-video-top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(2, 6, 23, 0.62);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    outline: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: background 0.18s ease, transform 0.18s ease;
    flex-shrink: 0;
}

.lg-sales-video-top-btn svg,
.lg-sales-video-top-btn svg * {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    stroke: #ffffff !important;
    fill: none !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    overflow: visible !important;
}

.lg-sales-video-top-btn:active {
    transform: scale(0.93);
    background: rgba(15, 23, 42, 0.8);
}

@media (hover: hover) {
    .lg-sales-video-top-btn:hover {
        background: rgba(30, 41, 59, 0.82);
    }
}

.lg-sales-video-track {
    height: 100%;
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.lg-sales-video-slide {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lg-sales-video-phone {
    position: relative;
    width: min(100%, 420px);
    height: 100%;
    max-height: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 32px;
    background: #000;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
    user-select: none;
}

.lg-sales-video-media,
.lg-sales-video-media iframe,
.lg-sales-video-media video,
.lg-sales-video-media img {
    width: 100%;
    height: 100%;
}

.lg-sales-video-media iframe,
.lg-sales-video-media video,
.lg-sales-video-media img {
    display: block;
    object-fit: cover;
    border: 0;
}

.lg-sales-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.15) 0%, rgba(2, 6, 23, 0.82) 82%);
}

.lg-sales-video-progress {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    z-index: 4;
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.lg-sales-video-progress-fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #fb923c 0%, #facc15 100%);
    box-shadow: 0 0 22px rgba(251, 146, 60, 0.45);
}

.lg-sales-video-top,
.lg-sales-video-bottom,
.lg-sales-video-sidebar {
    position: absolute;
    z-index: 4;
}

.lg-sales-video-top {
    z-index: 5; /* acima do overlay e do toggle */
    pointer-events: none; /* deixa cliques passarem pela área vazia do top */
}

.lg-sales-video-top .lg-sales-video-brand,
.lg-sales-video-top-actions {
    pointer-events: auto; /* mas os elementos dentro são clicáveis */
}

.lg-sales-video-top {
    top: 16px;
    left: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.lg-sales-video-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: min(100%, 260px);
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.44);
    backdrop-filter: blur(16px);
    box-shadow: 0 14px 34px rgba(2, 6, 23, 0.26);
}

.lg-sales-video-brand img,
.lg-sales-video-brand-fallback {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.32);
    flex-shrink: 0;
}

.lg-sales-video-brand-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fb923c 0%, #facc15 100%);
    color: #111827;
    font-weight: 900;
}

.lg-sales-video-brand-copy {
    min-width: 0;
}

.lg-sales-video-brand strong,
.lg-sales-video-product-card strong {
    display: block;
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
}

.lg-sales-video-brand span,
.lg-sales-video-product-card span {
    color: var(--lg-sales-muted);
    font-size: 11px;
}

.lg-sales-video-brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    border-radius: 999px;
    background: #3b82f6;
    color: #fff;
    font-size: 10px;
    vertical-align: middle;
}

.lg-sales-video-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.lg-sales-video-tags span {
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* Mantém compatibilidade se o elemento ainda existir */
.lg-sales-video-toggle {
    position: absolute;
    inset: 0;
    z-index: 2;
    border: 0;
    background: transparent !important;
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
    display: none; /* substituído pelas zonas abaixo */
}

/* ── Navigation zones (esquerda / centro / direita) ─────────────────── */
.lg-sales-video-nav-zones {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    /* Deixa os 42% inferiores livres para o produto e CTA */
    bottom: 42%;
    display: flex;
    z-index: 2;
    pointer-events: none;
}

.lg-sales-video-zone-btn {
    flex: 1;
    border: 0;
    background: transparent !important;
    cursor: pointer;
    outline: none;
    pointer-events: all;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
}

.lg-sales-video-zone-btn:hover,
.lg-sales-video-zone-btn:focus,
.lg-sales-video-zone-btn:active,
.lg-sales-video-zone-btn:focus-visible {
    background: transparent !important;
    outline: none;
    box-shadow: none;
}

.lg-sales-video-zone-left  { flex: 3; }
.lg-sales-video-zone-center { flex: 4; }
.lg-sales-video-zone-right { flex: 3; }

/* ── Pause flash ─────────────────────────────────────────────────────── */
.lg-sales-video-pause-flash {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    z-index: 10;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.lg-sales-video-pause-flash.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.lg-sales-video-swipe-hint {
    position: absolute;
    left: 50%;
    bottom: 148px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: min(78%, 260px);
    padding: 14px 16px;
    border-radius: 22px;
    background: rgba(2, 6, 23, 0.52);
    color: #fff;
    text-align: center;
    transform: translateX(-50%);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.32);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lg-sales-video-swipe-hint.is-visible {
    animation: lg-sales-swipe-hint 2.2s ease-in-out infinite;
    opacity: 1;
}

.lg-sales-video-swipe-hint::before {
    content: "↓";
    font-size: 24px;
    line-height: 1;
    font-weight: 700;
}

.lg-sales-video-swipe-hint span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fdba74;
}

.lg-sales-video-swipe-hint strong {
    font-size: 14px;
    line-height: 1.35;
    color: #fff;
}

/* ── Unmute hint ── */
.lg-sales-video-unmute-hint {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    z-index: 6;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.72);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    backdrop-filter: blur(12px);
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lg-sales-video-unmute-hint.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* O indicador "Pausado" agora usa o .lg-sales-video-pause-flash persistente */
.lg-sales-video-slide.is-paused .lg-sales-video-pause-flash {
    opacity: 0.75;
    transform: translate(-50%, -50%) scale(1);
}

/* Mantém a regra original por compatibilidade (toggle oculto, ::after inerte) */
.lg-sales-video-slide.is-paused .lg-sales-video-toggle::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 12px 18px;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

@keyframes lg-sales-swipe-hint {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.9;
    }
    50% {
        transform: translateX(-50%) translateY(8px);
        opacity: 1;
    }
}

@keyframes lg-sales-cart-spin {
    to {
        transform: rotate(360deg);
    }
}

.lg-sales-video-sidebar {
    right: 18px;
    bottom: 360px;
    z-index: 4;
}

/* Cart top button extends top-btn */
.lg-sales-video-cart-top {
    position: relative; /* para o badge */
}

.lg-sales-video-cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
    pointer-events: none;
}

.lg-sales-video-cart-badge.is-hidden {
    display: none;
}

@keyframes lg-sales-cart-pulse {
    0%   { transform: scale(1); }
    35%  { transform: scale(1.28); }
    65%  { transform: scale(0.94); }
    100% { transform: scale(1); }
}

.lg-sales-video-cart-top.is-pulsing {
    animation: lg-sales-cart-pulse 0.42s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

/* ── Cart Bottom Sheet Modal ── */
.lg-sales-video-cart-modal {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: flex-end;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.26s ease;
}

.lg-sales-video-cart-modal.is-open {
    pointer-events: auto;
    opacity: 1;
}

.lg-sales-video-cart-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.55);
    backdrop-filter: blur(3px);
}

.lg-sales-video-cart-sheet {
    position: relative;
    z-index: 1;
    width: 100%;
    background: #111827;
    border-radius: 20px 20px 0 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    transform: translateY(100%);
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.lg-sales-video-cart-modal.is-open .lg-sales-video-cart-sheet {
    transform: translateY(0);
}

.lg-sales-video-cart-sheet-handle {
    width: 38px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.18);
    margin: 10px auto 0;
}

.lg-sales-video-cart-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px 10px;
}

.lg-sales-video-cart-sheet-title {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lg-sales-video-cart-sheet-count {
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(248, 250, 252, 0.75);
    font-size: 12px;
    font-weight: 600;
}

.lg-sales-video-cart-sheet-body {
    min-height: 72px;
    max-height: 180px;
    overflow-y: auto;
    padding: 0 18px 10px;
    -webkit-overflow-scrolling: touch;
}

.lg-sales-video-cart-sheet-empty {
    margin: 0;
    padding: 18px 0;
    text-align: center;
    color: rgba(248, 250, 252, 0.45);
    font-size: 13px;
}

.lg-sales-video-cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lg-sales-video-cart-item:last-child {
    border-bottom: 0;
}

.lg-sales-video-cart-item-img {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lg-sales-video-cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lg-sales-video-cart-item-info {
    min-width: 0;
    flex: 1;
}

.lg-sales-video-cart-item-info strong {
    display: block;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lg-sales-video-cart-item-info span {
    display: block;
    color: rgba(248, 250, 252, 0.55);
    font-size: 12px;
    margin-top: 2px;
}

.lg-sales-video-cart-item-remove {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.12);
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: background 0.15s ease;
}

.lg-sales-video-cart-item-remove:active {
    background: rgba(239, 68, 68, 0.28);
}

.lg-sales-video-cart-item-remove svg {
    stroke: #ef4444 !important;
}

.lg-sales-video-cart-sheet-footer {
    padding: 12px 18px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lg-sales-video-cart-sheet-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    color: rgba(248, 250, 252, 0.65);
    font-size: 14px;
}

.lg-sales-video-cart-sheet-total strong {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.lg-sales-video-cart-sheet-actions {
    display: flex;
    gap: 10px;
}

.lg-sales-video-cart-sheet-btn {
    flex: 1;
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.15s ease;
}

.lg-sales-video-cart-sheet-btn:active {
    opacity: 0.82;
}

.lg-sales-video-cart-sheet-btn.is-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.lg-sales-video-cart-sheet-btn.is-primary {
    background: #fca311;
    color: #111827;
    box-shadow: 0 6px 18px rgba(252, 163, 17, 0.3);
}

.lg-sales-video-like {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 10px;
    border: 0;
    border-radius: 18px;
    color: #fff;
    background: rgba(2, 6, 23, 0.52);
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.28);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.lg-sales-video-like:hover {
    transform: translateY(-2px) scale(1.02);
    background: rgba(15, 23, 42, 0.72);
}

.lg-sales-video-like.is-liked {
    color: #fb7185;
}

.lg-sales-video-like svg {
    width: 22px !important;
    height: 22px !important;
    display: block !important;
    overflow: visible !important;
}

.lg-sales-video-bottom {
    left: 18px;
    right: 18px;
    bottom: 20px;
    z-index: 4;
    max-width: 344px;
}

.lg-sales-video-product-row {
    margin-top: 12px;
}

.lg-sales-video-cart-dock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 22px;
    background: rgba(2, 6, 23, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 34px rgba(2, 6, 23, 0.24);
    backdrop-filter: blur(18px);
}

.lg-sales-video-cart-copy {
    min-width: 0;
}

.lg-sales-video-cart-copy strong {
    display: block;
    margin-bottom: 3px;
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lg-sales-video-cart-copy span {
    display: block;
    color: rgba(248, 250, 252, 0.82);
    font-size: 12px;
    line-height: 1.35;
}

.lg-sales-video-cart-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.lg-sales-video-cart-btn {
    min-height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.lg-sales-video-cart-btn:hover {
    transform: translateY(-1px);
}

.lg-sales-video-cart-btn.is-ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.lg-sales-video-cart-btn.is-primary {
    color: #111827;
    background: linear-gradient(135deg, #fde68a 0%, #f59e0b 100%);
    box-shadow: 0 14px 26px rgba(245, 158, 11, 0.24);
}

.lg-sales-video-product-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 18px;
    background: rgba(17, 24, 39, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.28);
    margin-bottom: 10px;
}

.lg-sales-video-product-thumb {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lg-sales-video-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lg-sales-video-product-info {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lg-sales-video-product-name {
    display: block;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lg-sales-video-product-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.lg-sales-video-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
}

.lg-sales-video-tag svg {
    width: 11px !important;
    height: 11px !important;
    flex-shrink: 0;
    display: block !important;
}

.lg-sales-video-tag-profit {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.lg-sales-video-tag-resale {
    background: rgba(252, 163, 17, 0.15);
    color: #fca311;
    border: 1px solid rgba(252, 163, 17, 0.2);
}

.lg-sales-video-prices {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.lg-sales-video-price-old {
    color: rgba(248, 250, 252, 0.46);
    font-size: 11px;
    font-weight: 400;
    text-decoration: line-through;
}

.lg-sales-video-price-current {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

.lg-sales-video-installments {
    color: #fca311;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.3;
}

.lg-sales-video-cta-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.lg-sales-video-cta {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 14px;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.lg-sales-video-cta-ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.lg-sales-video-cta-ghost:hover {
    background: rgba(255, 255, 255, 0.17);
}

.lg-sales-video-cta-primary {
    color: #111827;
    background: #fca311;
    box-shadow: 0 8px 22px rgba(252, 163, 17, 0.38);
}

@media (hover: hover) {
    .lg-sales-video-cta:hover {
        transform: translateY(-2px);
    }
}

.lg-sales-video-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.lg-sales-video-cta-icon svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
}

.lg-sales-video-cta.is-loading {
    opacity: 0.92;
    cursor: wait;
}

.lg-sales-video-cta.is-loading .lg-sales-video-cta-icon {
    animation: lg-sales-cart-spin 0.85s linear infinite;
}

.lg-sales-video-cta.is-added {
    color: #fff;
    background: #16a34a;
    box-shadow: 0 8px 22px rgba(22, 163, 74, 0.36);
}

.lg-sales-video-cta.is-error {
    color: #fff;
    background: linear-gradient(135deg, #fb7185 0%, #ef4444 100%);
    box-shadow: 0 16px 30px rgba(239, 68, 68, 0.22);
}

.lg-sales-video-cta:disabled {
    opacity: 1;
}

.lg-sales-video-nav {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lg-sales-video-nav button {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(15, 23, 42, 0.62);
    color: #fff;
    cursor: pointer;
}

.lg-sales-video-nav button:disabled {
    opacity: 0.35;
    cursor: default;
}

.lg-sales-video-empty {
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
}

body.lg-sales-video-feed-page .lg-sales-video-feed {
    position: fixed;
    inset: 0;
    z-index: 999999;
    padding: 0;
    border-radius: 0;
    background: #020617;
    box-shadow: none;
}

body.lg-sales-video-feed-page .lg-sales-video-header {
    display: none;
}

body.lg-sales-video-feed-page .lg-sales-video-stage {
    height: 100vh;
    border-radius: 0;
    border: 0;
    padding: 0;
}

body.lg-sales-video-feed-page .lg-sales-video-top {
    top: 16px;
    left: 14px;
    right: 14px;
}

body.lg-sales-video-feed-page .lg-sales-video-bottom {
    left: 16px;
    right: 16px;
    bottom: 18px;
}

body.lg-sales-video-feed-page .lg-sales-video-sidebar {
    right: 16px;
    bottom: 368px;
}

body.lg-sales-video-feed-page .lg-sales-video-nav {
    right: 16px;
}

body.lg-sales-video-feed-page .lg-sales-video-slide {
    padding: 0 18px;
}

body.lg-sales-video-feed-page .lg-sales-video-phone {
    width: min(100%, 430px);
    height: min(100dvh, 100%);
    border-radius: 0;
}

@media (max-width: 767px) {
    .lg-sales-video-feed {
        padding: 12px;
        border-radius: 20px;
    }

    .lg-sales-video-header {
        flex-direction: column;
    }

    .lg-sales-video-stage {
        height: 100svh;
        border-radius: 0;
        border: 0;
    }

    .lg-sales-video-bottom {
        left: 14px;
        right: 14px;
        bottom: 16px;
        max-width: 100%;
    }

    .lg-sales-video-sidebar {
        right: 14px;
        bottom: 356px;
    }

    .lg-sales-video-nav {
        display: none;
    }

    .lg-sales-video-brand {
        max-width: min(100%, 210px);
        padding: 7px 10px;
        gap: 8px;
    }

    .lg-sales-video-brand img,
    .lg-sales-video-brand-fallback {
        width: 34px;
        height: 34px;
    }

    .lg-sales-video-brand strong {
        font-size: 12px;
    }

    .lg-sales-video-brand span {
        font-size: 10px;
    }

    .lg-sales-video-cart-top {
        width: 40px;
        height: 40px;
    }

    .lg-sales-video-product-thumb {
        width: 50px;
        height: 50px;
    }

    .lg-sales-video-cta {
        min-height: 48px;
        font-size: 13px;
        border-radius: 12px;
    }

    .lg-sales-video-product-card {
        padding: 8px 10px;
        border-radius: 14px;
    }

    .lg-sales-video-swipe-hint {
        bottom: 164px;
        width: min(84%, 240px);
        padding: 12px 14px;
    }

    /* feed-page full screen on mobile */
    body.lg-sales-video-feed-page .lg-sales-video-feed {
        padding: 0;
        border-radius: 0;
    }

    body.lg-sales-video-feed-page .lg-sales-video-stage {
        height: 100dvh;
        border-radius: 0;
    }

    body.lg-sales-video-feed-page .lg-sales-video-slide {
        padding: 0;
    }

    body.lg-sales-video-feed-page .lg-sales-video-bottom {
        left: 14px;
        right: 14px;
        bottom: 16px;
    }

    body.lg-sales-video-feed-page .lg-sales-video-sidebar {
        right: 14px;
        bottom: 368px;
    }

    body.lg-sales-video-feed-page .lg-sales-video-phone {
        width: 100%;
        height: 100dvh;
        border-radius: 0;
    }

    body.lg-sales-video-feed-page .lg-sales-video-nav {
        right: 10px;
    }

    body.lg-sales-video-feed-page .lg-sales-video-close {
        top: 14px;
        right: 12px;
    }
}
