:root {
    --lm-bg: #0e1014;
    --lm-surface: #161a21;
    --lm-surface-2: #202631;
    --lm-border: rgba(255, 255, 255, .1);
    --lm-text: #f7f7f8;
    --lm-muted: rgba(247, 247, 248, .68);
    --lm-primary: #e3346f;
    --lm-accent: #f6bf45;
}

html,
body {
    background: var(--lm-bg);
    color: var(--lm-text);
}

#blazor-error-ui {
    display: none;
}

a {
    color: inherit;
    text-decoration: none;
}

.lm-shell {
    min-height: 100vh;
    background: var(--lm-bg);
    padding-bottom: 78px;
}

.lm-appbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px clamp(16px, 4vw, 32px);
    border-bottom: 1px solid var(--lm-border);
    background: rgba(14, 16, 20, .92);
    backdrop-filter: blur(14px);
}

.lm-brand,
.lm-login-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
}

.lm-brand img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.lm-login-link {
    color: var(--lm-muted);
    font-size: .9rem;
}

.lm-spa-main {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 16px clamp(14px, 3vw, 28px) 120px;
}

.lm-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--lm-border);
    background: rgba(18, 20, 26, .96);
    backdrop-filter: blur(14px);
}

.lm-bottom-nav__item {
    min-height: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--lm-muted);
    font-size: .76rem;
}

.lm-bottom-nav__item.active {
    color: var(--lm-accent);
}

.lm-bottom-nav__item i {
    font-size: 1.15rem;
}

.lm-search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0 18px;
    padding: 11px 14px;
    border: 1px solid var(--lm-border);
    border-radius: 999px;
    background: var(--lm-surface);
}

.lm-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--lm-text);
    background: transparent;
}

.lm-search input::placeholder {
    color: var(--lm-muted);
}

.lm-page-title {
    margin: 8px 0 16px;
}

.lm-page-title h1,
.lm-section-head h2 {
    margin: 0;
    font-weight: 850;
    letter-spacing: 0;
}

.lm-page-title h1 {
    font-size: clamp(1.55rem, 6vw, 2.5rem);
}

.lm-page-title p {
    margin: 6px 0 0;
    color: var(--lm-muted);
}

.lm-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 20px 0 10px;
}

.lm-section-head h2 {
    font-size: 1.1rem;
}

.lm-section-head a {
    color: var(--lm-accent);
    font-size: .9rem;
    font-weight: 700;
}

.lm-hero-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 72%);
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
}

.lm-hero-card {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    border: 1px solid var(--lm-border);
    border-radius: 8px;
    background: var(--lm-surface);
    scroll-snap-align: start;
    cursor: pointer;
}

.lm-hero-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.92) brightness(.9);
}

.lm-hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, .04) 0%,
        rgba(14, 16, 20, 0) 25%,
        rgba(14, 16, 20, .35) 55%,
        rgba(14, 16, 20, .8) 85%,
        rgba(14, 16, 20, .95) 100%
    );
}

.lm-hero-card div {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1;
}

.lm-hero-card span {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--lm-accent);
    color: #16110a;
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.lm-hero-card h1 {
    margin: 0;
    font-size: clamp(1.35rem, 6vw, 2.1rem);
    font-weight: 900;
}

.lm-hero-card p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, .78);
}

.lm-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
}

.lm-list {
    display: grid;
    gap: 12px;
}

.lm-product-card,
.lm-product-row,
.lm-plan-card {
    overflow: hidden;
    border: 1px solid var(--lm-border);
    border-radius: 8px;
    background: var(--lm-surface);
}

.lm-product-card,
.lm-product-row {
    cursor: pointer;
}

.lm-product-row {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
}

.lm-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--lm-surface-2);
    overflow: hidden;
}

.lm-product-row .lm-card-media {
    aspect-ratio: auto;
    min-height: 132px;
}

.lm-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.92) brightness(.94);
    transition: transform .4s ease, filter .25s ease;
}

.lm-product-card:hover .lm-card-media img,
.lm-product-row:hover .lm-card-media img {
    transform: scale(1.03);
    filter: saturate(1) brightness(1);
}

/* Overlay degrade: claro no topo, escuro no rodapé — padroniza imagens com brilhos diferentes */
.lm-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, .04) 0%,
        rgba(14, 16, 20, 0) 30%,
        rgba(14, 16, 20, .18) 60%,
        rgba(14, 16, 20, .55) 88%,
        rgba(14, 16, 20, .82) 100%
    );
    z-index: 1;
}

/* O badge e o botão de favorito ficam acima do overlay */
.lm-card-badge,
.lm-fav-button {
    z-index: 2;
}

.lm-card-badge {
    position: absolute;
    left: 8px;
    top: 8px;
    padding: 3px 7px;
    border-radius: 999px;
    background: var(--lm-accent);
    color: #16110a;
    font-size: .68rem;
    font-weight: 900;
}

.lm-fav-button {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    color: var(--lm-accent);
    background: rgba(18, 20, 26, .72);
    backdrop-filter: blur(10px);
}

.lm-card-body {
    display: grid;
    gap: 9px;
    padding: 12px;
    min-width: 0;
}

.lm-card-body h3 {
    margin: 0;
    color: var(--lm-text);
    font-size: .96rem;
    font-weight: 850;
    line-height: 1.16;
    overflow-wrap: anywhere;
}

.lm-card-body p {
    margin: 0;
    color: var(--lm-muted);
    font-size: .8rem;
    line-height: 1.32;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lm-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 8px;
    color: var(--lm-muted);
    font-size: .78rem;
}

.lm-card-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 6px 8px;
}

.lm-card-count {
    grid-column: 2;
    color: var(--lm-muted);
    font-size: .7rem;
    white-space: nowrap;
}

.lm-price-stack {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.lm-price-old {
    color: var(--lm-muted);
    font-size: .74rem;
    text-decoration: line-through;
}

.lm-price-stack strong {
    color: var(--lm-accent);
    font-size: .92rem;
    line-height: 1.12;
}

.lm-card-action.btn {
    min-width: 78px;
    max-width: 118px;
    padding: 7px 16px;
    font-size: .82rem;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
}

.lm-product-row .lm-card-body {
    gap: 7px;
    padding: 10px 12px;
}

.lm-product-row .lm-card-footer {
    grid-template-columns: minmax(58px, 1fr) auto auto;
    align-items: center;
}

.lm-product-row .lm-card-action.btn {
    min-width: 82px;
    padding-inline: 14px;
}

.lm-product-row .lm-card-count {
    grid-column: auto;
}

.btn-primary {
    --bs-btn-bg: var(--lm-primary);
    --bs-btn-border-color: var(--lm-primary);
    --bs-btn-hover-bg: #c8275c;
    --bs-btn-hover-border-color: #c8275c;
}

.lm-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.lm-plan-card {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.lm-plan-card span {
    color: var(--lm-accent);
    font-size: .78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.lm-plan-card h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 900;
}

.lm-plan-card strong {
    font-size: 1.55rem;
}

.lm-plan-card p {
    color: var(--lm-muted);
}

.lm-detail {
    overflow: hidden;
    border: 1px solid var(--lm-border);
    border-radius: 8px;
    background: var(--lm-surface);
}

.lm-detail-image {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    background: var(--lm-surface-2);
}

.lm-detail-body {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.lm-detail-body h1 {
    margin: 0;
    font-size: clamp(1.6rem, 6vw, 2.8rem);
    font-weight: 900;
}

.lm-detail-body p {
    color: var(--lm-muted);
    line-height: 1.55;
}

.lm-back {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    color: var(--lm-muted);
    background: transparent;
}

.lm-detail-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid var(--lm-border);
}

.lm-detail-cta strong {
    color: var(--lm-accent);
    font-size: 1.35rem;
}

.lm-state {
    display: grid;
    place-items: center;
    gap: 10px;
    min-height: 260px;
    padding: 24px;
    text-align: center;
    color: var(--lm-muted);
}

.lm-state__title {
    margin: 0;
    color: var(--lm-text);
    font-size: 1.25rem;
}

.lm-state__text {
    margin: 0;
}

.lm-state__icon {
    color: var(--lm-accent);
    font-size: 2rem;
}

.lm-home-skeleton {
    display: grid;
    gap: 16px;
}

.lm-skeleton {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(100deg, rgba(255, 255, 255, .06) 8%, rgba(255, 255, 255, .13) 18%, rgba(255, 255, 255, .06) 33%);
    background-size: 220% 100%;
    animation: lm-skeleton-shimmer 1.25s ease-in-out infinite;
}

.lm-skeleton-hero {
    min-height: 240px;
    border: 1px solid var(--lm-border);
}

.lm-skeleton-row {
    display: flex;
    gap: 8px;
    overflow: hidden;
}

.lm-skeleton-pill {
    width: 96px;
    height: 34px;
    border-radius: 999px;
}

.lm-skeleton-list {
    display: grid;
    gap: 14px;
}

.lm-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
}

.lm-skeleton-card {
    overflow: hidden;
    border: 1px solid var(--lm-border);
    border-radius: 8px;
    background: var(--lm-surface);
}

.lm-skeleton-row-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
}

.lm-skeleton-thumb,
.lm-skeleton-image {
    width: 100%;
    background-color: var(--lm-surface-2);
}

.lm-skeleton-thumb {
    min-height: 132px;
    border-radius: 0;
}

.lm-skeleton-image {
    aspect-ratio: 4 / 3;
    border-radius: 0;
}

.lm-skeleton-card-lines {
    display: grid;
    align-content: start;
    gap: 9px;
    padding: 12px;
}

.lm-skeleton-line {
    height: 12px;
    width: 100%;
    border-radius: 999px;
}

.lm-skeleton-line.is-title {
    height: 16px;
    width: 82%;
}

.lm-skeleton-line.is-short {
    width: 56%;
}

@keyframes lm-skeleton-shimmer {
    to {
        background-position-x: -220%;
    }
}

.lm-section-copy {
    margin-top: -4px;
    color: var(--lm-muted);
}

.lm-chip-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 10px calc(-1 * clamp(14px, 3vw, 28px)) 16px;
    padding: 0 clamp(14px, 3vw, 28px) 2px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: clamp(14px, 3vw, 28px);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.lm-chip-row::-webkit-scrollbar {
    display: none;
}

.lm-filter-chip {
    flex: 0 0 auto;
    border: 1px solid var(--lm-accent);
    border-radius: 999px;
    padding: 7px 13px;
    color: var(--lm-accent);
    background: transparent;
    font-size: .86rem;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
}

.lm-filter-chip.is-active {
    color: #16110a;
    background: var(--lm-accent);
}

.lm-howto {
    margin: 18px 0 8px;
    padding: 16px;
    border: 1px solid var(--lm-border);
    border-radius: 8px;
    background: var(--lm-surface);
}

.lm-howto h2 {
    margin: 0 0 12px;
    font-size: 1rem;
}

.lm-howto > div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.lm-howto span {
    display: grid;
    justify-items: center;
    gap: 8px;
    text-align: center;
    color: var(--lm-muted);
}

.lm-howto i {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--lm-accent);
    background: var(--lm-surface-2);
}

.lm-member-cta {
    margin: 20px 0 10px;
    padding: 18px;
    border: 1px solid rgba(246, 191, 69, .55);
    border-radius: 8px;
    background: rgba(246, 191, 69, .06);
}

.lm-member-cta h2 {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.lm-member-cta h2 i {
    color: var(--lm-accent);
}

.lm-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.lm-category-card {
    position: relative;
    min-height: 130px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--lm-surface);
}

.lm-category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.56);
    transition: transform .18s ease;
}

.lm-category-card:hover img {
    transform: scale(1.03);
}

.lm-category-card strong {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    color: #fff;
    font-size: 1rem;
    line-height: 1.15;
}

.lm-auth-card {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    margin: 20px auto;
    max-width: 980px;
    padding: clamp(22px, 4vw, 48px);
    background: #1b1b1c;
}

.lm-auth-card__icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #c61818, #b46600);
    font-size: 2rem;
}

.lm-auth-card h1 {
    margin: 0 0 14px;
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 900;
}

.lm-auth-card h2 {
    margin: 18px 0 8px;
    font-size: 1.05rem;
}

.lm-auth-card ul {
    display: grid;
    gap: 8px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.lm-auth-card li::before {
    content: "✓";
    margin-right: 8px;
    color: var(--lm-accent);
    font-weight: 900;
}

.lm-auth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.lm-footer {
    display: grid;
    gap: 6px;
    justify-items: center;
    margin: 34px auto 0;
    color: rgba(247, 247, 248, .46);
    text-align: center;
    font-size: .78rem;
    line-height: 1.45;
    opacity: .78;
}

.lm-footer strong {
    color: rgba(247, 247, 248, .72);
    font-size: .86rem;
    font-weight: 750;
}

.lm-footer p {
    margin: 0;
}

.lm-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
}

.lm-footer a {
    color: rgba(246, 191, 69, .72);
    font-weight: 700;
}

.lm-footer__company {
    max-width: 620px;
    color: rgba(247, 247, 248, .42);
}

.lm-footer__company span,
.lm-footer__company a {
    margin-left: 10px;
}

.lm-spinner {
    width: 34px;
    height: 34px;
    border: 3px solid rgba(255, 255, 255, .16);
    border-top-color: var(--lm-accent);
    border-radius: 50%;
    animation: lm-spin .8s linear infinite;
}

@keyframes lm-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (min-width: 760px) {
    .lm-bottom-nav {
        left: 50%;
        right: auto;
        bottom: 18px;
        width: min(520px, calc(100% - 32px));
        transform: translateX(-50%);
        border: 1px solid var(--lm-border);
        border-radius: 999px;
        overflow: hidden;
    }

    .lm-mini-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lm-hero-rail {
        grid-auto-columns: minmax(420px, 48%);
    }

    .lm-product-row {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .lm-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .lm-auth-card {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .lm-auth-card__icon {
        width: 64px;
        height: 64px;
    }
}

/* ── Cart badge & appbar actions ── */
.lm-appbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lm-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--lm-muted);
    font-size: 1.3rem;
}

.lm-cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--lm-primary);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.lm-username {
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Voucher type modal ── */
.voucher-type-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: rgba(0,0,0,.65);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 80px;
}

.voucher-type-dialog {
    width: min(480px, 100%);
    padding: 24px;
    border-radius: 16px 16px 0 0;
    background: var(--lm-surface-2);
    border: 1px solid var(--lm-border);
}

/* ── Checkout page ── */
.lm-checkout {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lm-checkout__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.lm-checkout-selbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--lm-surface);
    font-size: .85rem;
    gap: 8px;
}

.lm-checkout-selbar__count {
    color: var(--lm-muted);
}

.lm-checkout-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lm-checkout-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: var(--lm-surface);
    border: 1px solid var(--lm-border);
    transition: border-color .15s;
}

.lm-checkout-item--selected {
    border-color: var(--lm-primary);
}

.lm-checkout-item__check {
    flex-shrink: 0;
}

.lm-checkout-item__thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.lm-checkout-item__info {
    flex: 1;
    min-width: 0;
}

.lm-checkout-item__title {
    font-weight: 600;
    font-size: .9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lm-checkout-item__tipo {
    font-size: .78rem;
    color: var(--lm-accent);
    margin-top: 2px;
}

.lm-checkout-item__price {
    font-size: .85rem;
    color: var(--lm-muted);
    margin-top: 2px;
}

.lm-checkout-item__remove {
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--lm-muted);
    padding: 6px;
    cursor: pointer;
    opacity: .6;
}

.lm-checkout-item__remove:hover {
    opacity: 1;
    color: var(--lm-primary);
}

.lm-checkout-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 4px;
}

.lm-checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--lm-surface);
    font-size: .95rem;
}

.lm-checkout-total strong {
    font-size: 1.15rem;
    color: var(--lm-accent);
}

/* ── Checkout success ── */
.lm-checkout-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 48px 24px;
    text-align: center;
}

.lm-checkout-success__icon {
    font-size: 3rem;
}

/* ── Meu Perfil ── */
.lm-profile {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
}

.lm-profile-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    background: var(--lm-surface);
    border: 1px solid var(--lm-border);
}

.lm-profile-avatar {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--lm-surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--lm-muted);
}

.lm-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lm-profile-hero__name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 2px;
}

.lm-profile-hero__email {
    font-size: .82rem;
    color: var(--lm-muted);
    margin: 0 0 8px;
}

.lm-profile-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
    background: rgba(227, 52, 111, .18);
    color: var(--lm-primary);
}

.lm-profile-badge--muted {
    background: rgba(255,255,255,.07);
    color: var(--lm-muted);
}

.lm-profile-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lm-profile-section__title {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--lm-muted);
    margin: 0;
}

.lm-profile-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.lm-profile-field label {
    font-size: .82rem;
    color: var(--lm-muted);
}

.lm-input {
    background: var(--lm-surface) !important;
    border: 1px solid var(--lm-border) !important;
    color: var(--lm-text) !important;
    border-radius: 10px !important;
}

.lm-input:focus {
    border-color: var(--lm-primary) !important;
    box-shadow: 0 0 0 3px rgba(227,52,111,.2) !important;
}

.lm-profile-card {
    padding: 16px;
    border-radius: 12px;
    background: var(--lm-surface);
    border: 1px solid var(--lm-border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lm-profile-card__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .88rem;
}

.lm-profile-card__row span {
    color: var(--lm-muted);
}

.lm-profile-actions {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--lm-surface);
    border: 1px solid var(--lm-border);
}

.lm-profile-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    font-size: .9rem;
    color: var(--lm-text);
    background: none;
    border: none;
    border-bottom: 1px solid var(--lm-border);
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background .12s;
}

.lm-profile-action:last-child {
    border-bottom: none;
}

.lm-profile-action:hover {
    background: var(--lm-surface-2);
}

.lm-profile-action i:first-child {
    width: 20px;
    text-align: center;
    color: var(--lm-muted);
}

.lm-profile-action--danger {
    color: #ff6b6b;
}

.lm-profile-action--danger i:first-child {
    color: #ff6b6b;
}

/* ── Plans grid (gerenciar assinatura) ── */
.lm-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.lm-plan-card {
    display: flex;
    flex-direction: column;
    padding: 16px;
    border-radius: 12px;
    background: var(--lm-surface);
    border: 1px solid var(--lm-border);
}

.lm-plan-card--current {
    border-color: var(--lm-primary);
    background: rgba(227,52,111,.08);
}

.lm-plan-card__name {
    font-weight: 700;
    font-size: .9rem;
    margin-bottom: 6px;
}

.lm-plan-card__price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--lm-accent);
}

.lm-plan-card__price span {
    font-size: .75rem;
    font-weight: 400;
    color: var(--lm-muted);
}

.lm-plan-card__badge {
    margin-top: 8px;
    font-size: .72rem;
    color: var(--lm-primary);
    font-weight: 600;
}

/* ── Account form card ── */
.lm-form-card {
    width: min(440px, 100%);
    margin: 32px auto 0;
    padding: 32px 28px;
    background: var(--lm-surface);
    border: 1px solid var(--lm-border);
    border-radius: 16px;
}

.lm-form-card__logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.lm-form-card__logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.lm-form-card h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 20px;
    text-align: center;
}

.lm-form-card .form-label {
    font-size: .82rem;
    color: var(--lm-muted);
    margin-bottom: 4px;
}

.lm-form-card .form-control,
.lm-form-card .form-check-input {
    background: var(--lm-surface-2) !important;
    border: 1px solid var(--lm-border) !important;
    color: var(--lm-text) !important;
    border-radius: 10px !important;
}

.lm-form-card .form-control:focus {
    border-color: var(--lm-primary) !important;
    box-shadow: 0 0 0 3px rgba(227,52,111,.2) !important;
}

.lm-form-card .form-control::placeholder {
    color: rgba(247,247,248,.35) !important;
}

.lm-form-card .alert-danger {
    background: rgba(255,90,90,.12);
    border: 1px solid rgba(255,90,90,.3);
    color: #ff9090;
    border-radius: 10px;
    font-size: .85rem;
}

.lm-form-card .alert-success {
    background: rgba(90,230,90,.12);
    border: 1px solid rgba(90,230,90,.3);
    color: #90ffb0;
    border-radius: 10px;
    font-size: .85rem;
}

.lm-form-card__links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    font-size: .83rem;
    color: var(--lm-muted);
    flex-wrap: wrap;
}

.lm-form-card__links a {
    color: var(--lm-primary);
}

/* ── Cadastro / Checkout de assinatura ── */
.lm-cadastro {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}

.lm-cadastro-form h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 12px 0 4px;
}

.lm-cadastro-section {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--lm-muted);
    margin: 24px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--lm-border);
}

.lm-cadastro-summary {
    position: sticky;
    top: 80px;
}

@media (max-width: 700px) {
    .lm-cadastro {
        grid-template-columns: 1fr;
    }
    .lm-cadastro-summary {
        position: static;
        order: -1;
    }
}

/* ── Form divider ── */
.lm-form-card__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    color: var(--lm-muted);
    font-size: .75rem;
}

.lm-form-card__divider::before,
.lm-form-card__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--lm-border);
}

/* ── Processing & error modals ── */
.lm-processing-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background: rgba(0,0,0,.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: lm-fade-in .2s ease-out;
}

@keyframes lm-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lm-processing-modal,
.lm-error-modal {
    width: min(440px, 100%);
    background: linear-gradient(180deg, var(--lm-surface) 0%, var(--lm-surface-2) 100%);
    border: 1px solid var(--lm-border);
    border-radius: 20px;
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0,0,0,.55);
    animation: lm-pop-in .25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes lm-pop-in {
    from { opacity: 0; transform: scale(.92) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.lm-processing-modal h3,
.lm-error-modal h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 18px 0 8px;
}

.lm-processing-modal p,
.lm-error-modal p {
    color: var(--lm-muted);
    font-size: .88rem;
    margin: 0 0 16px;
    line-height: 1.5;
}

.lm-processing-spinner {
    width: 56px;
    height: 56px;
    margin: 0 auto;
    border-radius: 50%;
    border: 4px solid rgba(227, 52, 111, .15);
    border-top-color: var(--lm-primary);
    animation: lm-spin 0.8s linear infinite;
}

@keyframes lm-spin {
    to { transform: rotate(360deg); }
}

.lm-processing-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    padding: 14px 16px;
    background: rgba(255,255,255,.04);
    border-radius: 12px;
    text-align: left;
}

.lm-processing-steps span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .82rem;
    color: var(--lm-muted);
}

.lm-processing-steps span i.bi-check-circle-fill {
    color: #5ce06d;
}

.lm-processing-steps span i.bi-arrow-clockwise {
    color: var(--lm-accent);
    animation: lm-spin 1.2s linear infinite;
}

.lm-error-modal__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border-radius: 50%;
    background: rgba(255, 90, 90, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b6b;
    font-size: 2rem;
}

.lm-error-modal__details {
    margin-top: 12px;
    text-align: left;
    background: rgba(0,0,0,.3);
    border: 1px solid var(--lm-border);
    border-radius: 8px;
    padding: 10px 12px;
}

.lm-error-modal__details summary {
    cursor: pointer;
    font-size: .78rem;
    color: var(--lm-muted);
}

.lm-error-modal__details pre {
    margin: 8px 0 0;
    font-size: .72rem;
    color: var(--lm-muted);
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 140px;
    overflow: auto;
}

/* ── Página de boas-vindas ── */
.lm-welcome {
    min-height: calc(100vh - 200px);
    display: grid;
    place-items: center;
    padding: 32px 16px;
    background:
        radial-gradient(circle at top right, rgba(246, 191, 69, .12), transparent 40%),
        radial-gradient(circle at bottom left, rgba(227, 52, 111, .12), transparent 40%);
}

.lm-welcome__card {
    width: min(640px, 100%);
    background: var(--lm-surface);
    border: 1px solid rgba(246, 191, 69, .35);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}

.lm-welcome__mark {
    width: 76px;
    height: 76px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lm-accent), #ffd75e);
    color: #101010;
    display: grid;
    place-items: center;
    font-size: 2.5rem;
    box-shadow: 0 8px 30px rgba(246, 191, 69, .35);
}

.lm-welcome__kicker {
    color: var(--lm-accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .8rem;
    margin: 0 0 8px;
}

.lm-welcome__title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    margin: 0 0 12px;
    line-height: 1.15;
}

.lm-welcome__lead {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--lm-text);
}

.lm-welcome__copy {
    color: var(--lm-muted);
    font-size: .92rem;
    line-height: 1.5;
    margin: 0 auto 24px;
    max-width: 480px;
}

.lm-welcome__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    text-align: left;
    margin: 24px 0;
}

.lm-welcome__feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    background: var(--lm-surface-2);
    border: 1px solid var(--lm-border);
    border-radius: 12px;
}

.lm-welcome__feature i {
    color: var(--lm-accent);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.lm-welcome__feature strong {
    display: block;
    font-size: .85rem;
    margin-bottom: 2px;
}

.lm-welcome__feature span {
    font-size: .72rem;
    color: var(--lm-muted);
    line-height: 1.3;
}

.lm-welcome__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 8px;
}

@media (max-width: 480px) {
    .lm-welcome__actions .btn {
        width: 100%;
    }
}

/* ── Detalhe do produto: lista de preços ── */
.lm-detail-prices {
    margin: 16px 0;
    padding: 14px 16px;
    background: var(--lm-surface);
    border: 1px solid var(--lm-border);
    border-radius: 12px;
}

.lm-detail-prices__title {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--lm-muted);
    margin: 0 0 10px;
}

.lm-detail-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--lm-border);
}

.lm-detail-price-row:last-child {
    border-bottom: none;
}

.lm-detail-price-row span {
    color: var(--lm-muted);
    font-size: .88rem;
}

.lm-detail-price-row strong {
    color: var(--lm-accent);
    font-size: 1.05rem;
    font-weight: 800;
}

.lm-detail-price-row--single strong {
    font-size: 1.2rem;
}

.lm-detail-price-row--old {
    padding-top: 4px;
    padding-bottom: 0;
    border: none;
}

.lm-detail-price-row--old s {
    color: var(--lm-muted);
    font-size: .82rem;
}

.lm-detail-cta {
    margin-top: 8px;
}

/* ── Produto detalhes: voucher checkboxes ── */
.lm-detail-price-row--check {
    display: grid;
    grid-template-columns: 24px 1fr auto;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: background-color .12s, border-color .12s;
    border-radius: 8px;
    padding: 10px 8px;
    margin: 0 -8px;
}

.lm-detail-price-row--check:hover {
    background: var(--lm-surface-2);
}

.lm-detail-price-row--check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--lm-primary);
    cursor: pointer;
}

.lm-detail-price-row--selected {
    background: rgba(227, 52, 111, .08);
}

.lm-detail-price-row--selected strong {
    color: var(--lm-primary);
}

.lm-detail-hint {
    margin: 0;
    padding: 14px 16px;
    background: rgba(246, 191, 69, .08);
    border: 1px dashed rgba(246, 191, 69, .35);
    border-radius: 10px;
    color: var(--lm-accent);
    font-size: .85rem;
    text-align: center;
}

/* ── Alert banner (precisa assinatura, etc) ── */
.lm-alert-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    margin: 0 0 20px;
    background: linear-gradient(135deg, rgba(246, 191, 69, .15), rgba(227, 52, 111, .12));
    border: 1px solid rgba(246, 191, 69, .35);
    border-radius: 12px;
}

.lm-alert-banner__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(246, 191, 69, .25);
    color: var(--lm-accent);
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.lm-alert-banner__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.lm-alert-banner__body strong {
    font-size: .95rem;
    color: var(--lm-text);
}

.lm-alert-banner__body span {
    font-size: .82rem;
    color: var(--lm-muted);
    line-height: 1.4;
}

/* ── Admin link no header ── */
.lm-admin-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(246, 191, 69, .15);
    border: 1px solid rgba(246, 191, 69, .45);
    color: var(--lm-accent);
    font-size: .82rem;
    font-weight: 700;
    transition: background-color .12s;
}

.lm-admin-link:hover {
    background: rgba(246, 191, 69, .25);
}

/* ── Admin shell / sidebar ── */
.lm-admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 240px 1fr;
    background: var(--lm-bg);
}

.lm-admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    background: var(--lm-surface);
    border-right: 1px solid var(--lm-border);
    padding: 24px 14px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow-y: auto;
}

.lm-admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    color: var(--lm-text);
}

.lm-admin-brand i {
    font-size: 1.6rem;
    color: var(--lm-accent);
}

.lm-admin-brand div {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.lm-admin-brand span {
    font-weight: 900;
    font-size: 1rem;
}

.lm-admin-brand small {
    color: var(--lm-muted);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.lm-admin-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.lm-admin-nav__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--lm-muted);
    background: transparent;
    border: none;
    text-align: left;
    width: 100%;
    cursor: pointer;
    font-size: .9rem;
    transition: background-color .12s, color .12s;
}

.lm-admin-nav__item:hover {
    background: var(--lm-surface-2);
    color: var(--lm-text);
}

.lm-admin-nav__item.active {
    background: rgba(227, 52, 111, .15);
    color: var(--lm-primary);
    font-weight: 600;
}

.lm-admin-nav__item i {
    width: 18px;
    text-align: center;
}

.lm-admin-sidebar__footer {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 16px;
    border-top: 1px solid var(--lm-border);
}

.lm-admin-main {
    padding: 32px clamp(16px, 3vw, 40px);
    min-width: 0;
}

.lm-admin-page__header {
    margin-bottom: 24px;
}

.lm-admin-page__kicker {
    color: var(--lm-accent);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.lm-admin-page__header h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    margin: 4px 0 4px;
}

.lm-admin-page__header p {
    color: var(--lm-muted);
    margin: 0;
}

/* ── Admin stats ── */
.lm-admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.lm-admin-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--lm-surface);
    border: 1px solid var(--lm-border);
    border-left: 4px solid var(--lm-primary);
    border-radius: 12px;
}

.lm-admin-stat--blue { border-left-color: #4ea1ff; }
.lm-admin-stat--green { border-left-color: #5ce06d; }
.lm-admin-stat--orange { border-left-color: #ff9046; }
.lm-admin-stat--gold { border-left-color: var(--lm-accent); }

.lm-admin-stat i {
    font-size: 2rem;
    color: var(--lm-muted);
}

.lm-admin-stat--blue i { color: #4ea1ff; }
.lm-admin-stat--green i { color: #5ce06d; }
.lm-admin-stat--orange i { color: #ff9046; }
.lm-admin-stat--gold i { color: var(--lm-accent); }

.lm-admin-stat div {
    display: flex;
    flex-direction: column;
}

.lm-admin-stat span {
    color: var(--lm-muted);
    font-size: .82rem;
}

.lm-admin-stat strong {
    font-size: 1.6rem;
    font-weight: 900;
}

/* ── Admin panel / quick grid ── */
.lm-admin-panel {
    background: var(--lm-surface);
    border: 1px solid var(--lm-border);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 24px;
}

.lm-admin-panel__header {
    margin-bottom: 18px;
}

.lm-admin-panel__header h2 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
}

.lm-admin-panel__header p {
    color: var(--lm-muted);
    margin: 4px 0 0;
    font-size: .85rem;
}

.lm-admin-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.lm-admin-quick {
    display: flex;
    flex-direction: column;
    padding: 18px;
    background: var(--lm-surface-2);
    border: 1px solid var(--lm-border);
    border-radius: 12px;
    color: var(--lm-text);
    transition: border-color .12s, transform .12s;
}

.lm-admin-quick:hover {
    border-color: var(--lm-primary);
    transform: translateY(-2px);
}

.lm-admin-quick i {
    font-size: 1.5rem;
    color: var(--lm-accent);
    margin-bottom: 8px;
}

.lm-admin-quick strong {
    font-size: .95rem;
    margin-bottom: 4px;
}

.lm-admin-quick span {
    color: var(--lm-muted);
    font-size: .78rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .lm-admin-shell {
        grid-template-columns: 1fr;
    }
    .lm-admin-sidebar {
        position: static;
        height: auto;
    }
    .lm-admin-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px;
    }
    .lm-admin-nav__item span {
        display: none;
    }
}

/* ── Admin: tabelas e filtros dark theme ── */
.lm-admin-table,
.lm-admin-shell .container {
    background: var(--lm-surface);
    border: 1px solid var(--lm-border);
    border-radius: 12px;
    overflow: hidden;
}

.lm-admin-table {
    margin-top: 16px;
    overflow-x: auto;
}

.lm-admin-table table,
.lm-admin-shell .table {
    width: 100%;
    margin: 0 !important;
    color: var(--lm-text) !important;
    border-collapse: collapse;
    background: transparent !important;
}

.lm-admin-table thead th,
.lm-admin-shell .table thead th,
.lm-admin-shell .table thead tr {
    background: var(--lm-surface-2) !important;
    color: var(--lm-muted) !important;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 12px 16px !important;
    border-bottom: 1px solid var(--lm-border) !important;
    border-top: none !important;
}

.lm-admin-table tbody td,
.lm-admin-shell .table tbody td,
.lm-admin-shell .table tbody th {
    padding: 14px 16px !important;
    border-top: 1px solid var(--lm-border) !important;
    border-bottom: none !important;
    color: var(--lm-text) !important;
    background: transparent !important;
    vertical-align: middle;
    font-size: .88rem;
}

.lm-admin-shell .table tbody tr:hover td {
    background: var(--lm-surface-2) !important;
}

.lm-admin-shell .table-striped tbody tr:nth-of-type(odd) td,
.lm-admin-shell .table-striped > tbody > tr:nth-of-type(odd) > * {
    background: rgba(255, 255, 255, .02) !important;
    color: var(--lm-text) !important;
}

.lm-admin-shell h2 {
    color: var(--lm-text);
    font-weight: 800;
}

.lm-admin-shell .container {
    margin-top: 0 !important;
    padding: 24px !important;
}

.lm-admin-shell .btn-outline-secondary {
    color: var(--lm-muted) !important;
    border-color: var(--lm-border) !important;
}

.lm-admin-shell .btn-outline-secondary:hover {
    background: var(--lm-surface-2) !important;
    color: var(--lm-text) !important;
}

/* ── Admin: filtros ── */
.lm-admin-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.lm-admin-filter-group {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.lm-admin-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--lm-surface);
    border: 1px solid var(--lm-border);
    color: var(--lm-muted);
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .12s;
}

.lm-admin-filter:hover {
    color: var(--lm-text);
    border-color: var(--lm-text);
}

.lm-admin-filter.active {
    background: var(--lm-primary);
    border-color: var(--lm-primary);
    color: #fff;
}

.lm-admin-filter--success.active { background: #5ce06d; border-color: #5ce06d; color: #0a1a0c; }
.lm-admin-filter--warning.active { background: var(--lm-accent); border-color: var(--lm-accent); color: #1a1306; }
.lm-admin-filter--danger.active { background: #ff5a5a; border-color: #ff5a5a; color: #fff; }

.lm-admin-filter span {
    background: rgba(255,255,255,.12);
    padding: 1px 6px;
    border-radius: 999px;
    font-size: .7rem;
}

/* ── Admin: pills/status ── */
.lm-admin-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid var(--lm-border);
    color: var(--lm-muted);
    font-size: .72rem;
    font-weight: 600;
}

.lm-admin-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
}

.lm-admin-status--success { background: rgba(92, 224, 109, .15); color: #5ce06d; }
.lm-admin-status--warning { background: rgba(246, 191, 69, .15); color: var(--lm-accent); }
.lm-admin-status--danger { background: rgba(255, 90, 90, .15); color: #ff8c8c; }
.lm-admin-status--muted { background: rgba(255,255,255,.05); color: var(--lm-muted); }

/* ── Admin: paginação ── */
.lm-admin-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
    color: var(--lm-muted);
    font-size: .85rem;
}

/* ── Admin thumb ── */
.lm-admin-thumb {
    width: 56px;
    height: 42px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--lm-border);
}

/* ── Hero slider (carrossel único) ── */
.lm-hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: var(--lm-surface);
}

.lm-hero-track {
    display: flex;
    transition: transform .55s cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
}

.lm-hero-track > .lm-hero-card {
    flex: 0 0 100%;
    min-width: 100%;
    min-height: 320px;
    border-radius: 0;
    border: none;
    scroll-snap-align: unset;
}

.lm-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 2;
    backdrop-filter: blur(6px);
    transition: background-color .15s, transform .15s;
}

.lm-hero-arrow:hover {
    background: rgba(0, 0, 0, .8);
    transform: translateY(-50%) scale(1.08);
}

.lm-hero-arrow--prev { left: 10px; }
.lm-hero-arrow--next { right: 10px; }

.lm-hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 2;
}

.lm-hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .4);
    cursor: pointer;
    transition: background-color .15s, transform .15s;
    padding: 0;
}

.lm-hero-dot:hover {
    background: rgba(255, 255, 255, .7);
}

.lm-hero-dot.active {
    background: #fff;
    transform: scale(1.4);
}

/* ── Age gate ── */
.lm-agegate {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: lm-fade-in .25s ease-out;
}

.lm-agegate__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 9, 13, .88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.lm-agegate__card {
    position: relative;
    width: min(460px, 100%);
    max-height: 92vh;
    overflow-y: auto;
    padding: 36px 28px 28px;
    background: linear-gradient(180deg, #1c1f28 0%, #14161c 100%);
    border: 1px solid rgba(246, 191, 69, .35);
    border-radius: 24px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, .65),
        0 0 0 1px rgba(255, 255, 255, .03) inset;
    text-align: center;
    animation: lm-pop-in .35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lm-agegate__brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--lm-border);
    margin-bottom: 22px;
}

.lm-agegate__brand img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.lm-agegate__brand span {
    font-weight: 900;
    font-size: .92rem;
}

.lm-agegate__badge {
    width: 84px;
    height: 84px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lm-primary) 0%, #b41758 100%);
    display: grid;
    place-items: center;
    box-shadow: 0 14px 40px rgba(227, 52, 111, .45);
    position: relative;
}

.lm-agegate__badge::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(227, 52, 111, .35);
}

.lm-agegate__badge span {
    color: #fff;
    font-weight: 900;
    font-size: 1.6rem;
    letter-spacing: -.02em;
}

.lm-agegate__title {
    font-size: 1.65rem;
    font-weight: 900;
    margin: 0 0 12px;
    line-height: 1.1;
}

.lm-agegate__lead {
    color: var(--lm-text);
    font-size: .98rem;
    line-height: 1.5;
    margin: 0 0 10px;
}

.lm-agegate__lead strong {
    color: var(--lm-accent);
}

.lm-agegate__copy {
    color: var(--lm-muted);
    font-size: .85rem;
    line-height: 1.5;
    margin: 0 0 22px;
}

.lm-agegate__check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-align: left;
    padding: 14px 16px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--lm-border);
    border-radius: 12px;
    margin-bottom: 18px;
    cursor: pointer;
    transition: border-color .15s, background-color .15s;
}

.lm-agegate__check:hover {
    border-color: rgba(246, 191, 69, .4);
    background: rgba(246, 191, 69, .04);
}

.lm-agegate__check input[type="checkbox"] {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    accent-color: var(--lm-primary);
    cursor: pointer;
}

.lm-agegate__check span {
    font-size: .82rem;
    line-height: 1.5;
    color: var(--lm-text);
}

.lm-agegate__check strong {
    color: var(--lm-accent);
}

.lm-agegate__check a {
    color: var(--lm-primary);
    text-decoration: underline;
}

.lm-agegate__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.lm-agegate__legal {
    color: var(--lm-muted);
    font-size: .72rem;
    line-height: 1.4;
    margin: 0;
}

@media (max-height: 720px) {
    .lm-agegate__card {
        padding: 24px 24px 20px;
    }
    .lm-agegate__badge {
        width: 64px;
        height: 64px;
        margin-bottom: 12px;
    }
    .lm-agegate__badge span {
        font-size: 1.3rem;
    }
    .lm-agegate__title {
        font-size: 1.4rem;
    }
}

/* ── Plano card (/planos) ── */
.lm-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.lm-plan-grid .lm-plan-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: var(--lm-surface);
    border: 1px solid var(--lm-border);
    border-radius: 14px;
    transition: border-color .15s, transform .15s;
}

.lm-plan-grid .lm-plan-card:hover {
    border-color: var(--lm-primary);
    transform: translateY(-2px);
}

.lm-plan-card__kicker {
    display: inline-block;
    color: var(--lm-accent);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 4px;
}

.lm-plan-grid .lm-plan-card h2 {
    font-size: 1.3rem;
    font-weight: 900;
    margin: 0 0 12px;
}

.lm-plan-card__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 16px;
}

.lm-plan-card__price strong {
    font-size: 1.85rem;
    font-weight: 900;
    color: var(--lm-accent);
}

.lm-plan-card__price small {
    color: var(--lm-muted);
    font-size: .82rem;
}

.lm-plan-card__desc {
    color: var(--lm-muted);
    font-size: .88rem;
    line-height: 1.55;
    margin: 0 0 14px;
    white-space: pre-line;
}

.lm-plan-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lm-plan-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .87rem;
    line-height: 1.4;
    color: var(--lm-text);
}

.lm-plan-card__features i {
    color: #5ce06d;
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.lm-plan-card__cta {
    margin-top: auto;
}

/* ── Meus Vouchers ── */
.lm-vouchers {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.lm-vouchers__header h1 {
    font-size: 1.5rem;
    font-weight: 900;
    margin: 12px 0 4px;
}

.lm-vouchers__header p {
    color: var(--lm-muted);
    font-size: .88rem;
    margin: 0;
}

.lm-vouchers__filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.lm-vouchers__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.lm-voucher-card {
    background: linear-gradient(135deg, var(--lm-surface) 0%, var(--lm-surface-2) 100%);
    border: 1px solid var(--lm-border);
    border-left: 4px solid #5ce06d;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.lm-voucher-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at top right, rgba(92, 224, 109, .12), transparent 60%);
    pointer-events: none;
}

.lm-voucher-card--used {
    opacity: .65;
    border-left-color: #ff8c8c;
}

.lm-voucher-card--used::before {
    background: radial-gradient(circle at top right, rgba(255, 90, 90, .1), transparent 60%);
}

.lm-voucher-card__stamp {
    position: absolute;
    inset: auto 16px 18px auto;
    z-index: 2;
    transform: rotate(-8deg);
    border: 2px solid rgba(255, 112, 112, .85);
    border-radius: 6px;
    color: #ff8c8c;
    background: rgba(20, 22, 28, .72);
    padding: 6px 10px;
    font-size: .72rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
    pointer-events: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}

.lm-voucher-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.lm-voucher-card__head h3 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.25;
    flex: 1;
    min-width: 0;
}

.lm-voucher-card__tipo {
    font-size: .78rem;
    color: var(--lm-accent);
    font-weight: 600;
}

.lm-voucher-card__code-area {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: rgba(0, 0, 0, .35);
    border: 1px dashed rgba(246, 191, 69, .35);
    border-radius: 10px;
    position: relative;
}

.lm-voucher-card__label {
    position: absolute;
    top: -8px;
    left: 12px;
    background: var(--lm-surface);
    padding: 0 6px;
    font-size: .68rem;
    color: var(--lm-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
}

.lm-voucher-card__code {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--lm-accent);
    letter-spacing: .08em;
    word-break: break-all;
}

.lm-voucher-card__copy {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--lm-border);
    background: var(--lm-surface);
    color: var(--lm-muted);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all .12s;
}

.lm-voucher-card__copy:hover {
    color: var(--lm-accent);
    border-color: var(--lm-accent);
}

.lm-voucher-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    color: var(--lm-muted);
    font-size: .82rem;
}

.lm-voucher-card__meta i {
    color: var(--lm-muted);
    margin-right: 4px;
}

/* ── Admin: posição de imagem + preview ── */
.lm-admin-img-row {
    display: flex;
    gap: 6px;
    align-items: stretch;
}

.lm-admin-img-row .form-control {
    flex: 1;
    min-width: 0;
}

.lm-admin-imgpos {
    display: inline-flex;
    background: var(--lm-surface);
    border: 1px solid var(--lm-border);
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.lm-admin-imgpos__btn {
    width: 34px;
    padding: 0;
    background: transparent;
    border: none;
    border-right: 1px solid var(--lm-border);
    color: var(--lm-muted);
    cursor: pointer;
    font-size: 1rem;
    display: grid;
    place-items: center;
    transition: all .12s;
}

.lm-admin-imgpos__btn:last-child {
    border-right: none;
}

.lm-admin-imgpos__btn:hover {
    color: var(--lm-text);
    background: var(--lm-surface-2);
}

.lm-admin-imgpos__btn.active {
    background: var(--lm-primary);
    color: #fff;
}

.lm-admin-imgpreview {
    margin-top: 8px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: var(--lm-surface-2);
    border: 1px solid var(--lm-border);
}

.lm-admin-imgpreview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lm-admin-imgpreview--thumb {
    aspect-ratio: 4 / 3;
    max-width: 220px;
}

.lm-admin-imgpreview--banner {
    aspect-ratio: 16 / 9;
}

.lm-admin-image-picker {
    display: grid;
    gap: 8px;
}

.lm-admin-image-picker__head,
.lm-admin-image-picker__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.lm-admin-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Grid de preview do card */
.lm-admin-preview-grid {
    display: grid;
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: 18px;
    align-items: start;
}

.lm-admin-preview-grid .lm-product-card,
.lm-admin-preview-grid .lm-hero-card {
    pointer-events: none;
}

@media (max-width: 720px) {
    .lm-admin-preview-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Push opt-in ===== */
.lm-push-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #e6e8ef;
    border-radius: 12px;
    background: #fff;
}
.lm-push-card > i {
    font-size: 28px;
    color: #03173d;
    flex-shrink: 0;
}
.lm-push-card > div:not(.lm-push-card__actions) { flex: 1; }
.lm-push-card strong { display: block; font-size: 0.95rem; }
.lm-push-card p { margin: 2px 0 0; font-size: 0.85rem; color: #5b6478; }
.lm-push-card__actions { display: flex; gap: 8px; flex-shrink: 0; }
.lm-push-card--ok { border-color: #b7e0c4; background: #f1faf4; }
.lm-push-card--ok > i { color: #1d7a3e; }
.lm-push-card--warn { border-color: #ffd9a8; background: #fff7eb; }
.lm-push-card--warn > i { color: #b35c00; }
.lm-push-card--info { border-color: #c6d6f5; background: #f3f7ff; }
.lm-push-card--info > i { color: #1f4ec4; }
@media (max-width: 540px) {
    .lm-push-card { flex-wrap: wrap; }
    .lm-push-card__actions { width: 100%; justify-content: flex-end; }
}

/* ── Favorite button active state ── */
.lm-fav-button {
    transition: transform .12s, color .15s, background-color .15s, border-color .15s;
}

.lm-fav-button:hover {
    transform: scale(1.08);
    color: var(--lm-accent);
}

.lm-fav-button.is-favorito {
    color: var(--lm-accent);
    background: rgba(246, 191, 69, .2);
    border-color: var(--lm-accent);
}

.lm-fav-button.is-favorito i {
    animation: lm-fav-pop .35s ease-out;
}

@keyframes lm-fav-pop {
    0% { transform: scale(1); }
    40% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

/* ── Pull-to-refresh indicator ── */
.lm-ptr {
    position: fixed;
    top: 0;
    left: 50%;
    margin-left: -22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--lm-surface);
    border: 1px solid var(--lm-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 9000;
    transform: translateY(-40px);
}

.lm-ptr__spinner {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(227, 52, 111, .2);
    border-top-color: var(--lm-primary);
    transition: transform .15s ease;
}

.lm-ptr--ready .lm-ptr__spinner {
    transform: rotate(180deg);
    border-top-color: var(--lm-accent);
}

.lm-ptr--loading .lm-ptr__spinner {
    animation: lm-boot-spin .7s linear infinite;
    transform: none !important;
}

/* Previne o rubber-band do iOS no topo, sem bloquear scroll normal */
html, body {
    overscroll-behavior-y: contain;
}

.lm-public-voucher-shell {
    min-height: 100svh;
    padding: max(18px, env(safe-area-inset-top)) 14px max(28px, env(safe-area-inset-bottom));
    background: var(--lm-bg);
}

.lm-public-voucher-shell .lm-admin-page {
    width: min(620px, 100%);
    margin: 0 auto;
    padding: 0;
}

.lm-public-voucher-shell .lm-admin-page__header {
    margin-bottom: 14px;
}

.lm-public-voucher-shell .lm-admin-page__header h1 {
    font-size: 1.9rem;
}

.lm-public-voucher-shell .lm-admin-panel {
    border-radius: 10px;
}

@media (max-width: 540px) {
    .lm-public-voucher-shell {
        padding-inline: 10px;
    }

    .lm-public-voucher-shell .lm-admin-page__header h1 {
        font-size: 1.65rem;
    }

    .lm-public-voucher-shell .lm-admin-panel__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}
