/* ==========================================================
   MSDEV Apps v8.4 — Loja de aplicativos
   ========================================================== */
.store-hero{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    padding:28px;
    margin-bottom:18px;
    border:1px solid var(--line);
    border-radius:18px;
    background:
        radial-gradient(circle at 85% 20%,rgba(37,99,235,.18),transparent 30%),
        linear-gradient(145deg,var(--panel),var(--panel-2));
}
.store-kicker{
    color:#93c5fd;
    font-size:11px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.store-hero h2{
    margin:8px 0 7px;
    font-size:28px;
}
.store-hero p{
    max-width:720px;
    margin:0;
    color:var(--muted);
    line-height:1.6;
}
.store-hero-stat{
    min-width:150px;
    display:grid;
    place-items:center;
    padding:20px;
    border:1px solid rgba(96,165,250,.32);
    border-radius:16px;
    background:rgba(37,99,235,.1);
    text-align:center;
}
.store-hero-stat strong{
    font-size:32px;
}
.store-hero-stat span{
    color:var(--muted);
    font-size:11px;
}
.store-toolbar{
    margin-bottom:18px;
}
.store-search-form{
    display:grid;
    grid-template-columns:minmax(220px,1fr) minmax(180px,260px) auto auto;
    gap:10px;
}
.store-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 360px;
    gap:20px;
    align-items:start;
}

.store-app-badge{
    display:inline-flex;
    min-height:24px;
    align-items:center;
    padding:4px 8px;
    border-radius:999px;
    font-size:9px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.04em;
}
.store-app-badge{
    color:#dbeafe;
    background:rgba(37,99,235,.17);
}

.store-purchase-panel{
    position:sticky;
    top:16px;
    padding:22px;
    border:1px solid var(--line);
    border-radius:18px;
    background:var(--panel);
    box-shadow:0 12px 30px rgba(0,0,0,.09);
}
.store-purchase-head{
    margin-bottom:18px;
}
.store-purchase-head > span{
    color:#93c5fd;
    font-size:10px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.06em;
}
.store-purchase-head h2{
    margin:7px 0;
}
.store-purchase-head p{
    margin:0;
    color:var(--muted);
    line-height:1.55;
}
.store-purchase-form{
    display:grid;
    gap:14px;
}
.store-plan-options{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
}
.store-plan-options label{
    display:block;
    cursor:pointer;
}
.store-plan-options input{
    position:absolute;
    width:1px;
    height:1px;
    margin:0;
    padding:0;
    opacity:0;
    pointer-events:none;
}
.store-plan-options span{
    min-height:76px;
    display:grid;
    place-content:center;
    gap:4px;
    padding:12px;
    border:1px solid var(--line);
    border-radius:12px;
    background:var(--panel-2);
    text-align:center;
    transition:.18s;
}
.store-plan-options input:checked + span{
    border-color:var(--primary);
    background:rgba(37,99,235,.13);
    box-shadow:inset 0 0 0 1px var(--primary);
}
.store-plan-options small{
    color:var(--muted);
}
.store-terms{
    align-items:flex-start;
    color:var(--muted);
    font-size:11px;
    line-height:1.45;
}
.store-purchase-help{
    margin:0;
    color:var(--muted);
    font-size:10px;
    line-height:1.5;
}
.btn-block{
    width:100%;
    justify-content:center;
}
.store-admin-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}
.store-admin-app{
    --store-accent:#2563EB;
    min-width:0;
    display:grid;
    grid-template-columns:92px minmax(0,1fr);
    overflow:hidden;
    border:1px solid var(--line);
    border-radius:15px;
    background:var(--panel-2);
}
.store-admin-app-icon{
    display:grid;
    place-items:center;
    min-height:150px;
    background:var(--store-accent);
}
.store-admin-app-icon img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.store-admin-app-icon span{
    color:#fff;
    font-size:32px;
    font-weight:900;
}
.store-admin-app-info{
    min-width:0;
    display:grid;
    gap:12px;
    padding:16px;
}
.store-admin-app-meta{
    display:flex;
    flex-wrap:wrap;
    gap:7px 13px;
    color:var(--muted);
    font-size:11px;
}
.store-admin-switches{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:16px;
    padding:14px;
    border:1px solid var(--line);
    border-radius:13px;
    background:var(--panel-2);
}
.store-order-review{
    min-width:230px;
    display:grid;
    gap:8px;
}
html[data-theme="light"] .store-hero{
    box-shadow:0 8px 24px rgba(15,23,42,.04);
}

html[data-theme="light"] .store-purchase-panel{
    box-shadow:0 8px 24px rgba(15,23,42,.045);
}

html[data-theme="light"] .store-app-badge{
    color:#1e40af;
    background:#dbeafe;
}

@media(max-width:900px){
    .store-admin-grid{
        grid-template-columns:1fr;
    }
    .store-search-form{
        grid-template-columns:1fr 1fr;
    }
}
@media(max-width:620px){
    .store-hero{
        align-items:flex-start;
        flex-direction:column;
    }
    .store-hero-stat{
        width:100%;
    }
    .store-search-form{
        grid-template-columns:1fr;
    }
    .store-plan-options{
        grid-template-columns:1fr;
    }
}

/* ==========================================================
   MSDEV Apps v8.9 — Teste grátis + página ver mais
   ========================================================== */

.store-trial-pill{
    display:inline-flex;
    align-items:center;
    gap:6px;
    width:max-content;
    padding:6px 10px;
    border-radius:999px;
    color:#166534;
    background:#dcfce7;
    font-size:10px;
    font-weight:900;
    letter-spacing:.02em;
    text-transform:uppercase;
}
.store-purchase-head-row,
.store-field-head,
.store-detail-actions,
.store-trial-box-head,
.store-demo-group-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
}
.store-field-head label{margin:0}
.store-more-link{
    color:var(--primary);
    font-size:11px;
    font-weight:900;
    text-decoration:none;
}
.store-more-inline{white-space:nowrap}
.store-promo-banner{
    margin-top:14px;
    padding:12px 13px;
    border:1px solid rgba(34,197,94,.25);
    border-radius:12px;
    color:#bbf7d0;
    background:rgba(34,197,94,.12);
    font-size:11px;
    font-weight:800;
}
.store-trial-box,
.store-status-box{
    display:grid;
    gap:12px;
    padding:16px;
    border:1px solid var(--line);
    border-radius:14px;
    background:var(--panel-2);
    margin-bottom:14px;
}
.store-trial-box p,
.store-status-box p{
    margin:0;
    color:var(--muted);
    font-size:12px;
    line-height:1.6;
}
.store-trial-box-head strong,
.store-status-box strong{
    font-size:16px;
}
.store-trial-box-head span{
    color:#86efac;
    font-size:11px;
    font-weight:800;
}
.store-status-box.is-success{
    border-color:rgba(34,197,94,.22);
    background:rgba(34,197,94,.08);
}
.store-status-box.is-warning{
    border-color:rgba(251,191,36,.28);
    background:rgba(251,191,36,.08);
}
.store-status-box.is-danger{
    border-color:rgba(239,68,68,.34);
    background:rgba(239,68,68,.08);
}
.store-status-box.is-danger strong{
    color:#f87171;
}
.store-status-box.is-neutral{
    border-color:rgba(59,130,246,.2);
    background:rgba(59,130,246,.08);
}
.store-status-box-head{
    display:flex;
    align-items:center;
    gap:10px;
}
.store-status-box-head strong{
    margin:0;
}
.store-status-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:30px;
    height:30px;
    border-radius:9px;
    flex-shrink:0;
    background:rgba(59,130,246,.18);
    color:#60a5fa;
}
.store-status-box.is-success .store-status-icon{
    background:rgba(34,197,94,.18);
    color:#4ade80;
}
.store-status-box.is-warning .store-status-icon{
    background:rgba(251,191,36,.22);
    color:#fbbf24;
}
.store-form-divider{
    position:relative;
    margin:8px 0 16px;
    text-align:center;
}
.store-form-divider::before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:50%;
    border-top:1px solid var(--line);
}
.store-form-divider span{
    position:relative;
    padding:0 10px;
    color:var(--muted);
    background:var(--panel);
    font-size:10px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.08em;
}
.store-detail-hero{
    --store-accent:#2563EB;
    display:grid;
    grid-template-columns:150px minmax(0,1fr);
    gap:24px;
    align-items:center;
    padding:28px;
    margin-bottom:18px;
    border:1px solid var(--line);
    border-radius:18px;
    background:
        radial-gradient(circle at 90% 15%,rgba(255,255,255,.08),transparent 24%),
        linear-gradient(145deg,var(--panel),var(--panel-2));
}
.store-detail-hero-media{
    width:150px;
    height:150px;
    display:grid;
    place-items:center;
    overflow:hidden;
    border-radius:22px;
    background:var(--store-accent);
    color:#fff;
    font-size:54px;
    font-weight:900;
}
.store-detail-hero-media img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.store-detail-badges{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:10px;
}
.store-detail-hero-copy h2{
    margin:0 0 10px;
    font-size:30px;
}
.store-detail-hero-copy p{
    max-width:880px;
    margin:0;
    color:var(--muted);
    line-height:1.6;
}
.store-detail-actions{
    margin-top:18px;
    justify-content:flex-start;
    flex-wrap:wrap;
}
.store-detail-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 330px;
    gap:20px;
    align-items:start;
}
.store-detail-main{
    display:grid;
    gap:18px;
}
.store-detail-side{
    position:sticky;
    top:16px;
}
.store-detail-text{
    margin:0;
    color:var(--text);
    line-height:1.75;
}
.store-feature-grid-detail{
    display:grid;
    gap:14px;
    margin-top:18px;
    grid-template-columns:repeat(2,minmax(0,1fr));
}
.store-feature-grid-detail article{
    display:flex;
    align-items:flex-start;
    gap:10px;
    padding:14px;
    border:1px solid var(--line);
    border-radius:14px;
    background:var(--panel-2);
}
.store-feature-grid-detail p{
    margin:0;
    color:var(--muted);
    font-size:12px;
    line-height:1.6;
}
.store-feature-check{
    width:24px;
    height:24px;
    display:grid;
    place-items:center;
    flex:0 0 auto;
    border-radius:50%;
    color:#fff;
    background:#16a34a;
    font-size:12px;
    font-weight:900;
}
.store-demo-group + .store-demo-group{
    margin-top:24px;
}
.store-demo-group-head{
    margin-bottom:14px;
}
.store-demo-group-head h3{
    margin:0;
}
.store-demo-group-head span{
    color:var(--muted);
    font-size:11px;
}
.store-demo-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
}
.store-device-preview-card{
    display:grid;
    gap:10px;
}
.store-device-label{
    color:var(--muted);
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.06em;
}
.store-device-frame{
    --store-accent:#2563EB;
    position:relative;
    min-height:420px;
    padding:14px;
    overflow:hidden;
    border:1px solid var(--line);
    border-radius:18px;
    background:#0a0f18;
}
.store-device-frame.is-wide{
    width:100%;
    max-width:100%;
    min-height:480px;
}
.store-device-frame.is-wide .mock-page{
    height:400px;
}
.store-device-frame.is-wide .mock-page.is-cart{
    height:460px;
}
/* O story (vertical, 9:16) precisa de mais altura para não ser cortado
   pelo overflow:hidden do mock — sem isso o rodapé do card (botão
   "Comprar agora" e contador) ficava escondido, diferente do widget real. */
.store-device-frame.is-wide .mock-page:has(.msdemo-stories--interactive){
    height:560px;
}
/* Demonstração com a ferramenta nativa (iframe isolado, ver store_render_demo_iframe()):
   o iframe tem seu próprio viewport, então a bolinha/modal do widget (position:fixed) fica
   contida nele mesmo — nada de altura extra "gambiarra" como no mock ilustrativo acima. */
.store-device-frame.is-wide .store-demo-real-frame,
.store-device-frame.is-mobile .store-demo-real-frame{
    display:block;
    width:100%;
    height:880px;
    margin-top:18px;
    border:0;
    border-radius:14px;
    background:#f8fafc;
    box-shadow:0 14px 30px rgba(0,0,0,.14);
    transition:height .25s ease;
}
/* Altura inicial menor na caixa mobile (antes do JS medir o conteúdo real — ver
   MIN/MAX_HEIGHT_MOBILE em store-demo.js), para não piscar uma caixa comprida demais por um
   instante ao carregar. */
.store-device-frame.is-mobile .store-demo-real-frame{
    height:560px;
}
/* Seletor dos 3 modelos do Suporte Flutuante acima da demonstração pública (ver
   store_render_floating_support_mode_showcase()). Mesmo fundo claro fixo usado na vitrine
   de formatos do Stories logo abaixo, pelo mesmo motivo: o painel ao redor é escuro. */
.store-demo-mode-switch{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:12px;
    margin-bottom:16px;
    padding:14px 16px;
    border-radius:14px;
    background:#f4f6fb;
    border:1px solid rgba(15,23,42,.08);
}
.store-demo-mode-switch-label{
    font-size:12px;
    font-weight:800;
    color:#475569;
    text-transform:uppercase;
    letter-spacing:.04em;
}
.store-demo-mode-switch-options{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}
.store-demo-mode-btn{
    appearance:none;
    border:1px solid rgba(15,23,42,.14);
    background:#fff;
    color:#0f172a;
    font-size:12px;
    font-weight:700;
    padding:8px 14px;
    border-radius:999px;
    cursor:pointer;
    transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.store-demo-mode-btn:hover{
    border-color:rgba(15,23,42,.28);
}
.store-demo-mode-btn.is-active{
    background:var(--store-accent,#25D366);
    border-color:var(--store-accent,#25D366);
    color:#fff;
}
/* Demonstração pública do Suporte Flutuante (ver store_render_floating_support_demo_layout()):
   em vez do "chão" de loja inteiro (Home da loja) usado pelas outras ferramentas, fica um
   quadrado pequeno (só o botão/painel) ao lado de um card com os 3 botões de modelo, em vez
   de acima da demonstração. Layout próprio, não reaproveita .store-device-frame is-wide/
   is-desktop (essas classes trazem a moldura de navegador pensada pra a Home da loja
   inteira, alta demais e cheia de decoração pra um quadrado pequeno). */
.store-fs-demo-layout{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
    align-items:stretch;
}
.store-fs-demo-frame{
    flex:0 0 340px;
    max-width:100%;
    display:flex;
    justify-content:center;
    padding:14px;
    border-radius:18px;
    border:1px solid var(--line);
    background:#0a0f18;
}
.store-fs-demo-frame .store-demo-real-frame{
    display:block;
    width:340px;
    max-width:100%;
    /* !important: o auto-ajuste de altura genérico dos outros widgets (ver
       MIN_HEIGHT/MAX_HEIGHT em assets/js/store-demo.js) tenta setar altura via JS inline
       (620 a 880px, pensado pra simular a tela de um visitante de verdade). Aqui a caixa é
       de propósito bem menor (só o botão/painel, sem "chão" de loja), então travamos a
       altura fixa pra não voltar a ficar alta e vazia. */
    height:640px !important;
    border:0;
    border-radius:14px;
    background:#f8fafc;
    box-shadow:0 14px 30px rgba(0,0,0,.14);
}
.store-fs-mode-card{
    flex:1 1 220px;
    min-width:200px;
    padding:18px;
    border-radius:18px;
    border:1px solid var(--line);
    background:#0a0f18;
}
.store-fs-mode-card-label{
    display:block;
    margin-bottom:12px;
    font-size:12px;
    font-weight:800;
    color:#94a3b8;
    text-transform:uppercase;
    letter-spacing:.04em;
}
.store-fs-mode-card-options{
    display:flex;
    flex-direction:column;
    gap:8px;
}
.store-fs-mode-btn{
    appearance:none;
    display:block;
    width:100%;
    text-align:left;
    border:1px solid rgba(255,255,255,.14);
    background:rgba(255,255,255,.04);
    color:#e2e8f0;
    font-size:13px;
    font-weight:700;
    padding:10px 14px;
    border-radius:10px;
    cursor:pointer;
    transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.store-fs-mode-btn:hover{
    border-color:rgba(255,255,255,.3);
}
.store-fs-mode-btn.is-active{
    background:var(--store-accent,#25D366);
    border-color:var(--store-accent,#25D366);
    color:#fff;
}
@media(max-width:640px){
    .store-fs-demo-frame,.store-fs-mode-card{flex-basis:100%}
}
/* Vitrine estática dos outros formatos de bolinha do Stories (ver
   store_render_stories_shape_showcase()) — mesmos valores de border-radius do runtime
   real, só que sem clique/abertura, apenas para o lojista comparar os formatos. */
/* Fundo claro fixo (cores literais, não var(--*)) só nesta caixa: o resto do painel é
   escuro, e a borda azul das bolinhas não se destacava nesse fundo. Como o texto herdaria
   a cor clara do tema escuro do painel (títulos sem cor própria, ficando invisíveis num
   fundo claro), toda cor de texto aqui é redeclarada explicitamente — título, legenda e
   rótulos das bolinhas — para garantir contraste. */
.store-shape-showcase{
    margin-top:18px;
    padding:16px;
    border-radius:14px;
    background:#f4f6fb;
    border:1px solid rgba(15,23,42,.08);
    color:#0f172a;
}
.store-shape-showcase .store-demo-group-head h3{
    color:#0f172a;
}
.store-shape-showcase .store-demo-group-head span{
    color:#475569;
}
.store-shape-grid{
    display:flex;
    flex-wrap:wrap;
    gap:24px;
    margin-top:14px;
}
.store-shape-item{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    font-size:11px;
    font-weight:800;
    color:#0f172a;
    text-transform:uppercase;
    letter-spacing:.04em;
}
/* Área de altura fixa (cobre o formato vertical, o mais alto) com os itens alinhados pela base —
   assim os formatos ficam nivelados entre si mesmo tendo alturas diferentes, e os
   rótulos abaixo delas ficam todos na mesma linha. */
.store-shape-bubble-wrap{
    display:flex;
    align-items:flex-end;
    justify-content:center;
    height:135px;
}
.store-shape-bubble{
    display:flex;
    width:76px;
    height:76px;
    box-sizing:border-box;
    overflow:hidden;
}
.store-shape-bubble video{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:inherit;
    display:block;
    pointer-events:none;
}
.store-shape-bubble[data-shape="rounded"]{border-radius:20%}
.store-shape-bubble[data-shape="square"]{border-radius:5px}
.store-shape-bubble[data-shape="oval"]{border-radius:999px;height:103px}
.store-shape-bubble[data-shape="vertical"]{border-radius:14px;width:76px;height:135px}
/* Estilos de borda (mesmas três opções do runtime real: degradê Instagram, sólida, sólida
   pulsando — ver widget_shape/border_style em includes/stories.php). */
.store-shape-bubble.is-instagram{
    padding:4px;
    background:conic-gradient(from 210deg,#ffdc80,#fcaf45,#f77737,#f56040,#fd1d1d,#e1306c,#c13584,#833ab4,#405de6,#5851db,#ffdc80);
    box-shadow:0 10px 28px rgba(0,0,0,.28);
}
.store-shape-bubble.is-solid{
    border:4px solid #2563eb;
    box-shadow:0 10px 28px rgba(0,0,0,.28);
}
.store-shape-bubble.is-pulse{
    border:4px solid #2563eb;
    animation:storeShapePulse 1.8s ease-out infinite;
}
@keyframes storeShapePulse{
    0%,100%{box-shadow:0 10px 28px rgba(0,0,0,.28),0 0 0 0 rgba(37,99,235,.38)}
    50%{box-shadow:0 12px 30px rgba(0,0,0,.3),0 0 0 11px rgba(37,99,235,0)}
}
.store-shape-label{
    display:block;
}
.store-shape-caption{
    display:block;
    font-size:10px;
    font-weight:600;
    color:#475569;
    text-transform:none;
    letter-spacing:0;
    opacity:.9;
}
/* Bolinha do brinde por faixa (vitrine de pulso), mesma lógica visual do gatilho real
   (.msgp-trigger) em includes/gifts_progress.php, para a demonstração comparativa. */
.store-gift-bubble{
    width:64px;
    height:64px;
    border-radius:999px;
    background:#000;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 8px 24px rgba(0,0,0,.28);
    position:relative;
}
.store-gift-bubble svg{
    width:30px;
    height:30px;
    fill:currentColor;
    pointer-events:none;
}
.store-gift-bubble.is-pulsing::before{
    content:"";
    position:absolute;
    inset:-7px;
    border-radius:999px;
    border:2px solid #000;
    opacity:.42;
    animation:storeGiftPulse 1.7s ease-out infinite;
}
@keyframes storeGiftPulse{
    0%{transform:scale(.82);opacity:.42}
    70%,100%{transform:scale(1.35);opacity:0}
}
/* Marcação de brinde disponível (mesmo verde padrão de available_badge_color) e aviso
   flutuante, reproduzindo .msgp-trigger-badge/.msgp-toast do runtime real para a vitrine. */
.store-gift-bubble .store-gift-badge{
    position:absolute;
    right:-3px;
    top:-3px;
    min-width:20px;
    height:20px;
    padding:0 5px;
    border:2px solid #fff;
    border-radius:999px;
    background:#22C55E;
    color:#fff;
    font:700 11px/16px system-ui,sans-serif;
    text-align:center;
    box-shadow:0 4px 12px rgba(0,0,0,.22);
}
/* Bolinha do widget de cupons (vitrine de pulso), mesma lógica visual do gatilho real
   (#msdev-widget-cupom-trigger) em includes/coupon_widget.php, para a demonstração comparativa. */
.store-coupon-bubble{
    width:58px;
    height:58px;
    border-radius:999px;
    background:#000;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 8px 24px rgba(0,0,0,.22);
    position:relative;
}
.store-coupon-bubble svg{
    width:26px;
    height:26px;
    fill:currentColor;
    pointer-events:none;
}
.store-coupon-bubble.is-pulsing::before{
    content:"";
    position:absolute;
    inset:-6px;
    border-radius:999px;
    background:#000;
    opacity:.35;
    animation:storeCouponPulse 1.8s ease-out infinite;
}
@keyframes storeCouponPulse{
    0%{transform:scale(.85);opacity:.45}
    100%{transform:scale(1.5);opacity:0}
}
/* Bolinha do Suporte Flutuante (vitrine de pulso), mesma lógica visual do gatilho real
   (#msdev-fs-trigger) em includes/floating_support.php, para a demonstração comparativa. */
.store-fs-bubble{
    width:58px;
    height:58px;
    border-radius:999px;
    background:#25D366;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 8px 24px rgba(0,0,0,.22);
    position:relative;
}
.store-fs-bubble svg{
    width:26px;
    height:26px;
    fill:currentColor;
    pointer-events:none;
}
.store-fs-bubble.is-pulsing::before{
    content:"";
    position:absolute;
    inset:-6px;
    border-radius:999px;
    background:#25D366;
    opacity:.35;
    animation:storeFsPulse 1.8s ease-out infinite;
}
@keyframes storeFsPulse{
    0%{transform:scale(.85);opacity:.45}
    100%{transform:scale(1.5);opacity:0}
}
.store-gift-toast-demo{
    display:flex;
    align-items:center;
    gap:16px;
    margin-top:14px;
}
.store-gift-toast{
    max-width:220px;
    padding:11px 15px;
    border-radius:12px;
    background:#111827;
    color:#fff;
    font:600 12px/1.45 system-ui,sans-serif;
    box-shadow:0 14px 32px rgba(0,0,0,.3);
    opacity:0;
    transform:translateY(6px);
    animation:storeGiftToastDemo 4s ease-in-out infinite;
}
@keyframes storeGiftToastDemo{
    0%,12%{opacity:0;transform:translateY(6px)}
    22%,68%{opacity:1;transform:translateY(0)}
    80%,100%{opacity:0;transform:translateY(6px)}
}
/* Lista comercial de vantagens abaixo da demonstração do Order Bump. */
.store-bump-advantages{
    display:grid;
    gap:12px;
    margin-top:14px;
}
.store-bump-advantage{
    display:flex;
    align-items:flex-start;
    gap:10px;
}
.store-bump-advantage p{
    margin:0;
    color:#334155;
    font-size:13px;
    line-height:1.55;
}
.store-device-frame.is-desktop::before,
.store-device-frame.is-mobile::before{
    content:"";
    position:absolute;
    left:14px;
    right:14px;
    top:14px;
    height:18px;
    border-radius:10px 10px 0 0;
    background:#111827;
}
.store-device-frame.is-desktop .mock-page{
    width:100%;
    height:340px;
    margin-top:18px;
}
.store-device-frame.is-desktop .mock-page.is-cart{
    height:420px;
}
.store-device-frame.is-desktop .mock-page.kind-zoppy_giftback{
    height:490px;
}
.store-device-frame.is-mobile{
    /* 390px imita a largura de um celular real (~iPhone/Android médio) — a ferramenta real
       dentro do iframe (ver .store-demo-real-frame acima) já é responsiva de verdade, então
       precisa de uma largura realista, não a caixinha estreita usada só pela prévia
       ilustrativa antiga. */
    max-width:390px;
    margin:0 auto;
    border-radius:28px;
}
.store-device-frame.is-mobile::before{
    left:72px;
    right:72px;
    top:10px;
    height:7px;
    border-radius:999px;
    background:#2a3442;
}
.store-device-frame.is-mobile .mock-page{
    width:100%;
    height:500px;
    margin-top:18px;
}
.store-device-frame.is-mobile .mock-page.is-cart{
    height:580px;
}
.store-device-frame.is-mobile .mock-page.kind-zoppy_giftback{
    height:560px;
}
.mock-page{
    position:relative;
    overflow:hidden;
    border-radius:14px;
    background:#f8fafc;
    box-shadow:0 14px 30px rgba(0,0,0,.14);
}
.mock-header{
    height:46px;
    display:flex;
    align-items:center;
    gap:8px;
    padding:0 14px;
    border-bottom:1px solid #e5e7eb;
    background:#fff;
}
.mock-header strong{
    margin-right:auto;
    color:#111827;
    font-size:12px;
}
.mock-header span{
    width:18px;
    height:18px;
    border-radius:50%;
    background:#dbeafe;
}
.mock-hero-banner{
    height:74px;
    margin:14px;
    border-radius:12px;
    background:linear-gradient(135deg,var(--store-accent),#a5b4fc);
}
.mock-card-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
    padding:0 14px 14px;
}
.mock-card-grid article{
    min-height:112px;
    border-radius:12px;
    background:linear-gradient(180deg,#e2e8f0,#cbd5e1);
}
.mock-product-layout{
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:12px;
    padding:14px;
}
.mock-product-gallery{
    min-height:205px;
    border-radius:12px;
    background:linear-gradient(180deg,#e2e8f0,#cbd5e1);
}
.mock-product-info{
    display:grid;
    align-content:start;
    gap:10px;
}
.mock-product-info b{
    color:#0f172a;
    font-size:14px;
}
.mock-product-info small{
    color:#64748b;
}
.mock-product-info span{
    height:12px;
    border-radius:999px;
    background:#e2e8f0;
}
.mock-product-info button{
    min-height:46px;
    border:0;
    border-radius:10px;
    background:var(--store-accent);
    background-image:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,0) 45%);
    color:#fff;
    font-size:14px;
    font-weight:800;
    letter-spacing:.1px;
    box-shadow:0 8px 18px -8px rgba(15,23,42,.45),inset 0 -1px 0 rgba(0,0,0,.12);
    margin-top:2px;
}
.mock-cart-layout{
    display:grid;
    gap:10px;
    padding:14px;
}
.mock-cart-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    color:#0f172a;
}
.mock-cart-head strong{
    font-size:13px;
}
.mock-cart-head span{
    color:#64748b;
    font-size:11px;
}
.mock-cart-items{
    display:grid;
    gap:8px;
}
.mock-cart-item{
    display:grid;
    grid-template-columns:42px minmax(0,1fr) auto;
    align-items:center;
    gap:9px;
    padding:7px;
    border:1px solid #e5e7eb;
    border-radius:10px;
    background:#fff;
}
.mock-cart-item-image{
    width:42px;
    height:42px;
    border-radius:8px;
    background:linear-gradient(180deg,#e2e8f0,#cbd5e1);
    overflow:hidden;
    flex:none;
}
.mock-cart-item-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.mock-cart-item-info{
    display:grid;
    gap:2px;
    min-width:0;
}
.mock-cart-item-info b{
    color:#0f172a;
    font-size:11px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.mock-cart-item-info small{
    color:#64748b;
    font-size:9px;
}
.mock-cart-item-price{
    color:#0f172a;
    font-size:11px;
    font-weight:800;
    white-space:nowrap;
}
.mock-cart-summary{
    display:grid;
    gap:8px;
    padding-top:6px;
    border-top:1px dashed #e2e8f0;
}
.mock-cart-summary>div{
    display:flex;
    align-items:center;
    justify-content:space-between;
    color:#0f172a;
    font-size:12px;
}
.mock-cart-summary button{
    min-height:38px;
    border:0;
    border-radius:10px;
    background:var(--store-accent);
    color:#fff;
    font-size:12px;
    font-weight:900;
}
.store-device-frame.is-mobile .mock-cart-item{
    grid-template-columns:38px minmax(0,1fr) auto;
}
.store-device-frame.is-mobile .mock-cart-item-image{
    width:38px;
    height:38px;
}
.mock-socialproof-toast,
.mock-floating-note,
.mock-shoplook-note,
.mock-feature-widget{
    position:absolute;
    left:14px;
    right:14px;
    bottom:14px;
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(15,23,42,.16);
    background:#fff;
}
.mock-socialproof-toast{
    right:auto;
    width:min(260px,calc(100% - 28px));
    max-width:260px;
    min-width:0;
    overflow:hidden;
    animation:mockToastCycle 10s ease-in-out infinite;
    transform-origin:left bottom;
    will-change:opacity,transform;
}
.mock-toast-thumb{
    width:48px;
    height:48px;
    min-width:48px;
    max-width:48px;
    min-height:48px;
    max-height:48px;
    aspect-ratio:1/1;
    border-radius:12px;
    overflow:hidden;
    flex:0 0 48px;
    background:#ede9fe;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.75);
}
.mock-toast-thumb img{
    display:block !important;
    width:48px !important;
    height:48px !important;
    min-width:48px !important;
    max-width:48px !important;
    min-height:48px !important;
    max-height:48px !important;
    object-fit:cover !important;
    object-position:center !important;
}
.mock-toast-copy{
    display:grid;
    flex:1 1 auto;
    gap:4px;
    min-width:0;
    overflow:hidden;
}
.mock-toast-copy strong,
.mock-floating-note strong,
.mock-shoplook-note strong,
.mock-feature-widget strong{
    color:#111827;
    font-size:11px;
}
.mock-toast-copy small,
.mock-floating-note small,
.mock-shoplook-note small,
.mock-feature-widget small{
    color:#64748b;
    font-size:10px;
}
.mock-toast-progress{
    display:block;
    width:126px;
    max-width:100%;
    height:4px;
    border-radius:999px;
    background:#d1fae5;
    overflow:hidden;
}
.mock-toast-progress i{
    display:block;
    width:100%;
    height:100%;
    border-radius:999px;
    background:#22c55e;
    transform-origin:left center;
    animation:mockToastProgress 10s linear infinite;
}
@keyframes mockToastCycle{
    0%{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}
    45%{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}
    50%{opacity:0;transform:translateY(14px) scale(.97);pointer-events:none}
    95%{opacity:0;transform:translateY(14px) scale(.97);pointer-events:none}
    100%{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}
}
@keyframes mockToastProgress{
    0%{transform:scaleX(0)}
    45%{transform:scaleX(1)}
    50%{transform:scaleX(0)}
    100%{transform:scaleX(0)}
}
.mock-stories-strip{
    display:flex;
    gap:10px;
    padding:14px;
}
.mock-stories-strip i{
    width:48px;
    height:48px;
    border:3px solid var(--store-accent);
    border-radius:50%;
    background:#fff;
}
.mock-floating-note{
    right:auto;
    max-width:180px;
    border:1px solid rgba(59,130,246,.15);
}
.mock-shoplook-block{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:12px;
    padding:14px;
}
.mock-shoplook-video{
    min-height:140px;
    border-radius:16px;
    background:linear-gradient(180deg,#dbeafe,#c7d2fe);
}
.mock-shoplook-thumbs{
    display:grid;
    gap:10px;
}
.mock-shoplook-thumbs i{
    min-height:40px;
    border-radius:10px;
    background:#e2e8f0;
}
.mock-shoplook-note{
    right:auto;
    max-width:200px;
    border:1px solid rgba(37,99,235,.14);
}
.mock-generic-banner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin:14px;
    padding:12px 14px;
    border-radius:12px;
    background:rgba(37,99,235,.10);
}
.mock-generic-banner b{color:#111827;font-size:12px}
.mock-generic-banner small{color:#475569;font-size:10px}
.mock-feature-widget{
    right:auto;
    max-width:220px;
    border-left:4px solid var(--store-accent);
}
.store-side-card{
    display:grid;
    gap:16px;
}
.store-side-price{
    display:flex;
    align-items:baseline;
    gap:6px;
}
.store-side-price strong{
    font-size:28px;
}
.store-side-price span{
    color:var(--muted);
    font-size:12px;
}
.store-side-list{
    display:grid;
    gap:10px;
    margin:0;
    padding:0 0 0 18px;
    color:var(--muted);
    font-size:12px;
    line-height:1.55;
}
html[data-theme="light"] .store-trial-pill{
    color:#166534;
    background:#dcfce7;
}
html[data-theme="light"] .store-device-frame{
    background:#edf2f7;
}
@media(max-width:1220px){
    .store-detail-layout{
        grid-template-columns:1fr;
    }
    .store-detail-side{
        position:relative;
        top:auto;
    }
}
@media(max-width:900px){
    .store-demo-grid,
    .store-feature-grid-detail{
        grid-template-columns:1fr;
    }
}
@media(max-width:720px){
    .store-purchase-head-row,
    .store-field-head,
    .store-demo-group-head,
    .store-detail-actions,
    .store-detail-hero,
    .store-trial-box-head{
        align-items:flex-start;
        flex-direction:column;
    }
    .store-detail-hero{
        grid-template-columns:1fr;
    }
    .store-detail-hero-media{
        width:120px;
        height:120px;
    }
    .store-device-frame.is-mobile{
        max-width:100%;
    }
}

/* ==========================================================
   MSDEV Apps v8.9.3 — correção estrutural + lapidação premium
   ========================================================== */

/* Proteção contra o vazamento visual ocorrido na v8.9.2 */
.store-detail-hero{
    position:relative;
    overflow:hidden;
    isolation:isolate;
}
.store-detail-hero-media{
    width:150px !important;
    height:150px !important;
    min-width:150px;
    max-width:150px;
    min-height:150px;
    max-height:150px;
    overflow:hidden !important;
    flex:0 0 150px;
}
.store-detail-hero-media img{
    display:block !important;
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    object-fit:cover !important;
    object-position:center !important;
}
.store-detail-hero-copy{
    position:relative;
    z-index:2;
    min-width:0;
}
.store-demo-grid,
.store-device-preview-card,
.store-device-frame{
    min-width:0;
}
.store-device-frame{
    contain:layout paint;
}

/* Stories */
.mock-card-grid.has-story-space{
    padding-left:88px;
}
.msdemo-stories{
    position:absolute;
    inset:58px 0 0;
    pointer-events:none;
    z-index:4;
}
.msdemo-stories-launcher{
    position:absolute;
    left:16px;
    bottom:18px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:11px;
}
.msdemo-story-close{
    width:27px;
    height:27px;
    margin-left:-3px;
    border:0;
    border-radius:50%;
    color:#111827;
    background:#fff;
    box-shadow:0 8px 20px rgba(15,23,42,.16);
    font-size:16px;
    line-height:1;
}
.msdemo-story-dot{
    width:56px;
    height:56px;
    padding:3px;
    overflow:hidden;
    border-radius:50%;
    background:conic-gradient(from 210deg,#f97316,#fb7185,#8b5cf6,#2563eb,#f59e0b);
    box-shadow:0 10px 22px rgba(15,23,42,.16);
}
.msdemo-story-dot span{
    display:block;
    width:100%;
    height:100%;
    border:2px solid #fff;
    border-radius:50%;
    background:
        radial-gradient(circle at 38% 30%,rgba(255,255,255,.9) 0 12%,transparent 14%),
        linear-gradient(145deg,#fef3c7,#fbcfe8 48%,#c7d2fe);
}
.msdemo-story-modal{
    position:absolute;
    top:21px;
    right:20px;
    width:194px;
    overflow:hidden;
    border-radius:20px;
    background:#101827;
    box-shadow:0 24px 42px rgba(15,23,42,.24);
}
.msdemo-story-bars{
    display:flex;
    gap:4px;
    padding:10px 10px 6px;
}
.msdemo-story-bars i{
    height:3px;
    flex:1 1 0;
    border-radius:999px;
    background:rgba(255,255,255,.25);
}
.msdemo-story-bars i.active{
    background:#fff;
}
.msdemo-story-head{
    display:flex;
    align-items:center;
    gap:8px;
    padding:0 10px 8px;
    color:#fff;
}
.msdemo-story-head strong{
    margin-right:auto;
    font-size:10px;
    font-weight:900;
}
.msdemo-story-head div{
    display:flex;
    gap:5px;
}
.msdemo-story-head span{
    width:17px;
    height:17px;
    border-radius:50%;
    background:rgba(255,255,255,.2);
}
.msdemo-story-video{
    position:relative;
    height:250px;
    overflow:hidden;
    background:
        radial-gradient(circle at 72% 24%,rgba(255,255,255,.45),transparent 17%),
        linear-gradient(180deg,#dbeafe,#ede9fe 45%,#fbcfe8);
}
.msdemo-story-video::after{
    content:"";
    position:absolute;
    inset:auto 0 0;
    height:38%;
    background:linear-gradient(180deg,transparent,rgba(15,23,42,.12));
}
.msdemo-story-miniatures{
    position:absolute;
    left:11px;
    bottom:11px;
    display:flex;
    flex-direction:column;
    gap:8px;
    z-index:2;
}
.msdemo-story-miniatures b{
    width:35px;
    height:35px;
    border:2px solid #fff;
    border-radius:50%;
    background:linear-gradient(145deg,#fef3c7,#fecdd3);
    box-shadow:0 7px 16px rgba(15,23,42,.14);
}
.msdemo-story-play{
    position:absolute;
    left:50%;
    top:50%;
    width:58px;
    height:58px;
    display:grid;
    place-items:center;
    transform:translate(-50%,-50%);
    border-radius:50%;
    color:#172033;
    background:rgba(255,255,255,.92);
    box-shadow:0 14px 28px rgba(15,23,42,.15);
    font-size:17px;
    font-weight:900;
    z-index:2;
}
.msdemo-story-video em{
    position:absolute;
    right:10px;
    bottom:12px;
    z-index:2;
    padding:5px 8px;
    border-radius:999px;
    color:#fff;
    background:rgba(15,23,42,.38);
    font-style:normal;
    font-size:8px;
    font-weight:800;
}
.msdemo-story-product{
    display:grid;
    gap:3px;
    padding:11px 12px 12px;
    background:#fff;
}
.msdemo-story-product strong{
    overflow:hidden;
    color:#111827;
    font-size:11px;
    white-space:nowrap;
    text-overflow:ellipsis;
}
.msdemo-story-product small{
    color:#64748b;
    font-size:9px;
}
.msdemo-story-icons{
    display:flex;
    gap:7px;
    margin-top:5px;
}
.msdemo-story-icons span{
    width:18px;
    height:18px;
    border-radius:50%;
    background:#e2e8f0;
}
.story-product-layout{
    padding-right:232px;
}

/* Shop the Look */
.msdemo-shoplook{
    position:relative;
    padding:18px 14px 14px;
}
.msdemo-shoplook header{
    margin-bottom:13px;
    text-align:center;
}
.msdemo-shoplook header h4{
    margin:0;
    color:#c96f50;
    font-size:20px;
    line-height:1.1;
    letter-spacing:.02em;
}
.msdemo-shoplook header p{
    margin:6px 0 0;
    color:#8b6f62;
    font-size:9px;
}
.msdemo-shoplook-stage{
    position:relative;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    min-height:222px;
    padding:6px 48px 0;
    overflow:hidden;
}
.msdemo-shoplook-main{
    position:relative;
    z-index:4;
    width:148px;
    overflow:hidden;
    border-radius:15px;
    background:#fff;
    box-shadow:0 18px 34px rgba(91,55,40,.15);
}
.msdemo-shoplook-video{
    position:relative;
    height:210px;
    overflow:hidden;
    background:
        radial-gradient(circle at 50% 25%,rgba(255,255,255,.55),transparent 20%),
        linear-gradient(180deg,#dbeafe,#fde68a 58%,#fbcfe8);
}
.msdemo-shoplook-video::before{
    content:"";
    position:absolute;
    left:50%;
    top:20px;
    width:72px;
    height:138px;
    transform:translateX(-50%);
    border-radius:36px 36px 14px 14px;
    background:linear-gradient(180deg,rgba(255,255,255,.3),rgba(255,255,255,.07));
}
.msdemo-shoplook-video span{
    position:absolute;
    left:50%;
    top:50%;
    width:58px;
    height:58px;
    display:grid;
    place-items:center;
    transform:translate(-50%,-50%);
    border-radius:50%;
    color:#c96f50;
    background:rgba(255,255,255,.92);
    box-shadow:0 14px 28px rgba(91,55,40,.16);
    font-size:17px;
    font-weight:900;
}
.msdemo-shoplook-main footer{
    display:flex;
    align-items:center;
    gap:9px;
    min-height:54px;
    padding:9px;
}
.msdemo-shoplook-main footer i{
    width:29px;
    height:29px;
    flex:0 0 auto;
    border-radius:9px;
    background:linear-gradient(180deg,#fde68a,#fca5a5);
}
.msdemo-shoplook-main footer strong{
    display:block;
    overflow:hidden;
    color:#342922;
    font-size:9px;
    white-space:nowrap;
    text-overflow:ellipsis;
}
.msdemo-shoplook-main footer small{
    display:block;
    margin-top:4px;
    color:#8a7a72;
    font-size:7px;
    font-weight:900;
    text-transform:uppercase;
}
.msdemo-shoplook-side{
    position:absolute;
    bottom:10px;
    z-index:1;
    width:92px;
    overflow:hidden;
    border-radius:13px;
    background:#fff;
    opacity:.32;
    filter:blur(1.1px);
    transform:scale(.92);
}
.msdemo-shoplook-side.near{left:62px;}
.msdemo-shoplook-side.far{left:-4px;transform:scale(.84);opacity:.18;}
.msdemo-shoplook-side.near.right{left:auto;right:62px;}
.msdemo-shoplook-side.far.right{left:auto;right:-4px;}
.msdemo-shoplook-side>div{
    height:150px;
    background:linear-gradient(180deg,#e9d5ff,#f1f5f9);
}
.msdemo-shoplook-side footer{
    display:flex;
    align-items:center;
    gap:6px;
    height:42px;
    padding:7px;
}
.msdemo-shoplook-side footer i{
    width:23px;
    height:23px;
    border-radius:7px;
    background:#fde68a;
}
.msdemo-shoplook-side footer span{
    width:44px;
    height:7px;
    border-radius:999px;
    background:#e2e8f0;
}
.msdemo-shoplook-arrow{
    position:absolute;
    top:50%;
    z-index:6;
    width:34px;
    height:34px;
    margin-top:-5px;
    border:1px solid rgba(201,111,80,.12);
    border-radius:50%;
    color:#c96f50;
    background:rgba(255,255,255,.96);
    box-shadow:0 10px 20px rgba(91,55,40,.12);
    font-size:20px;
    line-height:1;
}
.msdemo-shoplook-arrow.left{left:5px;}
.msdemo-shoplook-arrow.right{right:5px;}

/* Callouts sem encobrir o preview */
.mock-floating-note,
.mock-shoplook-note,
.mock-feature-widget{
    left:14px;
    right:auto;
    bottom:14px;
    max-width:220px;
    padding:10px 12px;
    border:1px solid rgba(148,163,184,.22);
}
.mock-floating-note strong,
.mock-shoplook-note strong,
.mock-feature-widget strong{
    flex:0 0 auto;
    font-size:10px;
    line-height:1.2;
}
.mock-floating-note small,
.mock-shoplook-note small,
.mock-feature-widget small{
    font-size:9px;
    line-height:1.35;
}

/* Mobile */
.store-device-frame.is-mobile .mock-card-grid.has-story-space{
    padding-left:14px;
    padding-bottom:112px;
}
.store-device-frame.is-mobile .msdemo-stories-launcher{
    left:12px;
    bottom:14px;
    flex-direction:row;
    align-items:flex-end;
    gap:9px;
}
.store-device-frame.is-mobile .msdemo-story-close{
    order:-1;
    margin:0 0 25px;
}
.store-device-frame.is-mobile .msdemo-story-dot{
    width:45px;
    height:45px;
}
.store-device-frame.is-mobile .msdemo-story-modal{
    left:50%;
    right:auto;
    top:21px;
    width:166px;
    transform:translateX(-50%);
}
.store-device-frame.is-mobile .msdemo-story-video{
    height:218px;
}
.store-device-frame.is-mobile .story-product-layout{
    padding-right:14px;
    padding-bottom:290px;
}
.store-device-frame.is-mobile .mock-floating-note,
.store-device-frame.is-mobile .mock-shoplook-note,
.store-device-frame.is-mobile .mock-feature-widget{
    left:12px;
    right:12px;
    bottom:12px;
    max-width:none;
}
.store-device-frame.is-mobile .msdemo-shoplook{
    padding:12px 7px 10px;
}
.store-device-frame.is-mobile .msdemo-shoplook header{
    margin-bottom:9px;
}
.store-device-frame.is-mobile .msdemo-shoplook header h4{
    font-size:15px;
}
.store-device-frame.is-mobile .msdemo-shoplook header p{
    font-size:7px;
}
.store-device-frame.is-mobile .msdemo-shoplook-stage{
    min-height:190px;
    padding:4px 30px 0;
}
.store-device-frame.is-mobile .msdemo-shoplook-main{
    width:118px;
}
.store-device-frame.is-mobile .msdemo-shoplook-video{
    height:170px;
}
.store-device-frame.is-mobile .msdemo-shoplook-video::before{
    width:58px;
    height:106px;
}
.store-device-frame.is-mobile .msdemo-shoplook-video span{
    width:50px;
    height:50px;
    font-size:15px;
}
.store-device-frame.is-mobile .msdemo-shoplook-main footer{
    min-height:47px;
    padding:7px;
}
.store-device-frame.is-mobile .msdemo-shoplook-main footer i{
    width:23px;
    height:23px;
}
.store-device-frame.is-mobile .msdemo-shoplook-main footer strong{
    font-size:8px;
}
.store-device-frame.is-mobile .msdemo-shoplook-main footer small{
    font-size:6px;
}
.store-device-frame.is-mobile .msdemo-shoplook-side{
    width:62px;
}
.store-device-frame.is-mobile .msdemo-shoplook-side.near{left:33px;}
.store-device-frame.is-mobile .msdemo-shoplook-side.far{left:-15px;}
.store-device-frame.is-mobile .msdemo-shoplook-side.near.right{left:auto;right:33px;}
.store-device-frame.is-mobile .msdemo-shoplook-side.far.right{left:auto;right:-15px;}
.store-device-frame.is-mobile .msdemo-shoplook-side>div{
    height:112px;
}
.store-device-frame.is-mobile .msdemo-shoplook-side footer{
    height:34px;
}
.store-device-frame.is-mobile .msdemo-shoplook-arrow{
    width:28px;
    height:28px;
    font-size:17px;
}

@media(max-width:720px){
    .store-detail-hero-media{
        width:120px !important;
        height:120px !important;
        min-width:120px;
        max-width:120px;
        min-height:120px;
        max-height:120px;
        flex-basis:120px;
    }
}

/* ==========================================================
   MSDEV Apps v8.9.5 — Shop the Look real na home simulada
   ========================================================== */
.store-demo-grid.is-shoplook-real{
    grid-template-columns:minmax(0,1.75fr) minmax(280px,.75fr);
    align-items:start;
}
.store-device-frame.is-shoplook-real-frame{
    min-height:0;
    padding:14px;
    background:#0a0f18;
}
.store-device-frame.is-shoplook-real-frame::before{
    display:none;
}
.store-device-frame.is-desktop.is-shoplook-real-frame .msdemo-real-home,
.store-device-frame.is-mobile.is-shoplook-real-frame .msdemo-real-home{
    margin-top:0;
}
.store-device-frame.is-mobile.is-shoplook-real-frame{
    max-width:240px;
    padding:12px 10px 14px;
}
.msdemo-real-home{
    --demo-coral:#c96f50;
    --demo-coral-dark:#b95f42;
    --demo-bg:#fbf3ee;
    --demo-text:#342922;
    --demo-muted:#7d675c;
    position:relative;
    width:100%;
    overflow:hidden;
    border-radius:14px;
    color:var(--demo-text);
    background:#fff;
    font-family:Arial,Helvetica,sans-serif;
    box-shadow:0 18px 42px rgba(0,0,0,.22);
}
.msdemo-real-home *{box-sizing:border-box}
.msdemo-real-topbar{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:22px;
    padding:4px 12px;
    color:#fff;
    background:var(--demo-coral);
    font-size:8px;
    font-weight:800;
    letter-spacing:.01em;
}
.msdemo-real-header{
    display:grid;
    grid-template-columns:150px 1fr 86px;
    align-items:center;
    min-height:56px;
    padding:0 22px;
    border-bottom:1px solid #eee7e1;
    background:#fffaf7;
}
.msdemo-real-brand{
    display:grid;
    gap:2px;
    color:#8a503d;
    text-align:center;
    letter-spacing:.1em;
    filter:blur(2.4px);
    opacity:.78;
    user-select:none;
}
.msdemo-real-brand strong{
    font-family:Georgia,'Times New Roman',serif;
    font-size:15px;
    font-weight:500;
}
.msdemo-real-brand small{
    font-size:5px;
    letter-spacing:.45em;
}
.msdemo-real-header nav{
    display:flex;
    justify-content:center;
    gap:18px;
    color:#593f35;
    font-size:7px;
    font-weight:800;
    filter:blur(2.4px);
    opacity:.76;
    user-select:none;
}
.msdemo-real-icons{
    display:flex;
    justify-content:flex-end;
    gap:10px;
}
.msdemo-real-icons i{
    width:14px;
    height:14px;
    border:1.5px solid #6f4c3e;
    border-radius:50%;
}
.msdemo-real-hero{
    display:grid;
    grid-template-columns:1fr 1.2fr;
    min-height:230px;
    background:linear-gradient(120deg,#eaded4,#f8efe8 60%,#e6d2c4);
}
.msdemo-real-hero-copy{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:28px 20px 28px 54px;
}
.msdemo-real-hero-copy h4{
    margin:0;
    color:#734432;
    font-family:Georgia,'Times New Roman',serif;
    font-size:30px;
    line-height:1.02;
    font-weight:500;
}
.msdemo-real-hero-copy h4 em{font-weight:400}
.msdemo-real-hero-copy p{
    max-width:220px;
    margin:14px 0;
    color:#805b4b;
    font-size:11px;
    line-height:1.45;
}
.msdemo-real-hero-copy button{
    width:max-content;
    min-height:34px;
    padding:0 18px;
    border:0;
    border-radius:999px;
    color:#fff;
    background:var(--demo-coral);
    font-size:8px;
    font-weight:900;
    text-transform:uppercase;
}
.msdemo-real-hero-media{
    min-height:230px;
    background-position:center;
    background-size:cover;
}
.msdemo-real-shoplook{
    position:relative;
    padding:18px 0 20px;
    background:var(--demo-bg);
}
.msdemo-real-shoplook-head{
    margin-bottom:10px;
    padding:0 16px;
    text-align:center;
}
.msdemo-real-shoplook-head h4{
    margin:0;
    color:var(--demo-coral);
    font-size:18px;
    line-height:1.2;
    font-weight:900;
}
.msdemo-real-shoplook-head p{
    margin:5px 0 0;
    color:var(--demo-muted);
    font-size:8px;
}
.msdemo-real-carousel{
    position:relative;
    height:318px;
    overflow:hidden;
}
.msdemo-real-track{
    position:relative;
    width:100%;
    height:100%;
}
.msdemo-real-card{
    position:absolute;
    left:50%;
    top:50%;
    width:142px;
    overflow:hidden;
    border-radius:10px;
    opacity:0;
    filter:blur(2px);
    background:#fff;
    box-shadow:0 12px 26px rgba(91,55,40,.13);
    transform:translate(-50%,-50%) scale(.88);
    transition:transform .45s ease,opacity .45s ease,filter .45s ease;
    pointer-events:none;
}
.msdemo-real-card.pos-p0,
.msdemo-real-card.pos-m1,
.msdemo-real-card.pos-p1,
.msdemo-real-card.pos-m2,
.msdemo-real-card.pos-p2,
.msdemo-real-card.pos-m3,
.msdemo-real-card.pos-p3{
    opacity:.3;
    pointer-events:auto;
}
.msdemo-real-card.pos-p0{
    z-index:5;
    opacity:1;
    filter:none;
    transform:translate(-50%,-50%) scale(1.05);
}
.msdemo-real-card.pos-m1{transform:translate(calc(-50% - 150px),-50%) scale(.93)}
.msdemo-real-card.pos-p1{transform:translate(calc(-50% + 150px),-50%) scale(.93)}
.msdemo-real-card.pos-m2{transform:translate(calc(-50% - 285px),-50%) scale(.86)}
.msdemo-real-card.pos-p2{transform:translate(calc(-50% + 285px),-50%) scale(.86)}
.msdemo-real-card.pos-m3{transform:translate(calc(-50% - 405px),-50%) scale(.80)}
.msdemo-real-card.pos-p3{transform:translate(calc(-50% + 405px),-50%) scale(.80)}
.msdemo-real-video-wrap{
    position:relative;
    height:238px;
    overflow:hidden;
    background:#eaded6;
}
.msdemo-real-video{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}
.msdemo-real-play{
    position:absolute;
    left:50%;
    top:50%;
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    transform:translate(-50%,-50%);
    border:0;
    border-radius:50%;
    color:var(--demo-coral);
    background:rgba(255,255,255,.88);
    box-shadow:0 10px 24px rgba(0,0,0,.15);
    font-size:13px;
    cursor:pointer;
}
.msdemo-real-card:not(.is-active) .msdemo-real-play{opacity:0}
.msdemo-real-product{
    display:flex;
    align-items:center;
    gap:8px;
    min-height:58px;
    padding:8px 9px;
    background:#fff;
}
.msdemo-real-product img{
    width:32px;
    height:32px;
    flex:0 0 auto;
    border-radius:6px;
    object-fit:cover;
}
.msdemo-real-product div{min-width:0}
.msdemo-real-product strong{
    display:block;
    overflow:hidden;
    color:#342922;
    font-size:8px;
    line-height:1.2;
    white-space:nowrap;
    text-overflow:ellipsis;
}
.msdemo-real-product small{
    display:block;
    margin-top:4px;
    color:#8a7a72;
    font-size:6px;
    font-weight:900;
    text-transform:uppercase;
}
.msdemo-real-arrow{
    position:absolute;
    top:50%;
    z-index:20;
    width:34px;
    height:34px;
    display:grid;
    place-items:center;
    margin-top:-8px;
    border:0;
    border-radius:50%;
    color:var(--demo-coral);
    background:rgba(255,255,255,.94);
    box-shadow:0 8px 20px rgba(91,55,40,.14);
    cursor:pointer;
    font-size:20px;
}
.msdemo-real-arrow.is-prev{left:18px}
.msdemo-real-arrow.is-next{right:18px}
.msdemo-real-benefits{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:8px;
    padding:14px 22px;
    border-top:1px solid #eee5df;
    background:#fffaf7;
}
.msdemo-real-benefits span{
    display:grid;
    gap:2px;
    color:#7a4a39;
    text-align:center;
}
.msdemo-real-benefits b{
    font-size:8px;
    text-transform:uppercase;
}
.msdemo-real-benefits small{
    color:#8a7a72;
    font-size:6px;
}
.msdemo-real-home.is-mobile{
    max-width:212px;
    margin:0 auto;
    border-radius:18px;
}
.msdemo-real-home.is-mobile .msdemo-real-topbar{
    min-height:17px;
    padding:2px 6px;
    font-size:4px;
}
.msdemo-real-home.is-mobile .msdemo-real-header{
    grid-template-columns:1fr auto;
    min-height:38px;
    padding:0 8px;
}
.msdemo-real-home.is-mobile .msdemo-real-brand{
    justify-self:center;
    transform:translateX(14px);
}
.msdemo-real-home.is-mobile .msdemo-real-brand strong{font-size:9px}
.msdemo-real-home.is-mobile .msdemo-real-brand small{font-size:3px}
.msdemo-real-home.is-mobile .msdemo-real-header nav{display:none}
.msdemo-real-home.is-mobile .msdemo-real-icons{gap:5px}
.msdemo-real-home.is-mobile .msdemo-real-icons i{width:10px;height:10px}
.msdemo-real-home.is-mobile .msdemo-real-hero{
    grid-template-columns:1fr;
    min-height:154px;
}
.msdemo-real-home.is-mobile .msdemo-real-hero-copy{
    position:absolute;
    z-index:2;
    left:0;
    top:51px;
    width:57%;
    padding:18px 0 0 12px;
}
.msdemo-real-home.is-mobile .msdemo-real-hero-copy h4{
    font-size:15px;
    text-shadow:0 1px 0 rgba(255,255,255,.35);
}
.msdemo-real-home.is-mobile .msdemo-real-hero-copy p{
    margin:7px 0;
    font-size:6px;
}
.msdemo-real-home.is-mobile .msdemo-real-hero-copy button{
    min-height:21px;
    padding:0 9px;
    font-size:4px;
}
.msdemo-real-home.is-mobile .msdemo-real-hero-media{
    min-height:154px;
    background-position:center;
}
.msdemo-real-home.is-mobile .msdemo-real-shoplook{
    padding:10px 0 12px;
}
.msdemo-real-home.is-mobile .msdemo-real-shoplook-head h4{font-size:12px}
.msdemo-real-home.is-mobile .msdemo-real-shoplook-head p{font-size:5px}
.msdemo-real-home.is-mobile .msdemo-real-carousel{height:208px}
.msdemo-real-home.is-mobile .msdemo-real-card{
    width:90px;
    border-radius:8px;
}
.msdemo-real-home.is-mobile .msdemo-real-card.pos-p0{
    transform:translate(-50%,-50%) scale(1);
}
.msdemo-real-home.is-mobile .msdemo-real-card.pos-m1{
    transform:translate(calc(-50% - 71px),-50%) scale(.87);
}
.msdemo-real-home.is-mobile .msdemo-real-card.pos-p1{
    transform:translate(calc(-50% + 71px),-50%) scale(.87);
}
.msdemo-real-home.is-mobile .msdemo-real-video-wrap{height:146px}
.msdemo-real-home.is-mobile .msdemo-real-product{
    min-height:43px;
    padding:6px;
}
.msdemo-real-home.is-mobile .msdemo-real-product img{
    width:22px;
    height:22px;
}
.msdemo-real-home.is-mobile .msdemo-real-product strong{font-size:5px}
.msdemo-real-home.is-mobile .msdemo-real-product small{font-size:4px}
.msdemo-real-home.is-mobile .msdemo-real-play{
    width:30px;
    height:30px;
    font-size:9px;
}
.msdemo-real-home.is-mobile .msdemo-real-arrow{
    width:24px;
    height:24px;
    font-size:14px;
}
.msdemo-real-home.is-mobile .msdemo-real-arrow.is-prev{left:5px}
.msdemo-real-home.is-mobile .msdemo-real-arrow.is-next{right:5px}
.msdemo-real-home.is-mobile .msdemo-real-benefits{
    grid-template-columns:repeat(4,1fr);
    gap:2px;
    padding:8px 5px;
}
.msdemo-real-home.is-mobile .msdemo-real-benefits b{font-size:4px}
.msdemo-real-home.is-mobile .msdemo-real-benefits small{font-size:3px}
@media(max-width:1180px){
    .store-demo-grid.is-shoplook-real{
        grid-template-columns:1fr;
    }
}

/* ==========================================================
   MSDEV Apps v8.9.6 — Shop the Look realista e mobile compacto
   ========================================================== */
.msdemo-real-brand,
.msdemo-real-header nav{
    filter:blur(6px);
    opacity:.58;
    user-select:none;
    pointer-events:none;
}
.msdemo-real-brand{
    transform:translateZ(0);
}
.msdemo-real-header nav span{
    color:transparent;
    text-shadow:0 0 7px rgba(89,63,53,.82);
}
.msdemo-real-video-wrap{
    cursor:zoom-in;
}
.msdemo-real-video-wrap::after{
    content:"Abrir vídeo";
    position:absolute;
    left:50%;
    bottom:12px;
    z-index:4;
    padding:5px 9px;
    transform:translateX(-50%) translateY(4px);
    border-radius:999px;
    color:#fff;
    background:rgba(52,41,34,.62);
    opacity:0;
    font-size:7px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.04em;
    transition:opacity .2s ease,transform .2s ease;
    pointer-events:none;
}
.msdemo-real-card.is-active .msdemo-real-video-wrap:hover::after{
    opacity:1;
    transform:translateX(-50%) translateY(0);
}
.msdemo-real-home.is-mobile{
    width:188px;
    max-width:188px;
    height:410px;
    min-height:410px;
    overflow:hidden;
    border-radius:18px;
}
.store-device-frame.is-mobile.is-shoplook-real-frame{
    width:216px;
    max-width:216px;
    min-height:0;
    padding:10px;
    margin-inline:auto;
}
.msdemo-real-home.is-mobile .msdemo-real-topbar{
    min-height:14px;
    height:14px;
    padding:1px 4px;
    font-size:3px;
    line-height:1;
}
.msdemo-real-home.is-mobile .msdemo-real-header{
    min-height:31px;
    height:31px;
    padding:0 6px;
}
.msdemo-real-home.is-mobile .msdemo-real-brand{
    transform:translateX(12px);
    filter:blur(5px);
    opacity:.54;
}
.msdemo-real-home.is-mobile .msdemo-real-brand strong{font-size:8px}
.msdemo-real-home.is-mobile .msdemo-real-brand small{font-size:2px}
.msdemo-real-home.is-mobile .msdemo-real-icons{gap:4px}
.msdemo-real-home.is-mobile .msdemo-real-icons i{width:9px;height:9px}
.msdemo-real-home.is-mobile .msdemo-real-hero{
    min-height:121px;
    height:121px;
}
.msdemo-real-home.is-mobile .msdemo-real-hero-copy{
    top:45px;
    width:58%;
    padding:12px 0 0 10px;
}
.msdemo-real-home.is-mobile .msdemo-real-hero-copy h4{
    font-size:13px;
    line-height:1.02;
}
.msdemo-real-home.is-mobile .msdemo-real-hero-copy p{
    margin:5px 0 6px;
    font-size:5px;
    line-height:1.25;
}
.msdemo-real-home.is-mobile .msdemo-real-hero-copy button{
    min-height:18px;
    padding:0 7px;
    font-size:3px;
}
.msdemo-real-home.is-mobile .msdemo-real-hero-media{
    min-height:121px;
    height:121px;
}
.msdemo-real-home.is-mobile .msdemo-real-shoplook{
    height:218px;
    padding:8px 0 7px;
}
.msdemo-real-home.is-mobile .msdemo-real-shoplook-head{
    margin-bottom:5px;
    padding:0 6px;
}
.msdemo-real-home.is-mobile .msdemo-real-shoplook-head h4{
    font-size:11px;
}
.msdemo-real-home.is-mobile .msdemo-real-shoplook-head p{
    margin-top:3px;
    font-size:4px;
}
.msdemo-real-home.is-mobile .msdemo-real-carousel{
    height:181px;
}
.msdemo-real-home.is-mobile .msdemo-real-card{
    width:82px;
    border-radius:8px;
}
.msdemo-real-home.is-mobile .msdemo-real-card.pos-p0{
    transform:translate(-50%,-50%) scale(1);
}
.msdemo-real-home.is-mobile .msdemo-real-card.pos-m1{
    transform:translate(calc(-50% - 63px),-50%) scale(.84);
}
.msdemo-real-home.is-mobile .msdemo-real-card.pos-p1{
    transform:translate(calc(-50% + 63px),-50%) scale(.84);
}
.msdemo-real-home.is-mobile .msdemo-real-video-wrap{
    height:126px;
}
.msdemo-real-home.is-mobile .msdemo-real-product{
    min-height:37px;
    height:37px;
    gap:5px;
    padding:5px;
}
.msdemo-real-home.is-mobile .msdemo-real-product img{
    width:20px;
    height:20px;
}
.msdemo-real-home.is-mobile .msdemo-real-product strong{font-size:4px}
.msdemo-real-home.is-mobile .msdemo-real-product small{
    margin-top:2px;
    font-size:3px;
}
.msdemo-real-home.is-mobile .msdemo-real-play{
    width:28px;
    height:28px;
    font-size:8px;
}
.msdemo-real-home.is-mobile .msdemo-real-arrow{
    width:22px;
    height:22px;
    margin-top:-5px;
    font-size:13px;
}
.msdemo-real-home.is-mobile .msdemo-real-arrow.is-prev{left:4px}
.msdemo-real-home.is-mobile .msdemo-real-arrow.is-next{right:4px}
.msdemo-real-home.is-mobile .msdemo-real-benefits{
    height:26px;
    min-height:26px;
    gap:1px;
    padding:5px 4px;
}
.msdemo-real-home.is-mobile .msdemo-real-benefits b{font-size:3px}
.msdemo-real-home.is-mobile .msdemo-real-benefits small{font-size:2px}

.msdemo-floating-player{
    position:fixed;
    right:24px;
    bottom:24px;
    z-index:999999;
    width:252px;
    max-width:calc(100vw - 32px);
    overflow:visible;
    border:1px solid rgba(255,255,255,.4);
    border-radius:16px;
    background:#fff;
    box-shadow:0 24px 60px rgba(15,23,42,.34);
    opacity:0;
    transform:translateY(22px) scale(.96);
    transition:opacity .22s ease,transform .22s ease;
    pointer-events:none;
}
.msdemo-floating-player.is-visible{
    opacity:1;
    transform:translateY(0) scale(1);
    pointer-events:auto;
}
.msdemo-floating-close{
    position:absolute;
    right:-10px;
    top:-10px;
    z-index:3;
    width:30px;
    height:30px;
    display:grid;
    place-items:center;
    border:0;
    border-radius:50%;
    color:#342922;
    background:#fff;
    box-shadow:0 8px 20px rgba(15,23,42,.2);
    font-size:18px;
    line-height:1;
    cursor:pointer;
}
.msdemo-floating-media{
    height:330px;
    overflow:hidden;
    border-radius:16px 16px 0 0;
    background:#eaded6;
}
.msdemo-floating-media video{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    background:#eaded6;
}
.msdemo-floating-footer{
    display:grid;
    gap:10px;
    padding:12px;
    background:#fff;
    border-radius:0 0 16px 16px;
}
.msdemo-floating-footer strong{
    overflow:hidden;
    color:#342922;
    font-size:12px;
    line-height:1.3;
    white-space:nowrap;
    text-overflow:ellipsis;
}
.msdemo-floating-footer button{
    min-height:38px;
    border:0;
    border-radius:999px;
    color:#fff;
    background:#d96f49;
    font-size:10px;
    font-weight:900;
    cursor:pointer;
}
@media(max-width:700px){
    .msdemo-floating-player{
        right:12px;
        bottom:12px;
        width:210px;
    }
    .msdemo-floating-media{height:270px}
}

/* MSDEV Apps v8.9.8 — correção definitiva da demo de notificações */
.store-device-frame.is-mobile .mock-socialproof-toast{
    left:12px;
    right:12px;
    bottom:12px;
    width:auto;
    max-width:none;
    min-width:0;
    padding:9px;
    gap:9px;
}
.store-device-frame.is-mobile .mock-toast-thumb{
    width:44px;
    height:44px;
    min-width:44px;
    max-width:44px;
    min-height:44px;
    max-height:44px;
    flex-basis:44px;
}
.store-device-frame.is-mobile .mock-toast-thumb img{
    width:44px !important;
    height:44px !important;
    min-width:44px !important;
    max-width:44px !important;
    min-height:44px !important;
    max-height:44px !important;
}
.store-device-frame.is-mobile .mock-toast-copy strong{
    overflow:hidden;
    font-size:10px;
    line-height:1.25;
    white-space:normal;
}
.store-device-frame.is-mobile .mock-toast-copy small{
    overflow:hidden;
    font-size:9px;
    white-space:nowrap;
    text-overflow:ellipsis;
}
.store-device-frame.is-mobile .mock-toast-progress{
    width:100%;
}

/* MSDEV Apps v8.9.9 — escopo da demonstração de notificações */
.store-demo-scope-note{
    display:grid;
    gap:6px;
    margin:0 0 22px;
    padding:14px 16px;
    border:1px solid rgba(59,130,246,.22);
    border-radius:14px;
    background:rgba(59,130,246,.08);
}
.store-demo-scope-note strong{
    color:var(--text);
    font-size:13px;
}
.store-demo-scope-note p{
    margin:0;
    color:var(--muted);
    font-size:12px;
    line-height:1.55;
}

/* v8.9.10 - Stories demo aprimorado */
.msdemo-stories--interactive{
    position:absolute;
    inset:58px 0 0;
    z-index:6;
    pointer-events:none;
}
.msdemo-stories--interactive .msdemo-stories-launcher,
.msdemo-stories--interactive .msdemo-story-modal{
    pointer-events:auto;
}
.msdemo-stories--interactive .msdemo-stories-launcher{
    left:16px;
    bottom:18px;
    gap:0;
}
.msdemo-stories--interactive .msdemo-story-trigger{
    display:block;
    width:62px;
    height:62px;
    padding:0;
    border:0;
    border-radius:50%;
    background:transparent;
    box-shadow:0 12px 24px rgba(15,23,42,.22);
    cursor:pointer;
}
.msdemo-stories--interactive .msdemo-story-ring{
    display:grid;
    place-items:center;
    width:100%;
    height:100%;
    padding:3px;
    border-radius:50%;
    background:conic-gradient(from 220deg,#f97316,#fb7185,#8b5cf6,#2563eb,#f59e0b,#f97316);
}
.msdemo-stories--interactive .msdemo-story-inner{
    display:block;
    width:100%;
    height:100%;
    padding:2px;
    overflow:hidden;
    border-radius:50%;
    background:#fff;
}
.msdemo-stories--interactive .msdemo-story-bubble-video{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    border-radius:50%;
    background:#dbeafe;
}
.msdemo-stories--interactive .msdemo-story-modal{
    position:absolute;
    top:18px;
    left:50%;
    width:232px;
    aspect-ratio:9/16;
    overflow:hidden;
    border-radius:24px;
    background:#0f172a;
    box-shadow:0 26px 48px rgba(15,23,42,.28);
    opacity:0;
    visibility:hidden;
    transform:translateX(-50%) translateY(14px) scale(.96);
    transition:opacity .22s ease,transform .22s ease,visibility .22s ease;
}
.msdemo-stories--interactive.is-viewing .msdemo-story-modal{
    opacity:1;
    visibility:visible;
    transform:translateX(-50%) translateY(0) scale(1);
}
.msdemo-stories--interactive .msdemo-story-stage{
    position:relative;
    width:100%;
    height:100%;
    overflow:hidden;
    background:#d8dbe3;
}
.msdemo-stories--interactive .msdemo-story-main-video{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    background:#d8dbe3;
}
.msdemo-stories--interactive .msdemo-story-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(8,17,31,.16) 0%,rgba(8,17,31,0) 24%,rgba(8,17,31,0) 70%,rgba(8,17,31,.22) 100%);
    pointer-events:none;
}
.msdemo-stories--interactive .msdemo-story-bars{
    position:absolute;
    left:12px;
    right:12px;
    top:12px;
    z-index:3;
    padding:0;
}
.msdemo-stories--interactive .msdemo-story-bars i{
    position:relative;
    display:block;
    overflow:hidden;
    height:3px;
    border-radius:999px;
    background:rgba(255,255,255,.35);
}
.msdemo-stories--interactive .msdemo-story-bars b{
    position:absolute;
    inset:0 auto 0 0;
    width:0;
    border-radius:inherit;
    background:#fff;
}
.msdemo-stories--interactive .msdemo-story-topline{
    position:absolute;
    top:24px;
    left:12px;
    right:12px;
    z-index:3;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}
.msdemo-stories--interactive .msdemo-story-title-group strong{
    display:block;
    max-width:118px;
    overflow:hidden;
    color:#fff;
    font-size:10px;
    font-weight:800;
    line-height:1.2;
    white-space:nowrap;
    text-overflow:ellipsis;
}
.msdemo-stories--interactive .msdemo-story-top-actions{
    display:flex;
    align-items:center;
    gap:6px;
}
.msdemo-stories--interactive .msdemo-story-top-btn{
    width:28px;
    height:28px;
    display:grid;
    place-items:center;
    border:1px solid rgba(255,255,255,.92);
    border-radius:50%;
    color:#fff;
    background:rgba(17,24,39,.22);
    font-size:13px;
    line-height:1;
    cursor:pointer;
}
.msdemo-stories--interactive .msdemo-story-actions{
    position:absolute;
    right:10px;
    top:50%;
    z-index:3;
    display:grid;
    gap:10px;
    transform:translateY(-18%);
}
.msdemo-stories--interactive .msdemo-story-actions button{
    position:relative;
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border:0;
    border-radius:50%;
    color:#fff;
    background:rgba(17,24,39,.58);
    box-shadow:0 8px 18px rgba(15,23,42,.14);
    cursor:default;
    font-size:16px;
}
.msdemo-stories--interactive .msdemo-story-actions button:last-child{
    background:#22c55e;
}
.msdemo-stories--interactive .msdemo-story-actions span{line-height:1;}
.msdemo-stories--interactive .msdemo-story-actions em{
    position:absolute;
    right:-2px;
    top:-3px;
    min-width:18px;
    height:18px;
    padding:0 4px;
    display:grid;
    place-items:center;
    border-radius:999px;
    color:#fff;
    background:#22c55e;
    font-style:normal;
    font-size:10px;
    font-weight:900;
    line-height:1;
}
.msdemo-stories--interactive .msdemo-story-cta{
    position:absolute;
    left:50%;
    bottom:16px;
    z-index:3;
    min-width:122px;
    min-height:38px;
    padding:0 18px;
    transform:translateX(-50%);
    border:0;
    border-radius:999px;
    color:#1f2937;
    background:rgba(255,255,255,.94);
    box-shadow:0 10px 22px rgba(15,23,42,.18);
    font-size:10px;
    font-weight:900;
}
.msdemo-stories--interactive .msdemo-story-counter{
    position:absolute;
    right:12px;
    bottom:8px;
    z-index:3;
    color:#fff;
    font-size:9px;
    font-weight:700;
}
.mock-card-grid.has-story-space{
    padding-left:14px;
    padding-bottom:90px;
}
.story-product-layout{
    padding-right:14px;
    padding-bottom:108px;
}
.msdemo-stories--interactive.is-viewing ~ .mock-floating-note{
    opacity:0;
}
.msdemo-stories--interactive.is-viewing ~ .mock-card-grid,
.msdemo-stories--interactive.is-viewing ~ .mock-product-layout{
    filter:blur(.6px);
}

.store-device-frame.is-mobile .msdemo-stories--interactive .msdemo-stories-launcher{
    left:12px;
    bottom:14px;
}
.store-device-frame.is-mobile .msdemo-stories--interactive .msdemo-story-trigger{
    width:54px;
    height:54px;
}
.store-device-frame.is-mobile .msdemo-stories--interactive .msdemo-story-modal{
    top:10px;
    width:172px;
    max-width:calc(100% - 18px);
}
.store-device-frame.is-mobile .msdemo-stories--interactive .msdemo-story-topline{
    top:20px;
    left:10px;
    right:10px;
}
.store-device-frame.is-mobile .msdemo-stories--interactive .msdemo-story-title-group strong{
    max-width:78px;
    font-size:9px;
}
.store-device-frame.is-mobile .msdemo-stories--interactive .msdemo-story-top-btn{
    width:24px;
    height:24px;
    font-size:12px;
}
.store-device-frame.is-mobile .msdemo-stories--interactive .msdemo-story-actions{
    right:8px;
    gap:8px;
}
.store-device-frame.is-mobile .msdemo-stories--interactive .msdemo-story-actions button{
    width:32px;
    height:32px;
    font-size:14px;
}
.store-device-frame.is-mobile .msdemo-stories--interactive .msdemo-story-actions em{
    min-width:15px;
    height:15px;
    font-size:8px;
}
.store-device-frame.is-mobile .msdemo-stories--interactive .msdemo-story-cta{
    min-width:112px;
    min-height:34px;
    font-size:9px;
}
.store-device-frame.is-mobile .story-product-layout{
    padding-right:14px;
    padding-bottom:98px;
}
.store-device-frame.is-mobile .mock-card-grid.has-story-space{
    padding-left:14px;
    padding-bottom:84px;
}

/* MSDEV Apps v8.11 — demo Visualizações do Produto */
.mock-product-viewers{
    position:absolute;
    top:18px;
    right:16px;
    z-index:6;
    display:flex;
    align-items:center;
    gap:10px;
    width:min(310px,calc(100% - 32px));
    min-height:70px;
    padding:11px 38px 17px 11px;
    overflow:hidden;
    border-radius:14px;
    color:#545454;
    background:#fff;
    box-shadow:4px 4px 22px rgba(0,0,0,.20);
    animation:mockProductViewersCycle 10s ease-in-out infinite;
}
.mock-product-viewers-icon{
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    flex:0 0 42px;
    border:1px solid #F2F2F2;
    border-radius:8px;
    color:#050505;
    background:#FAFAFA;
}
.mock-product-viewers-icon svg{width:22px;height:22px;display:block}
.mock-product-viewers-copy{display:flex;align-items:baseline;gap:6px;min-width:0;font-size:10px;line-height:15px}
.mock-product-viewers-copy strong{color:#000;font-size:13px;font-weight:900}
.mock-product-viewers-copy span{min-width:0}
.mock-product-viewers>button{
    position:absolute;
    right:9px;
    top:50%;
    width:24px;
    height:24px;
    display:grid;
    place-items:center;
    transform:translateY(-58%);
    border:0;
    border-radius:7px;
    color:#050505;
    background:transparent;
    font-size:17px;
}
.mock-product-viewers-progress{position:absolute;left:0;right:0;bottom:0;height:4px;background:#E5E5E5}
.mock-product-viewers-progress i{display:block;width:100%;height:100%;background:#050505;transform-origin:left center;animation:mockProductViewersProgress 10s linear infinite}
@keyframes mockProductViewersCycle{0%{opacity:0;transform:translateY(-10px) scale(.97)}8%{opacity:1;transform:none}50%{opacity:1;transform:none}55%,100%{opacity:0;transform:translateY(-10px) scale(.97)}}
@keyframes mockProductViewersProgress{0%,8%{transform:scaleX(1)}50%{transform:scaleX(0)}55%,100%{transform:scaleX(0)}}
.store-device-frame.is-mobile .mock-product-viewers{
    top:12px;
    left:10px;
    right:10px;
    width:auto;
    min-height:62px;
    padding:9px 32px 15px 9px;
    gap:8px;
    border-radius:12px;
}
.store-device-frame.is-mobile .mock-product-viewers-icon{width:36px;height:36px;flex-basis:36px}
.store-device-frame.is-mobile .mock-product-viewers-icon svg{width:19px;height:19px}
.store-device-frame.is-mobile .mock-product-viewers-copy{font-size:8px;line-height:12px;gap:4px}
.store-device-frame.is-mobile .mock-product-viewers-copy strong{font-size:10px}

/* v8.12 — modelos de cobrança */
.payment-message-preview,
.store-payment-message{
    border:1px solid rgba(37,99,235,.28);
    border-radius:14px;
    padding:14px 16px;
    background:rgba(37,99,235,.08);
}
.payment-message-preview strong,
.store-payment-message strong{
    display:block;
    margin-bottom:5px;
    color:var(--text, #f8fafc);
}
.payment-message-preview p,
.store-payment-message p{
    margin:0;
    color:var(--muted, #aab6cc);
    line-height:1.55;
}
.store-payment-message-compact{
    margin-top:14px;
    padding:12px 14px;
}
.store-payment-type-pill{
    display:inline-flex;
    align-items:center;
    width:max-content;
    margin-top:2px;
    padding:5px 9px;
    border-radius:999px;
    color:#BFDBFE;
    background:rgba(37,99,235,.16);
    font-size:11px;
    font-weight:800;
    letter-spacing:.02em;
}
[data-subscription-field][hidden],
[data-one-time-field][hidden]{
    display:none !important;
}
body.theme-light .payment-message-preview,
body.theme-light .store-payment-message{
    background:#EFF6FF;
    border-color:#BFDBFE;
}
body.theme-light .payment-message-preview strong,
body.theme-light .store-payment-message strong{
    color:#0F172A;
}
body.theme-light .payment-message-preview p,
body.theme-light .store-payment-message p{
    color:#475569;
}
body.theme-light .store-payment-type-pill{
    color:#1D4ED8;
    background:#DBEAFE;
}

/* v8.13 — planos trimestral, semestral e anual com comparação */
.store-plan-options-comparison{
    grid-template-columns:repeat(2,minmax(0,1fr));
}
.store-plan-card{
    position:relative;
}
.store-plan-card > span{
    position:relative;
    min-height:138px;
    place-content:start;
    align-content:start;
    gap:7px;
    padding:18px 14px 14px;
}
.store-plan-card.is-best-value > span{
    border-color:#22c55e;
    background:rgba(34,197,94,.09);
    box-shadow:inset 0 0 0 1px rgba(34,197,94,.75);
}
.store-plan-badge{
    position:absolute;
    top:-10px;
    left:50%;
    transform:translateX(-50%);
    padding:5px 9px;
    border-radius:999px;
    color:#052e16;
    background:#86efac;
    font-size:9px;
    font-style:normal;
    font-weight:900;
    letter-spacing:.03em;
    white-space:nowrap;
    text-transform:uppercase;
}
.store-plan-badge.is-discount{
    color:#1e3a8a;
    background:#bfdbfe;
}
.store-plan-total{
    display:block;
    color:var(--text,#f8fafc);
    font-size:20px;
    line-height:1.1;
}
.store-plan-saving{
    color:#86efac !important;
    font-weight:800;
}
.store-plan-comparison-table{
    margin-top:14px;
    overflow:hidden;
    border:1px solid var(--line);
    border-radius:14px;
    background:var(--panel-2);
}
.store-plan-comparison-head{
    display:grid;
    gap:4px;
    padding:14px 15px;
    border-bottom:1px solid var(--line);
}
.store-plan-comparison-head small{
    color:var(--muted);
    line-height:1.4;
}
.store-plan-comparison-rows{
    display:grid;
}
.store-plan-comparison-row{
    display:grid;
    grid-template-columns:1.1fr 1fr 1fr .8fr;
    gap:10px;
    align-items:center;
    padding:12px 15px;
    border-bottom:1px solid var(--line);
}
.store-plan-comparison-row:last-child{
    border-bottom:0;
}
.store-plan-comparison-row span,
.store-plan-comparison-row strong,
.store-plan-comparison-row small,
.store-plan-comparison-row b{
    min-width:0;
}
.store-plan-comparison-row small{
    color:var(--muted);
}
.store-plan-comparison-row b{
    color:#86efac;
    text-align:right;
}
.admin-plan-comparison{
    display:grid;
    gap:7px;
    margin-top:10px;
}
.admin-plan-comparison span{
    display:block;
    padding:9px 10px;
    border:1px solid var(--line);
    border-radius:10px;
    background:var(--panel-2);
    color:var(--muted);
    font-size:12px;
    line-height:1.45;
}
.admin-plan-comparison b{
    color:var(--text,#f8fafc);
}
body.theme-light .store-plan-card.is-best-value > span{
    background:#f0fdf4;
}
body.theme-light .store-plan-total{
    color:#0f172a;
}
body.theme-light .store-plan-comparison-row b{
    color:#15803d;
}
@media(max-width:720px){
    .store-plan-options-comparison{
        grid-template-columns:1fr;
    }
    .store-plan-comparison-row{
        grid-template-columns:1fr 1fr;
    }
    .store-plan-comparison-row b{
        text-align:left;
    }
}

/* ==========================================================
   MSDEV Apps v8.13.2 — Página dedicada e funcional de planos
   ========================================================== */
.store-plans-page{
    --store-accent:#2563EB;
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:18px;
}
.store-plans-hero{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:18px;
    padding:26px;
    border:1px solid var(--line);
    border-radius:20px;
    background:
        radial-gradient(circle at 92% 12%,rgba(37,99,235,.15),transparent 28%),
        linear-gradient(145deg,var(--panel),var(--panel-2));
}
.store-plans-back{
    width:max-content;
    color:var(--muted);
    font-size:12px;
    font-weight:800;
}
.store-plans-back:hover{
    color:var(--text);
}
.store-plans-app-head{
    display:grid;
    grid-template-columns:92px minmax(0,1fr);
    gap:18px;
    align-items:center;
}
.store-plans-app-icon{
    width:92px;
    height:92px;
    display:grid;
    place-items:center;
    overflow:hidden;
    border-radius:18px;
    color:#fff;
    background:var(--store-accent);
    box-shadow:0 16px 30px rgba(15,23,42,.18);
}
.store-plans-app-icon img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.store-plans-app-icon span{
    font-size:36px;
    font-weight:1000;
}
.store-plans-app-head h2{
    margin:8px 0 6px;
    font-size:30px;
}
.store-plans-app-head p{
    max-width:850px;
    margin:0;
    color:var(--muted);
    line-height:1.6;
}
.store-plans-payment-message{
    margin:0;
}
.store-plans-status{
    margin:0;
}
.store-plans-section{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:18px;
    padding:26px;
    border:1px solid var(--line);
    border-radius:20px;
    background:var(--panel);
}
.store-plans-section-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
}
.store-plans-section-head h2{
    margin:6px 0 7px;
    font-size:26px;
}
.store-plans-section-head p{
    max-width:700px;
    margin:0;
    color:var(--muted);
    line-height:1.55;
}
.store-plans-form{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:22px;
}
.store-plans-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
}
.store-plans-card{
    position:relative;
    display:grid;
    align-content:start;
    gap:9px;
    min-height:250px;
    padding:26px 18px 18px;
    border:1px solid var(--line);
    border-radius:17px;
    background:var(--panel-2);
    cursor:pointer;
    transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease,background .18s ease;
}
.store-plans-card:hover{
    transform:translateY(-2px);
    border-color:rgba(37,99,235,.55);
    box-shadow:0 14px 28px rgba(15,23,42,.12);
}
.store-plans-card input{
    position:absolute;
    width:1px;
    height:1px;
    margin:0;
    padding:0;
    opacity:0;
    pointer-events:none;
}
.store-plans-card:has(input:checked){
    border-color:var(--store-accent);
    background:rgba(37,99,235,.09);
    box-shadow:inset 0 0 0 1px var(--store-accent),0 14px 28px rgba(15,23,42,.11);
}
.store-plans-card.is-best{
    border-color:rgba(34,197,94,.6);
}
.store-plans-card > em{
    position:absolute;
    top:-10px;
    left:50%;
    transform:translateX(-50%);
    padding:5px 9px;
    border-radius:999px;
    color:#052e16;
    background:#86efac;
    font-size:9px;
    font-style:normal;
    font-weight:1000;
    white-space:nowrap;
    text-transform:uppercase;
    letter-spacing:.04em;
}
.store-plans-card-check{
    position:absolute;
    top:14px;
    right:14px;
    width:25px;
    height:25px;
    display:grid;
    place-items:center;
    border:1px solid var(--line);
    border-radius:50%;
    color:transparent;
    background:var(--panel);
    font-size:12px;
    font-weight:1000;
}
.store-plans-card:has(input:checked) .store-plans-card-check{
    color:#fff;
    border-color:var(--store-accent);
    background:var(--store-accent);
}
.store-plans-card > strong{
    padding-right:34px;
    font-size:16px;
}
.store-plans-card > b{
    font-size:29px;
    line-height:1.1;
}
.store-plans-card > small{
    color:var(--muted);
    line-height:1.5;
}
.store-plans-card > small.is-saving{
    color:#86efac;
    font-weight:900;
}
.store-plans-select-label{
    margin-top:auto;
    padding:10px 12px;
    border:1px solid var(--line);
    border-radius:10px;
    color:var(--text);
    text-align:center;
    font-size:11px;
    font-weight:900;
}
.store-plans-card:has(input:checked) .store-plans-select-label{
    color:#fff;
    border-color:var(--store-accent);
    background:var(--store-accent);
}
.store-plans-comparison{
    overflow:hidden;
    border:1px solid var(--line);
    border-radius:17px;
    background:var(--panel-2);
}
.store-plans-comparison-head{
    display:grid;
    gap:4px;
    padding:17px 19px;
    border-bottom:1px solid var(--line);
}
.store-plans-comparison-head h3,
.store-plans-comparison-head p{
    margin:0;
}
.store-plans-comparison-head p{
    color:var(--muted);
    font-size:12px;
}
.store-plans-table-wrap{
    overflow:auto;
}
.store-plans-table{
    width:100%;
    border-collapse:collapse;
    min-width:720px;
}
.store-plans-table th,
.store-plans-table td{
    padding:14px 18px;
    border-bottom:1px solid var(--line);
    text-align:left;
    font-size:12px;
}
.store-plans-table th{
    color:var(--muted);
    background:rgba(148,163,184,.04);
    font-size:10px;
    font-weight:1000;
    text-transform:uppercase;
    letter-spacing:.05em;
}
.store-plans-table tr:last-child td{
    border-bottom:0;
}
.store-plans-table .is-discount{
    display:inline-flex;
    padding:4px 7px;
    border-radius:999px;
    color:#166534;
    background:#dcfce7;
    font-weight:1000;
}
.store-plans-checkout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 340px;
    gap:20px;
    align-items:start;
    padding:18px;
    border:1px solid var(--line);
    border-radius:17px;
    background:var(--panel-2);
}
.store-plans-checkout-fields{
    display:grid;
    gap:14px;
}
.store-plans-checkout-action{
    display:grid;
    gap:12px;
    padding:16px;
    border:1px solid var(--line);
    border-radius:14px;
    background:var(--panel);
}
.store-plans-checkout-action p{
    margin:0;
    color:var(--muted);
    font-size:10px;
    line-height:1.5;
}
.store-plans-trial{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);
    align-items:start;
    gap:22px 28px;
    padding:26px;
    border:1px solid rgba(34,197,94,.32);
    border-radius:20px;
    background:
        radial-gradient(circle at 8% 0%,rgba(34,197,94,.14),transparent 45%),
        var(--panel);
}
.store-plans-trial-copy h2{
    margin:6px 0 8px;
    font-size:26px;
    line-height:1.2;
}
.store-plans-trial-copy p{
    margin:0;
    color:var(--muted);
    line-height:1.6;
}
.store-plans-trial-form{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:14px;
}
.store-plans-trial-form .btn{
    justify-self:start;
    min-height:46px;
    padding-inline:22px;
}
body.theme-light .store-plans-card > small.is-saving{
    color:#15803d;
}
@media(max-width:1100px){
    .store-plans-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .store-plans-checkout{
        grid-template-columns:1fr;
    }
}
@media(max-width:720px){
    .store-plans-hero,
    .store-plans-section{
        padding:18px;
    }
    .store-plans-app-head{
        grid-template-columns:72px minmax(0,1fr);
    }
    .store-plans-app-icon{
        width:72px;
        height:72px;
        border-radius:15px;
    }
    .store-plans-app-head h2{
        font-size:23px;
    }
    .store-plans-section-head{
        align-items:stretch;
        flex-direction:column;
    }
    .store-plans-trial{
        grid-template-columns:minmax(0,1fr);
        padding:18px;
    }
    .store-plans-trial-copy h2{
        font-size:22px;
    }
    .store-plans-trial-form .btn{
        justify-self:stretch;
    }
    .store-plans-grid{
        grid-template-columns:1fr;
    }
    .store-plans-card{
        min-height:0;
    }
}

/* ==========================================================
   MSDEV Apps v8.13.3 — planos sempre visíveis para assinantes
   ========================================================== */
.store-plans-status{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
}
.store-plans-status-copy{
    min-width:0;
}
.store-plans-status-copy p{
    margin:7px 0 0;
}
.store-plans-visibility-note{
    display:grid;
    gap:5px;
    margin-bottom:18px;
    padding:14px 16px;
    border:1px solid rgba(37,99,235,.34);
    border-radius:14px;
    background:rgba(37,99,235,.09);
}
.store-plans-visibility-note strong{
    color:var(--text,#f8fafc);
}
.store-plans-visibility-note p{
    margin:0;
    color:var(--muted,#aab6cc);
    line-height:1.55;
}
.store-plans-visibility-note.is-active{
    border-color:rgba(34,197,94,.34);
    background:rgba(34,197,94,.08);
}
.store-plans-visibility-note.is-pending{
    border-color:rgba(245,158,11,.34);
    background:rgba(245,158,11,.08);
}
.store-plans-grid.is-readonly .store-plans-card{
    cursor:default;
}
.store-plans-card.is-readonly:hover{
    transform:none;
    border-color:var(--line);
}
.store-plans-card.is-current{
    border-color:#22c55e;
    background:rgba(34,197,94,.10);
    box-shadow:inset 0 0 0 1px rgba(34,197,94,.72);
}
.store-plans-card.is-current:hover{
    border-color:#22c55e;
}
.store-plans-card > em.is-current-badge{
    color:#052e16;
    background:#86efac;
}
.store-plans-card.is-current .store-plans-card-check{
    opacity:1;
    color:#052e16;
    border-color:#86efac;
    background:#86efac;
}
.store-plans-card.is-current .store-plans-select-label{
    color:#86efac;
    border-color:rgba(34,197,94,.45);
    background:rgba(34,197,94,.10);
}
.store-plans-card.is-payable .store-plans-change-button.store-plans-select-label{
    color:#052e16;
    border-color:#22c55e;
    background:#4ade80;
}
.store-plans-card.is-payable .store-plans-change-button.store-plans-select-label:hover{
    filter:brightness(1.05);
}
.store-plans-visibility-note.store-plans-pay-now-note{
    border-color:rgba(34,197,94,.45);
    background:rgba(34,197,94,.10);
}
.store-plans-card.is-readonly:not(.is-current) .store-plans-card-check{
    display:none;
}
.store-plans-card.is-readonly:not(.is-current) .store-plans-select-label{
    color:var(--muted,#aab6cc);
    border-color:var(--line);
    background:var(--panel-2);
}
.store-plans-table tr.is-current-plan td{
    background:rgba(34,197,94,.07);
}
.store-current-plan-inline{
    display:inline-flex;
    align-items:center;
    margin-left:7px;
    padding:3px 7px;
    border-radius:999px;
    color:#052e16;
    background:#86efac;
    font-size:9px;
    font-weight:900;
    line-height:1;
    text-transform:uppercase;
}
.store-plans-readonly-action{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:18px;
    border:1px solid var(--line);
    border-radius:16px;
    background:var(--panel-2);
}
.store-plans-readonly-action strong{
    display:block;
    margin-bottom:6px;
    color:var(--text,#f8fafc);
}
.store-plans-readonly-action p{
    margin:0;
    color:var(--muted,#aab6cc);
    line-height:1.5;
}
body.theme-light .store-plans-visibility-note strong,
body.theme-light .store-plans-readonly-action strong{
    color:#0f172a;
}
body.theme-light .store-plans-card.is-current{
    background:#f0fdf4;
}
body.theme-light .store-plans-table tr.is-current-plan td{
    background:#f0fdf4;
}
@media(max-width:720px){
    .store-plans-status,
    .store-plans-readonly-action{
        align-items:stretch;
        flex-direction:column;
    }
    .store-plans-status .btn,
    .store-plans-readonly-action .btn{
        width:100%;
    }
}

/* ==========================================================
   MSDEV Apps v8.13.4 — troca de plano pelo cliente
   ========================================================== */
.store-plans-card.is-upgrade{
    border-color:rgba(37,99,235,.58);
    background:linear-gradient(180deg,rgba(37,99,235,.09),rgba(37,99,235,.03));
    cursor:default;
}
.store-plans-card.is-upgrade:hover{
    transform:translateY(-2px);
    border-color:var(--store-accent);
    box-shadow:0 16px 34px rgba(15,23,42,.18);
}
.store-plans-card.is-upgrade .store-plans-card-check{
    color:#fff;
    border-color:var(--store-accent);
    background:var(--store-accent);
}
.store-plans-change-button{
    width:100%;
    appearance:none;
    -webkit-appearance:none;
    border-color:var(--store-accent);
    color:#fff;
    background:var(--store-accent);
    cursor:pointer;
    font:inherit;
    line-height:1.25;
    transition:filter .18s ease,transform .18s ease,box-shadow .18s ease;
}
.store-plans-change-button:hover{
    filter:brightness(1.08);
    transform:translateY(-1px);
    box-shadow:0 8px 18px rgba(37,99,235,.24);
}
.store-plans-change-button:focus-visible{
    outline:3px solid rgba(96,165,250,.32);
    outline-offset:2px;
}
.store-plans-readonly-action.is-upgrade-help{
    border-color:rgba(37,99,235,.34);
    background:rgba(37,99,235,.08);
}
.store-plan-change-label{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-top:5px;
    padding:4px 8px;
    border-radius:999px;
    color:#bfdbfe;
    background:rgba(37,99,235,.14);
    font-size:10px;
    font-weight:900;
}
body.theme-light .store-plan-change-label{
    color:#1d4ed8;
    background:#dbeafe;
}

/* ==========================================================
   MSDEV Apps v8.15.1 — ícones quadrados e identidade visual
   ========================================================== */

/* Catálogo administrativo: também usa uma miniatura quadrada real. */
.store-admin-app{
    grid-template-columns:112px minmax(0,1fr);
    align-items:center;
    gap:2px;
    padding:14px;
}
.store-admin-app-icon{
    width:86px;
    height:86px;
    min-width:86px;
    min-height:86px;
    max-width:86px;
    max-height:86px;
    margin:auto;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.12);
    border-radius:21px;
    background:
        radial-gradient(circle at 30% 20%,rgba(255,255,255,.2),transparent 36%),
        var(--store-accent);
    box-shadow:0 14px 28px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.14);
}
.store-admin-app-icon img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center;
    border-radius:inherit;
}
.store-admin-app-info{
    padding:4px 8px 4px 6px;
}

/* Detalhes e planos compartilham exatamente o mesmo tratamento. */
.store-detail-hero-media,
.store-plans-app-icon{
    aspect-ratio:1/1;
    border:1px solid rgba(255,255,255,.12);
    background:
        radial-gradient(circle at 28% 18%,rgba(255,255,255,.22),transparent 35%),
        var(--store-accent);
    box-shadow:0 18px 38px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.16);
}
.store-detail-hero-media img,
.store-plans-app-icon img{
    width:100% !important;
    height:100% !important;
    display:block !important;
    object-fit:cover !important;
    object-position:center !important;
    border-radius:inherit;
}

/* Tema claro: mantém contraste sem perder a profundidade do ícone. */

html[data-theme="light"] .store-admin-app-icon,
body.theme-light .store-admin-app-icon,
html[data-theme="light"] .store-detail-hero-media,
body.theme-light .store-detail-hero-media,
html[data-theme="light"] .store-plans-app-icon,
body.theme-light .store-plans-app-icon{
    border-color:rgba(15,23,42,.1);
    box-shadow:0 16px 34px rgba(15,23,42,.14),inset 0 1px 0 rgba(255,255,255,.65);
}

@media(max-width:620px){
    .store-admin-app{
        grid-template-columns:82px minmax(0,1fr);
        padding:12px;
    }
    .store-admin-app-icon{
        width:68px;
        height:68px;
        min-width:68px;
        min-height:68px;
        max-width:68px;
        max-height:68px;
        border-radius:17px;
    }
}

/* ==========================================================
   MSDEV Apps v8.15.2 — alternância entre ícone e imagem/capa
   ========================================================== */

.store-admin-app-icon.is-icon img,
.store-detail-hero-media.is-icon img,
.store-plans-app-icon.is-icon img,
.platform-app-icon.is-icon img,
img.app-icon.is-icon{
    object-fit:cover;
}

.store-admin-app-icon.is-cover,
.store-detail-hero-media.is-cover,
.store-plans-app-icon.is-cover,
.platform-app-icon.is-cover,
img.app-icon.is-cover{
    background:#f4f4f5;
}

.store-admin-app-icon.is-cover img,
.store-detail-hero-media.is-cover img,
.store-plans-app-icon.is-cover img,
.platform-app-icon.is-cover img,
img.app-icon.is-cover{
    object-fit:cover;
}
.app-cover-manager{
    display:grid;
    gap:16px;
    padding:18px;
    border:1px solid var(--line);
    border-radius:18px;
    background:rgba(37,99,235,.04);
}
.app-cover-manager-copy p{margin:6px 0 0;}
.app-cover-manager-grid{
    display:grid;
    grid-template-columns:minmax(220px,300px) minmax(0,1fr);
    gap:18px;
    align-items:start;
}
.app-cover-preview{
    position:relative;
    aspect-ratio:1/1;
    display:grid;
    place-items:center;
    overflow:hidden;
    border:1px dashed #3b4a68;
    border-radius:20px;
    background:#0b1020;
    color:var(--muted);
    text-align:center;
    padding:14px;
}
.app-cover-preview img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    border-radius:14px;
}
.app-cover-fields{display:grid;gap:12px;}
.app-cover-upload{
    display:flex;
    align-items:center;
    gap:12px;
    min-height:76px;
    padding:14px;
    border:1px solid #334155;
    border-radius:16px;
    background:#111827;
    cursor:pointer;
    transition:border-color .18s ease,transform .18s ease,background .18s ease;
}
.app-cover-upload:hover{
    transform:translateY(-1px);
    border-color:#3b82f6;
    background:#14203a;
}
.app-cover-upload-icon{
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    flex:0 0 auto;
    border-radius:12px;
    background:rgba(37,99,235,.2);
    color:#93c5fd;
    font-size:25px;
    font-weight:900;
}
.app-cover-upload span:last-child{display:grid;gap:3px;}
.app-cover-upload small{color:var(--muted);font-weight:600;}
.app-cover-remove{margin-top:2px;}
html[data-theme="light"] .app-cover-manager,
body.theme-light .app-cover-manager{background:#f8fafc;border-color:#dbe3ef;}
html[data-theme="light"] .app-cover-preview,
body.theme-light .app-cover-preview{background:#eef2f7;border-color:#b8c4d6;}
html[data-theme="light"] .app-cover-upload,
body.theme-light .app-cover-upload{background:#fff;border-color:#cbd5e1;}
html[data-theme="light"] .app-cover-upload:hover,
body.theme-light .app-cover-upload:hover{background:#eff6ff;border-color:#2563eb;}
@media(max-width:760px){
    .app-cover-manager-grid{grid-template-columns:1fr;}
    .app-cover-preview{max-width:280px;width:100%;}
}
.app-visual-mode-options{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}
.app-visual-mode-card{
    position:relative;
    display:flex;
    align-items:center;
    gap:12px;
    min-height:88px;
    padding:15px 16px;
    border:1px solid var(--line);
    border-radius:16px;
    background:rgba(255,255,255,.025);
    cursor:pointer;
    transition:.18s ease;
}
.app-visual-mode-card:hover{border-color:#3b82f6;transform:translateY(-1px);}
.app-visual-mode-card input{position:absolute;width:1px;height:1px;margin:0;padding:0;opacity:0;pointer-events:none;}
.app-visual-mode-card>span:last-child{display:grid;gap:4px;}
.app-visual-mode-card small{color:var(--muted);font-weight:600;}
.app-visual-mode-check{
    display:grid;
    place-items:center;
    width:30px;
    height:30px;
    flex:0 0 auto;
    border:1px solid #475569;
    border-radius:10px;
    color:transparent;
    background:#111827;
    font-weight:900;
}
.app-visual-mode-card:has(input:checked){
    border-color:#3b82f6;
    background:rgba(37,99,235,.12);
    box-shadow:0 0 0 2px rgba(37,99,235,.12);
}
.app-visual-mode-card:has(input:checked) .app-visual-mode-check{
    border-color:#2563eb;
    background:#2563eb;
    color:#fff;
}
html[data-theme="light"] .app-visual-mode-card,
body.theme-light .app-visual-mode-card{background:#fff;border-color:#d7dfeb;}
html[data-theme="light"] .app-visual-mode-card:has(input:checked),
body.theme-light .app-visual-mode-card:has(input:checked){background:#eff6ff;border-color:#2563eb;}
@media(max-width:680px){.app-visual-mode-options{grid-template-columns:1fr;}}

/* v8.24.1 - Order Bump inline no carrinho */
.mock-cart-bump{background:#fafafa;border:1px solid #e5e7eb;border-radius:10px;padding:9px;display:grid;gap:7px}
.mock-cart-bump-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.mock-cart-bump-head span{font-size:8px;font-weight:800;letter-spacing:.06em;color:#64748b}
.mock-cart-bump-head em{font-style:normal;padding:3px 6px;border-radius:999px;background:#f2c500;color:#111;font-size:7px;font-weight:800}
.mock-cart-bump-item{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px}
.mock-cart-bump-item+.mock-cart-bump-item{margin-top:2px}
.mock-cart-bump-image{width:34px;height:34px;border-radius:8px;background:#fff;border:1px solid #ebebeb;display:flex;align-items:center;justify-content:center;color:#d6a900;font-size:15px;font-weight:800;overflow:hidden;flex:none}
.mock-cart-bump-image img{width:100%;height:100%;object-fit:cover;display:block}
.mock-cart-bump-info{display:grid;gap:1px;min-width:0}
.mock-cart-bump-info b{font-size:10px;color:#111827;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mock-cart-bump-info small{font-size:9px;color:#64748b}
.mock-cart-bump-item button{border:0;border-radius:6px;background:#f2c500;color:#111;padding:6px 9px;font-size:8px;font-weight:800;white-space:nowrap}

/* v8.16.6 - seleção da plataforma na contratação */
.store-platform-field{display:grid;gap:10px}.store-platform-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.store-platform-options.is-compact{grid-template-columns:1fr}.store-platform-card{position:relative;display:block;cursor:pointer}.store-platform-card input{position:absolute;width:1px;height:1px;margin:0;padding:0;opacity:0;pointer-events:none}.store-platform-card>span{display:grid;gap:5px;min-height:92px;padding:15px 16px;border:1px solid var(--line,#2b354a);border-radius:15px;background:rgba(255,255,255,.025);transition:border-color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease}.store-platform-card>span:before{content:"";position:absolute;top:14px;right:14px;width:18px;height:18px;border:2px solid #64748b;border-radius:50%;background:transparent;box-shadow:inset 0 0 0 4px transparent}.store-platform-card strong{padding-right:30px;font-size:15px}.store-platform-card small{color:var(--muted,#94a3b8);line-height:1.45}.store-platform-card:hover>span{border-color:#3b82f6;transform:translateY(-1px)}.store-platform-card input:checked+span{border-color:#2563eb;background:rgba(37,99,235,.12);box-shadow:0 0 0 2px rgba(37,99,235,.1)}.store-platform-card input:checked+span:before{border-color:#2563eb;background:#2563eb;box-shadow:inset 0 0 0 4px #fff}.store-platform-card input:focus-visible+span{outline:3px solid rgba(59,130,246,.35);outline-offset:2px}html[data-theme="light"] .store-platform-card>span,body.theme-light .store-platform-card>span{background:#fff;border-color:#d7dfeb}html[data-theme="light"] .store-platform-card input:checked+span,body.theme-light .store-platform-card input:checked+span{background:#eff6ff;border-color:#2563eb}@media(max-width:760px){.store-platform-options{grid-template-columns:1fr}.store-platform-card>span{min-height:auto}}
/* Plataformas com logo: cards de escolha ao configurar, "Funciona com" e plataforma atual.
   As logos têm cor própria, por isso ficam sempre sobre um fundo branco, também no tema escuro. */
.store-platform-options.is-picker{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.store-platform-card.is-logo>span{gap:10px;align-content:start;min-height:120px}
.store-platform-brand{display:flex;align-items:center;gap:8px;min-height:38px;padding-right:30px}
.store-platform-brand img,.store-platform-works li,.store-platform-current img{background:#fff}
.store-platform-logo{display:block;height:38px;max-width:170px;padding:7px 10px;border:1px solid #e5e9f0;border-radius:10px;object-fit:contain;box-sizing:border-box}
.store-platform-name{font-size:16px}
.store-platform-badge{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:999px;font-size:11px;font-style:normal;font-weight:700;white-space:nowrap}
.store-platform-badge.is-beta{background:#fef3c7;color:#92400e}
.store-platform-badge.is-soon{background:#e2e8f0;color:#475569}
.store-platform-card.is-disabled{cursor:not-allowed}
.store-platform-card.is-disabled>span{opacity:.55}
.store-platform-card.is-disabled:hover>span{border-color:var(--line,#2b354a);transform:none}
.store-platform-card.is-disabled>span:before{display:none}
.store-platform-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.store-platform-foot{margin:14px 0 0;font-size:13px}
.store-platform-works{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin-top:12px}
.store-platform-works>span{font-size:12px;font-weight:600;color:var(--muted,#94a3b8)}
.store-platform-works ul{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
.store-platform-works li{display:inline-flex;align-items:center;height:28px;padding:0 9px;border:1px solid #e5e9f0;border-radius:8px}
.store-platform-works li img{display:block;height:15px;width:auto;max-width:96px}
.store-platform-works li b{font-size:12px;color:#334155}
.store-platform-works li.is-soon{gap:6px}
.store-platform-works li.is-soon img,.store-platform-works li.is-soon b{opacity:.55}
.store-platform-works li em{font-size:10px;font-style:normal;font-weight:700;color:#475569;white-space:nowrap}
.store-platform-works li.is-all{gap:6px;color:#2563eb}
.store-platform-works li.is-all svg{width:15px;height:15px}
.store-platform-works li.is-all b{color:#1e3a8a}
.store-platform-works.is-compact{margin-top:8px}
.store-platform-works.is-compact li{height:24px;padding:0 7px}
.store-platform-works.is-compact li img{height:12px;max-width:80px}
.store-platform-current{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 16px;padding:10px 12px;border:1px dashed var(--line,#2b354a);border-radius:12px;font-size:14px}
.store-platform-current img{height:28px;max-width:130px;padding:5px 8px;border:1px solid #e5e9f0;border-radius:8px;object-fit:contain;box-sizing:border-box}
.store-platform-current a{margin-left:auto;font-weight:600}
@media(max-width:520px){.store-platform-current a{margin-left:0}.store-platform-actions .btn{flex:1 1 auto;justify-content:center}}

/* ==========================================================
   MSDEV Apps v8.21.3 — demonstração fiel Categorias em Stories
   ========================================================== */
.store-categories-real-demo{background:#fbfaf7;color:#111827;min-height:100%;overflow:hidden;font-family:inherit}
.store-categories-topbar{height:28px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f1ede6;border-bottom:1px solid #e8e1d7;font-size:10px;color:#475569}
.store-categories-header{height:64px;padding:0 20px;display:grid;grid-template-columns:150px 1fr 92px;align-items:center;gap:16px;background:#fff;border-bottom:1px solid #ece6dc}
.store-categories-logo strong{display:block;font-family:Georgia,serif;font-size:20px;letter-spacing:.2em;color:#5d3b27;line-height:1}.store-categories-logo small{display:block;margin-top:5px;text-align:center;font-size:7px;letter-spacing:.3em;color:#a17c63}
.store-categories-header nav{display:flex;align-items:center;justify-content:center;gap:22px;font-size:11px;white-space:nowrap}.store-categories-header nav b{border-bottom:2px solid #153a2e;padding-bottom:3px}
.store-categories-icons{display:flex;justify-content:flex-end;gap:13px;font-size:15px}.store-categories-menu{font-size:17px}
.store-categories-block{background:#fff;padding:18px 0 15px}.store-categories-block h3{margin:0 0 16px;text-align:center;font-size:24px;line-height:1.15;color:#0f172a}
.store-categories-carousel{position:relative;padding:0 42px}.store-categories-track{display:flex;align-items:flex-start;justify-content:center;gap:28px;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior-inline:contain;padding:0 2px 4px}.store-categories-track::-webkit-scrollbar{display:none}.store-categories-track.has-overflow{justify-content:flex-start}
.store-categories-item{width:78px;min-width:78px;color:#111827;text-decoration:none;text-align:center;display:flex;flex-direction:column;align-items:center;gap:7px}.store-categories-ring{width:70px;height:70px;border-radius:999px;padding:3px;display:grid;place-items:center}.store-categories-ring.is-instagram{background:linear-gradient(45deg,#ff6b35,#ef3c74,#a855f7,#3b82f6)}.store-categories-ring>span{width:100%;height:100%;display:block;border-radius:999px;overflow:hidden;background:#fff;padding:2px}.store-categories-ring img{width:100%;height:100%;display:block;border-radius:999px;object-fit:cover}.store-categories-item strong{font-size:11px;line-height:1.18;font-weight:700;max-width:90px}
.store-categories-arrow{position:absolute;top:32px;transform:translateY(-50%);z-index:3;width:28px;height:48px;border:0;background:transparent;color:#2d1711;display:grid;place-items:center;cursor:pointer;padding:0}.store-categories-arrow svg{width:24px;height:24px}.store-categories-arrow.is-prev{left:8px}.store-categories-arrow.is-next{right:8px}.store-categories-arrow[hidden]{display:none}.store-categories-arrow:disabled{opacity:.25;cursor:default}
.store-categories-banner{height:225px;margin:0 16px 12px;border-radius:14px;overflow:hidden;display:flex;align-items:center;padding:26px;background:linear-gradient(90deg,rgba(226,207,186,.92),rgba(203,175,149,.28)),url('https://images.unsplash.com/photo-1515562141207-7a88fb7ce338?auto=format&fit=crop&w=1600&q=75') center/cover no-repeat}.store-categories-banner small{color:#79563d}.store-categories-banner h4{font-family:Georgia,serif;font-size:34px;line-height:1.02;margin:8px 0;color:#4a3022}.store-categories-banner p{font-size:12px;color:#475569}.store-categories-banner button{border:0;background:#0d4b3d;color:#fff;padding:10px 14px;font-size:10px;font-weight:800;border-radius:3px}
.store-categories-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 16px 12px}.store-categories-benefits span{background:#fff;border:1px solid #eee7dd;border-radius:9px;padding:10px;text-align:center;font-size:10px;font-weight:700}.store-categories-products-title{font-size:14px;font-weight:800;margin:0 16px 8px}.store-categories-products{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 16px 16px}.store-categories-products i{display:block;aspect-ratio:1.35/1;border-radius:10px;background:linear-gradient(135deg,#eadbc9,#f8f3ec)}
.store-categories-real-demo.is-mobile .store-categories-topbar{display:none}.store-categories-real-demo.is-mobile .store-categories-header{height:54px;padding:0 12px;grid-template-columns:26px 1fr 45px;gap:6px}.store-categories-real-demo.is-mobile .store-categories-logo{text-align:center}.store-categories-real-demo.is-mobile .store-categories-logo strong{font-size:15px}.store-categories-real-demo.is-mobile .store-categories-logo small{display:none}.store-categories-real-demo.is-mobile .store-categories-icons span:first-child,.store-categories-real-demo.is-mobile .store-categories-icons span:nth-child(2){display:none}.store-categories-real-demo.is-mobile .store-categories-block{padding:12px 0 10px}.store-categories-real-demo.is-mobile .store-categories-block h3{font-size:15px;margin-bottom:12px}.store-categories-real-demo.is-mobile .store-categories-carousel{padding:0 22px}.store-categories-real-demo.is-mobile .store-categories-track{gap:10px;justify-content:flex-start}.store-categories-real-demo.is-mobile .store-categories-item{width:52px;min-width:52px;gap:5px}.store-categories-real-demo.is-mobile .store-categories-ring{width:48px;height:48px;padding:2px}.store-categories-real-demo.is-mobile .store-categories-item strong{font-size:8px;line-height:1.08}.store-categories-real-demo.is-mobile .store-categories-arrow{top:23px;width:20px;height:38px}.store-categories-real-demo.is-mobile .store-categories-arrow svg{width:17px;height:17px}.store-categories-real-demo.is-mobile .store-categories-arrow.is-prev{left:1px}.store-categories-real-demo.is-mobile .store-categories-arrow.is-next{right:1px}.store-categories-real-demo.is-mobile .store-categories-banner{height:155px;margin:0 8px 8px;padding:14px}.store-categories-real-demo.is-mobile .store-categories-banner h4{font-size:21px}.store-categories-real-demo.is-mobile .store-categories-banner p{display:none}.store-categories-real-demo.is-mobile .store-categories-banner button{font-size:8px;padding:8px 10px}.store-categories-real-demo.is-mobile .store-categories-benefits{margin:0 8px 8px;gap:5px}.store-categories-real-demo.is-mobile .store-categories-benefits span{font-size:7px;padding:7px 2px}.store-categories-real-demo.is-mobile .store-categories-products-title{margin:0 8px 6px;font-size:11px}.store-categories-real-demo.is-mobile .store-categories-products{margin:0 8px 10px;gap:5px}

/* ==========================================================
   MSDEV Apps v8.22 — padrão de fidelidade das demonstrações
   ========================================================== */
.store-demo-fidelity{display:flex;align-items:flex-start;gap:14px;margin:0 0 22px;padding:16px 18px;border:1px solid rgba(34,197,94,.32);border-radius:18px;background:linear-gradient(135deg,rgba(34,197,94,.12),rgba(37,99,235,.08))}.store-demo-fidelity.is-illustrative{border-color:rgba(245,158,11,.34);background:linear-gradient(135deg,rgba(245,158,11,.12),rgba(148,163,184,.06))}.store-demo-fidelity-icon{width:38px;height:38px;flex:0 0 38px;border-radius:12px;display:grid;place-items:center;background:#16a34a;color:#fff;font-size:19px;font-weight:900;box-shadow:0 9px 24px rgba(22,163,74,.2)}.store-demo-fidelity.is-illustrative .store-demo-fidelity-icon{background:#d97706}.store-demo-fidelity-copy{min-width:0;display:grid;gap:4px}.store-demo-fidelity-copy>span{font-size:11px;line-height:1;text-transform:uppercase;letter-spacing:.1em;font-weight:900;color:#86efac}.store-demo-fidelity.is-illustrative .store-demo-fidelity-copy>span{color:#fcd34d}.store-demo-fidelity-copy>strong{font-size:17px;line-height:1.25;color:#fff}.store-demo-fidelity-copy>p{margin:2px 0 7px;color:#b9c5d8;line-height:1.55}.store-demo-fidelity-chips{display:flex;gap:7px;flex-wrap:wrap}.store-demo-fidelity-chips small{display:inline-flex;align-items:center;min-height:27px;padding:5px 9px;border:1px solid rgba(148,163,184,.18);border-radius:999px;background:rgba(2,6,23,.35);color:#dbeafe;font-size:11px;font-weight:800}html[data-theme="light"] .store-demo-fidelity{background:linear-gradient(135deg,#ecfdf5,#eff6ff);border-color:#a7f3d0}html[data-theme="light"] .store-demo-fidelity.is-illustrative{background:linear-gradient(135deg,#fffbeb,#f8fafc);border-color:#fde68a}html[data-theme="light"] .store-demo-fidelity-copy>strong{color:#0f172a}html[data-theme="light"] .store-demo-fidelity-copy>p{color:#475569}html[data-theme="light"] .store-demo-fidelity-chips small{background:#fff;color:#334155;border-color:#dbe4f0}@media(max-width:680px){.store-demo-fidelity{padding:14px}.store-demo-fidelity-copy>strong{font-size:15px}}

/* v8.23 - Demonstração fiel Brindes por Faixa */
.store-gifts-trigger{position:absolute;left:18px;bottom:18px;width:52px;height:52px;border:0;border-radius:50%;background:#000;color:#fff;font-size:23px;display:grid;place-items:center;box-shadow:0 6px 16px rgba(0,0,0,.3);z-index:15;cursor:pointer}.store-gifts-modal{position:absolute;inset:0;background:rgba(0,0,0,.6);display:none;align-items:center;justify-content:center;padding:20px;z-index:30}.store-gifts-modal.is-open{display:flex}.store-gifts-box{position:relative;width:min(680px,94%);max-height:92%;overflow:auto;background:#fff;color:#333;border-radius:16px;padding:24px;text-align:center}.store-gifts-close{position:absolute;top:10px;right:10px;width:28px;height:28px;border:0;border-radius:50%;background:#000;color:#fff;font-size:18px}.store-gifts-box h3{font-size:24px;margin:0 0 10px}.store-gifts-box p{margin:0 0 18px;color:#666}.store-gifts-progress{height:11px;border-radius:999px;background:#eee;margin:28px 22px 34px;position:relative}.store-gifts-progress i{display:block;height:100%;background:#000;border-radius:inherit}.store-gifts-progress b{position:absolute;top:50%;transform:translate(-50%,-50%);width:32px;height:32px;border:2px solid #000;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:14px}.store-gifts-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.store-gifts-cards article{border:1px solid #ddd;border-radius:10px;padding:8px}.store-gifts-cards article>i{display:block;aspect-ratio:1;border-radius:8px;background:linear-gradient(135deg,#eee,#d8d8d8)}.store-gifts-cards article>b,.store-gifts-cards article>span{display:block;margin-top:7px;font-size:11px}.store-gifts-cards article>span{background:#000;color:#fff;padding:4px;border-radius:4px}.store-device-frame.is-mobile .store-gifts-cards{grid-template-columns:repeat(2,1fr)}.store-device-frame.is-mobile .store-gifts-box{padding:18px 12px}.store-device-frame.is-mobile .store-gifts-trigger{bottom:80px}

/* MSDEV Apps v8.23.1 — demonstração fiel do Brindes por Faixa */
.store-gifts-trigger{font-size:0!important;width:64px!important;height:64px!important}.store-gifts-trigger svg{width:30px;height:30px;fill:currentColor}.store-gifts-trigger.is-pulsing:before{content:"";position:absolute;inset:-7px;border-radius:999px;border:2px solid #000;opacity:.42;animation:storeGiftsPulse 1.7s ease-out infinite}.store-gifts-trigger.has-badge:after{content:"";position:absolute;right:-2px;top:-2px;width:18px;height:18px;border-radius:999px;background:#22c55e;border:2px solid #fff;box-shadow:0 4px 12px rgba(0,0,0,.18)}@keyframes storeGiftsPulse{0%{transform:scale(.82);opacity:.42}70%,100%{transform:scale(1.35);opacity:0}}.store-gifts-box{border-radius:10px!important;font-family:Georgia,"Times New Roman",serif!important}.store-gifts-close{top:10px!important;right:10px!important}.store-gifts-box h3{border-bottom:2px solid #ddd;padding-bottom:12px;font-size:28px!important;color:#222}.store-gifts-box p{font-size:17px!important}.store-gifts-progress{height:12px!important;margin-left:30px!important;margin-right:30px!important}.store-gifts-progress b{width:40px!important;height:40px!important}.store-gifts-cards{display:flex!important;flex-wrap:wrap!important;justify-content:center!important}.store-gifts-cards article{width:200px!important;box-sizing:border-box!important;border-radius:5px!important}.store-gifts-cards article:nth-child(n+2){filter:grayscale(1);opacity:.56}.store-gifts-cards article>i{height:150px;aspect-ratio:auto!important}.store-device-frame.is-mobile .store-gifts-trigger{width:58px!important;height:58px!important}.store-device-frame.is-mobile .store-gifts-cards article{width:calc(50% - 8px)!important}.store-device-frame.is-mobile .store-gifts-progress{margin-left:15px!important;margin-right:15px!important}.store-device-frame.is-mobile .store-gifts-progress b{width:32px!important;height:32px!important}

/* ==========================================================
   MSDEV Apps v8.23.3 — Demonstração fiel Brindes por Faixa
   ========================================================== */
.store-gifts-home{position:relative;min-height:520px;background:#fff;color:#222;overflow:hidden;border-radius:14px}
.store-gifts-home-top{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid #ececec;background:#fff;font-family:Arial,sans-serif}
.store-gifts-home-top strong{letter-spacing:.16em;font-family:Georgia,"Times New Roman",serif}.store-gifts-home-top span{font-size:13px;color:#555}.store-gifts-home-top i{font-style:normal}
.store-gifts-home-hero{height:245px;margin:18px;border-radius:14px;padding:34px;display:flex;align-items:center;background:linear-gradient(90deg,rgba(239,226,214,.92),rgba(196,170,148,.28)),url('https://images.unsplash.com/photo-1515562141207-7a88fb7ce338?auto=format&fit=crop&w=1400&q=70') center/cover no-repeat}
.store-gifts-home-hero small{font-size:12px;color:#735a45}.store-gifts-home-hero h3{font-family:Georgia,"Times New Roman",serif;font-size:38px;line-height:1.02;margin:8px 0;color:#4d3525}.store-gifts-home-hero p{font-size:13px;color:#5f6368}.store-gifts-home-hero button{border:0;border-radius:3px;background:#171717;color:#fff;padding:11px 16px;font-weight:800}
.store-gifts-home-products{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:0 18px 22px}.store-gifts-home-products i{height:105px;border-radius:12px;background:linear-gradient(135deg,#f2f2f2,#d8d8d8)}
.store-gifts-home .store-gifts-trigger{position:absolute!important;left:18px!important;bottom:18px!important;width:58px!important;height:58px!important;background:#000!important;color:#fff!important;border-radius:50%!important;border:0!important;display:grid!important;place-items:center!important;z-index:12!important;box-shadow:0 8px 22px rgba(0,0,0,.32)!important}
.store-gifts-home .store-gifts-trigger svg{width:28px;height:28px;fill:currentColor}.store-gifts-home .store-gifts-trigger.has-badge:after{content:"1";display:grid;place-items:center;color:#fff;font:800 10px/1 Arial;background:#22c55e}
.store-gifts-home .store-gifts-modal{position:absolute!important;inset:0!important;z-index:30!important;background:rgba(0,0,0,.58)!important;padding:24px!important;align-items:center!important;justify-content:center!important}
.store-gifts-home .store-gifts-box{width:min(800px,94%)!important;max-height:92%!important;overflow:auto!important;background:#fff!important;color:#222!important;border-radius:10px!important;padding:30px!important;box-shadow:0 18px 55px rgba(0,0,0,.3)!important;font-family:Georgia,"Times New Roman",serif!important}
.store-gifts-home .store-gifts-box h3{font-size:27px!important;border-bottom:2px solid #ddd!important;margin:0 0 18px!important;padding-bottom:11px!important}.store-gifts-home .store-gifts-box p{font-size:17px!important;margin-bottom:28px!important;color:#555!important}
.store-gifts-home .store-gifts-close{background:#000!important;color:#fff!important;border:0!important}
.store-gifts-home .store-gifts-progress{height:12px!important;margin:28px 30px 34px!important;background:#eee!important}.store-gifts-home .store-gifts-progress i{background:#000!important}.store-gifts-home .store-gifts-progress b{width:42px!important;height:42px!important;background:#fff!important;border:2px solid #000!important;font-size:0!important}.store-gifts-home .store-gifts-progress b svg{width:25px;height:25px;fill:#000}
.store-gifts-home .store-gifts-cards{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:14px!important}.store-gifts-home .store-gifts-cards article{width:200px!important;border:1px solid #ddd!important;border-radius:5px!important;padding:10px!important;background:#fff!important}.store-gifts-home .store-gifts-cards article img{width:100%;height:150px;object-fit:cover;border-radius:5px;display:block}.store-gifts-home .store-gifts-cards article b{display:block;margin-top:9px;color:#5b5b60;font-size:15px}.store-gifts-home .store-gifts-cards article span{display:inline-block;margin-top:6px;background:#000;color:#fff;padding:3px 6px;border-radius:3px;font-size:12px}.store-gifts-home .store-gifts-cards article.is-locked{filter:grayscale(1);opacity:.56}.store-gifts-home .store-gifts-cards article.is-available{box-shadow:0 0 0 2px rgba(34,197,94,.2)}
.store-gifts-home.is-mobile{min-height:620px}.store-gifts-home.is-mobile .store-gifts-home-top{height:58px;padding:0 14px}.store-gifts-home.is-mobile .store-gifts-home-top span{display:none}.store-gifts-home.is-mobile .store-gifts-home-hero{height:190px;margin:12px;padding:22px}.store-gifts-home.is-mobile .store-gifts-home-hero h3{font-size:27px}.store-gifts-home.is-mobile .store-gifts-home-products{grid-template-columns:repeat(2,1fr);margin:0 12px 80px}.store-gifts-home.is-mobile .store-gifts-home-products i{height:120px}.store-gifts-home.is-mobile .store-gifts-trigger{bottom:18px!important;left:16px!important;width:54px!important;height:54px!important}.store-gifts-home.is-mobile .store-gifts-modal{padding:10px!important}.store-gifts-home.is-mobile .store-gifts-box{width:96%!important;padding:20px 12px!important}.store-gifts-home.is-mobile .store-gifts-box h3{font-size:21px!important}.store-gifts-home.is-mobile .store-gifts-box p{font-size:14px!important}.store-gifts-home.is-mobile .store-gifts-progress{margin-left:16px!important;margin-right:16px!important}.store-gifts-home.is-mobile .store-gifts-progress b{width:32px!important;height:32px!important}.store-gifts-home.is-mobile .store-gifts-cards article{width:calc(50% - 8px)!important}.store-gifts-home.is-mobile .store-gifts-cards article img{height:100px}

/* ==========================================================
   MSDEV Apps v8.24 — demonstrações com seletor Desktop/Mobile
   ========================================================== */
.store-demo-device-switch{margin-top:14px;min-width:0}
.store-demo-device-toolbar{margin:0 0 14px}
.store-demo-device-panes{display:block;min-width:0}
.store-demo-device-panes .store-device-preview-card{width:100%;max-width:none;margin:0;min-width:0}
.store-demo-device-panes .store-device-frame.is-desktop{width:100%;max-width:100%}
.store-demo-device-panes .store-device-frame.is-mobile{width:min(390px,100%);margin:0 auto}
.store-demo-device-panes.is-shoplook-real .store-device-frame.is-mobile{width:min(430px,100%)}
.store-demo-device-panes .store-device-label{display:none}

/* ==========================================================
   MSDEV Apps v8.45 — Meios de pagamento (Pix + Cartão em breve)
   ========================================================== */
.store-badge-soon{
    display:inline-flex;
    align-items:center;
    padding:2px 8px;
    border-radius:999px;
    font-size:9px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.04em;
    color:#92400e;
    background:#fef3c7;
    vertical-align:middle;
}
.store-plans-payment-method-block{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:10px;
    margin-top:18px;
}
.store-payment-method-options{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}
.store-payment-method-card{
    position:relative;
    display:block;
    cursor:pointer;
}
.store-payment-method-card input{
    position:absolute;
    width:1px;
    height:1px;
    margin:0;
    padding:0;
    opacity:0;
    pointer-events:none;
}
.store-payment-method-card>span{
    position:relative;
    display:grid;
    gap:7px;
    min-height:104px;
    padding:16px 18px;
    border:1px solid var(--line,#2b354a);
    border-radius:16px;
    background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.01));
    transition:border-color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease;
}
.store-payment-method-card>span:before{
    content:"";
    position:absolute;
    top:16px;
    right:16px;
    width:18px;
    height:18px;
    border:2px solid #64748b;
    border-radius:50%;
    background:transparent;
}
.store-payment-method-head{
    display:flex;
    align-items:center;
    gap:10px;
    padding-right:30px;
}
.store-payment-method-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    border-radius:10px;
    flex-shrink:0;
    color:#fff;
    box-shadow:0 6px 14px rgba(0,0,0,.22);
}
.store-payment-method-icon-pix{
    background:linear-gradient(135deg,#12c48b,#0e9e70);
}
.store-payment-method-icon-card{
    background:linear-gradient(135deg,#3b82f6,#2563eb);
}
.store-payment-method-card strong{
    font-size:15px;
}
.store-payment-method-card small{
    color:var(--muted,#94a3b8);
    line-height:1.45;
}
.store-payment-method-perk{
    justify-self:start;
    padding:3px 10px;
    border-radius:999px;
    font-size:10.5px;
    font-weight:700;
    font-style:normal;
    letter-spacing:.02em;
    color:#052e16;
    background:#86efac;
}
.store-payment-method-card.is-card .store-payment-method-perk{
    color:#eff6ff;
    background:rgba(59,130,246,.28);
}
.store-payment-method-card:hover>span{
    border-color:#3b82f6;
    transform:translateY(-2px);
    box-shadow:0 12px 26px rgba(15,23,42,.22);
}
.store-payment-method-card input:checked+span{
    border-color:#2563eb;
    background:linear-gradient(180deg,rgba(37,99,235,.16),rgba(37,99,235,.06));
    box-shadow:0 0 0 2px rgba(37,99,235,.14);
}
.store-payment-method-card input:checked+span:before{
    border-color:#2563eb;
    background:#2563eb;
    box-shadow:inset 0 0 0 4px #fff;
}
.store-payment-method-card input:focus-visible+span{
    outline:3px solid rgba(59,130,246,.35);
    outline-offset:2px;
}
.store-payment-method-card.is-disabled{
    cursor:not-allowed;
}
.store-payment-method-card.is-disabled>span{
    opacity:.55;
    filter:grayscale(.55);
}
.store-payment-method-card.is-disabled>span:before{
    border-color:#475569;
}
.store-payment-method-card.is-disabled .store-payment-method-icon{
    filter:grayscale(1);
}
.store-payment-method-ribbon{
    position:absolute;
    top:-9px;
    right:12px;
    display:inline-flex;
    align-items:center;
    gap:4px;
    padding:4px 10px;
    border-radius:999px;
    font-size:9px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.05em;
    color:#78350f;
    background:linear-gradient(135deg,#fde68a,#fbbf24);
    box-shadow:0 4px 10px rgba(251,191,36,.35);
    white-space:nowrap;
}
html[data-theme="light"] .store-payment-method-card>span,
body.theme-light .store-payment-method-card>span{
    background:#fff;
    border-color:#d7dfeb;
}
html[data-theme="light"] .store-payment-method-card input:checked+span,
body.theme-light .store-payment-method-card input:checked+span{
    background:#eff6ff;
    border-color:#2563eb;
}
html[data-theme="light"] .store-payment-method-card.is-card .store-payment-method-perk,
body.theme-light .store-payment-method-card.is-card .store-payment-method-perk{
    color:#1d4ed8;
    background:rgba(37,99,235,.12);
}
@media(max-width:640px){
    .store-payment-method-options{
        grid-template-columns:1fr;
    }
    .store-payment-method-card>span{
        min-height:auto;
    }
}

/* Tela de pagamento Pix (cliente/loja-checkout.php) — coluna única centralizada */
.pix-checkout-page{
    max-width:620px;
    margin:0 auto;
}
.pix-checkout-page .store-plans-hero{
    text-align:center;
}
.pix-checkout-page .store-plans-app-head{
    grid-template-columns:1fr;
    justify-items:center;
    text-align:center;
}
.pix-checkout-page .store-plans-back{
    justify-self:center;
    margin:0 auto;
}
.pix-checkout-page .store-plans-status{
    text-align:left;
}
.pix-checkout-stack{
    display:grid;
    gap:16px;
}
.pix-checkout-qr-card{
    display:grid;
    justify-items:center;
    gap:14px;
    padding:28px 24px;
    border:1px solid var(--line);
    border-radius:18px;
    background:var(--panel);
    text-align:center;
}
.pix-checkout-qr-card .badge{
    font-size:11px;
}
.pix-qrcode{
    display:grid;
    place-items:center;
    min-height:220px;
    min-width:220px;
    padding:10px;
    background:#fff;
    border-radius:12px;
    box-shadow:0 10px 26px rgba(0,0,0,.14);
}
.pix-copy-row{
    display:flex;
    width:100%;
    gap:8px;
}
.pix-copy-row input{
    flex:1;
    min-width:0;
    font-size:11px;
    font-family:monospace;
    text-align:center;
}
.pix-checkout-qr-card .store-purchase-help{
    max-width:440px;
    text-align:center;
}
.pix-beneficiary-card,
.pix-proof-card,
.pix-status-note{
    padding:18px 20px;
    border:1px solid var(--line);
    border-radius:14px;
    background:var(--panel);
    text-align:center;
}
.pix-beneficiary-card{
    display:grid;
    gap:2px;
    justify-items:center;
}
.pix-proof-card strong{
    display:block;
    margin-bottom:4px;
}
.pix-proof-form{
    display:grid;
    justify-items:center;
    gap:10px;
    margin-top:12px;
}
.pix-proof-form input[type="file"]{
    width:100%;
    max-width:360px;
}
.pix-status-note p{
    margin:0 0 12px;
}
@media(max-width:680px){
    .pix-checkout-page{
        max-width:100%;
    }
}

/* Cartão de crédito (Mercado Pago) — cliente/loja-checkout.php */
.mp-card-checkout-card{
    display:grid;
    justify-items:stretch;
    gap:14px;
    padding:28px 24px;
    border:1px solid var(--line);
    border-radius:18px;
    background:var(--panel);
    text-align:center;
}
.mp-card-checkout-card .badge{
    justify-self:center;
    font-size:11px;
}
#mp-card-form{
    width:100%;
    min-height:220px;
    text-align:left;
}
#mp-card-alert{
    text-align:left;
}
.mp-card-checkout-card .store-purchase-help{
    max-width:440px;
    margin:0 auto;
    text-align:center;
}
.copy-field{
    display:flex;
    gap:8px;
}
.copy-field input{
    flex:1;
    min-width:0;
    font-family:monospace;
    font-size:12px;
}

/* Painel admin/pagamentos.php */
.pix-admin-preview{
    margin-top:18px;
    padding:14px;
    border:1px dashed var(--line);
    border-radius:12px;
    background:var(--panel-2);
    display:grid;
    gap:8px;
}
.pix-admin-preview code{
    display:block;
    word-break:break-all;
    font-size:11px;
    padding:10px;
    border-radius:8px;
    background:var(--panel);
}
.payment-method-card-admin.is-locked{
    opacity:.6;
    filter:grayscale(.3);
}
@media(max-width:720px){.store-demo-device-toolbar{align-items:stretch}.store-demo-device-panes .store-device-frame.is-mobile{width:min(360px,100%)}}
/* ==========================================================
   Descobrir apps (cliente/loja.php): cards do catálogo
   Ícone e nome lado a lado, descrição em até 3 linhas e rodapé com preço e ações,
   todos com a mesma altura na linha. A cor do app (--store-accent) aparece no
   ícone, no brilho do topo e na borda ao passar o mouse.
   ========================================================== */
.ms-appgrid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
    gap:18px;
    margin-bottom:22px;
}
.ms-appcard{
    --store-accent:#2563EB;
    position:relative;
    display:flex;
    flex-direction:column;
    gap:14px;
    min-width:0;
    padding:20px;
    overflow:hidden;
    border:1px solid var(--ms-border,var(--line));
    border-radius:18px;
    background:var(--ms-surface,var(--panel));
    color:var(--ms-text,inherit);
    box-shadow:0 1px 2px rgba(15,23,42,.04),0 4px 14px -8px rgba(15,23,42,.12);
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.ms-appcard::before{
    content:"";
    position:absolute;
    inset:0 0 auto;
    height:96px;
    pointer-events:none;
    background:linear-gradient(180deg,color-mix(in srgb,var(--store-accent) 11%,transparent),transparent);
}
.ms-appcard > *{position:relative}
.ms-appcard:hover,
.ms-appcard:focus-within{
    transform:translateY(-3px);
    border-color:color-mix(in srgb,var(--store-accent) 45%,var(--ms-border,var(--line)));
    box-shadow:0 18px 36px -18px color-mix(in srgb,var(--store-accent) 55%,transparent),0 2px 6px rgba(15,23,42,.05);
}
.ms-appcard-top{
    display:flex;
    align-items:flex-start;
    gap:14px;
}
.ms-appcard-icon{
    flex:0 0 60px;
    width:60px;
    height:60px;
    display:grid;
    place-items:center;
    overflow:hidden;
    border-radius:16px;
    background:
        radial-gradient(circle at 30% 20%,rgba(255,255,255,.28),transparent 45%),
        var(--store-accent);
    box-shadow:0 10px 22px -10px color-mix(in srgb,var(--store-accent) 70%,transparent),inset 0 1px 0 rgba(255,255,255,.25);
    transition:transform .2s ease;
}
.ms-appcard:hover .ms-appcard-icon{transform:scale(1.05) rotate(-2deg)}
.ms-appcard-icon img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}
.ms-appcard-icon.is-cover{
    background:#fff;
    border:1px solid var(--ms-border,var(--line));
    box-shadow:0 8px 18px -12px rgba(15,23,42,.35);
}
.ms-appcard-icon.is-cover img{
    object-fit:contain;
    padding:6px;
}
.ms-appcard-icon span{
    color:var(--store-accent-on,#fff);
    font-size:26px;
    font-weight:800;
    line-height:1;
}
.ms-appcard-head{
    flex:1;
    min-width:0;
    padding-top:2px;
}
.ms-appcard-tags{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    min-height:22px;
    margin-bottom:6px;
}
.ms-appcard-tags:empty{display:none}
.ms-appcard-tag{
    display:inline-flex;
    align-items:center;
    gap:4px;
    padding:3px 9px;
    border-radius:999px;
    color:#1d4ed8;
    background:rgba(37,99,235,.1);
    font-size:11px;
    font-weight:700;
    letter-spacing:.02em;
    white-space:nowrap;
}
.ms-appcard-tag svg{width:12px;height:12px}
.ms-appcard-tag.is-featured{color:#92400e;background:#fef3c7}
.ms-appcard-tag.is-owned{color:#047857;background:rgba(16,185,129,.13)}
.ms-appcard h3{
    margin:0;
    font-size:16.5px;
    font-weight:700;
    line-height:1.3;
    letter-spacing:-.01em;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.ms-appcard h3 a{color:inherit;text-decoration:none}
.ms-appcard h3 a:hover{color:var(--store-accent-ink,var(--store-accent))}
.ms-appcard-category{
    display:block;
    margin-top:3px;
    color:var(--ms-muted,var(--muted));
    font-size:12.5px;
}
.ms-appcard-desc{
    margin:0;
    min-height:calc(1.55em * 3);
    color:var(--ms-muted,var(--muted));
    font-size:13.5px;
    line-height:1.55;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.ms-appcard-trial{
    display:inline-flex;
    align-items:center;
    gap:6px;
    width:max-content;
    max-width:100%;
    padding:5px 10px;
    border-radius:999px;
    color:#166534;
    background:#dcfce7;
    font-size:12px;
    font-weight:700;
}
.ms-appcard-trial svg{width:13px;height:13px}
.ms-appcard-foot{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:12px;
    margin-top:auto;
    padding-top:14px;
    border-top:1px solid var(--ms-border,var(--line));
}
.ms-appcard-price{
    display:flex;
    flex-direction:column;
    min-width:0;
}
.ms-appcard-price small{
    color:var(--ms-muted,var(--muted));
    font-size:11px;
    font-weight:600;
    letter-spacing:.04em;
    text-transform:uppercase;
}
.ms-appcard-price span{white-space:nowrap}
.ms-appcard-price strong{
    font-size:20px;
    font-weight:800;
    letter-spacing:-.02em;
}
.ms-appcard-price em{
    color:var(--ms-muted,var(--muted));
    font-size:12.5px;
    font-style:normal;
}
.ms-appcard-actions{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:6px;
    flex:0 0 auto;
}
.ms-appcard-actions .btn{min-width:112px;justify-content:center}
.ms-appcard-more{
    display:inline-flex;
    align-items:center;
    gap:2px;
    color:var(--ms-muted,var(--muted));
    font-size:12.5px;
    font-weight:600;
    text-decoration:none;
}
.ms-appcard-more svg{width:14px;height:14px;transition:transform .2s ease}
.ms-appcard-more:hover{color:var(--store-accent-ink,var(--store-accent))}
.ms-appcard-more:hover svg{transform:translateX(2px)}
.ms-appcard-state{
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:7px 11px;
    border:1px solid #fde68a;
    border-radius:10px;
    color:#854d0e;
    background:#fffbeb;
    font-size:12px;
    font-weight:700;
    white-space:nowrap;
}
.ms-appcard-state svg{width:13px;height:13px}
.ms-appcard.is-owned{border-color:color-mix(in srgb,#10b981 30%,var(--ms-border,var(--line)))}

/* Tema escuro: etiquetas com contraste sobre o fundo escuro. */
html[data-theme="dark"] .ms-appcard-tag{color:#bfdbfe;background:rgba(59,130,246,.18)}
html[data-theme="dark"] .ms-appcard-tag.is-featured{color:#fde68a;background:rgba(245,158,11,.16)}
html[data-theme="dark"] .ms-appcard-tag.is-owned{color:#6ee7b7;background:rgba(16,185,129,.16)}
html[data-theme="dark"] .ms-appcard-trial{color:#86efac;background:rgba(34,197,94,.14)}
html[data-theme="dark"] .ms-appcard-state{color:#fde68a;border-color:rgba(245,158,11,.35);background:rgba(245,158,11,.1)}
html[data-theme="dark"] .ms-appcard-icon.is-cover{background:#f4f4f5}

@media(max-width:620px){
    .ms-appcard-desc{min-height:0}
}
@media(max-width:420px){
    .ms-appgrid{grid-template-columns:minmax(0,1fr);gap:14px}
    .ms-appcard{padding:16px}
    .ms-appcard-icon{flex-basis:52px;width:52px;height:52px;border-radius:14px}
}
@media(prefers-reduced-motion:reduce){
    .ms-appcard,.ms-appcard-icon,.ms-appcard-more svg{transition:none}
    .ms-appcard:hover,.ms-appcard:focus-within{transform:none}
    .ms-appcard:hover .ms-appcard-icon{transform:none}
}
