.lm-main {
    min-height: 60vh;
    padding-bottom: 24px;
}

.lm-banner {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1);
}
.lm-banner.is-on {
    opacity: 1;
    transform: none;
}
.lm-banner[hidden], .lm-section[hidden] { display: none; }
.lm-main .lm-banner-section { padding: 24px 0 0; }

.lm-main .lm-section { padding: 28px 0 28px; }
.lm-blocos:empty { display: none; }
.lm-main .lm-blocos > .lm-section:last-child { padding-bottom: 56px; }
.lm-main .lm-estados { padding: 28px 0 56px; }
.lm-main .lm-estados[hidden] { display: none; }

.lm-no-editor [data-bloco] { scroll-margin-top: 16px; }
.lm-no-editor [data-bloco].lm-foco .section-inner { animation: lm-foco 1.6s cubic-bezier(.22, 1, .36, 1); }
@keyframes lm-foco {
    0%   { box-shadow: 0 0 0 0 rgba(224, 31, 31, 0); border-radius: 18px; }
    25%  { box-shadow: 0 0 0 3px rgba(224, 31, 31, .45); border-radius: 18px; }
    100% { box-shadow: 0 0 0 0 rgba(224, 31, 31, 0); border-radius: 18px; }
}

.lm-count {
    flex-shrink: 0;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 14px;
    font-weight: 600;
    color: #666;
    white-space: nowrap;
}
.lm-count strong {
    font-size: 16px;
    font-weight: 800;
    color: #1a1a1a;
}
.lm-count[hidden] { display: none; }

.lm-grid .hs-limited-card {
    animation: lm-card-in .9s cubic-bezier(.16, 1, .3, 1) backwards;
    animation-delay: var(--enter-delay, 0ms);
}
@keyframes lm-card-in {
    0%   { opacity: 0; transform: translateY(14px) scale(.985); }
    100% { opacity: 1; transform: none; }
}

.lm-estado {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 56px 20px;
    border: 1px dashed var(--border);
    border-radius: 18px;
    animation: lm-card-in .8s cubic-bezier(.16, 1, .3, 1) backwards;
}
.lm-estado[hidden] { display: none; }
.lm-estado-icone {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #fff5f5;
    color: #e01f1f;
    margin-bottom: 4px;
}
.lm-estado-icone svg { width: 28px; height: 28px; }
.lm-estado-titulo {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -.2px;
}
.lm-estado-sub {
    max-width: 420px;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}
.lm-estado-cta {
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    padding: 11px 20px;
    border: 0;
    border-radius: 12px;
    background: #e01f1f;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background .35s cubic-bezier(.16, 1, .3, 1), transform .35s cubic-bezier(.16, 1, .3, 1);
}
.lm-estado-cta:hover { background: #c81a1a; transform: translateY(-1px); }

[data-theme="dark"] .lm-count { color: var(--text-3); border-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] .lm-count strong { color: var(--text); }
[data-theme="dark"] .lm-estado { border-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] .lm-estado-icone { background: rgba(224, 31, 31, .12); color: #e54848; }
[data-theme="dark"] .lm-estado-titulo { color: var(--text); }
[data-theme="dark"] .lm-estado-sub { color: var(--text-3); }

@media (max-width: 720px) {
    .lm-main .lm-banner-section { padding: 16px 0 0; }
    .lm-main .lm-section { padding: 20px 0 20px; }
    .lm-main .lm-blocos > .lm-section:last-child { padding-bottom: 40px; }
    .lm-main .lm-estados { padding: 20px 0 40px; }
    .lm-main .section-inner { padding: 0 16px; }
    .lm-count { align-self: flex-start; padding: 8px 13px; font-size: 13px; }
    .lm-count strong { font-size: 15px; }
    .lm-estado { padding: 40px 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .lm-banner { transition: opacity .2s linear; transform: none; }
    .lm-grid .hs-limited-card, .lm-estado { animation: none; }
}


.lm-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 64px 0 40px;
    background: #0c0c0f;
    color: #fff;
}
.lm-esteira {
    position: absolute;
    inset: -18% -6% -18% 30%;
    z-index: -2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    transform: rotate(-7deg);
    opacity: 0;
    transition: opacity 1.4s cubic-bezier(.16, 1, .3, 1);
}
.lm-esteira.is-on { opacity: 1; }
.lm-esteira-fileira {
    display: flex;
    gap: 18px;
    width: max-content;
    animation: lm-esteira-anda var(--lm-dur, 60s) linear infinite;
    will-change: transform;
}
.lm-esteira-fileira.is-volta { animation-direction: reverse; }
.lm-hero.is-fora .lm-esteira-fileira { animation-play-state: paused; }
@keyframes lm-esteira-anda {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}
.lm-esteira-item {
    position: relative;
    flex-shrink: 0;
    width: 132px;
    height: 132px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 45%, rgba(var(--lm-cor, 255, 255, 255), .22), rgba(var(--lm-cor, 255, 255, 255), .04) 62%, transparent 80%),
        rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .07);
    display: flex;
    align-items: center;
    justify-content: center;
}
.lm-esteira-item img {
    width: 82%;
    height: 82%;
    object-fit: contain;
    filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .5));
    opacity: 0;
    transition: opacity .9s cubic-bezier(.16, 1, .3, 1);
}
.lm-esteira-item img.is-pronta { opacity: 1; }
.lm-hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(12, 12, 15, .98) 0%, rgba(12, 12, 15, .93) 36%, rgba(12, 12, 15, .55) 64%, rgba(12, 12, 15, .25) 100%),
        linear-gradient(180deg, rgba(12, 12, 15, .5) 0%, rgba(12, 12, 15, .08) 40%, rgba(12, 12, 15, .85) 100%);
}
.lm-hero-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 32px;
}
.lm-hero .lm-console { border-bottom: 0; padding-bottom: 0; max-width: 620px; }
.lm-hero .gp-eyebrow { color: #ff6b6b; }
.lm-hero .gp-count-num { color: #fff; }
.lm-hero .gp-count-label { color: rgba(255, 255, 255, .6); }
.lm-hero .gp-title { color: #fff; }
.lm-hero .gp-title span { background: linear-gradient(98deg, #ff5b5b, #ff8f8f); -webkit-background-clip: text; background-clip: text; }
.lm-hero .gp-sub { color: rgba(255, 255, 255, .72); }
.lm-hero .gp-search {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(24, 24, 28, .82);
    color: #f4f4f5;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.lm-hero .gp-search::placeholder { color: rgba(255, 255, 255, .45); }
.lm-hero .gp-search:focus { border-color: #ff6b6b; background: rgba(30, 30, 34, .92); box-shadow: 0 0 0 4px rgba(255, 107, 107, .16); }
.lm-hero .gp-search-icon, .lm-hero .gp-search-clear { color: rgba(255, 255, 255, .6); z-index: 1; }
.lm-hero .gp-search-wrap:focus-within .gp-search-icon { color: #ff6b6b; }

@media (max-width: 760px) {
    .lm-hero { padding: 40px 0 28px; }
    .lm-esteira { inset: -30% -40% -30% -10%; opacity: 0; gap: 12px; }
    .lm-esteira.is-on { opacity: .55; }
    .lm-esteira-fileira { gap: 12px; }
    .lm-esteira-item { width: 92px; height: 92px; border-radius: 18px; }
    .lm-hero-shade { background: linear-gradient(180deg, rgba(12, 12, 15, .7) 0%, rgba(12, 12, 15, .82) 55%, rgba(12, 12, 15, .96) 100%); }
    .lm-hero-inner { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .lm-esteira-fileira { animation: none; }
}

.lm-estado-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lm-estado-cta.is-ghost { background: transparent; color: var(--muted, #666); box-shadow: inset 0 0 0 1px var(--border); }
.lm-estado-cta.is-ghost:hover { background: rgba(127, 127, 140, .1); }

.lm-hero-pedir {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: 0;
    background: none;
    color: rgba(255, 255, 255, .78);
    font: inherit;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: color .3s ease;
}
.lm-hero-pedir svg { width: 16px; height: 16px; }
.lm-hero-pedir:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.lm-pedir { padding: 8px 0 64px; scroll-margin-top: 20px; }
.lm-no-editor .lm-pedir { display: none; }
.lm-pedir-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 32px;
}
.lm-pedir-inner > * { max-width: none; }
.lm-pedir-head { display: flex; align-items: flex-start; gap: 14px; }
.lm-pedir-ico {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #fff5f5;
    color: #e01f1f;
}
.lm-pedir-ico svg { width: 23px; height: 23px; }
.lm-pedir-titulo { font-size: 20px; font-weight: 800; letter-spacing: -.2px; color: #1a1a1a; }
.lm-pedir-sub { margin-top: 4px; max-width: 60ch; font-size: 14px; line-height: 1.5; color: #666; }
.lm-pedir-busca {
    position: relative;
    margin-top: 18px;
    display: flex;
    gap: 8px;
}
.lm-pedir-lupa { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); display: inline-flex; color: var(--muted, #888); pointer-events: none; }
.lm-pedir-lupa svg { width: 19px; height: 19px; }
.lm-pedir-busca input {
    flex: 1;
    min-width: 0;
    height: 52px;
    padding: 0 16px 0 46px;
    border-radius: 14px;
    border: 1.5px solid var(--border);
    background: #f6f6f7;
    color: #161616;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    outline: none;
    transition: border-color .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s cubic-bezier(.16, 1, .3, 1), background .4s cubic-bezier(.16, 1, .3, 1);
}
.lm-pedir-busca input:focus { border-color: #e01f1f; background: #fff; box-shadow: 0 0 0 4px rgba(224, 31, 31, .12); }
.lm-pedir-busca button {
    flex-shrink: 0;
    padding: 0 22px;
    border: 0;
    border-radius: 14px;
    background: #e01f1f;
    color: #fff;
    font: inherit;
    font-size: 14.5px;
    font-weight: 800;
    cursor: pointer;
    transition: background .4s cubic-bezier(.16, 1, .3, 1), opacity .4s cubic-bezier(.16, 1, .3, 1);
}
.lm-pedir-busca button:hover { background: #c81a1a; }
.lm-pedir-busca button:disabled { opacity: .7; cursor: progress; }
.lm-pedir.is-foco .lm-pedir-busca input { animation: lm-pedir-pisca 1.6s cubic-bezier(.22, 1, .36, 1); }
@keyframes lm-pedir-pisca {
    0%, 100% { box-shadow: 0 0 0 0 rgba(224, 31, 31, 0); }
    30% { box-shadow: 0 0 0 5px rgba(224, 31, 31, .28); }
}
.lm-pedir-status { margin-top: 12px; font-size: 13.5px; color: var(--muted, #666); }
.lm-pedir-status[hidden] { display: none; }
.lm-pedir-status.is-erro { color: #e01f1f; }
.lm-pedir-grid { margin-top: 18px; }
.lm-pedir-grid:empty { display: none; }
.lm-pedir-skel { aspect-ratio: 3 / 4; border-radius: 16px; }
.lm-pedir-card .hs-limited-body { gap: 6px; }
.lm-pedir-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(22, 163, 74, .92);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
}
.lm-pedir-ver {
    flex-shrink: 0;
    height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #e01f1f;
    box-shadow: inset 0 0 0 1.5px currentColor;
    font: inherit;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    transition: background .4s cubic-bezier(.16, 1, .3, 1);
}
.lm-pedir-ver:hover { background: rgba(224, 31, 31, .08); }
.lm-pedir-card .hs-limited-add.is-loading { pointer-events: none; }
.lm-pedir-card .hs-limited-add.is-loading svg { opacity: 0; }
.lm-pedir-card .hs-limited-add.is-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    animation: lm-pedir-gira .7s linear infinite;
}
.lm-pedir-card .hs-limited-add { position: relative; }
.lm-pedir-card .hs-limited-add.is-ok { background: #16a34a; }
@keyframes lm-pedir-gira { to { transform: rotate(360deg); } }
.lm-pedir-saldo { font-size: 11px; font-weight: 700; color: #b45309; }
.lm-pedir.is-buscando .lm-pedir-lupa { animation: lm-pedir-pulsa 1s ease-in-out infinite; color: #e01f1f; }
@keyframes lm-pedir-pulsa { 50% { opacity: .35; } }
.lm-pedir-busca input { padding-right: 16px; }

[data-theme="dark"] .lm-pedir-ico { background: rgba(224, 31, 31, .12); color: #e54848; }
[data-theme="dark"] .lm-pedir-titulo { color: var(--text, #f4f4f5); }
[data-theme="dark"] .lm-pedir-sub { color: var(--text-3, #9a9aa2); }
[data-theme="dark"] .lm-pedir-busca input { border-color: #272727; background: #1f1f1f; color: #f4f4f5; }
[data-theme="dark"] .lm-pedir-busca input:focus { border-color: #ff6b6b; background: #262626; box-shadow: 0 0 0 4px rgba(255, 107, 107, .14); }
[data-theme="dark"] .lm-pedir-ver { color: #ff6b6b; }
[data-theme="dark"] .lm-pedir-saldo { color: #fbbf24; }
[data-theme="dark"] .lm-pedir-status.is-erro { color: #ff6b6b; }

@media (max-width: 640px) {
    .lm-pedir-inner { padding: 0 16px; }
    .lm-pedir-busca button { padding: 0 16px; }
}
.lm-pedir-card .ca-glow { transition: opacity .9s cubic-bezier(.16, 1, .3, 1); }
.lm-pedir-card:not(.tem-luz) .ca-glow { opacity: 0; }
.lm-pedir-ico.tem-foto {
    width: 64px;
    height: 64px;
    overflow: visible;
    border-radius: 18px;
    background:
        radial-gradient(circle at 50% 50%, rgba(var(--lm-cor, 224, 31, 31), .45), rgba(var(--lm-cor, 224, 31, 31), .08) 62%, transparent 78%),
        #fff5f5;
    border: 1px solid rgba(var(--lm-cor, 224, 31, 31), .25);
    animation: lm-ico-entra .8s cubic-bezier(.16, 1, .3, 1);
}
.lm-pedir-ico.tem-foto img {
    width: 118%;
    height: 118%;
    object-fit: contain;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35));
    animation: lm-ico-flutua 4.5s ease-in-out infinite;
}
[data-theme="dark"] .lm-pedir-ico.tem-foto {
    background:
        radial-gradient(circle at 50% 50%, rgba(var(--lm-cor, 255, 94, 58), .4), rgba(var(--lm-cor, 255, 94, 58), .06) 62%, transparent 78%),
        #151518;
}
@keyframes lm-ico-entra { from { opacity: 0; transform: scale(.85); } }
@keyframes lm-ico-flutua { 50% { transform: translateY(-3px) rotate(-3deg); } }
@media (prefers-reduced-motion: reduce) {
    .lm-pedir-ico.tem-foto img { animation: none; }
}

.lm-pedir-status.is-info {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, .3);
    background: rgba(59, 130, 246, .07);
    color: var(--text, #1a1a1a);
    line-height: 1.5;
    animation: lm-pedir-aviso .5s cubic-bezier(.16, 1, .3, 1);
}
@keyframes lm-pedir-aviso { from { opacity: 0; transform: translateY(-4px); } }
.lm-pedir-analise {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    background: rgba(245, 158, 11, .12);
    color: #b45309;
    font-size: 12.5px;
    font-weight: 800;
    white-space: nowrap;
}
.lm-pedir-estimado { display: block; font-size: 10.5px; font-weight: 700; color: var(--muted, #888); }
[data-theme="dark"] .lm-pedir-status.is-info { background: rgba(96, 165, 250, .08); border-color: rgba(96, 165, 250, .3); color: var(--text, #f4f4f5); }
[data-theme="dark"] .lm-pedir-analise { background: rgba(251, 191, 36, .12); color: #fbbf24; }
[data-theme="dark"] .lm-pedir-estimado { color: #8a8a92; }
@media (prefers-reduced-motion: reduce) {
    .lm-pedir-status.is-info { animation: none; }
}
.lm-pedir-card .hs-limited-precos { flex-direction: column; align-items: flex-start; gap: 2px; overflow: hidden; }
.lm-pedir-card .hs-limited-precos .hs-limited-preco { line-height: 1.1; }
.lm-pedir-card .lm-pedir-estimado { line-height: 1.2; }
.lm-pedir-card .hs-limited-foot > .lm-pedir-ver,
.lm-pedir-card .hs-limited-foot > .lm-pedir-analise,
.lm-pedir-card .hs-limited-foot > .hs-limited-add { flex-shrink: 0; }
