/* Dataloft Mega Menu — front
   Visual no padrão Hostinger. Personalize pela lista de variáveis abaixo. */

.dlmm {
    --dlmm-bg: #0c0c12;
    --dlmm-bg-soft: #15151f;
    --dlmm-border: rgba(255, 255, 255, 0.06);
    --dlmm-text: #f4f4f5;
    --dlmm-text-dim: #a1a1aa;
    --dlmm-text-mute: #71717a;
    --dlmm-eyebrow: #71717a;
    --dlmm-accent: #8b5cf6;          /* violeta — troque pela cor da marca */
    --dlmm-accent-soft: rgba(139, 92, 246, 0.15);
    --dlmm-accent-ring: rgba(167, 139, 250, 0.2);
    --dlmm-accent-text: #c4b5fd;
    --dlmm-green-soft: rgba(16, 185, 129, 0.15);
    --dlmm-green-text: #6ee7b7;
    --dlmm-grad-from: #7c3aed;
    --dlmm-grad-to: #312e81;
    --dlmm-radius: 16px;
    --dlmm-maxw: 1600px;
    --dlmm-z: 9999;

    position: relative;
    display: inline-block;
    font-family: inherit;
    line-height: 1.4;
}

.dlmm *,
.dlmm *::before,
.dlmm *::after {
    box-sizing: border-box;
}

.dlmm ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dlmm-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.dlmm-panel[hidden],
.dlmm-mobile[hidden] {
    display: none !important;
}

/* ── Trigger ─────────────────────────────────────────────── */
/* Blindado contra estilos globais de <button> dos temas
   (background/borda/sombra que alguns temas aplicam a todo botão) */
.dlmm button.dlmm-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    margin: 0;
    border: 0 !important;
    border-radius: 8px;
    background: transparent !important;
    box-shadow: none !important;
    color: inherit !important;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
    transition: color 0.15s;
}

.dlmm button.dlmm-trigger:hover,
.dlmm button.dlmm-trigger:focus {
    background: rgba(128, 128, 128, 0.12) !important;
    color: inherit !important;
}

.dlmm-chev {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.dlmm.is-open .dlmm-trigger .dlmm-chev {
    transform: rotate(180deg);
}

/* ── Painel desktop ──────────────────────────────────────── */
.dlmm-panel {
    position: fixed;
    z-index: var(--dlmm-z);
    display: flex;
    background: var(--dlmm-bg);
    border: 1px solid var(--dlmm-border);
    border-radius: var(--dlmm-radius);
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    color: var(--dlmm-text);
    text-align: left;
    animation: dlmm-in 0.15s ease-out;
}

@keyframes dlmm-in {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .dlmm-panel { animation: none; }
    .dlmm-chev { transition: none; }
}

.dlmm-eyebrow {
    margin: 0 0 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dlmm-eyebrow);
}

.dlmm-eyebrow--light {
    margin: 0;
    color: #fff;
}

/* Coluna 1: rail */
.dlmm-rail {
    width: 240px;
    flex-shrink: 0;
    padding: 24px 16px;
    border-right: 1px solid var(--dlmm-border);
}

.dlmm-rail .dlmm-eyebrow {
    padding: 0 12px;
}

.dlmm-rail-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dlmm-rail-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--dlmm-text-dim);
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    box-shadow: inset 0 0 0 1px transparent;
}

.dlmm-rail-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--dlmm-text);
}

.dlmm-rail-btn.is-active {
    background: var(--dlmm-accent-soft);
    color: #fff;
    box-shadow: inset 0 0 0 1px var(--dlmm-accent-ring);
}

/* Coluna 2: conteúdo */
.dlmm-content {
    display: none;
    flex: 1;
    min-width: 0;
}

.dlmm-content.is-active {
    display: flex;
}

.dlmm-main {
    flex: 1;
    min-width: 0;
    padding: 24px 32px;
}

.dlmm-group.has-divider {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--dlmm-border);
}

.dlmm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 40px;
}

.dlmm-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.dlmm-item > .dlmm-icon {
    margin-top: 2px;
    color: var(--dlmm-text-dim);
    transition: color 0.15s;
}

.dlmm-item:hover > .dlmm-icon {
    color: var(--dlmm-accent-text);
}

.dlmm-item-body {
    min-width: 0;
}

.dlmm-item-head {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dlmm-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dlmm-text);
}

.dlmm-item:hover .dlmm-item-title {
    color: #fff;
}

.dlmm-item-desc {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--dlmm-text-dim);
}

/* Badges */
.dlmm-badge {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}

.dlmm-badge--violet {
    background: rgba(139, 92, 246, 0.2);
    color: var(--dlmm-accent-text);
}

.dlmm-badge--green {
    background: var(--dlmm-green-soft);
    color: var(--dlmm-green-text);
}

/* Coluna 3: spotlight */
.dlmm-spot {
    display: flex;
    flex-direction: column;
    width: 288px;
    flex-shrink: 0;
    margin: 16px;
    padding: 24px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

.dlmm-spot--dark {
    background: var(--dlmm-bg-soft);
    box-shadow: inset 0 0 0 1px var(--dlmm-border);
}

.dlmm-spot--gradient {
    background: linear-gradient(135deg, var(--dlmm-grad-from, #7c3aed) 0%, var(--dlmm-grad-to, #312e81) 100%);
}

.dlmm-spot-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dlmm-spot-arrow {
    width: 16px;
    height: 16px;
    margin-left: auto;
    color: var(--dlmm-text-dim);
    transition: transform 0.15s, color 0.15s;
}

.dlmm-spot:hover .dlmm-spot-arrow {
    color: #fff;
    transform: translate(2px, -2px);
}

.dlmm-spot-art {
    display: grid;
    place-items: center;
    flex: 1;
    min-height: 96px;
    margin: 16px 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
}

.dlmm-spot-icon {
    width: 56px;
    height: 56px;
    color: rgba(167, 139, 250, 0.7);
}

.dlmm-spot--gradient .dlmm-spot-icon {
    color: rgba(255, 255, 255, 0.6);
}

.dlmm-spot-headline {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
}

.dlmm-spot-desc {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.4;
    color: #d4d4d8;
}

.dlmm-spot-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 10px 16px;
    border-radius: 8px;
    background: #fff;
    color: #18181b;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.15s;
}

.dlmm-spot:hover .dlmm-spot-cta {
    background: #f4f4f5;
}

/* ── Mobile (accordion) ──────────────────────────────────── */
.dlmm-mobile {
    position: absolute;
    left: 0;
    right: auto;
    top: 100%;
    margin-top: 8px;
    width: min(360px, calc(100vw - 32px));
    max-height: 70vh;
    overflow-y: auto;
    background: var(--dlmm-bg);
    border: 1px solid var(--dlmm-border);
    border-radius: 12px;
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.7);
    z-index: var(--dlmm-z);
    color: var(--dlmm-text);
    text-align: left;
}

.dlmm-m-cat {
    border-bottom: 1px solid var(--dlmm-border);
}

.dlmm-m-cat:last-child {
    border-bottom: 0;
}

.dlmm-m-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
}

.dlmm-m-summary::-webkit-details-marker {
    display: none;
}

.dlmm-m-summary .dlmm-icon {
    color: var(--dlmm-text-dim);
}

.dlmm-m-summary .dlmm-chev {
    margin-left: auto;
    color: var(--dlmm-text-mute);
}

.dlmm-m-cat[open] .dlmm-m-summary .dlmm-chev {
    transform: rotate(180deg);
}

.dlmm-m-list {
    padding-bottom: 12px;
}

.dlmm-m-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px 10px 52px;
    font-size: 14px;
    color: var(--dlmm-text-dim);
    text-decoration: none;
}

.dlmm-m-link:hover {
    color: #fff;
}

/* Em telas grandes o accordion nunca aparece; em pequenas o painel nunca aparece */
@media (min-width: 1024px) {
    .dlmm-mobile { display: none !important; }
}

@media (max-width: 1023.98px) {
    .dlmm-panel { display: none !important; }
}

/* ── Barra com múltiplos menus ([dataloft_megamenu] sem slug) ── */
.dlmm-bar {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}


/* ── Alinhamento via shortcode: [dataloft_megamenu align="center|right"] ── */
.dlmm-align {
    display: flex;
    width: 100%;
}

.dlmm-align--center { justify-content: center; }
.dlmm-align--right  { justify-content: flex-end; }

/* ══ Cabeçalho completo ([dataloft_header]) ═══════════════════════ */
.dlmm-h {
    --dlmm-h-bg: #ffffff;
    --dlmm-h-text: #111827;
    --dlmm-h-topbar-bg: #fdc22b;
    --dlmm-h-topbar-text: #111827;
    --dlmm-h-logo-h: 32px;
    width: 100%;
    font-family: inherit;
}

.dlmm-h--sticky {
    position: sticky;
    top: 0;
    z-index: 998;
}

/* Topbar de anúncio */
.dlmm-h-topbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 9px 24px;
    background: var(--dlmm-h-topbar-bg);
    color: var(--dlmm-h-topbar-text);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.dlmm-h-topbar a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dlmm-h-topbar a:hover { opacity: 0.8; }

/* Barra principal */
.dlmm-h-bar {
    background: var(--dlmm-h-bg);
    color: var(--dlmm-h-text);
    border-bottom: 1px solid rgba(128, 128, 128, 0.15);
}

.dlmm-h-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
}

.dlmm-h-logo {
    display: flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
    flex-shrink: 0;
}

.dlmm-h-logo img {
    height: var(--dlmm-h-logo-h);
    width: auto;
    display: block;
}

.dlmm-h-logo strong {
    font-size: 19px;
    letter-spacing: -0.02em;
}

.dlmm-h-nav {
    display: flex;
    min-width: 0;
}

.dlmm-h-nav .dlmm-bar { color: inherit; }

/* Lado direito */
.dlmm-h-right {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}

.dlmm-h-right svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* Botão pill (estilo "Fale com o Kodee") */
.dlmm-h-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border: 1.5px solid currentColor;
    border-radius: 999px;
    color: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}

.dlmm-h-cta:hover {
    background: rgba(128, 128, 128, 0.08);
    color: inherit;
}

.dlmm-h-cta svg { width: 17px; height: 17px; }

/* Seletor de idioma */
.dlmm-lang { position: relative; }

.dlmm-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    margin: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 8px;
    color: inherit !important;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.dlmm-lang-btn:hover { background: rgba(128, 128, 128, 0.1) !important; }

.dlmm-lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 140px;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: var(--dlmm-h-bg);
    color: var(--dlmm-h-text);
    border: 1px solid rgba(128, 128, 128, 0.2);
    border-radius: 10px;
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.25);
    z-index: 1000;
}

.dlmm-lang-menu[hidden] { display: none !important; }

.dlmm-lang-menu a {
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    color: inherit;
    font-size: 14px;
    text-decoration: none;
}

.dlmm-lang-menu a:hover { background: rgba(128, 128, 128, 0.1); }

/* Ícone de login */
.dlmm-h-login {
    display: inline-flex;
    padding: 8px;
    border-radius: 8px;
    color: inherit;
}

.dlmm-h-login:hover { background: rgba(128, 128, 128, 0.1); color: inherit; }

.dlmm-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

/* Hambúrguer + drawer mobile */
.dlmm-h-burger {
    display: none;
    padding: 8px;
    margin: 0;
    background: transparent !important;
    border: 1px solid rgba(128, 128, 128, 0.3) !important;
    box-shadow: none !important;
    border-radius: 8px;
    color: inherit !important;
    cursor: pointer;
}

.dlmm-h-burger svg { width: 20px; height: 20px; }

.dlmm-h-drawer {
    background: var(--dlmm-h-bg);
    color: var(--dlmm-h-text);
    border-bottom: 1px solid rgba(128, 128, 128, 0.15);
    max-height: 75vh;
    overflow-y: auto;
}

.dlmm-h-drawer[hidden] { display: none !important; }

.dlmm-h-d-menu > summary {
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.dlmm-h-d-cat > summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 24px 11px 36px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.dlmm-h-d-cat .dlmm-icon { width: 18px; height: 18px; opacity: 0.7; }

.dlmm-h-d-menu summary::-webkit-details-marker,
.dlmm-h-d-cat summary::-webkit-details-marker { display: none; }

.dlmm-h-d-cat ul {
    list-style: none;
    margin: 0;
    padding: 0 0 8px;
}

.dlmm-h-d-cat ul a {
    display: block;
    padding: 9px 24px 9px 64px;
    color: inherit;
    opacity: 0.75;
    font-size: 14px;
    text-decoration: none;
}

.dlmm-h-d-cat ul a:hover { opacity: 1; }

.dlmm-h-d-extra {
    display: flex;
    flex-direction: column;
    padding: 12px 24px 20px;
    gap: 10px;
    border-top: 1px solid rgba(128, 128, 128, 0.15);
}

.dlmm-h-d-extra a {
    color: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 1023.98px) {
    .dlmm-h-nav { display: none; }
    .dlmm-h-cta { display: none; }
    .dlmm-h-burger { display: inline-flex; }
    .dlmm-h-inner { height: 58px; }
}

@media (min-width: 1024px) {
    .dlmm-h-drawer { display: none !important; }
}

/* ══ v1.3.1: cores do cabeçalho amarradas às variáveis ════════════
   Garante que os seletores de cor do admin sempre vençam o CSS do
   tema (regras globais de a/button), sem depender de herança. */
.dlmm-h-topbar,
.dlmm-h-topbar span,
.dlmm-h-topbar a,
.dlmm-h-topbar a:hover {
    color: var(--dlmm-h-topbar-text) !important;
}

.dlmm-h-bar,
.dlmm-h .dlmm-h-logo,
.dlmm-h .dlmm-h-logo strong,
.dlmm-h button.dlmm-trigger,
.dlmm-h button.dlmm-trigger:hover,
.dlmm-h button.dlmm-trigger:focus,
.dlmm-h .dlmm-lang-btn,
.dlmm-h .dlmm-lang-btn:hover,
.dlmm-h .dlmm-h-login,
.dlmm-h .dlmm-h-login:hover,
.dlmm-h .dlmm-h-cta,
.dlmm-h .dlmm-h-cta:hover {
    color: var(--dlmm-h-text) !important;
}

.dlmm-h .dlmm-lang-menu,
.dlmm-h .dlmm-lang-menu a {
    color: var(--dlmm-h-text) !important;
}

.dlmm-h-drawer,
.dlmm-h-drawer summary,
.dlmm-h-drawer a {
    color: var(--dlmm-h-text) !important;
}

/* ══ Layout "Colunas" (menus estilo Recursos) ═════════════════════ */
.dlmm-colwrap {
    display: flex;
    flex: 1;
    min-width: 0;
    padding: 28px 8px;
}

.dlmm-colgroup {
    padding: 0 28px;
    min-width: 0;
}

.dlmm-colgroup.has-vdivider {
    border-left: 1px solid var(--dlmm-border);
}

.dlmm-colgroup--w1 { flex: 1; }
.dlmm-colgroup--w2 { flex: 2; }
.dlmm-colgroup--w3 { flex: 3; }

.dlmm-colgrid {
    display: grid;
    gap: 22px 36px;
    align-content: start;
}

.dlmm-colgrid--1 { grid-template-columns: 1fr; }
.dlmm-colgrid--2 { grid-template-columns: 1fr 1fr; }
.dlmm-colgrid--3 { grid-template-columns: 1fr 1fr 1fr; }

/* ══ v1.6.0: colunas no rail, badge acima, imagem no spotlight ════ */
.dlmm-grid--1 { grid-template-columns: 1fr; }
.dlmm-grid--2 { grid-template-columns: 1fr 1fr; }
.dlmm-grid--3 { grid-template-columns: 1fr 1fr 1fr; gap: 20px 32px; }

.dlmm-item-abovebadge {
    display: block;
    margin-bottom: 6px;
}

.dlmm-spot-art--img {
    background: none;
    overflow: hidden;
}

.dlmm-spot-art--img img {
    width: 100%;
    height: 100%;
    min-height: 140px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* ══ v1.7.0: ícones Font Awesome / imagem + badges ciano e amarelo ══ */
.dlmm-icon--img {
    object-fit: contain;
}

i.dlmm-icon--fa {
    width: 20px;
    height: auto;
    font-size: 17px;
    line-height: 1.25;
    text-align: center;
    display: inline-block;
    font-style: normal;
}

.dlmm-spot-icon.dlmm-icon--fa {
    width: auto;
    font-size: 48px;
}

.dlmm-badge--cyan {
    background: rgba(34, 211, 238, 0.18);
    color: #67e8f9;
}

.dlmm-badge--yellow {
    background: #fdc22b;
    color: #111827;
}

/* ══ v1.8.0: card de contato (grupo tipo "contact") ══════════════ */
.dlmm-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 340px;
}

.dlmm-contact-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dlmm-contact-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.dlmm-contact-text {
    margin: 0;
    font-size: 14px;
    color: var(--dlmm-text);
    line-height: 1.4;
}

.dlmm-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid var(--dlmm-border);
    border-radius: 10px;
    color: var(--dlmm-text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
}

.dlmm-contact-btn:hover {
    border-color: var(--dlmm-accent);
    background: var(--dlmm-accent-soft);
    color: #fff;
}

.dlmm-contact-btn svg { width: 18px; height: 18px; color: #25d366; }

.dlmm-contact-chat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--dlmm-accent-text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.dlmm-contact-chat svg { width: 18px; height: 18px; }
.dlmm-contact-chat:hover { color: #fff; }

.dlmm-contact-phones {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--dlmm-border);
}

.dlmm-contact-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 14px;
    color: var(--dlmm-text-dim);
}

.dlmm-contact-phone svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--dlmm-text-mute); }
.dlmm-contact-phone strong { color: var(--dlmm-text); font-weight: 600; }

.dlmm-contact-hours {
    margin: 0;
    font-size: 12.5px;
    color: var(--dlmm-text-mute);
    line-height: 1.5;
}

/* ══ v1.9.0: bandeiras no seletor de idioma ══════════════════════ */
.dlmm-flag {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.dlmm-lang-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ══ v2.0.0: modal de seleção de local e idioma ══════════════════ */
.dlmm-langmodal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 20px 20px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
}

.dlmm-langmodal[hidden] { display: none !important; }

.dlmm-langmodal-box {
    width: 100%;
    max-width: 420px;
    max-height: min(70vh, 560px);
    display: flex;
    flex-direction: column;
    background: #fff;
    color: #111827;
    border-radius: 16px;
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: dlmm-modal-in 0.16s ease-out;
}

@keyframes dlmm-modal-in {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.dlmm-langmodal-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px 24px 14px;
}

.dlmm-langmodal-head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: inherit;
}

.dlmm-langmodal-close {
    margin-left: auto;
    padding: 6px;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 6px;
    color: #6b7280 !important;
    cursor: pointer;
    line-height: 0;
}

.dlmm-langmodal-close svg { width: 20px; height: 20px; }
.dlmm-langmodal-close:hover { background: rgba(0, 0, 0, 0.06) !important; }

.dlmm-langmodal-search {
    position: relative;
    padding: 0 24px 14px;
}

.dlmm-langmodal-search svg {
    position: absolute;
    left: 38px;
    top: 12px;
    width: 18px;
    height: 18px;
    color: #9ca3af;
    pointer-events: none;
}

.dlmm-langmodal-search input {
    width: 100%;
    padding: 11px 14px 11px 42px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font: inherit;
    font-size: 15px;
    color: inherit;
    background: #fff;
    box-sizing: border-box;
}

.dlmm-langmodal-search input:focus {
    outline: none;
    border-color: var(--dlmm-accent, #8b5cf6);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.dlmm-langmodal-list {
    flex: 1;
    overflow-y: auto;
    margin: 0;
    padding: 0 12px 12px;
    list-style: none;
}

.dlmm-langmodal-list li[hidden] { display: none !important; }

.dlmm-langmodal-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
    font-size: 15px;
}

.dlmm-langmodal-list a:hover {
    background: #f3f4f6;
    color: inherit;
}

.dlmm-langmodal-country { font-weight: 600; }
.dlmm-langmodal-lang { color: #6b7280; }

.dlmm-langmodal-empty {
    margin: 0;
    padding: 8px 24px 24px;
    font-size: 14px;
    color: #6b7280;
}

@media (max-width: 640px) {
    .dlmm-langmodal { padding: 60px 16px 16px; }
    .dlmm-langmodal-box { max-height: 80vh; }
}

/* ══ v2.1.0: cabeçalho muda de aparência ao rolar ════════════════ */
.dlmm-h-bar {
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.dlmm-h-topbar {
    transition: max-height 0.25s ease, padding 0.25s ease, opacity 0.2s ease;
    max-height: 80px;
    overflow: hidden;
}

/* Oculta a topbar quando o cabeçalho gruda */
.dlmm-h--hidetopbar.is-stuck .dlmm-h-topbar {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}

/* Sombra ao rolar */
.dlmm-h--scrollshadow.is-stuck .dlmm-h-bar {
    box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.35);
}

@media (prefers-reduced-motion: reduce) {
    .dlmm-h-bar,
    .dlmm-h-topbar { transition: none; }
}

/* ══ v2.2.0: logo alternativo no estado rolado ═══════════════════
   Especificidade precisa vencer `.dlmm-h-logo img { display: block }`
   declarada acima, por isso os seletores incluem `img`. */
.dlmm-h-logo img.dlmm-h-logo-alt { display: none; }

/* Com logo alternativo definido, troca ao grudar */
.dlmm-h.is-stuck .dlmm-h-logo.has-alt img.dlmm-h-logo-default { display: none; }
.dlmm-h.is-stuck .dlmm-h-logo.has-alt img.dlmm-h-logo-alt { display: block; }

/* ══ v2.4.0: ícones SVG colados herdam cor; <img> ganha realce ═══ */
.dlmm-item:hover .dlmm-icon--img {
    filter: brightness(1.25);
}

/* ══ v2.5.0: largura do painel configurável ══════════════════════ */
.dlmm-panel {
    width: min(var(--dlmm-maxw, 1600px), calc(100vw - 48px));
    max-width: calc(100vw - 48px);
}

/* ══ v2.6.0: botão do cabeçalho abrindo um mega-menu ═════════════ */
.dlmm-h-ctamenu { display: flex; }

.dlmm-h .dlmm-trigger--pill,
.dlmm button.dlmm-trigger--pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px !important;
    border: 1.5px solid currentColor !important;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.dlmm button.dlmm-trigger--pill:hover,
.dlmm button.dlmm-trigger--pill:focus {
    background: rgba(128, 128, 128, 0.1) !important;
}

/* Estado aberto: destaca como um botão ativo */
.dlmm.is-open button.dlmm-trigger--pill {
    background: rgba(128, 128, 128, 0.14) !important;
}

.dlmm-trigger-icon {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

/* Some junto com o CTA no mobile (o menu vai para o drawer) */
@media (max-width: 1023.98px) {
    .dlmm-h-ctamenu { display: none; }
}

/* ══ v2.7.0: painel com largura adaptável ao conteúdo ════════════ */
.dlmm-panel--auto {
    width: max-content;
    max-width: min(var(--dlmm-maxw, 1600px), calc(100vw - 48px));
}

/* No modo auto, as colunas não esticam além do necessário */
.dlmm-panel--auto .dlmm-colwrap { flex: 0 1 auto; }
.dlmm-panel--auto .dlmm-colgroup { flex: 0 1 auto; min-width: 260px; }
.dlmm-panel--auto .dlmm-main { flex: 0 1 auto; }

/* ══ v2.7.1: blindagem contra estilos de lista dos temas ═════════
   Alguns temas aplicam list-style/padding diretamente no <li> ou usam
   ::before como marcador — a regra no <ul> sozinha não vence isso. */
.dlmm ul,
.dlmm ol,
.dlmm li,
.dlmm-h ul,
.dlmm-h ol,
.dlmm-h li,
.dlmm-langmodal ul,
.dlmm-langmodal li {
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
    margin: 0;
    padding-left: 0;
    background-image: none;
}

.dlmm li::before,
.dlmm li::marker,
.dlmm-h li::before,
.dlmm-h li::marker,
.dlmm-langmodal li::before,
.dlmm-langmodal li::marker {
    content: none !important;
    display: none !important;
}

/* ══ v2.8.1: eyebrow blindado contra regras de heading dos temas ══
   Temas como o pixfort aplicam cor em h1..h6 com seletores encadeados de
   alta especificidade, sobrescrevendo .dlmm-eyebrow. */
.dlmm .dlmm-eyebrow,
.dlmm h1.dlmm-eyebrow,
.dlmm h2.dlmm-eyebrow,
.dlmm h3.dlmm-eyebrow,
.dlmm h4.dlmm-eyebrow,
.dlmm p.dlmm-eyebrow,
.dlmm-panel .dlmm-eyebrow,
.dlmm-rail .dlmm-eyebrow,
.dlmm-colgroup .dlmm-eyebrow {
    color: var(--dlmm-eyebrow) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    line-height: 1.4 !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    border: 0 !important;
}

/* O eyebrow do card promocional segue a cor clara própria */
.dlmm .dlmm-eyebrow--light,
.dlmm h3.dlmm-eyebrow--light,
.dlmm span.dlmm-eyebrow--light {
    color: #fff !important;
    margin: 0 !important;
}

/* Títulos dos itens também são alvo comum de reset de heading */
.dlmm .dlmm-item-title {
    color: var(--dlmm-text) !important;
}

.dlmm .dlmm-item:hover .dlmm-item-title {
    color: #fff !important;
}

/* Site: evita que a ancoragem de rolagem do navegador compense a topbar
   recolhendo (causava o efeito de abrir/fechar perto do topo). */
.dlmm-h { overflow-anchor: none; }
body { overflow-anchor: none; }
