/* =========================================================
   REGIÃO RANGO
   HOME DO CLIENTE

   STYLE.CSS CONSOLIDADO
   PARTE 1 DE 4

   01. VARIÁVEIS — TEMA CLARO
   02. VARIÁVEIS — TEMA ESCURO
   03. RESET E BASE
   04. TRANSIÇÕES
   05. CABEÇALHO
   06. MARCA
   07. AÇÕES DO CABEÇALHO
   08. LOCALIZAÇÃO
   09. USUÁRIO
   10. MENU DO USUÁRIO
========================================================= */


/* =========================================================
   01. VARIÁVEIS — TEMA CLARO
========================================================= */

:root {
  --cor-primaria: #ff6b35;
  --cor-primaria-escura: #e9531f;
  --cor-primaria-clara: #fff1eb;

  --cor-texto: #1f2937;
  --cor-texto-secundario: #6b7280;
  --cor-texto-suave: #9ca3af;

  --cor-fundo: #f8f9fb;
  --cor-superficie: #ffffff;
  --cor-superficie-secundaria: #fafafa;
  --cor-superficie-hover: #f3f4f6;

  --cor-borda: #e5e7eb;

  --cor-sucesso: #16a34a;
  --cor-sucesso-fundo: #ecfdf3;

  --cor-erro: #dc2626;
  --cor-erro-fundo: #fef2f2;

  /* Cabeçalho */
  --fundo-cabecalho: rgba(255, 255, 255, 0.96);
  --fundo-navegacao: rgba(255, 255, 255, 0.97);

  --cor-cabecalho-botao: #ffffff;
  --cor-cabecalho-botao-hover: #fff7f3;
  --cor-cabecalho-borda: #dde3ea;

  /* Apresentação */
  --fundo-apresentacao-inicio: #fff1eb;
  --fundo-apresentacao-meio: rgba(255, 241, 235, 0.4);

  /* Imagem do estabelecimento */
  --fundo-imagem-inicio: #fff1eb;
  --fundo-imagem-fim: #fff8f5;

  /*
    Card do estabelecimento.

    O fundo não é mais branco puro.
    Isso cria separação entre o card e o fundo geral da página.
  */
  --cor-card-estabelecimento: #e9edf2;
  --cor-card-estabelecimento-hover: #e3e8ee;
  --cor-card-estabelecimento-borda: #cbd3dd;

  /* Status */
  --cor-status-fechado: #dc2626;
  --cor-status-fechado-fundo: #fff1f2;
  --cor-status-fechado-borda: #fecdd3;

  --cor-status-aberto: #15803d;
  --cor-status-aberto-fundo: #ecfdf3;
  --cor-status-aberto-borda: #bbf7d0;

  /* Overlay */
  --fundo-overlay: rgba(15, 23, 42, 0.1);

  /* Sombras */
  --sombra-pequena:
    0 2px 8px rgba(15, 23, 42, 0.06);

  --sombra-media:
    0 10px 30px rgba(15, 23, 42, 0.09);

  --sombra-menu:
    0 18px 45px rgba(15, 23, 42, 0.16);

  /* Bordas */
  --raio-pequeno: 10px;
  --raio-medio: 16px;
  --raio-grande: 22px;

  /* Layout */
  --largura-container: 1180px;

  color-scheme: light;
}


/* =========================================================
   02. VARIÁVEIS — TEMA ESCURO
========================================================= */

html[data-tema="escuro"] {
  --cor-primaria: #ff7442;
  --cor-primaria-escura: #ff8a61;
  --cor-primaria-clara: #302019;

  --cor-texto: #f4f5f7;
  --cor-texto-secundario: #aeb5c0;
  --cor-texto-suave: #7f8793;

  --cor-fundo: #111318;

  /*
    Superfícies deliberadamente mais claras que o fundo geral.
    Isso cria profundidade no tema escuro.
  */
  --cor-superficie: #1a1e25;
  --cor-superficie-secundaria: #171a20;
  --cor-superficie-hover: #272c35;

  --cor-borda: #303640;

  /* Estados */
  --cor-sucesso: #4ade80;
  --cor-sucesso-fundo: #14281c;

  --cor-erro: #fb7185;
  --cor-erro-fundo: #32191d;

  /* Cabeçalho */
  --fundo-cabecalho: rgba(17, 19, 24, 0.96);
  --fundo-navegacao: rgba(17, 19, 24, 0.97);

  --cor-cabecalho-botao: #222730;
  --cor-cabecalho-botao-hover: #2b313b;
  --cor-cabecalho-borda: #3a424e;

  /* Apresentação */
  --fundo-apresentacao-inicio: #241914;
  --fundo-apresentacao-meio: rgba(36, 25, 20, 0.45);

  /* Imagem do estabelecimento */
  --fundo-imagem-inicio: #302019;
  --fundo-imagem-fim: #241a16;

  /*
    Card mais claro que #111318.
    Aqui está uma das principais mudanças visuais.
  */
  --cor-card-estabelecimento: #2c323b;
  --cor-card-estabelecimento-hover: #343b46;
  --cor-card-estabelecimento-borda: #48515e;

  /* Status */
  --cor-status-fechado: #fb7185;
  --cor-status-fechado-fundo: #32191f;
  --cor-status-fechado-borda: #5a2832;

  --cor-status-aberto: #4ade80;
  --cor-status-aberto-fundo: #14291d;
  --cor-status-aberto-borda: #255b38;

  /* Overlay */
  --fundo-overlay: rgba(0, 0, 0, 0.18);

  /* Sombras */
  --sombra-pequena:
    0 3px 12px rgba(0, 0, 0, 0.2);

  --sombra-media:
    0 12px 32px rgba(0, 0, 0, 0.3);

  --sombra-menu:
    0 20px 50px rgba(0, 0, 0, 0.42);

  color-scheme: dark;
}


/* =========================================================
   03. RESET E BASE
========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;

  font-family: "Inter", sans-serif;

  background:
    var(--cor-fundo);

  color:
    var(--cor-texto);

  -webkit-font-smoothing: antialiased;

  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

body.menu-aberto {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

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

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.container {
  width:
    min(
      calc(100% - 32px),
      var(--largura-container)
    );

  margin:
    0 auto;
}


/* =========================================================
   04. TRANSIÇÕES
========================================================= */

.cabecalho,
.navegacao-mobile,
.menu-usuario,
.menu-usuario-topo,
.menu-usuario-item,
.campo-busca,
.categoria-card,
.estabelecimento-card,
.estabelecimento-imagem,
.usuario-avatar,
.botao-limpar-busca,
.botao-localizacao,
.botao-usuario {
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}


/* =========================================================
   05. CABEÇALHO
========================================================= */

.cabecalho {
  position: sticky;
  top: 0;

  z-index: 300;

  background:
    var(--fundo-cabecalho);

  border-bottom:
    1px solid var(--cor-borda);

  backdrop-filter:
    blur(14px);

  -webkit-backdrop-filter:
    blur(14px);
}

.cabecalho-conteudo {
  width:
    min(
      calc(100% - 32px),
      var(--largura-container)
    );

  min-height:
    72px;

  margin:
    0 auto;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    18px;
}


/* =========================================================
   06. MARCA
========================================================= */

.marca {
  display:
    inline-flex;

  align-items:
    center;

  gap:
    10px;

  flex-shrink:
    0;
}

.marca-logo {
  width:
    42px;

  height:
    42px;

  display:
    grid;

  place-items:
    center;

  border-radius:
    13px;

  background:
    var(--cor-primaria);

  color:
    #ffffff;

  font-size:
    15px;

  font-weight:
    800;

  letter-spacing:
    -0.5px;

  box-shadow:
    0 6px 18px
    rgba(255, 107, 53, 0.22);
}

.marca-nome {
  display:
    none;

  font-size:
    18px;

  font-weight:
    800;

  letter-spacing:
    -0.5px;
}


/* =========================================================
   07. AÇÕES DO CABEÇALHO
========================================================= */

.cabecalho-acoes {
  min-width:
    0;

  display:
    flex;

  align-items:
    center;

  justify-content:
    flex-end;

  gap:
    8px;
}


/* =========================================================
   08. LOCALIZAÇÃO
========================================================= */

.botao-localizacao {
  min-width:
    0;

  max-width:
    210px;

  min-height:
    48px;

  display:
    flex;

  align-items:
    center;

  gap:
    8px;

  padding:
    7px 11px;

  border:
    1px solid
    var(--cor-cabecalho-borda);

  border-radius:
    14px;

  background:
    var(--cor-cabecalho-botao);

  color:
    var(--cor-texto);

  box-shadow:
    0 2px 8px
    rgba(15, 23, 42, 0.05);

  cursor:
    pointer;
}

.botao-localizacao:hover {
  background:
    var(--cor-cabecalho-botao-hover);

  border-color:
    rgba(255, 107, 53, 0.42);

  box-shadow:
    0 5px 16px
    rgba(15, 23, 42, 0.09);

  transform:
    translateY(-1px);
}

.botao-localizacao:active {
  transform:
    scale(0.98);
}

.icone-localizacao {
  width:
    30px;

  height:
    30px;

  flex-shrink:
    0;

  display:
    grid;

  place-items:
    center;

  border-radius:
    9px;

  background:
    var(--cor-primaria-clara);

  font-size:
    17px;
}

.localizacao-textos {
  min-width:
    0;

  display:
    flex;

  flex-direction:
    column;

  align-items:
    flex-start;

  gap:
    1px;
}

.localizacao-label {
  color:
    var(--cor-texto-secundario);

  font-size:
    10px;

  font-weight:
    500;
}

.localizacao-valor {
  display:
    block;

  width:
    100%;

  overflow:
    hidden;

  text-overflow:
    ellipsis;

  white-space:
    nowrap;

  font-size:
    12px;

  font-weight:
    700;
}

.localizacao-seta {
  display:
    none;

  color:
    var(--cor-texto-secundario);
}


/* =========================================================
   09. USUÁRIO
========================================================= */

.usuario-area {
  position:
    relative;
}

.botao-usuario {
  min-height:
    48px;

  display:
    flex;

  align-items:
    center;

  gap:
    8px;

  padding:
    5px 10px 5px 6px;

  border:
    1px solid
    var(--cor-cabecalho-borda);

  border-radius:
    14px;

  background:
    var(--cor-cabecalho-botao);

  color:
    var(--cor-texto);

  box-shadow:
    0 2px 8px
    rgba(15, 23, 42, 0.05);

  cursor:
    pointer;
}

.botao-usuario:hover {
  background:
    var(--cor-cabecalho-botao-hover);

  border-color:
    rgba(255, 107, 53, 0.42);

  box-shadow:
    0 5px 16px
    rgba(15, 23, 42, 0.09);

  transform:
    translateY(-1px);
}

.botao-usuario:active {
  transform:
    scale(0.98);
}

.usuario-avatar {
  width:
    38px;

  height:
    38px;

  flex-shrink:
    0;

  display:
    grid;

  place-items:
    center;

  border:
    1px solid
    rgba(255, 107, 53, 0.22);

  border-radius:
    50%;

  background:
    var(--cor-primaria-clara);

  color:
    var(--cor-primaria-escura);

  font-size:
    14px;

  font-weight:
    800;

  box-shadow:
    inset 0 0 0 1px
    rgba(255, 107, 53, 0.04);
}

.usuario-nome,
.usuario-seta {
  display:
    none;
}


/* =========================================================
   10. MENU DO USUÁRIO
========================================================= */

.usuario-area {
  position:
    relative;

  z-index:
    420;
}

.menu-usuario {
  position:
    absolute;

  z-index:
    420;

  top:
    calc(100% + 10px);

  right:
    0;

  bottom:
    auto;

  left:
    auto;

  width:
    min(280px, calc(100vw - 32px));

  overflow:
    hidden;

  border:
    1px solid
    var(--cor-cabecalho-borda);

  border-radius:
    18px;

  background:
    var(--cor-superficie);

  box-shadow:
    var(--sombra-menu);
}

.menu-usuario[hidden] {
  display:
    none;
}

.menu-usuario-topo {
  padding:
    17px 18px;

  display:
    flex;

  flex-direction:
    column;

  gap:
    2px;

  background:
    var(--cor-superficie-secundaria);

  border-bottom:
    1px solid
    var(--cor-borda);
}

.menu-usuario-label {
  color:
    var(--cor-texto-secundario);

  font-size:
    12px;
}

.menu-usuario-topo strong {
  font-size:
    14px;
}

.menu-usuario-item {
  width:
    100%;

  min-height:
    49px;

  display:
    flex;

  align-items:
    center;

  gap:
    11px;

  padding:
    0 18px;

  background:
    var(--cor-superficie);

  color:
    var(--cor-texto);

  font-size:
    14px;

  font-weight:
    600;

  text-align:
    left;

  cursor:
    pointer;
}

.menu-usuario-item:hover {
  background:
    var(--cor-superficie-hover);

  color:
    var(--cor-primaria-escura);
}

.menu-usuario-divisor {
  height:
    1px;

  background:
    var(--cor-borda);
}

.menu-usuario-sair {
  color:
    var(--cor-erro);
}


/* =========================================================
   AJUSTES ESPECÍFICOS — TEMA ESCURO
   CABEÇALHO
========================================================= */

html[data-tema="escuro"]
.botao-localizacao,
html[data-tema="escuro"]
.botao-usuario {
  box-shadow:
    0 4px 14px
    rgba(0, 0, 0, 0.22);
}

html[data-tema="escuro"]
.botao-localizacao:hover,
html[data-tema="escuro"]
.botao-usuario:hover {
  border-color:
    rgba(255, 116, 66, 0.48);

  box-shadow:
    0 7px 20px
    rgba(0, 0, 0, 0.32);
}


/* =========================================================
   REGIÃO RANGO
   HOME DO CLIENTE

   STYLE.CSS CONSOLIDADO
   PARTE 2 DE 4

   11. APRESENTAÇÃO
   12. BUSCA
   13. ESTRUTURA DAS SEÇÕES
   14. CATEGORIAS
   15. CORES POR CATEGORIA
   16. CATEGORIA ATIVA
========================================================= */


/* =========================================================
   11. APRESENTAÇÃO
========================================================= */

.secao-apresentacao {
  padding:
    32px 0 28px;

  background:
    linear-gradient(
      180deg,
      var(--fundo-apresentacao-inicio) 0%,
      var(--fundo-apresentacao-meio) 65%,
      var(--cor-fundo) 100%
    );

  transition:
    background 0.25s ease;
}

.apresentacao-textos {
  max-width:
    650px;
}

.apresentacao-saudacao {
  margin-bottom:
    7px;

  color:
    var(--cor-primaria-escura);

  font-size:
    13px;

  font-weight:
    700;
}

.apresentacao-textos h1 {
  max-width:
    600px;

  font-size:
    clamp(26px, 7vw, 40px);

  line-height:
    1.08;

  letter-spacing:
    -1.3px;
}

.apresentacao-descricao {
  max-width:
    520px;

  margin-top:
    10px;

  color:
    var(--cor-texto-secundario);

  font-size:
    14px;

  line-height:
    1.6;
}


/* =========================================================
   12. BUSCA
========================================================= */

.busca-container {
  position:
    relative;

  max-width:
    660px;

  margin-top:
    23px;
}

.busca-icone {
  position:
    absolute;

  top:
    50%;

  left:
    16px;

  transform:
    translateY(-50%);

  font-size:
    17px;

  pointer-events:
    none;
}

.campo-busca {
  width:
    100%;

  height:
    54px;

  padding:
    0 48px;

  outline:
    none;

  border:
    1px solid
    var(--cor-borda);

  border-radius:
    16px;

  background:
    var(--cor-superficie);

  color:
    var(--cor-texto);

  font-size:
    14px;

  box-shadow:
    var(--sombra-pequena);
}

.campo-busca::placeholder {
  color:
    var(--cor-texto-suave);
}

.campo-busca:hover {
  border-color:
    rgba(255, 107, 53, 0.28);
}

.campo-busca:focus {
  border-color:
    rgba(255, 107, 53, 0.68);

  box-shadow:
    0 0 0 4px
    rgba(255, 107, 53, 0.10);
}

html[data-tema="escuro"]
.campo-busca {
  background:
    #1b2028;

  border-color:
    #37404c;

  box-shadow:
    0 5px 18px
    rgba(0, 0, 0, 0.18);
}

html[data-tema="escuro"]
.campo-busca:focus {
  border-color:
    rgba(255, 116, 66, 0.70);

  box-shadow:
    0 0 0 4px
    rgba(255, 116, 66, 0.10);
}

.botao-limpar-busca {
  position:
    absolute;

  top:
    50%;

  right:
    12px;

  width:
    32px;

  height:
    32px;

  display:
    grid;

  place-items:
    center;

  transform:
    translateY(-50%);

  border-radius:
    50%;

  background:
    var(--cor-superficie-hover);

  color:
    var(--cor-texto-secundario);

  font-size:
    20px;

  line-height:
    1;

  cursor:
    pointer;
}

.botao-limpar-busca:hover {
  color:
    var(--cor-primaria-escura);

  transform:
    translateY(-50%)
    scale(1.05);
}


/* =========================================================
   13. ESTRUTURA DAS SEÇÕES
========================================================= */

.secao {
  padding:
    26px 0;
}

.secao-cabecalho {
  margin-bottom:
    17px;

  display:
    flex;

  align-items:
    flex-end;

  justify-content:
    space-between;

  gap:
    15px;
}

.secao-label {
  margin-bottom:
    3px;

  color:
    var(--cor-primaria-escura);

  font-size:
    11px;

  font-weight:
    800;

  text-transform:
    uppercase;

  letter-spacing:
    0.8px;
}

.secao h2 {
  font-size:
    21px;

  letter-spacing:
    -0.6px;
}


/* =========================================================
   14. CATEGORIAS
========================================================= */

.secao-categorias {
  padding-top:
    18px;

  padding-bottom:
    16px;
}

.categorias-lista {
  display:
    flex;

  gap:
    10px;

  overflow-x:
    auto;

  padding:
    3px 3px 12px;

  scrollbar-width:
    none;
}

.categorias-lista::-webkit-scrollbar {
  display:
    none;
}


/* =========================================================
   CARD BASE DA CATEGORIA
========================================================= */

.categoria-card {
  --categoria-cor:
    #ff6b35;

  --categoria-borda:
    #ffb092;

  --categoria-fundo:
    #fff2eb;

  --categoria-ativo-inicio:
    #ff9a72;

  --categoria-ativo-fim:
    #ff6b35;

  --categoria-texto-ativo:
    #ffffff;

  --categoria-dark-borda:
    #6d3a29;

  --categoria-dark-fundo:
    #302119;

  --categoria-dark-ativo-inicio:
    #a94724;

  --categoria-dark-ativo-fim:
    #71301b;


  position:
    relative;

  isolation:
    isolate;

  min-width:
    91px;

  min-height:
    88px;

  flex-shrink:
    0;

  overflow:
    hidden;

  display:
    flex;

  flex-direction:
    column;

  align-items:
    center;

  justify-content:
    center;

  gap:
    8px;

  padding:
    12px;

  border:
    1px solid
    var(--categoria-borda);

  border-radius:
    16px;

  background:
    var(--categoria-fundo);

  color:
    var(--cor-texto);

  font-size:
    12px;

  font-weight:
    750;

  box-shadow:
    0 4px 14px
    rgba(15, 23, 42, 0.06);

  cursor:
    pointer;

  transform:
    translateY(0);

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.categoria-card:hover {
  transform:
    translateY(-3px);

  border-color:
    var(--categoria-cor);

  box-shadow:
    0 9px 24px
    rgba(15, 23, 42, 0.11);
}

.categoria-card:active {
  transform:
    translateY(-1px)
    scale(0.98);
}

.categoria-icone {
  position:
    relative;

  z-index:
    2;

  font-size:
    25px;

  line-height:
    1;

  transition:
    transform 0.2s ease;
}

.categoria-card:hover
.categoria-icone {
  transform:
    scale(1.08);
}

.categoria-card
> span:last-child {
  position:
    relative;

  z-index:
    2;
}


/* =========================================================
   15. IDENTIDADE DAS CATEGORIAS
========================================================= */


/* ---------------------------------------------------------
   TODOS
--------------------------------------------------------- */

.categoria-card[data-categoria="todos"] {
  --categoria-cor:
    #ff6230;

  --categoria-borda:
    #ff9d7b;

  --categoria-fundo:
  #f7d7c9;

  --categoria-ativo-inicio:
    #ff8458;

  --categoria-ativo-fim:
    #f4511e;

  --categoria-dark-borda:
    #814128;

  --categoria-dark-fundo:
    #342219;

  --categoria-dark-ativo-inicio:
    #a84725;

  --categoria-dark-ativo-fim:
    #71301c;
}


/* ---------------------------------------------------------
   LANCHONETES
--------------------------------------------------------- */

.categoria-card[data-categoria="Lanchonete"] {
  --categoria-cor:
    #d9870b;

  --categoria-borda:
    #e7bd6a;

  --categoria-fundo:
  #f0dda9;

  --categoria-ativo-inicio:
    #eaaa34;

  --categoria-ativo-fim:
    #c97804;

  --categoria-dark-borda:
    #6c5626;

  --categoria-dark-fundo:
    #30291a;

  --categoria-dark-ativo-inicio:
    #8a661b;

  --categoria-dark-ativo-fim:
    #59420f;
}


/* ---------------------------------------------------------
   RESTAURANTES
--------------------------------------------------------- */

.categoria-card[data-categoria="Restaurante"] {
  --categoria-cor:
    #b75b31;

  --categoria-borda:
    #d69a7c;

  --categoria-fundo:
  #ead0c1;

  --categoria-ativo-inicio:
    #cf7850;

  --categoria-ativo-fim:
    #a24825;

  --categoria-dark-borda:
    #75452f;

  --categoria-dark-fundo:
    #34231d;

  --categoria-dark-ativo-inicio:
    #864829;

  --categoria-dark-ativo-fim:
    #5d301d;
}


/* ---------------------------------------------------------
   PIZZARIAS
--------------------------------------------------------- */

.categoria-card[data-categoria="Pizzaria"] {
  --categoria-cor:
    #c74747;

  --categoria-borda:
    #e39595;

  --categoria-fundo:
  #efcccc;

  --categoria-ativo-inicio:
    #df6868;

  --categoria-ativo-fim:
    #b93636;

  --categoria-dark-borda:
    #713a40;

  --categoria-dark-fundo:
    #352126;

  --categoria-dark-ativo-inicio:
    #8c3d46;

  --categoria-dark-ativo-fim:
    #5f2830;
}


/* ---------------------------------------------------------
   SORVETERIAS
--------------------------------------------------------- */

.categoria-card[data-categoria="Sorveteria"] {
  --categoria-cor:
    #bf4f81;

  --categoria-borda:
    #df94b5;

  --categoria-fundo:
  #ecc8d8;

  --categoria-ativo-inicio:
    #d66c9a;

  --categoria-ativo-fim:
    #ae3e70;

  --categoria-dark-borda:
    #703a58;

  --categoria-dark-fundo:
    #35212e;

  --categoria-dark-ativo-inicio:
    #893a64;

  --categoria-dark-ativo-fim:
    #5c2945;
}


/* ---------------------------------------------------------
   MERCADOS
--------------------------------------------------------- */

.categoria-card[data-categoria="Mercado"] {
  --categoria-cor:
    #278257;

  --categoria-borda:
    #83c5a3;

  --categoria-fundo:
  #cbe4d6;

  --categoria-ativo-inicio:
    #45a977;

  --categoria-ativo-fim:
    #187246;

  --categoria-dark-borda:
    #315e45;

  --categoria-dark-fundo:
    #1c3026;

  --categoria-dark-ativo-inicio:
    #347652;

  --categoria-dark-ativo-fim:
    #214e36;
}


/* ---------------------------------------------------------
   CONFEITARIAS
--------------------------------------------------------- */

.categoria-card[data-categoria="Confeitaria"] {
  --categoria-cor:
    #8253b4;

  --categoria-borda:
    #bca1da;

  --categoria-fundo:
  #ddd0e9;

  --categoria-ativo-inicio:
    #a174cc;

  --categoria-ativo-fim:
    #70429f;

  --categoria-dark-borda:
    #57416d;

  --categoria-dark-fundo:
    #2c2337;

  --categoria-dark-ativo-inicio:
    #674785;

  --categoria-dark-ativo-fim:
    #473159;
}


/* ---------------------------------------------------------
   BEBIDAS
--------------------------------------------------------- */

.categoria-card[data-categoria="Bebidas"] {
  --categoria-cor:
    #3473bc;

  --categoria-borda:
    #94b8e3;

  --categoria-fundo:
  #cedff0;

  --categoria-ativo-inicio:
    #588fd0;

  --categoria-ativo-fim:
    #2863a8;

  --categoria-dark-borda:
    #385776;

  --categoria-dark-fundo:
    #1d2d3e;

  --categoria-dark-ativo-inicio:
    #386d9f;

  --categoria-dark-ativo-fim:
    #284b70;
}


/* =========================================================
   16. CATEGORIA ATIVA — TEMA CLARO
========================================================= */

html:not([data-tema="escuro"])
.categoria-card.ativo {
  transform:
    translateY(-4px);

  border:
    2px solid
    var(--categoria-cor);

  background:
    linear-gradient(
      145deg,
      var(--categoria-ativo-inicio),
      var(--categoria-ativo-fim)
    );

  color:
    var(--categoria-texto-ativo);

  box-shadow:
    0 12px 28px
    rgba(15, 23, 42, 0.16),
    0 0 0 3px
    rgba(255, 255, 255, 0.72);
}

html:not([data-tema="escuro"])
.categoria-card.ativo
.categoria-icone {
  filter:
    saturate(1.12)
    brightness(1.04);

  transform:
    scale(1.10);
}

html:not([data-tema="escuro"])
.categoria-card.ativo
> span:last-child {
  color:
    #ffffff;

  text-shadow:
    0 1px 2px
    rgba(0, 0, 0, 0.16);
}


/* =========================================================
   INDICADOR INFERIOR DA CATEGORIA ATIVA
========================================================= */

.categoria-card.ativo::after {
  content:
    "";

  position:
    absolute;

  z-index:
    3;

  left:
    18%;

  right:
    18%;

  bottom:
    0;

  height:
    4px;

  border-radius:
    4px 4px 0 0;

  background:
    rgba(255, 255, 255, 0.92);

  box-shadow:
    0 -2px 7px
    rgba(0, 0, 0, 0.12);
}


/* =========================================================
   CATEGORIAS — TEMA ESCURO
========================================================= */

html[data-tema="escuro"]
.categoria-card {
  border-color:
    var(--categoria-dark-borda);

  background:
    var(--categoria-dark-fundo);

  color:
    var(--cor-texto);

  box-shadow:
    0 5px 16px
    rgba(0, 0, 0, 0.22);
}

html[data-tema="escuro"]
.categoria-card:hover {
  border-color:
    var(--categoria-cor);

  box-shadow:
    0 9px 24px
    rgba(0, 0, 0, 0.32);
}


/* =========================================================
   CATEGORIA ATIVA — TEMA ESCURO
========================================================= */

html[data-tema="escuro"]
.categoria-card.ativo {
  transform:
    translateY(-4px);

  border:
    2px solid
    var(--categoria-cor);

  background:
    linear-gradient(
      145deg,
      var(--categoria-dark-ativo-inicio),
      var(--categoria-dark-ativo-fim)
    );

  color:
    #ffffff;

  box-shadow:
    0 12px 30px
    rgba(0, 0, 0, 0.42),
    0 0 0 2px
    rgba(255, 255, 255, 0.035);
}

html[data-tema="escuro"]
.categoria-card.ativo
.categoria-icone {
  transform:
    scale(1.10);

  filter:
    saturate(1.18)
    brightness(1.08);
}

html[data-tema="escuro"]
.categoria-card.ativo
> span:last-child {
  color:
    #ffffff;

  text-shadow:
    0 1px 3px
    rgba(0, 0, 0, 0.28);
}


/* =========================================================
   AJUSTES DE TAMANHO DAS CATEGORIAS
========================================================= */

@media (min-width: 700px) {

  .categorias-lista {
    gap:
      12px;
  }

  .categoria-card {
    min-width:
      108px;

    min-height:
      98px;
  }

}


@media (min-width: 900px) {

  .categorias-lista {
    display:
      grid;

    grid-template-columns:
      repeat(8, minmax(0, 1fr));

    overflow:
      visible;

    padding:
      3px;

    gap:
      10px;
  }

  .categoria-card {
    min-width:
      0;

    width:
      100%;

    min-height:
      106px;

    padding-left:
      8px;

    padding-right:
      8px;
  }

  .categoria-icone {
    font-size:
      28px;
  }

}


@media (max-width: 520px) {

  .categoria-card {
    min-width:
      84px;

    min-height:
      86px;
  }

  .categoria-icone {
    font-size:
      24px;
  }

}


/* =========================================================
   REGIÃO RANGO
   HOME DO CLIENTE

   STYLE.CSS CONSOLIDADO
   PARTE 3 DE 4

   17. ESTABELECIMENTOS
   18. IDENTIDADE POR CATEGORIA
   19. IMAGEM E CONTEÚDO
   20. STATUS
   21. ESTADOS DA LISTA
   22. NAVEGAÇÃO INFERIOR
========================================================= */


/* =========================================================
   17. ESTABELECIMENTOS
========================================================= */

.secao-estabelecimentos {
  padding-top:
    18px;

  padding-bottom:
    120px;
}

.quantidade-estabelecimentos {
  color:
    var(--cor-texto-secundario);

  font-size:
    12px;

  font-weight:
    650;
}

.estabelecimentos-grid {
  display:
    grid;

  grid-template-columns:
    1fr;

  gap:
    14px;
}


/* =========================================================
   CARD BASE DO ESTABELECIMENTO
========================================================= */

.estabelecimento-card {
  --estabelecimento-cor:
    #697788;

  --estabelecimento-borda:
    #aeb9c5;

  --estabelecimento-fundo-claro-1:
    #dde4eb;

  --estabelecimento-fundo-claro-2:
    #cfd8e2;

  --estabelecimento-fundo-escuro-1:
    #303741;

  --estabelecimento-fundo-escuro-2:
    #252b33;

  --estabelecimento-imagem-fundo:
    #e8edf2;

  position:
    relative;

  min-width:
    0;

  overflow:
    hidden;

  display:
    flex;

  align-items:
    center;

  gap:
    14px;

  padding:
    14px 14px 14px 17px;

  border:
    1px solid
    var(--estabelecimento-borda);

  border-radius:
    18px;

  color:
    var(--cor-texto);

  box-shadow:
    0 7px 20px
    rgba(15, 23, 42, 0.10);

  cursor:
    pointer;

  transform:
    translateY(0);

  transition:
    transform 0.20s ease,
    border-color 0.20s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}


/* =========================================================
   FUNDO — TEMA CLARO
========================================================= */

html:not([data-tema="escuro"])
.estabelecimento-card {
  background:
    linear-gradient(
      145deg,
      var(--estabelecimento-fundo-claro-1),
      var(--estabelecimento-fundo-claro-2)
    );
}


/* =========================================================
   FUNDO — TEMA ESCURO
========================================================= */

html[data-tema="escuro"]
.estabelecimento-card {
  background:
    linear-gradient(
      145deg,
      var(--estabelecimento-fundo-escuro-1),
      var(--estabelecimento-fundo-escuro-2)
    );

  box-shadow:
    0 9px 26px
    rgba(0, 0, 0, 0.30);
}


/* =========================================================
   FAIXA DA CATEGORIA
========================================================= */

.estabelecimento-card::before {
  content:
    "";

  position:
    absolute;

  left:
    0;

  top:
    13%;

  bottom:
    13%;

  width:
    4px;

  border-radius:
    0 5px 5px 0;

  background:
    var(--estabelecimento-cor);

  opacity:
    1;

  box-shadow:
    2px 0 10px
    color-mix(
      in srgb,
      var(--estabelecimento-cor) 28%,
      transparent
    );

  transition:
    width 0.20s ease,
    top 0.20s ease,
    bottom 0.20s ease;
}


/* =========================================================
   HOVER
========================================================= */

.estabelecimento-card:hover {
  transform:
    translateY(-3px);

  border-color:
    var(--estabelecimento-cor);

  box-shadow:
    0 14px 32px
    rgba(15, 23, 42, 0.15);
}

html[data-tema="escuro"]
.estabelecimento-card:hover {
  box-shadow:
    0 16px 36px
    rgba(0, 0, 0, 0.40);
}

.estabelecimento-card:hover::before {
  width:
    5px;

  top:
    8%;

  bottom:
    8%;
}


/* =========================================================
   18. IDENTIDADE POR CATEGORIA
========================================================= */


/* ---------------------------------------------------------
   LANCHONETE
--------------------------------------------------------- */

.estabelecimento-card.categoria-lanchonete {
  --estabelecimento-cor:
    #cb7a07;

  --estabelecimento-borda:
    #d5a649;

  --estabelecimento-fundo-claro-1:
    #f5e5b9;

  --estabelecimento-fundo-claro-2:
    #ecd48f;

  --estabelecimento-fundo-escuro-1:
    #3a311e;

  --estabelecimento-fundo-escuro-2:
    #2c2518;

  --estabelecimento-imagem-fundo:
    #f8ecc9;
}


/* ---------------------------------------------------------
   RESTAURANTE
--------------------------------------------------------- */

.estabelecimento-card.categoria-restaurante {
  --estabelecimento-cor:
    #a9502c;

  --estabelecimento-borda:
    #ce8766;

  --estabelecimento-fundo-claro-1:
    #efd4c4;

  --estabelecimento-fundo-claro-2:
    #e4bda7;

  --estabelecimento-fundo-escuro-1:
    #3c2921;

  --estabelecimento-fundo-escuro-2:
    #2e211c;

  --estabelecimento-imagem-fundo:
    #f4ddcf;
}


/* ---------------------------------------------------------
   PIZZARIA
--------------------------------------------------------- */

.estabelecimento-card.categoria-pizzaria {
  --estabelecimento-cor:
    #bd3e3e;

  --estabelecimento-borda:
    #db7d7d;

  --estabelecimento-fundo-claro-1:
    #f2cece;

  --estabelecimento-fundo-claro-2:
    #e8b1b1;

  --estabelecimento-fundo-escuro-1:
    #3d2529;

  --estabelecimento-fundo-escuro-2:
    #302023;

  --estabelecimento-imagem-fundo:
    #f7dcdc;
}


/* ---------------------------------------------------------
   SORVETERIA
--------------------------------------------------------- */

.estabelecimento-card.categoria-sorveteria {
  --estabelecimento-cor:
    #b14375;

  --estabelecimento-borda:
    #d77fa6;

  --estabelecimento-fundo-claro-1:
    #efcddd;

  --estabelecimento-fundo-claro-2:
    #e5b1c8;

  --estabelecimento-fundo-escuro-1:
    #3b2532;

  --estabelecimento-fundo-escuro-2:
    #2e2028;

  --estabelecimento-imagem-fundo:
    #f6dce7;
}


/* ---------------------------------------------------------
   MERCADO
--------------------------------------------------------- */

.estabelecimento-card.categoria-mercado {
  --estabelecimento-cor:
    #20764d;

  --estabelecimento-borda:
    #6aae8b;

  --estabelecimento-fundo-claro-1:
    #cce7d8;

  --estabelecimento-fundo-claro-2:
    #abd5bd;

  --estabelecimento-fundo-escuro-1:
    #21362b;

  --estabelecimento-fundo-escuro-2:
    #192b22;

  --estabelecimento-imagem-fundo:
    #dcefe4;
}


/* ---------------------------------------------------------
   CONFEITARIA
--------------------------------------------------------- */

.estabelecimento-card.categoria-confeitaria {
  --estabelecimento-cor:
    #7446a2;

  --estabelecimento-borda:
    #a883c9;

  --estabelecimento-fundo-claro-1:
    #dfd0ed;

  --estabelecimento-fundo-claro-2:
    #cdb6e1;

  --estabelecimento-fundo-escuro-1:
    #30263c;

  --estabelecimento-fundo-escuro-2:
    #26202f;

  --estabelecimento-imagem-fundo:
    #eae0f3;
}


/* ---------------------------------------------------------
   BEBIDAS
--------------------------------------------------------- */

.estabelecimento-card.categoria-bebidas {
  --estabelecimento-cor:
    #2d68aa;

  --estabelecimento-borda:
    #7da5d2;

  --estabelecimento-fundo-claro-1:
    #cadcf0;

  --estabelecimento-fundo-claro-2:
    #aec8e4;

  --estabelecimento-fundo-escuro-1:
    #223246;

  --estabelecimento-fundo-escuro-2:
    #1b2938;

  --estabelecimento-imagem-fundo:
    #dce8f5;
}


/* ---------------------------------------------------------
   OUTROS
--------------------------------------------------------- */

.estabelecimento-card.categoria-outros {
  --estabelecimento-cor:
    #657486;

  --estabelecimento-borda:
    #9eabb9;

  --estabelecimento-fundo-claro-1:
    #dde4eb;

  --estabelecimento-fundo-claro-2:
    #cbd5df;

  --estabelecimento-fundo-escuro-1:
    #303741;

  --estabelecimento-fundo-escuro-2:
    #252b33;

  --estabelecimento-imagem-fundo:
    #e7ecf1;
}


/* =========================================================
   19. IMAGEM DO ESTABELECIMENTO
========================================================= */

.estabelecimento-imagem {
  width:
    76px;

  height:
    76px;

  flex-shrink:
    0;

  overflow:
    hidden;

  display:
    grid;

  place-items:
    center;

  border:
    1px solid
    var(--estabelecimento-cor);

  border-radius:
    16px;

  background:
    var(--estabelecimento-imagem-fundo);

  color:
    var(--estabelecimento-cor);

  font-size:
    22px;

  font-weight:
    850;

  box-shadow:
    inset 0 0 0 1px
    rgba(255, 255, 255, 0.24),
    0 4px 12px
    rgba(15, 23, 42, 0.08);
}

.estabelecimento-imagem img {
  width:
    100%;

  height:
    100%;

  object-fit:
    cover;
}

html[data-tema="escuro"]
.estabelecimento-imagem {
  background:
    rgba(0, 0, 0, 0.18);

  box-shadow:
    inset 0 0 0 1px
    rgba(255, 255, 255, 0.035),
    0 5px 14px
    rgba(0, 0, 0, 0.18);
}


/* =========================================================
   CONTEÚDO
========================================================= */

.estabelecimento-conteudo {
  min-width:
    0;

  flex:
    1;
}

.estabelecimento-topo {
  display:
    flex;

  align-items:
    flex-start;

  justify-content:
    space-between;

  gap:
    8px;
}

.estabelecimento-nome {
  overflow:
    hidden;

  text-overflow:
    ellipsis;

  white-space:
    nowrap;

  color:
    var(--cor-texto);

  font-size:
    15px;

  font-weight:
    850;

  letter-spacing:
    -0.2px;
}

.estabelecimento-categoria {
  margin-top:
    5px;

  overflow:
    hidden;

  text-overflow:
    ellipsis;

  white-space:
    nowrap;

  color:
    var(--cor-texto-secundario);

  font-size:
    12px;

  font-weight:
    550;
}

html:not([data-tema="escuro"])
.estabelecimento-categoria {
  color:
    rgba(31, 41, 55, 0.68);
}

.estabelecimento-informacoes {
  margin-top:
    9px;

  display:
    flex;

  flex-wrap:
    wrap;

  align-items:
    center;

  gap:
    6px;

  color:
    var(--cor-texto-secundario);

  font-size:
    11px;

  font-weight:
    500;
}


/* =========================================================
   20. STATUS ABERTO / FECHADO
========================================================= */

.estabelecimento-status {
  min-height:
    25px;

  display:
    inline-flex;

  align-items:
    center;

  gap:
    6px;

  padding:
    4px 8px;

  border:
    1px solid transparent;

  border-radius:
    999px;

  font-size:
    11px;

  font-weight:
    850;

  line-height:
    1;
}

.estabelecimento-status::before {
  content:
    "";

  width:
    7px;

  height:
    7px;

  flex-shrink:
    0;

  border-radius:
    50%;
}


/* ABERTO */

.estabelecimento-status.aberto {
  color:
    var(--cor-status-aberto);

  background:
    var(--cor-status-aberto-fundo);

  border-color:
    var(--cor-status-aberto-borda);
}

.estabelecimento-status.aberto::before {
  background:
    var(--cor-status-aberto);

  box-shadow:
    0 0 0 3px
    rgba(34, 197, 94, 0.12);
}


/* FECHADO */

.estabelecimento-status.fechado {
  color:
    var(--cor-status-fechado);

  background:
    var(--cor-status-fechado-fundo);

  border-color:
    var(--cor-status-fechado-borda);
}

.estabelecimento-status.fechado::before {
  background:
    var(--cor-status-fechado);

  box-shadow:
    0 0 0 3px
    rgba(239, 68, 68, 0.12);
}


/* =========================================================
   ETIQUETAS SECUNDÁRIAS
========================================================= */

.estabelecimento-informacoes
> span:not(.estabelecimento-status) {
  min-height:
    23px;

  display:
    inline-flex;

  align-items:
    center;

  padding:
    3px 7px;

  border:
    1px solid
    rgba(255, 255, 255, 0.42);

  border-radius:
    999px;

  background:
    rgba(255, 255, 255, 0.55);

  color:
    rgba(31, 41, 55, 0.74);

  font-weight:
    650;

  line-height:
    1;
}

html[data-tema="escuro"]
.estabelecimento-informacoes
> span:not(.estabelecimento-status) {
  border-color:
    rgba(255, 255, 255, 0.05);

  background:
    rgba(255, 255, 255, 0.065);

  color:
    #c3cad4;
}


/* =========================================================
   21. ESTADOS DA LISTA
========================================================= */

.estado-carregamento,
.estado-mensagem {
  min-height:
    210px;

  display:
    flex;

  flex-direction:
    column;

  align-items:
    center;

  justify-content:
    center;

  padding:
    30px 20px;

  text-align:
    center;
}

.estado-carregamento {
  gap:
    14px;

  color:
    var(--cor-texto-secundario);

  font-size:
    13px;
}

.spinner {
  width:
    30px;

  height:
    30px;

  border:
    3px solid
    var(--cor-borda);

  border-top-color:
    var(--cor-primaria);

  border-radius:
    50%;

  animation:
    girar 0.75s linear infinite;
}

@keyframes girar {
  to {
    transform:
      rotate(360deg);
  }
}

.estado-mensagem {
  max-width:
    470px;

  margin:
    0 auto;
}

.estado-icone {
  margin-bottom:
    12px;

  font-size:
    36px;
}

.estado-mensagem h3 {
  color:
    var(--cor-texto);

  font-size:
    17px;

  letter-spacing:
    -0.3px;
}

.estado-mensagem p {
  max-width:
    380px;

  margin-top:
    7px;

  color:
    var(--cor-texto-secundario);

  font-size:
    13px;

  line-height:
    1.55;
}

.botao-tentar-novamente {
  margin-top:
    17px;

  padding:
    11px 17px;

  border-radius:
    11px;

  background:
    var(--cor-primaria);

  color:
    #ffffff;

  font-size:
    13px;

  font-weight:
    750;

  box-shadow:
    0 5px 14px
    rgba(255, 107, 53, 0.18);

  cursor:
    pointer;

  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.botao-tentar-novamente:hover {
  background:
    var(--cor-primaria-escura);

  box-shadow:
    0 7px 18px
    rgba(255, 107, 53, 0.24);
}


/* =========================================================
   22. NAVEGAÇÃO INFERIOR
========================================================= */

.navegacao-mobile {
  position:
    fixed;

  z-index:
    90;

  left:
    50%;

  right:
    auto;

  bottom:
    max(
      10px,
      env(safe-area-inset-bottom)
    );

  width:
    min(
      540px,
      calc(100% - 24px)
    );

  min-height:
    68px;

  display:
    grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap:
    4px;

  padding:
    5px;

  border:
    1px solid
    #cbd6e1;

  border-radius:
    21px;

  transform:
    translateX(-50%);

  background:
    rgba(239, 244, 249, 0.96);

  box-shadow:
    0 10px 30px
    rgba(15, 23, 42, 0.16);

  backdrop-filter:
    blur(16px);

  -webkit-backdrop-filter:
    blur(16px);
}


/* =========================================================
   ITEM BASE
========================================================= */

.navegacao-item {
  min-width:
    0;

  min-height:
    56px;

  display:
    flex;

  flex-direction:
    column;

  align-items:
    center;

  justify-content:
    center;

  gap:
    4px;

  padding:
    5px 4px;

  border:
    1px solid transparent;

  border-radius:
    16px;

  background:
    transparent;

  color:
    var(--cor-texto-secundario);

  font-size:
    10px;

  font-weight:
    750;

  cursor:
    pointer;

  transition:
    transform 0.18s ease,
    color 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.navegacao-icone {
  font-size:
    19px;

  line-height:
    1;
}

.navegacao-item:hover {
  transform:
    translateY(-1px);
}

.navegacao-item:active {
  transform:
    scale(0.97);
}


/* =========================================================
   INÍCIO
========================================================= */

.navegacao-item:nth-child(1) {
  background:
    #ffebe2;

  color:
    #df5728;
}

.navegacao-item:nth-child(1):hover {
  border-color:
    #f3b49d;
}

.navegacao-item:nth-child(1).ativo {
  border-color:
    #ef8c66;

  background:
    linear-gradient(
      145deg,
      #ff7a49,
      #ed5a27
    );

  color:
    #ffffff;

  box-shadow:
    0 6px 15px
    rgba(239, 90, 39, 0.25);
}


/* =========================================================
   BUSCAR
========================================================= */

.navegacao-item:nth-child(2) {
  background:
    #e5f0fb;

  color:
    #3471b6;
}

.navegacao-item:nth-child(2):hover {
  border-color:
    #9fc0e4;
}

.navegacao-item:nth-child(2).ativo {
  border-color:
    #74a6da;

  background:
    linear-gradient(
      145deg,
      #5b94d1,
      #3471b6
    );

  color:
    #ffffff;

  box-shadow:
    0 6px 15px
    rgba(52, 113, 182, 0.24);
}


/* =========================================================
   PEDIDOS
========================================================= */

.navegacao-item:nth-child(3) {
  background:
    #eee9ff;

  color:
    #7355c5;
}

.navegacao-item:nth-child(3):hover {
  border-color:
    #c0afea;
}

.navegacao-item:nth-child(3).ativo {
  border-color:
    #9d84dc;

  background:
    linear-gradient(
      145deg,
      #8a70cf,
      #6748bb
    );

  color:
    #ffffff;

  box-shadow:
    0 6px 15px
    rgba(103, 72, 187, 0.24);
}


/* =========================================================
   PERFIL
========================================================= */

.navegacao-item:nth-child(4) {
  background:
    #e8edf3;

  color:
    #526477;
}

.navegacao-item:nth-child(4):hover {
  border-color:
    #b6c1cd;
}

.navegacao-item:nth-child(4).ativo {
  border-color:
    #8696a7;

  background:
    linear-gradient(
      145deg,
      #6c7e91,
      #4d6073
    );

  color:
    #ffffff;

  box-shadow:
    0 6px 15px
    rgba(77, 96, 115, 0.24);
}


/* =========================================================
   BARRA — TEMA ESCURO
========================================================= */

html[data-tema="escuro"]
.navegacao-mobile {
  border-color:
    #39434f;

  background:
    rgba(25, 30, 37, 0.96);

  box-shadow:
    0 14px 38px
    rgba(0, 0, 0, 0.44);
}


/* INÍCIO */

html[data-tema="escuro"]
.navegacao-item:nth-child(1) {
  background:
    #39251d;

  color:
    #ff9169;
}

html[data-tema="escuro"]
.navegacao-item:nth-child(1).ativo {
  border-color:
    #bb5937;

  background:
    linear-gradient(
      145deg,
      #8b3d23,
      #652d1c
    );

  color:
    #ffffff;
}


/* BUSCAR */

html[data-tema="escuro"]
.navegacao-item:nth-child(2) {
  background:
    #1d2d3e;

  color:
    #79abe1;
}

html[data-tema="escuro"]
.navegacao-item:nth-child(2).ativo {
  border-color:
    #466f9b;

  background:
    linear-gradient(
      145deg,
      #315f8d,
      #234766
    );

  color:
    #ffffff;
}


/* PEDIDOS */

html[data-tema="escuro"]
.navegacao-item:nth-child(3) {
  background:
    #2c263e;

  color:
    #ad98ef;
}

html[data-tema="escuro"]
.navegacao-item:nth-child(3).ativo {
  border-color:
    #6e5a9f;

  background:
    linear-gradient(
      145deg,
      #584489,
      #403263
    );

  color:
    #ffffff;
}


/* PERFIL */

html[data-tema="escuro"]
.navegacao-item:nth-child(4) {
  background:
    #252d36;

  color:
    #aab5c2;
}

html[data-tema="escuro"]
.navegacao-item:nth-child(4).ativo {
  border-color:
    #596776;

  background:
    linear-gradient(
      145deg,
      #465463,
      #343f4b
    );

  color:
    #ffffff;
}


/* =========================================================
   RESPONSIVIDADE DA BARRA
========================================================= */

@media (max-width: 430px) {

  .navegacao-mobile {
    width:
      calc(100% - 18px);

    min-height:
      65px;

    gap:
      3px;

    padding:
      4px;

    border-radius:
      19px;
  }

  .navegacao-item {
    min-height:
      55px;

    border-radius:
      15px;
  }

}


@media (max-width: 350px) {

  .navegacao-mobile {
    width:
      calc(100% - 12px);
  }

  .navegacao-item {
    font-size:
      9px;
  }

  .navegacao-icone {
    font-size:
      17px;
  }

}


/* =========================================================
   REGIÃO RANGO
   HOME DO CLIENTE

   STYLE.CSS CONSOLIDADO
   PARTE 4 DE 4

   23. OVERLAY
   24. ACESSIBILIDADE
   25. RESPONSIVIDADE
   26. NOTIFICAÇÕES
   27. SELETOR DE LOCALIDADE
   28. REDUÇÃO DE MOVIMENTO
========================================================= */


/* =========================================================
   23. OVERLAY
========================================================= */

.overlay {
  position:
    fixed;

  z-index:
    200;

  inset:
    0;

  background:
    rgba(15, 23, 42, 0.18);

  backdrop-filter:
    blur(1px);

  -webkit-backdrop-filter:
    blur(1px);
}

html[data-tema="escuro"]
.overlay {
  background:
    rgba(0, 0, 0, 0.32);
}


/* =========================================================
   24. ACESSIBILIDADE
========================================================= */

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline:
    3px solid
    rgba(255, 107, 53, 0.30);

  outline-offset:
    2px;
}


/* =========================================================
   25. TABLET
========================================================= */

@media (min-width: 640px) {

  .container,
  .cabecalho-conteudo {
    width:
      min(
        calc(100% - 48px),
        var(--largura-container)
      );
  }


  /* MARCA */

  .marca-nome {
    display:
      inline;
  }


  /* LOCALIZAÇÃO */

  .botao-localizacao {
    max-width:
      270px;

    padding:
      7px 12px;
  }

  .localizacao-label {
    font-size:
      11px;
  }

  .localizacao-valor {
    font-size:
      13px;
  }

  .localizacao-seta {
    display:
      inline;
  }


  /* USUÁRIO */

  .usuario-nome {
    display:
      block;

    max-width:
      120px;

    overflow:
      hidden;

    text-overflow:
      ellipsis;

    white-space:
      nowrap;

    font-size:
      13px;

    font-weight:
      700;
  }

  .usuario-seta {
    display:
      inline;

    color:
      var(--cor-texto-secundario);

    font-size:
      11px;
  }


  /* APRESENTAÇÃO */

  .secao-apresentacao {
    padding:
      44px 0 37px;
  }

  .apresentacao-descricao {
    font-size:
      15px;
  }

  .busca-container {
    margin-top:
      27px;
  }


  /* ESTABELECIMENTOS */

  .estabelecimentos-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );

    gap:
      16px;
  }

  .estabelecimento-card {
    min-height:
      116px;

    padding:
      15px 15px 15px 18px;
  }

  .estabelecimento-imagem {
    width:
      82px;

    height:
      82px;
  }

}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 900px) {

  .cabecalho-conteudo {
    min-height:
      78px;
  }

  .marca-logo {
    width:
      44px;

    height:
      44px;
  }

  .marca-nome {
    font-size:
      19px;
  }

  .cabecalho-acoes {
    gap:
      12px;
  }


  /* LOCALIZAÇÃO */

  .botao-localizacao {
    max-width:
      320px;

    min-height:
      50px;
  }


  /* USUÁRIO */

  .botao-usuario {
    min-height:
      50px;

    padding:
      6px 11px 6px 7px;
  }

  .menu-usuario {
    top:
      calc(100% + 10px);

    right:
      0;

    width:
      235px;

    border-radius:
      15px;
  }


  /* APRESENTAÇÃO */

  .secao-apresentacao {
    padding:
      56px 0 45px;
  }

  .apresentacao-saudacao {
    font-size:
      14px;
  }

  .apresentacao-textos h1 {
    font-size:
      44px;
  }

  .apresentacao-descricao {
    margin-top:
      12px;
  }

  .campo-busca {
    height:
      58px;

    font-size:
      15px;
  }


  /* SEÇÕES */

  .secao {
    padding-top:
      32px;

    padding-bottom:
      32px;
  }

  .secao-categorias {
    padding-top:
      24px;

    padding-bottom:
      18px;
  }

  .secao-estabelecimentos {
    padding-top:
      23px;

    padding-bottom:
      125px;
  }

  .secao h2 {
    font-size:
      24px;
  }


  /* ESTABELECIMENTOS */

  .estabelecimentos-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );

    gap:
      18px;
  }

  .estabelecimento-card {
    min-height:
      120px;

    padding:
      16px 16px 16px 19px;

    gap:
      15px;
  }

  .estabelecimento-imagem {
    width:
      88px;

    height:
      88px;
  }

  .estabelecimento-nome {
    font-size:
      16px;
  }


  /* BARRA INFERIOR */

  .navegacao-mobile {
    bottom:
      18px;

    width:
      min(
        500px,
        calc(100% - 40px)
      );

    min-height:
      64px;
  }

}


/* =========================================================
   DESKTOP GRANDE
========================================================= */

@media (min-width: 1200px) {

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

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 639px) {

  .cabecalho-conteudo {
    gap:
      8px;
  }


  /* LOCALIZAÇÃO */

  .botao-localizacao {
    min-height:
      42px;

    padding:
      5px 7px;

    border-radius:
      12px;
  }

  .icone-localizacao {
    width:
      27px;

    height:
      27px;

    font-size:
      15px;
  }


  /* USUÁRIO */

  .botao-usuario {
    min-height:
      42px;

    padding:
      3px;
  }

  .usuario-avatar {
    width:
      34px;

    height:
      34px;
  }


  /* CARDS */

  .estabelecimento-card {
    padding-left:
      17px;
  }

  .estabelecimento-card::before {
    top:
      12%;

    bottom:
      12%;
  }

}


/* =========================================================
   TELAS MUITO PEQUENAS
========================================================= */

@media (max-width: 370px) {

  .container,
  .cabecalho-conteudo {
    width:
      min(
        calc(100% - 22px),
        var(--largura-container)
      );
  }

  .cabecalho-conteudo {
    gap:
      6px;
  }


  /* MARCA */

  .marca-logo {
    width:
      38px;

    height:
      38px;

    border-radius:
      11px;

    font-size:
      13px;
  }


  /* LOCALIZAÇÃO */

  .botao-localizacao {
    max-width:
      168px;

    padding-left:
      5px;

    padding-right:
      5px;
  }

  .icone-localizacao {
    width:
      25px;

    height:
      25px;

    font-size:
      14px;
  }


  /* APRESENTAÇÃO */

  .apresentacao-textos h1 {
    font-size:
      25px;
  }


  /* ESTABELECIMENTOS */

  .estabelecimento-card {
    gap:
      11px;

    padding:
      12px 12px 12px 16px;
  }

  .estabelecimento-imagem {
    width:
      68px;

    height:
      68px;

    border-radius:
      14px;

    font-size:
      19px;
  }

  .estabelecimento-nome {
    font-size:
      14px;
  }

  .estabelecimento-informacoes {
    gap:
      5px;
  }

}


/* =========================================================
   26. NOTIFICAÇÕES
========================================================= */

.notificacoes-area {
  position:
    relative;

  flex:
    0 0 auto;
}


/* =========================================================
   BOTÃO DO SINO
========================================================= */

.botao-notificacoes {
  position:
    relative;

  width:
    48px;

  height:
    48px;

  flex:
    0 0 48px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  padding:
    0;

  border:
    1px solid
    var(--cor-cabecalho-borda);

  border-radius:
    14px;

  background:
    var(--cor-cabecalho-botao);

  color:
    var(--cor-texto);

  cursor:
    pointer;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.botao-notificacoes:hover {
  transform:
    translateY(-1px);

  border-color:
    rgba(255, 107, 53, 0.55);

  background:
    var(--cor-cabecalho-botao-hover);

  box-shadow:
    0 8px 20px
    rgba(15, 23, 42, 0.10);
}

.botao-notificacoes:active {
  transform:
    translateY(0);
}

.botao-notificacoes:focus-visible {
  outline:
    3px solid
    rgba(255, 107, 53, 0.22);

  outline-offset:
    2px;
}

.notificacoes-icone {
  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  font-size:
    21px;

  line-height:
    1;
}


/* =========================================================
   BADGE
========================================================= */

.notificacoes-badge {
  position:
    absolute;

  top:
    -5px;

  right:
    -5px;

  min-width:
    20px;

  height:
    20px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  padding:
    0 5px;

  border:
    2px solid
    var(--cor-superficie);

  border-radius:
    999px;

  background:
    #ff5a36;

  color:
    #ffffff;

  font-size:
    10px;

  font-weight:
    800;

  line-height:
    1;

  box-shadow:
    0 3px 8px
    rgba(0, 0, 0, 0.18);
}

.notificacoes-badge[hidden] {
  display:
    none;
}


/* =========================================================
   PAINEL DE NOTIFICAÇÕES
========================================================= */

.painel-notificacoes {
  position:
    absolute;

  top:
    calc(100% + 12px);

  right:
    0;

  z-index:
    420;

  width:
    min(
      380px,
      calc(100vw - 32px)
    );

  overflow:
    hidden;

  border:
    1px solid
    var(--cor-borda);

  border-radius:
    18px;

  background:
    var(--cor-superficie);

  color:
    var(--cor-texto);

  box-shadow:
    0 22px 55px
    rgba(15, 23, 42, 0.18);
}

.painel-notificacoes[hidden] {
  display:
    none;
}

.painel-notificacoes-topo {
  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    16px;

  padding:
    18px 18px 16px;

  border-bottom:
    1px solid
    var(--cor-borda);
}

.painel-notificacoes-label {
  display:
    block;

  margin-bottom:
    4px;

  color:
    var(--cor-texto-secundario);

  font-size:
    11px;

  font-weight:
    700;

  letter-spacing:
    0.08em;

  text-transform:
    uppercase;
}

.painel-notificacoes-topo h2 {
  margin:
    0;

  font-size:
    18px;

  line-height:
    1.2;
}


/* =========================================================
   FECHAR NOTIFICAÇÕES
========================================================= */

.botao-fechar-notificacoes {
  width:
    36px;

  height:
    36px;

  flex:
    0 0 36px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  padding:
    0;

  border:
    0;

  border-radius:
    10px;

  background:
    transparent;

  color:
    var(--cor-texto-secundario);

  font-size:
    24px;

  line-height:
    1;

  cursor:
    pointer;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.botao-fechar-notificacoes:hover {
  background:
    rgba(127, 127, 127, 0.10);

  color:
    var(--cor-texto);

  transform:
    scale(1.04);
}


/* =========================================================
   LISTA DE NOTIFICAÇÕES
========================================================= */

.lista-notificacoes {
  max-height:
    min(
      430px,
      60vh
    );

  overflow-y:
    auto;
}

.notificacoes-vazio {
  min-height:
    260px;

  display:
    flex;

  flex-direction:
    column;

  align-items:
    center;

  justify-content:
    center;

  padding:
    38px 28px;

  text-align:
    center;
}

.notificacoes-vazio-icone {
  width:
    64px;

  height:
    64px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  margin-bottom:
    18px;

  border-radius:
    20px;

  background:
    rgba(255, 107, 53, 0.10);

  font-size:
    27px;
}

.notificacoes-vazio h3 {
  margin:
    0 0 8px;

  font-size:
    16px;

  line-height:
    1.35;
}

.notificacoes-vazio p {
  max-width:
    260px;

  margin:
    0;

  color:
    var(--cor-texto-secundario);

  font-size:
    13px;

  line-height:
    1.6;
}


/* =========================================================
   NOTIFICAÇÕES — TEMA ESCURO
========================================================= */

html[data-tema="escuro"]
.botao-notificacoes {
  border-color:
    #48515e;

  background:
    #2c323b;

  color:
    #f8fafc;

  box-shadow:
    0 6px 18px
    rgba(0, 0, 0, 0.20);
}

html[data-tema="escuro"]
.botao-notificacoes:hover {
  border-color:
    rgba(255, 116, 66, 0.60);

  background:
    #343b46;

  box-shadow:
    0 10px 24px
    rgba(0, 0, 0, 0.30);
}

html[data-tema="escuro"]
.painel-notificacoes {
  border-color:
    #48515e;

  background:
    #252b33;

  color:
    #f8fafc;

  box-shadow:
    0 24px 60px
    rgba(0, 0, 0, 0.42);
}

html[data-tema="escuro"]
.painel-notificacoes-topo {
  border-bottom-color:
    #3f4752;
}

html[data-tema="escuro"]
.painel-notificacoes-label,
html[data-tema="escuro"]
.notificacoes-vazio p {
  color:
    #aeb7c4;
}

html[data-tema="escuro"]
.botao-fechar-notificacoes {
  color:
    #aeb7c4;
}

html[data-tema="escuro"]
.botao-fechar-notificacoes:hover {
  background:
    rgba(255, 255, 255, 0.08);

  color:
    #ffffff;
}

html[data-tema="escuro"]
.notificacoes-vazio-icone {
  background:
    rgba(255, 116, 66, 0.14);
}


/* =========================================================
   NOTIFICAÇÕES — MOBILE
========================================================= */

@media (max-width: 700px) {

  .botao-notificacoes {
    width:
      44px;

    height:
      44px;

    flex-basis:
      44px;

    border-radius:
      13px;
  }

  .notificacoes-icone {
    font-size:
      19px;
  }

  .painel-notificacoes {
    position:
      fixed;

    top:
      72px;

    right:
      12px;

    left:
      12px;

    width:
      auto;

    max-height:
      calc(100dvh - 96px);
  }

  .lista-notificacoes {
    max-height:
      calc(100dvh - 180px);
  }

}


/* =========================================================
   27. SELETOR DE CIDADE / LOCALIDADE
========================================================= */

.painel-localizacao {
  position:
    fixed;

  z-index:
    430;

  top:
    50%;

  left:
    50%;

  width:
    min(
      420px,
      calc(100vw - 32px)
    );

  max-height:
    min(
      620px,
      calc(100vh - 40px)
    );

  overflow:
    hidden;

  transform:
    translate(
      -50%,
      -50%
    );

  border:
    1px solid
    var(--cor-borda);

  border-radius:
    20px;

  background:
    var(--cor-superficie);

  color:
    var(--cor-texto);

  box-shadow:
    0 24px 70px
    rgba(15, 23, 42, 0.22);
}

.painel-localizacao-topo {
  display:
    flex;

  align-items:
    flex-start;

  justify-content:
    space-between;

  gap:
    18px;

  padding:
    22px 22px 16px;

  border-bottom:
    1px solid
    var(--cor-borda);
}

.painel-localizacao-label {
  display:
    block;

  margin-bottom:
    4px;

  color:
    var(--cor-primaria);

  font-size:
    11px;

  font-weight:
    800;

  letter-spacing:
    0.08em;

  text-transform:
    uppercase;
}

.painel-localizacao-topo h2 {
  margin:
    0;

  font-size:
    20px;

  line-height:
    1.25;
}

.botao-fechar-localizacao {
  width:
    36px;

  height:
    36px;

  flex:
    0 0 36px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  padding:
    0;

  border-radius:
    10px;

  background:
    transparent;

  color:
    var(--cor-texto-secundario);

  font-size:
    24px;

  line-height:
    1;

  cursor:
    pointer;
}

.botao-fechar-localizacao:hover {
  background:
    rgba(127, 127, 127, 0.10);

  color:
    var(--cor-texto);
}

.painel-localizacao-descricao {
  margin:
    0;

  padding:
    16px 22px 12px;

  color:
    var(--cor-texto-secundario);

  font-size:
    13px;

  line-height:
    1.55;
}


/* =========================================================
   LISTA DE LOCALIDADES
========================================================= */

.lista-localizacoes {
  max-height:
    330px;

  display:
    flex;

  flex-direction:
    column;

  gap:
    8px;

  padding:
    8px 14px 18px;

  overflow-y:
    auto;
}

.localizacao-opcao {
  width:
    100%;

  min-height:
    54px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    14px;

  padding:
    12px 14px;

  border:
    1px solid
    var(--cor-borda);

  border-radius:
    14px;

  background:
    var(--cor-superficie);

  color:
    var(--cor-texto);

  text-align:
    left;

  cursor:
    pointer;

  transition:
    border-color 0.20s ease,
    background-color 0.20s ease,
    transform 0.20s ease,
    box-shadow 0.20s ease;
}

.localizacao-opcao:hover {
  border-color:
    rgba(255, 107, 53, 0.45);

  background:
    rgba(255, 107, 53, 0.06);

  transform:
    translateY(-1px);
}

.localizacao-opcao.ativa {
  border-color:
    rgba(255, 107, 53, 0.65);

  background:
    rgba(255, 107, 53, 0.10);

  box-shadow:
    0 0 0 2px
    rgba(255, 107, 53, 0.08);
}

.localizacao-opcao-nome {
  min-width:
    0;

  overflow:
    hidden;

  text-overflow:
    ellipsis;

  white-space:
    nowrap;

  font-size:
    14px;

  font-weight:
    700;
}

.localizacao-opcao-check {
  width:
    26px;

  height:
    26px;

  flex:
    0 0 26px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  border-radius:
    999px;

  background:
    var(--cor-primaria);

  color:
    #ffffff;

  font-size:
    14px;

  font-weight:
    800;
}

.localizacoes-carregamento {
  padding:
    26px 14px;

  color:
    var(--cor-texto-secundario);

  font-size:
    13px;

  text-align:
    center;
}

.localizacoes-erro {
  padding:
    10px 22px 22px;

  text-align:
    center;
}

.localizacoes-erro p {
  margin:
    0 0 12px;

  color:
    var(--cor-texto-secundario);

  font-size:
    13px;

  line-height:
    1.5;
}

.botao-tentar-localizacoes {
  min-height:
    40px;

  padding:
    9px 16px;

  border-radius:
    12px;

  background:
    var(--cor-primaria);

  color:
    #ffffff;

  font-size:
    13px;

  font-weight:
    800;

  cursor:
    pointer;
}


/* =========================================================
   LOCALIDADE — TEMA ESCURO
========================================================= */

html[data-tema="escuro"]
.painel-localizacao {
  border-color:
    #48515e;

  background:
    #222831;

  box-shadow:
    0 24px 70px
    rgba(0, 0, 0, 0.48);
}

html[data-tema="escuro"]
.localizacao-opcao {
  border-color:
    #48515e;

  background:
    #2c323b;
}

html[data-tema="escuro"]
.localizacao-opcao:hover {
  border-color:
    rgba(255, 116, 66, 0.58);

  background:
    rgba(255, 116, 66, 0.10);
}

html[data-tema="escuro"]
.localizacao-opcao.ativa {
  border-color:
    rgba(255, 116, 66, 0.72);

  background:
    rgba(255, 116, 66, 0.14);
}


/* =========================================================
   LOCALIDADE — MOBILE
========================================================= */

@media (max-width: 639px) {

  .painel-localizacao {
    top:
      auto;

    right:
      16px;

    bottom:
      16px;

    left:
      16px;

    width:
      auto;

    max-height:
      calc(100vh - 32px);

    transform:
      none;
  }

  .painel-localizacao-topo {
    padding:
      20px 18px 14px;
  }

  .painel-localizacao-topo h2 {
    font-size:
      18px;
  }

  .painel-localizacao-descricao {
    padding:
      14px 18px 10px;
  }

  .lista-localizacoes {
    max-height:
      42vh;

    padding:
      8px 12px 16px;
  }

}


/* =========================================================
   28. REDUÇÃO DE MOVIMENTO
========================================================= */

@media (
  prefers-reduced-motion:
    reduce
) {

  *,
  *::before,
  *::after {
    scroll-behavior:
      auto !important;

    animation-duration:
      0.01ms !important;

    animation-iteration-count:
      1 !important;

    transition-duration:
      0.01ms !important;
  }

}


/* =========================================================
   MODAL — CONFIRMAÇÃO DE SAÍDA
========================================================= */

body.modal-confirmacao-aberta {
  overflow:
    hidden;
}


.modal-confirmacao-overlay {
  position:
    fixed;

  inset:
    0;

  z-index:
    1500;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  padding:
    20px;

  background:
    rgba(15, 20, 27, 0.58);

  backdrop-filter:
    blur(3px);

  -webkit-backdrop-filter:
    blur(3px);
}


.modal-confirmacao {
  width:
    min(
      385px,
      100%
    );

  padding:
    22px;

  border:
    1px solid
    #d8dee6;

  border-radius:
    19px;

  background:
    #ffffff;

  color:
    #182230;

  box-shadow:
    0 22px 60px
    rgba(0, 0, 0, 0.28);
}


.modal-confirmacao-icone {
  width:
    40px;

  height:
    40px;

  display:
    grid;

  place-items:
    center;

  margin-bottom:
    17px;

  border-radius:
    11px;

  background:
    #ffe8e8;

  color:
    #d94444;

  font-size:
    1.15rem;

  font-weight:
    900;
}


.modal-confirmacao h2 {
  margin:
    0;

  color:
    #182230;

  font-size:
    1.1rem;

  font-weight:
    850;

  letter-spacing:
    -0.025em;
}


.modal-confirmacao p {
  margin:
    7px 0 0;

  color:
    #718096;

  font-size:
    0.86rem;

  line-height:
    1.5;
}


.modal-confirmacao-acoes {
  display:
    flex;

  justify-content:
    flex-end;

  gap:
    9px;

  margin-top:
    22px;
}


.botao-confirmacao {
  min-height:
    42px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  padding:
    0 16px;

  border-radius:
    11px;

  cursor:
    pointer;

  font-size:
    0.82rem;

  font-weight:
    850;

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}


.botao-confirmacao:active {
  transform:
    scale(0.97);
}


/* =========================================================
   CANCELAR
========================================================= */

.botao-confirmacao-cancelar {
  border:
    1.5px solid
    #f0b29b;

  background:
    #ffffff;

  color:
    #263444;
}


.botao-confirmacao-cancelar:hover {
  border-color:
    #ff7b50;

  background:
    #fff5f1;
}


/* =========================================================
   CONFIRMAR SAÍDA
========================================================= */

.botao-confirmacao-perigo {
  border:
    1.5px solid
    #d74646;

  background:
    #d74646;

  color:
    #ffffff;

  box-shadow:
    0 5px 14px
    rgba(215, 70, 70, 0.18);
}


.botao-confirmacao-perigo:hover {
  border-color:
    #c73939;

  background:
    #c73939;

  box-shadow:
    0 7px 18px
    rgba(215, 70, 70, 0.25);
}


/* =========================================================
   MODAL — TEMA ESCURO
========================================================= */

html[data-tema="escuro"]
.modal-confirmacao {
  border-color:
    #414b57;

  background:
    #20262e;

  color:
    #f4f6f8;

  box-shadow:
    0 24px 65px
    rgba(0, 0, 0, 0.52);
}


html[data-tema="escuro"]
.modal-confirmacao-icone {
  background:
    #432629;

  color:
    #ff8585;
}


html[data-tema="escuro"]
.modal-confirmacao h2 {
  color:
    #f4f6f8;
}


html[data-tema="escuro"]
.modal-confirmacao p {
  color:
    #aeb7c4;
}


html[data-tema="escuro"]
.botao-confirmacao-cancelar {
  border-color:
    #735246;

  background:
    #2a3038;

  color:
    #f0f3f6;
}


html[data-tema="escuro"]
.botao-confirmacao-cancelar:hover {
  border-color:
    #c97558;

  background:
    #342b28;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

  .modal-confirmacao-overlay {
    align-items:
      flex-end;

    padding:
      12px;
  }


  .modal-confirmacao {
    padding:
      20px;

    border-radius:
      19px;
  }


  .modal-confirmacao-acoes {
    display:
      grid;

    grid-template-columns:
      1fr 1fr;
  }


  .botao-confirmacao {
    width:
      100%;
  }

}

/* =========================================================
   REGIAO RANGO V2
   HOME DO CLIENTE
   CENTRALIZAR CONFIRMACAO DE SAIDA NO MOBILE
========================================================= */

@media (max-width: 600px) {

  #modalConfirmarSaida.modal-confirmacao-overlay {
    align-items: center !important;
    justify-content: center !important;

    padding: 16px;
    padding-top: max(
      16px,
      env(safe-area-inset-top)
    );
    padding-bottom: max(
      16px,
      env(safe-area-inset-bottom)
    );

    box-sizing: border-box;
  }

  #modalConfirmarSaida .modal-confirmacao {
    width: min(100%, 440px);

    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);

    margin: 0 auto;

    overflow-y: auto;
    overscroll-behavior: contain;
  }

}