/* ==========================================================================
   Achei na Cidade - camada visual (carregada por último, depois do Metronic)
   Direção: as cores saem da logo - laranja do pin, amarelo da estrela, sobre creme,
   com textos em tons de café. Tema escuro em café torrado com o mesmo laranja.
   Tema claro e escuro: TODA cor passa por estes tokens. Para trocar a paleta,
   edite só os dois blocos abaixo. O tema fica em <html data-bs-theme>.
   ========================================================================== */

:root,
[data-bs-theme=light] {
    color-scheme: light;

    /* --- Marca --- */
    --brand-900: #5A2410;
    --brand-700: #A23A12;         /* texto sobre fundos claros da marca */
    --brand-strong: #A23A12;      /* fundo de hover de botões da marca */
    --brand: #C2481B;
    --brand-rgb: 194, 72, 27;
    --on-brand: #ffffff;          /* texto sobre o laranja (4,96:1) */
    --brand-500: #F26B3A;
    --brand-100: #F9D3BF;
    --brand-50: #FDEEE4;
    --accent: #F4B73F;
    --accent-rgb: 244, 183, 63;
    --accent-700: #8A5A00;
    --accent-50: #FEF4DC;
    --accent-line: #F6DFAE;

    /* --- Neutros --- */
    --canvas: #FFF8EC;
    --surface: #ffffff;
    --surface-2: #FBF0DD;         /* preenchimentos sutis, trilhos, chips neutros */
    --surface-3: #F6E6CB;
    --line: #F2D9B3;
    --line-strong: #D9B98A;
    --ink: #3A2314;               /* títulos */
    --ink-2: #4A2E1B;             /* texto */
    --text-soft: #5E4330;
    --muted: #6B4E37;
    --faint: #82674F;            /* 5,2:1 sobre branco */

    /* --- Papéis --- */
    --solid: #4A2E1B;             /* botão forte (preto no claro, claro no escuro) */
    --on-solid: #FFF8EC;
    --deep: #4A2E1B;              /* faixas escuras: rodapé, banner do mapa, menu do painel */
    --deep-text: #F2D9B3;
    --tint: #ffffff;              /* base das misturas de cor das categorias */
    --glass: rgba(255, 255, 255, .92);
    --header-bg: rgba(255, 248, 236, .86);
    --header-line: rgba(242, 217, 179, .9);
    --success: #2E7D32;
    --success-bg: #E8F5E9;
    --danger-ink: #b42318;
    --danger-bg: #fdecea;
    --danger-line: #f3c7c2;
    --info-ink: #2a63a6;
    --info-bg: #e8f1fb;
    --info-line: #c6dbf2;
    --violet-ink: #6b4ba1;
    --violet-bg: #f1ecf8;
    --shadow-rgb: 74, 46, 27;
    --hero-top: #FFFDF8;

    /* Compatibilidade: tokens antigos usados em outros arquivos */
    --brand-600: var(--brand-700);

    /* Bootstrap + Metronic passam a usar a mesma marca (botões, links, text-primary...) */
    --bs-primary: var(--brand);
    --bs-primary-rgb: 194, 72, 27;
    --bs-primary-active: var(--brand-strong);
    --bs-primary-light: var(--brand-50);
    --bs-primary-inverse: #fff;
    --bs-primary-text-emphasis: var(--brand-700);
    --bs-primary-bg-subtle: var(--brand-50);
    --bs-primary-border-subtle: var(--brand-100);
    --bs-link-color: var(--brand);
    --bs-link-color-rgb: 194, 72, 27;
    --bs-link-hover-color: var(--brand-700);
    --bs-link-hover-color-rgb: 162, 58, 18;
    --bs-body-bg: var(--canvas);
    --bs-app-bg-color: var(--canvas); /* Metronic: .app-default usa esta variável no fundo */
    --bs-body-color: var(--ink-2);
    --bs-card-bg: var(--surface);
    --bs-border-color: var(--line);

    --radius-lg: 20px;
    --radius-md: 14px;
    --shadow-card: 0 1px 2px rgba(var(--shadow-rgb), .04), 0 8px 24px -12px rgba(var(--shadow-rgb), .12);
    --shadow-pop: 0 24px 48px -20px rgba(var(--shadow-rgb), .28);
    --font-display: 'Nunito', 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

/* ---------- Tema escuro ---------- */
[data-bs-theme=dark] {
    color-scheme: dark;

    --brand-900: #FFE1D2;
    --brand-700: #FFB089;
    --brand-strong: #D9562A;
    --brand: #F26B3A;
    --brand-rgb: 242, 107, 58;
    --on-brand: #1A0F08;          /* no escuro o laranja é claro: texto escuro (6,2:1) */
    --brand-500: #FF8A5B;
    --brand-100: #5A2A16;
    --brand-50: #2E1A10;
    --accent: #F4B73F;
    --accent-rgb: 244, 183, 63;
    --accent-700: #F9D98D;
    --accent-50: #2E2410;
    --accent-line: #4A3A18;

    --canvas: #17100B;
    --surface: #21170F;
    --surface-2: #2A1E14;
    --surface-3: #33261A;
    --line: #3A2C1F;
    --line-strong: #4F3D2C;
    --ink: #FFF3E2;
    --ink-2: #EADBC6;
    --text-soft: #CDB89E;
    --muted: #A99075;
    --faint: #A08A72;            /* 5,3:1 sobre o fundo escuro */

    --solid: #FFF3E2;
    --on-solid: #17100B;
    --deep: #0F0A06;
    --deep-text: #EADBC6;
    --tint: #21170F;
    --glass: rgba(33, 23, 15, .9);
    --header-bg: rgba(23, 16, 11, .82);
    --header-line: rgba(255, 243, 226, .07);
    --success: #66BB6A;
    --success-bg: #13261A;
    --danger-ink: #f97066;
    --danger-bg: #2c1414;
    --danger-line: #4a1f1f;
    --info-ink: #8fc1ec;
    --info-bg: #10222c;
    --info-line: #17384a;
    --violet-ink: #c3a6ee;
    --violet-bg: #221a30;
    --shadow-rgb: 0, 0, 0;
    --hero-top: #1D140D;

    --bs-primary-rgb: 242, 107, 58;
    --bs-link-color-rgb: 242, 107, 58;
    --bs-link-hover-color-rgb: 255, 176, 137;
    --bs-body-bg: var(--canvas);
    --bs-body-bg-rgb: 23, 16, 11;
    --bs-body-color: var(--ink-2);
    --bs-body-color-rgb: 234, 219, 198;
    --bs-emphasis-color: var(--ink);
    --bs-secondary-bg: var(--surface-2);
    --bs-tertiary-bg: var(--surface-2);
    --bs-secondary-color: var(--muted);
    --bs-tertiary-color: var(--faint);
    --bs-app-bg-color: var(--canvas);
    --bs-card-bg: var(--surface);
    --bs-border-color: var(--line);
    --bs-border-color-translucent: rgba(255, 255, 255, .08);
    --bs-dropdown-bg: var(--surface);
    --bs-menu-dropdown-bg-color: var(--surface);

    /* Escala de cinzas do Metronic com o mesmo tom verde dos neutros */
    --bs-gray-100: #1F1610; --bs-gray-200: #2A1E14; --bs-gray-300: #33261A; --bs-gray-400: #4F3D2C; --bs-gray-500: #7F6B56;
    --bs-gray-600: #A99075; --bs-gray-700: #CDB89E; --bs-gray-800: #EADBC6; --bs-gray-900: #FFF3E2;
    --bs-text-gray-400: #4F3D2C; --bs-text-gray-500: #7F6B56; --bs-text-gray-600: #A99075; --bs-text-gray-700: #CDB89E;
    --bs-text-gray-800: #EADBC6; --bs-text-gray-900: #FFF3E2; --bs-text-dark: #FFF3E2; --bs-text-muted: #A99075;
    --bs-light: #2A1E14; --bs-light-active: #33261A; --bs-light-rgb: 42, 30, 20;
    --bs-input-bg: var(--surface); --bs-input-solid-bg: var(--surface-2); --bs-input-solid-bg-focus: var(--surface-3);
}

html { background: var(--canvas); }

body {
    background: var(--canvas);
    color: var(--ink-2);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    transition: background-color .25s ease, color .25s ease;
}

h1, h2, h3, h4, .display-font {
    font-family: var(--font-display);
    letter-spacing: -.02em;
    color: var(--ink);
}

::selection { background: rgba(var(--brand-rgb), .22); }

:focus-visible {
    outline: 3px solid rgba(var(--brand-rgb), .35);
    outline-offset: 2px;
}

/* ---------- Header ---------- */
.glass-header {
    background: var(--header-bg) !important;
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--header-line);
    padding: 12px 0 !important;
    transition: box-shadow .2s ease, background-color .25s ease;
}

/* theme.css (legado) pinta o header grudado de branco com !important; aqui ele segue o tema */
.glass-header.stuck { background: var(--header-bg) !important; box-shadow: 0 6px 24px -16px rgba(var(--shadow-rgb), .35); }

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, var(--brand-500), var(--brand));
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18), 0 8px 18px -8px rgba(var(--brand-rgb), .6);
}

/* O Metronic fixa .bi em cinza (#99a1b7); nos componentes da marca o ícone herda a cor */
.brand-mark .bi, .btn-brand .bi, .btn-brand-light .bi, .nav-link-premium .bi, .site-footer .bi, .hdr-btn .bi { color: inherit; }

.brand-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.12rem;
    letter-spacing: -.03em;
    color: var(--ink);
    line-height: 1;
}

.brand-name span { color: var(--brand); }

.brand-tag {
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

/* Navegação em "trilho": as abas vivem numa cápsula, a ativa ganha um fundo próprio */
.nav-rail {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--line);
}

.nav-link-premium {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px !important;
    padding: 7px 14px !important;
    font-weight: 600 !important;
    font-size: .88rem;
    color: var(--muted) !important;
    text-decoration: none;
    transition: background .15s, color .15s, box-shadow .15s;
}

.nav-link-premium:hover { color: var(--ink) !important; background: var(--surface-3) !important; }

.nav-link-premium.active {
    color: var(--ink) !important;
    background: var(--surface) !important;
    box-shadow: 0 1px 2px rgba(var(--shadow-rgb), .08), 0 4px 12px -6px rgba(var(--shadow-rgb), .2);
}

.nav-link-premium.active .bi { color: var(--brand); }

.link-login {
    font-weight: 600;
    font-size: .9rem;
    color: var(--ink-2) !important;
    text-decoration: none;
}

.link-login:hover { color: var(--brand) !important; }

/* Botões de ícone do header (favoritos, tema, menu): neutros, não blocos de cor */
.hdr-btn {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink-2);
    font-size: 1.1rem;
    text-decoration: none;
    transition: border-color .15s, color .15s, background .15s, transform .15s;
}

.hdr-btn:hover { border-color: var(--brand-100); background: var(--brand-50); color: var(--brand); }
.hdr-btn:active { transform: scale(.94); }

/* Botão de tema: sol no escuro, lua no claro, com troca animada */
.theme-btn { position: relative; overflow: hidden; }
.theme-btn .bi { position: absolute; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .25s; }
.theme-btn .t-sun { transform: translateY(140%) rotate(-90deg); opacity: 0; }
.theme-btn .t-moon { transform: none; opacity: 1; }
[data-bs-theme=dark] .theme-btn .t-sun { transform: none; opacity: 1; color: var(--accent); }
[data-bs-theme=dark] .theme-btn .t-moon { transform: translateY(-140%) rotate(90deg); opacity: 0; }

/* Avatar com a inicial do usuário */
.hdr-avatar {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border-radius: 50%;
    border: 2px solid var(--surface);
    background: linear-gradient(145deg, var(--brand-500), var(--brand));
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: .95rem;
    box-shadow: 0 0 0 1px var(--line), 0 6px 14px -8px rgba(var(--brand-rgb), .8);
    transition: transform .15s;
}

.hdr-avatar:hover { transform: translateY(-1px); }

/* Menus suspensos do header */
.menu-pop {
    width: 236px;
    padding: 8px;
    border: 1px solid var(--line) !important;
    border-radius: 16px !important;
    background: var(--surface) !important;
    box-shadow: var(--shadow-pop) !important;
}

.menu-pop .dropdown-item { border-radius: 10px; padding: 9px 12px; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.menu-pop .dropdown-item:hover { background: var(--surface-2); color: var(--ink); }
.menu-pop .dropdown-item .bi { color: var(--brand); }
.menu-pop .dropdown-item.danger, .menu-pop .dropdown-item.danger .bi { color: var(--danger-ink); }
.menu-pop-head { padding: 8px 12px 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.menu-pop-head strong { display: block; font-size: .9rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu-pop-head small { font-size: .75rem; color: var(--muted); }

/* ---------- Botões ---------- */
.btn-brand {
    --bs-btn-color: var(--on-solid);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--solid);
    color: var(--on-solid);
    border: 0;
    border-radius: 999px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: .9rem;
    transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}

.btn-brand:hover { background: var(--brand); color: var(--on-brand, #fff); transform: translateY(-1px); box-shadow: 0 10px 20px -10px rgba(var(--brand-rgb), .7); }

.btn-brand-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: .9rem;
    transition: border-color .15s, transform .15s;
}

.btn-brand-light:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }

/* ---------- Footer (faixa escura nos dois temas) ---------- */
.site-footer {
    position: relative;
    background:
        radial-gradient(60% 80% at 100% 0%, rgba(var(--brand-rgb), .18), transparent 60%),
        var(--deep);
    color: #F2D9B3;
    padding: 64px 0 28px;
    margin-top: auto;
}

.site-footer h6 {
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .9rem;
    margin-bottom: 14px;
}

.site-footer a { color: #F2D9B3; text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.site-footer .btn-brand-light { background: #FFF8EC; color: #3A2314; border-color: #FFF8EC; }
.site-footer .btn-brand-light:hover { color: #3A2314; background: #F9D98D; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name span { color: #F9B79A; }
.site-footer p { color: #D9B98A; }

.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .9rem; }

.footer-social a {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
}

.footer-social a:hover { background: rgba(255, 255, 255, .12); }

.footer-cities { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-cities span {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 600;
    color: #F2D9B3;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
}

.footer-bottom {
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    font-size: .82rem;
    color: #D9B98A;
}

/* Espaço para a barra inferior no celular */
@media (max-width: 767.98px) {
    .site-footer { padding-bottom: 96px; }
}

/* ---------- Ajustes de legibilidade herdados ---------- */
/* Comentários das avaliações estavam em cinza muito claro (text-secondary do Metronic) */
.review-comment { color: var(--ink-2); line-height: 1.6; }

/* ==========================================================================
   Tema escuro: utilitários do Bootstrap/Metronic que vêm com cor fixa
   (bg-white, text-dark, bg-light...) passam a seguir os tokens.
   ========================================================================== */
[data-bs-theme=dark] .bg-white,
[data-bs-theme=dark] .bg-body,
[data-bs-theme=dark] .card,
[data-bs-theme=dark] .card-header,
[data-bs-theme=dark] .card-footer,
[data-bs-theme=dark] .modal-content,
[data-bs-theme=dark] .offcanvas,
[data-bs-theme=dark] .list-group-item,
[data-bs-theme=dark] .accordion-item,
[data-bs-theme=dark] .accordion-button,
[data-bs-theme=dark] .popover,
[data-bs-theme=dark] .toast { background-color: var(--surface) !important; color: var(--ink-2); }

[data-bs-theme=dark] .bg-light,
[data-bs-theme=dark] .bg-gray-100,
[data-bs-theme=dark] .bg-light-subtle,
[data-bs-theme=dark] .table-light,
[data-bs-theme=dark] .btn-light { background-color: var(--surface-2) !important; color: var(--ink-2) !important; }

[data-bs-theme=dark] .text-dark,
[data-bs-theme=dark] .text-black,
[data-bs-theme=dark] .text-body,
[data-bs-theme=dark] .text-gray-900,
[data-bs-theme=dark] .text-gray-800 { color: var(--ink) !important; }

[data-bs-theme=dark] .text-muted,
[data-bs-theme=dark] .text-secondary,
[data-bs-theme=dark] .text-gray-600,
[data-bs-theme=dark] .text-gray-500 { color: var(--muted) !important; }

[data-bs-theme=dark] .border,
[data-bs-theme=dark] .border-top,
[data-bs-theme=dark] .border-bottom,
[data-bs-theme=dark] .border-start,
[data-bs-theme=dark] .border-end,
[data-bs-theme=dark] .card,
[data-bs-theme=dark] .list-group-item,
[data-bs-theme=dark] .dropdown-divider,
[data-bs-theme=dark] hr { border-color: var(--line) !important; }

[data-bs-theme=dark] .shadow-sm,
[data-bs-theme=dark] .shadow,
[data-bs-theme=dark] .shadow-lg { box-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px -14px rgba(0, 0, 0, .7) !important; }

[data-bs-theme=dark] .form-control,
[data-bs-theme=dark] .form-select,
[data-bs-theme=dark] .input-group-text {
    background-color: var(--surface);
    border-color: var(--line-strong);
    color: var(--ink);
}

[data-bs-theme=dark] .form-control::placeholder { color: var(--faint); }
[data-bs-theme=dark] .form-control:focus,
[data-bs-theme=dark] .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .18); }
[data-bs-theme=dark] .form-control:disabled,
[data-bs-theme=dark] .form-control[readonly] { background-color: var(--surface-2); }

[data-bs-theme=dark] .table { --bs-table-color: var(--ink-2); --bs-table-bg: transparent; --bs-table-border-color: var(--line); --bs-table-striped-bg: rgba(255, 255, 255, .02); --bs-table-hover-bg: rgba(255, 255, 255, .03); }

[data-bs-theme=dark] .dropdown-menu { background: var(--surface); border-color: var(--line); }
[data-bs-theme=dark] .dropdown-item { color: var(--ink-2); }
[data-bs-theme=dark] .dropdown-item:hover, [data-bs-theme=dark] .dropdown-item:focus { background: var(--surface-2); color: var(--ink); }

[data-bs-theme=dark] .btn-outline-secondary,
[data-bs-theme=dark] .btn-outline-dark { color: var(--ink-2); border-color: var(--line-strong); }
[data-bs-theme=dark] .btn-outline-secondary:hover,
[data-bs-theme=dark] .btn-outline-dark:hover { background: var(--surface-2); color: var(--ink); }

[data-bs-theme=dark] .badge.bg-light,
[data-bs-theme=dark] .badge.bg-white { color: var(--ink-2) !important; }

[data-bs-theme=dark] .alert-info { background: #10222c; border-color: #17384a; color: #a9d7f0; }
[data-bs-theme=dark] .alert-warning { background: var(--accent-50); border-color: var(--accent-line); color: var(--accent-700); }
[data-bs-theme=dark] .alert-success { background: var(--success-bg); border-color: #1d4a33; color: #8be0ad; }
[data-bs-theme=dark] .alert-danger { background: #2c1414; border-color: #4a1f1f; color: #f5a3a3; }

[data-bs-theme=dark] .nav-tabs .nav-link.active { background: var(--surface); border-color: var(--line) var(--line) var(--surface); color: var(--ink); }

/* Mapas: as imagens do mapa escurecem junto, os marcadores continuam com a cor própria */
[data-bs-theme=dark] .leaflet-container { background: #241a12; }
[data-bs-theme=dark] .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.92) contrast(.9) saturate(.6); }
[data-bs-theme=dark] .leaflet-control-attribution { background: rgba(19, 25, 22, .8) !important; color: var(--muted); }
[data-bs-theme=dark] .leaflet-control-attribution a { color: var(--brand-700); }
[data-bs-theme=dark] .leaflet-popup-content-wrapper, [data-bs-theme=dark] .leaflet-popup-tip { background: var(--surface); color: var(--ink-2); }
[data-bs-theme=dark] .leaflet-bar a { background: var(--surface); color: var(--ink); border-color: var(--line); }

/* Rolagem fina e da cor do tema */
[data-bs-theme=dark] { scrollbar-color: #4F3D2C var(--canvas); }

/* A troca de tema não deve animar tudo de uma vez */
.theme-switching *, .theme-switching *::before, .theme-switching *::after { transition: none !important; }

@media (prefers-reduced-motion: reduce) {
    .theme-btn .bi, body { transition: none; }
}

/* ==========================================================================
   Telas de acesso (login, cadastro, recuperar senha)
   ========================================================================== */
.auth-container {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
    background:
        radial-gradient(700px 380px at 15% 0%, rgba(var(--brand-rgb), .16), transparent 70%),
        radial-gradient(600px 320px at 90% 100%, rgba(var(--accent-rgb), .12), transparent 70%),
        var(--canvas);
}

.auth-card {
    width: 100%;
    max-width: 480px;
    border-radius: 24px !important;
    border: 1px solid var(--line) !important;
    background: var(--surface) !important;
    box-shadow: var(--shadow-pop) !important;
}

.auth-card .auth-logo .fs-2 { font-family: var(--font-display); letter-spacing: -.03em; font-size: 1.5rem !important; }

.form-control-premium {
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: var(--surface);
    color: var(--ink);
    box-shadow: none;
}

.form-control-premium:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .14); }

.card-premium { border-radius: 24px; }

/* ==========================================================================
   Ações do negócio (ligar, WhatsApp, rota...): botões da marca, iguais nos dois temas
   ========================================================================== */
.act-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.act-grid .act-main, .act-grid .act-wa { grid-column: 1 / -1; }

.act {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--ink);
    font-weight: 700;
    font-size: .88rem;
    text-decoration: none;
    transition: background .15s, border-color .15s, transform .15s, color .15s;
}

.act .bi { color: inherit; margin: 0 !important; }
.act:hover { background: var(--surface-3); color: var(--ink); transform: translateY(-1px); }

.act-main { background: var(--solid); border-color: var(--solid); color: var(--on-solid); padding: 13px; font-size: .95rem; }
.act-main:hover { background: var(--brand); border-color: var(--brand); color: var(--on-brand, #fff); }

.act-wa { background: #16a34a; border-color: #16a34a; color: #fff; padding: 13px; font-size: .95rem; }
.act-wa:hover { background: #15803d; border-color: #15803d; color: #fff; }

.act-fav, .act-fav:hover { color: #e11d48; border-color: color-mix(in srgb, #e11d48 35%, var(--line)); background: color-mix(in srgb, #e11d48 8%, var(--surface)); }

/* Info do Metronic é roxo no escuro; aqui vira o azul da marca */
:root, [data-bs-theme=light] { --bs-info: #2a78ad; --bs-info-rgb: 42, 120, 173; --bs-info-active: #23658f; --bs-info-light: #e8f1fb; --bs-text-info: #2a78ad; }
[data-bs-theme=dark] { --bs-info: #4c9bd1; --bs-info-rgb: 76, 155, 209; --bs-info-active: #6aaedb; --bs-info-light: #10222c; --bs-text-info: #8fc1ec; }

/* Logo (pin com estrela): mesma cor nos dois temas */
.brand-logo { flex: 0 0 auto; display: block; filter: drop-shadow(0 6px 10px rgba(194, 72, 27, .28)); transition: transform .2s ease; }
a:hover > .brand-logo { transform: translateY(-2px) rotate(-4deg); }

/* Botão laranja do cabeçalho ("Cadastrar minha empresa") */
.btn-cta-header {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 12px;
    background: var(--brand);
    color: var(--on-brand, #fff);
    font-weight: 800;
    font-size: .88rem;
    white-space: nowrap;
    transition: background .15s, transform .15s;
}

.btn-cta-header:hover { background: var(--brand-strong); color: #fff; transform: translateY(-1px); }

/* Telas médias (notebook pequeno): menu sem ícones para caber numa linha */
@media (min-width: 992px) and (max-width: 1279.98px) {
    .nav-link-premium { padding: 7px 10px !important; font-size: .84rem; }
    .nav-link-premium .bi { display: none; }
    .btn-cta-header { padding: 9px 12px; font-size: .82rem; }
    .link-login { display: none !important; }
}

/* Vida da empresa: selo "Confirmado em" e aviso "fechou?" */
.anc-confirmed { display: inline-flex; align-items: center; gap: 4px; margin-left: 10px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 800; color: var(--success); background: color-mix(in srgb, var(--success) 12%, transparent); vertical-align: middle; }
.anc-confirmed .bi { color: inherit; }
.anc-report { margin-top: 14px; font-size: .9rem; }
.anc-report-link { border: 0; background: none; padding: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.anc-report-link:hover { color: var(--ink); }
.anc-report-form { display: grid; gap: 8px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.anc-report-options { display: flex; flex-wrap: wrap; gap: 12px; }
.anc-report-options label { display: inline-flex; gap: 6px; align-items: center; }
.anc-report-actions { display: flex; gap: 6px; align-items: center; }
.anc-report-ok { margin: 0; color: var(--success); font-weight: 700; }
.anc-report-ok .bi { color: inherit; }
.anc-confirm-banner { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 18px; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.anc-confirm-banner strong { color: var(--ink); }

.min-w-0 { min-width: 0; }

/* ===== Telas de login e cadastro (mesmo visual nas duas) ===== */
.anc-auth {
    min-height: calc(100vh - 140px);
    display: grid;
    place-items: center;
    padding: 32px 16px 110px;
    background:
        radial-gradient(600px 320px at 50% -60px, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%);
}
.anc-auth-card {
    width: 100%;
    max-width: 440px;
    padding: 32px 28px 26px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 24px 60px -28px rgba(58, 35, 20, .35);
}
.anc-auth-head { display: grid; justify-items: center; gap: 6px; text-align: center; margin-bottom: 22px; }
.anc-auth-brand { display: inline-grid; margin-bottom: 6px; text-decoration: none; }
.anc-auth-head h1 { margin: 0; font-family: var(--font-display); font-size: 1.65rem; font-weight: 900; letter-spacing: -.02em; color: var(--ink); }
.anc-auth-head p { margin: 0; color: var(--text-soft); font-size: .95rem; max-width: 320px; }

.anc-field { display: grid; gap: 6px; margin-bottom: 16px; }
.anc-field label { font-size: .85rem; font-weight: 800; color: var(--ink); }
.anc-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.anc-label-row a { font-size: .82rem; font-weight: 700; color: var(--brand); text-decoration: none; }
.anc-label-row a:hover { text-decoration: underline; }

.anc-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 6px 0 14px;
    border-radius: 14px;
    border: 1.5px solid var(--line-strong);
    background: var(--surface-2);
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.anc-input > .bi { color: var(--muted); font-size: 1.05rem; }
.anc-input:focus-within { border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.anc-input:focus-within > .bi { color: var(--brand); }
.anc-input input {
    flex: 1;
    min-width: 0;
    height: 50px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: 1rem; /* 16px: evita o zoom automático do iPhone ao focar */
}
.anc-input input::placeholder { color: var(--muted); opacity: .8; }
.anc-input input.invalid { box-shadow: none; }
.anc-input:has(input.invalid) { border-color: #D64545; }
.anc-eye { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--muted); }
.anc-eye:hover { color: var(--ink); background: var(--surface); }
.anc-field .validation-message { font-size: .8rem; color: #D64545; font-weight: 600; }

.anc-otp {
    width: 100%;
    height: 60px;
    border-radius: 14px;
    border: 1.5px solid var(--line-strong);
    background: var(--surface-2);
    color: var(--ink);
    text-align: center;
    outline: 0;
}
.anc-otp:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }

.anc-auth-error {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 4px 0 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: color-mix(in srgb, #D64545 12%, var(--surface));
    color: #B23434;
    font-size: .9rem;
    font-weight: 600;
}
[data-bs-theme=dark] .anc-auth-error { color: #FF9A9A; }

.anc-auth-submit {
    width: 100%;
    height: 52px;
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 88%, #fff), var(--brand));
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 800;
    box-shadow: 0 12px 24px -12px var(--brand);
    transition: transform .1s, filter .15s, box-shadow .15s;
}
.anc-auth-submit:hover:not(:disabled) { filter: brightness(1.05); box-shadow: 0 16px 28px -12px var(--brand); }
.anc-auth-submit:active:not(:disabled) { transform: scale(.985); }
.anc-auth-submit:disabled { opacity: .6; }
.anc-auth-submit .bi { color: inherit; transition: transform .15s; }
.anc-auth-submit:hover .bi-arrow-right { transform: translateX(3px); }

.anc-auth-back { width: 100%; margin-top: 8px; padding: 10px; border: 0; background: none; color: var(--muted); font-weight: 700; }
.anc-auth-back:hover { color: var(--ink); }

.anc-auth-terms { margin: 14px 0 0; text-align: center; font-size: .78rem; color: var(--muted); }
.anc-auth-terms a { color: inherit; text-decoration: underline; }

.anc-auth-alt { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; color: var(--text-soft); font-size: .92rem; }
.anc-auth-alt a { margin-left: 4px; font-weight: 800; color: var(--brand); text-decoration: none; }
.anc-auth-alt a:hover { text-decoration: underline; }

/* Estados das telas de conta e pagamento (enviado, sucesso, erro, aguardando) */
.anc-auth-status { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-size: 2.1rem; margin-bottom: 4px; animation: anc-pop .35s ease-out; }
.anc-auth-status.ok { background: var(--success-bg); color: var(--success); }
.anc-auth-status.bad { background: var(--danger-bg); color: var(--danger-ink); }
.anc-auth-status.info { background: var(--tint); color: var(--brand); }
.anc-auth-status.wait { background: var(--info-bg); color: var(--info-ink); }
.anc-auth-status .bi { color: inherit; font-size: 2.1rem !important; line-height: 1; }
.anc-auth-list .bi { font-size: 1rem !important; }
.anc-auth-list .bi { color: var(--brand); }
@keyframes anc-pop { from { transform: scale(.6); opacity: 0; } }
.anc-auth-list { list-style: none; margin: 0 0 16px; padding: 14px 16px; border-radius: 16px; background: var(--surface-2); display: grid; gap: 10px; }
.anc-auth-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.anc-auth-list i { color: var(--brand); margin-top: 1px; }
.anc-auth-ghost { width: 100%; height: 48px; margin-top: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink); font-weight: 800; text-decoration: none; }
.anc-auth-ghost:hover { border-color: var(--brand); color: var(--brand); }
a.anc-auth-submit { text-decoration: none; }
.anc-auth-hint { font-size: .8rem; color: var(--muted); }
.anc-strength { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 4px; align-items: center; margin-top: 2px; }
.anc-strength span { height: 5px; border-radius: 999px; background: var(--surface-2); }
.anc-strength small { margin-left: 8px; font-size: .76rem; font-weight: 700; color: var(--muted); }
.anc-strength.s1 span:nth-child(1) { background: #D2453A; }
.anc-strength.s2 span:nth-child(-n+2) { background: #E8A317; }
.anc-strength.s3 span { background: var(--success); }
@media (prefers-reduced-motion: reduce) { .anc-auth-status { animation: none; } }

@media (max-width: 575.98px) {
    .anc-auth { padding: 20px 12px 110px; place-items: start center; }
    .anc-auth-card { padding: 26px 18px 22px; border-radius: 24px; }
    .anc-auth-head h1 { font-size: 1.45rem; }
}

/* Mapa no celular/tablet: a tela é o mapa com a gaveta da lista, como um app.
   O rodapé embaixo deixava a página rolar e "fugir" do mapa no meio de um gesto. */
@media (max-width: 991.98px) {
    body:has(.explore) .site-footer { display: none; }
}

/* ===== Mapa do Achei (MapLibre + OpenFreeMap): pino da categoria, cartão do lugar, controles ===== */
.anc-map { width: 100%; border-radius: 18px; overflow: hidden; background: var(--tint, #f3efe9); isolation: isolate; }
.anc-map .maplibregl-ctrl-group { border-radius: 12px !important; overflow: hidden; box-shadow: 0 6px 18px -8px rgba(0,0,0,.35) !important; }
.anc-map .maplibregl-ctrl-group button { width: 36px; height: 36px; }
.anc-pin-wrap { cursor: pointer; }
.anc-pin { width: 36px; height: 36px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--pin); display: grid; place-items: center; box-shadow: 0 6px 14px -4px rgba(0,0,0,.45); border: 3px solid #fff; transition: transform .15s ease; margin-bottom: 6px; }
.anc-pin.big { width: 46px; height: 46px; }
.anc-pin-ico { transform: rotate(45deg); font-size: 17px; line-height: 1; }
.anc-pin.big .anc-pin-ico { font-size: 21px; }
.anc-pin-wrap:hover .anc-pin { transform: rotate(-45deg) scale(1.12); }
/* MC3: pino de lugar conferido ganha um selinho verde no canto */
.anc-pin-wrap { position: relative; }
.anc-pin-wrap.is-probable { opacity: .7; }
.anc-pin-wrap.is-probable .anc-pin { border-style: dashed; }
.anc-pin-ok { position: absolute; top: -5px; right: -5px; width: 17px; height: 17px; border-radius: 50%; background: #1f9d55; color: #fff; border: 2px solid #fff; font-size: 10px; font-weight: 900; line-height: 13px; text-align: center; pointer-events: none; box-shadow: 0 2px 4px rgba(0,0,0,.3); }
.anc-popup .maplibregl-popup-content { border-radius: 14px; padding: 0; box-shadow: 0 14px 30px -12px rgba(0,0,0,.4); }
.anc-pop { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; color: #1f1a17 !important; text-decoration: none !important; font-family: inherit; }
.anc-pop strong { font-size: 15px; }
.anc-pop span, .anc-pop small { font-size: 13px; color: #6b625b; }
.anc-pop small { font-size: 12px; }
.anc-pop em { font-style: normal; font-weight: 700; font-size: 13px; color: #C2481B; margin-top: 4px; }
.anc-pin-wrap.is-selected .anc-pin { transform: rotate(-45deg) scale(1.25); box-shadow: 0 0 0 4px rgba(194,72,27,.35), 0 8px 18px -4px rgba(0,0,0,.5); }
.anc-pin-wrap.is-hover .anc-pin { animation: anc-bounce .7s ease; }
@keyframes anc-bounce { 0%,100% { transform: rotate(-45deg) translate(0,0); } 40% { transform: rotate(-45deg) translate(6px,-6px); } }
@media (prefers-reduced-motion: reduce) { .anc-pin-wrap.is-hover .anc-pin { animation: none; } }
.anc-cluster { width: var(--size); height: var(--size); border-radius: 50%; border: 3px solid #fff; background: #C2481B; color: #fff; font: 800 13px/1 inherit; display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 6px rgba(194,72,27,.22), 0 6px 14px -4px rgba(0,0,0,.45); padding: 0; }
.anc-cluster:focus-visible { outline: 3px solid #1f1a17; outline-offset: 2px; }
.anc-me { width: 18px; height: 18px; border-radius: 50%; background: #2563eb; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(37,99,235,.25); }

/* Botão principal (Bootstrap) sobre o laranja: texto com contraste nos dois temas */
.btn-primary, .btn-primary:hover, .btn-primary:focus, .btn-primary:active,
.btn.btn-primary, .btn.btn-primary:hover, .btn.btn-primary:focus, .btn.btn-primary:active { color: var(--on-brand, #fff) !important; } /* .btn.btn-primary: vence a regra do tema antigo */
.btn-primary .bi { color: inherit !important; }

/* Controles de zoom do mapa com alvo de toque confortável */
.maplibregl-ctrl-group button { width: 38px !important; height: 38px !important; }

/* Telas antigas (Bootstrap/Metronic): cinza e verde de apoio nas cores da marca, legíveis nos dois temas */
.text-muted { color: var(--muted) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: color-mix(in srgb, #B7791F 65%, var(--ink)) !important; }

/* Motor de Confiança (MC4/MC5): pergunta de um toque na volta ao site (ancAsk.js) */
.anc-ask { position: fixed; z-index: 1200; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px));
    bottom: calc(88px + env(safe-area-inset-bottom, 0px)); max-width: 440px; margin: 0 auto; padding: 14px 16px 12px; border-radius: 18px;
    background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 18px 44px -18px rgba(var(--shadow-rgb), .55);
    display: grid; gap: 10px; animation: anc-ask-in .25s ease-out; }
.anc-ask p { margin: 0; padding-right: 26px; font-size: .95rem; line-height: 1.4; }
.anc-ask small { color: var(--muted); font-size: .75rem; }
.anc-ask-x { position: absolute; top: 6px; right: 8px; width: 36px; height: 36px; border: 0; background: transparent; color: var(--muted); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.anc-ask-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.anc-ask-opts button { flex: 1 1 auto; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-strong);
    background: var(--surface-2); color: var(--ink); font-weight: 700; cursor: pointer; }
.anc-ask-opts button:first-child { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.anc-ask-ok { font-weight: 800; color: var(--success); }
@keyframes anc-ask-in { from { transform: translateY(12px); opacity: 0; } }
@media (min-width: 992px) { .anc-ask { bottom: 24px; right: 24px; left: auto; width: 400px; } }
@media (prefers-reduced-motion: reduce) { .anc-ask { animation: none; } }

/* MC7: depois de confirmar, o dono ajuda a confirmar os vizinhos */
.anc-neighbors { margin-top: 12px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 6px; }
.anc-neighbors ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; }
.anc-neighbors li { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--line); }
.anc-nb-name { display: grid; min-width: 0; }
.anc-nb-name small { color: var(--muted); }
.anc-nb-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.anc-nb-actions .btn { min-height: 40px; }

/* RC9: botões da coleção na página do comércio e itens da coleção */
.anc-places { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.anc-place { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px;
    border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); font-weight: 700; font-size: .88rem; cursor: pointer; }
.anc-place.on { border-color: var(--brand); color: color-mix(in srgb, var(--brand) 75%, var(--ink)); background: color-mix(in srgb, var(--brand) 10%, var(--surface)); }
.anc-place-link { font-size: .85rem; color: var(--muted); margin-left: 4px; }
.anc-place-msg { margin: 6px 0 0; font-size: .85rem; color: var(--ink-2); }
.anc-pitem { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; min-width: 0; }
.anc-pitem img, .anc-pitem-ini { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; flex: none; }
.anc-pitem-ini { display: grid; place-items: center; background: var(--surface-2); font-weight: 900; color: var(--brand); }
.anc-pitem-txt { display: grid; min-width: 0; flex: 1 1 auto; }
.anc-pitem-txt b, .anc-pitem-txt small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.anc-pitem-txt small { color: var(--muted); }
.anc-empty { display: grid; justify-items: center; gap: 8px; padding: 32px 16px; text-align: center; color: var(--ink-2); }
.anc-empty .bi { font-size: 2.2rem; color: var(--brand); }
.anc-empty p { margin: 0; max-width: 40ch; }

/* RC3: espaço "Patrocinado" do Pro, separado da lista e sempre identificado */
.anc-sponsored { margin-bottom: 18px; padding: 12px; border-radius: 18px; border: 1.5px dashed var(--line-strong); background: var(--surface-2); }
.anc-sponsored-tag { margin: 0 0 8px; font-size: .8rem; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.anc-sponsored-tag small { font-weight: 600; color: var(--muted); }

.anc-auth-created { margin: 6px 0 0; font-size: .9rem; color: var(--success); font-weight: 600; }

/* ===== Celular (protótipos nov/2026): só a estrutura muda; cores e acabamento são os da marca ===== */
@media (max-width: 767.98px) {
    .glass-header { padding: 12px 0 !important; }
    .glass-header > .container-xl { padding-left: 16px; padding-right: 16px; }
    .glass-header .gap-3 { gap: 10px !important; }
    .container-xl, .container { --bs-gutter-x: 2rem; padding-left: 16px; padding-right: 16px; }
    .site-footer { padding: 36px 0 calc(64px + 28px + env(safe-area-inset-bottom, 0px)); }
    .site-footer .row { --bs-gutter-y: 1.5rem; }
    .site-footer h6 { margin-bottom: 10px; }
    .site-footer ul { gap: 8px; }
    .footer-bottom { margin-top: 28px; }
}
.footer-lang { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .85rem; }
.footer-lang .btn { color: #F2D9B3; }

/* reCAPTCHA v3: o selo flutuante cobria a barra de baixo; o Google permite escondê-lo com o aviso no formulário */
.grecaptcha-badge { visibility: hidden; }
.anc-recaptcha { margin: 14px 0 0; font-size: .72rem; color: var(--muted); text-align: center; }
.anc-recaptcha a { color: inherit; text-decoration: underline; }

.anc-auth-brand { justify-items: center; gap: 6px; }
.anc-auth-name { display: none; font-size: .95rem; }

/* Login no celular (protótipo entrar.html): cartão de ponta a ponta com a marca escrita sob a logo */
@media (max-width: 767.98px) {
    .anc-auth { padding: 16px 16px 110px; }
    .anc-auth-card { padding: 26px 18px 22px; border-radius: 22px; }
    .anc-auth-name { display: block; color: var(--muted); font-size: 15px; }
    .anc-auth-head h1 { font-size: 24px; }
    .anc-input input { height: 48px; }
    .anc-auth-submit { height: 50px; }
}

/* GL31: aviso de cookies (acima da barra de navegação do celular) */
.anc-cookie { position: fixed; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); z-index: 1060; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-pop); max-width: 640px; margin: 0 auto; }
.anc-cookie p { margin: 0; font-size: .84rem; color: var(--ink-2); line-height: 1.4; }
.anc-cookie a { color: var(--brand); font-weight: 700; }
.anc-cookie-ok { flex: none; min-height: 40px; padding: 8px 16px; border: 0; border-radius: 12px; background: var(--brand); color: var(--on-brand, #fff); font-weight: 800; cursor: pointer; }
@media (min-width: 768px) { .anc-cookie { bottom: 16px; } }
