/* Estilo do site: cabeçalho, menu, rodapé e componentes.
 *
 * ESTE ARQUIVO NASCEU DE DENTRO DO HTML.
 *
 * O estilo morava num bloco <style> no template: 39 KB que viajavam
 * de novo em CADA página do site, por cada visitante e por cada robô de
 * busca -- e que o navegador não tinha como guardar, porque estilo dentro
 * do HTML não tem endereço próprio para cachear.
 *
 * Aqui ele tem: baixado uma vez, guardado por um ano (o endereço carrega
 * a impressão digital do conteúdo, então mudar o arquivo muda o
 * endereço) e fora do peso de toda página.
 *
 * SÃO DOIS ARQUIVOS, E NÃO UM. O segundo bloco ficava DEPOIS do conteúdo
 * da página, e é isso que dá a ele a última palavra sobre o estilo de
 * cada tela filha. Juntar os dois no cabeçalho inverteria esse empate --
 * e mudaria a aparência de telas que ninguém foi conferir.
 */

/* ======= TOKENS DE DESIGN ======= */
    :root {
      --azul-escuro: #004AAD;
      --azul-claro: #007BFF;
      --vermelho: #E63946;
      --vermelho-escuro: #c9152d;
      --amarelo: #FFD700;
      --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
      --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
      --sombra-suave: 0 8px 24px rgba(0, 74, 173, 0.14);
      --sombra-forte: 0 14px 32px rgba(0, 74, 173, 0.22);
    }

    /* ======= RESET ======= */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: "Manrope", "Segoe UI", sans-serif;
    }

    body {
      background: #f5f8ff;
      color: #2c3e50;

    }

    /* Foco visível e consistente para navegação por teclado */
    a:focus-visible,
    button:focus-visible,
    input:focus-visible {
      outline: 3px solid var(--amarelo);
      outline-offset: 3px;
      border-radius: 6px;
    }

    /* Respeita preferência do usuário por menos animação */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        transition-delay: 0s !important;
        scroll-behavior: auto !important;
      }
    }

    /* ======= CABEÇALHO ======= */
    header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: linear-gradient(90deg, #004AAD, #007BFF);
      padding: 12px 25px;
      color: white;
      position: sticky;
      top: 0;
      z-index: 1000;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
      transition: box-shadow 0.3s var(--ease-out), background 0.3s var(--ease-out);
    }

    header.ls-scrolled {
      background: linear-gradient(90deg, #003b8a, #0069d9);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    }

/* ===== MOBILE POLISH ===== */
@media (max-width: 768px) {

    /* impede overflow horizontal */
    html, body {
        overflow-x: hidden;
    }

    /* botões mais confortáveis */
    .btn-acao,
    .btn-produto,
    .btn-combo {
        width: 100%;
        white-space: normal;
        text-align: center;
    }

    /* títulos mais seguros */
    h1 {
        line-height: 1.25;
    }
}

/* ======= LOGO ======= */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 90px;                /* Aumenta o tamanho da logo */
  width: auto;
  border-radius: 0;            /* Remove cantos arredondados */
  background: transparent;     /* Remove fundo branco */
  padding: 0;                  /* Remove espaço interno */
  box-shadow: none;            /* Remove a sombra */
  object-fit: contain;         /* Garante proporção correta */
  transition: transform 0.35s var(--ease-bounce);
}

.logo:hover img {
  transform: scale(1.06) rotate(-2deg);
}

.logo span {
  font-weight: 700;
  font-size: 1.5em;            /* Um pouco maior para equilibrar */
  letter-spacing: 1px;
  color: #ffffff;              /* Garante contraste no fundo azul */
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3); /* Melhora legibilidade */
}


    /* ======= MENU ======= */
    /* Tudo daqui para baixo é escopado em .nav-desktop de propósito.
       O seletor solto "nav a" também acertava o painel do celular e a
       doca de contato -- os dois são <nav>. Era daí que saía o losango
       vermelho no meio do menu do celular: o sublinhado do desktop
       (position:absolute, 2px, vermelho) somava com o chevron do painel
       (7x7, girado 45º) e o resultado era um quadrado vermelho girado. */
    /* No desktop o menu vira dois grupos simétricos (mesma quantidade
       de itens) nas laterais, com o login sempre centralizado entre
       eles -- em vez de um bloco só que quebra de forma desigual. */
    .nav-desktop {
      display: none;
    }

    /* O #nav (painel off-canvas) só existe de verdade no mobile;
       no desktop quem aparece são os dois grupos .nav-desktop.
       (a regra que esconde #nav no desktop fica dentro do media
       query de 769px+, logo abaixo — ver .nav-desktop) */

    .nav-desktop a {
      color: white;
      text-decoration: none;
      font-weight: 700;
      letter-spacing: -0.01em;
      position: relative;
      padding: 8px 6px;
      font-size: clamp(0.74rem, 0.64rem + 0.35vw, 0.9rem);
      line-height: 1.25;
      white-space: normal;
      word-break: normal;
      overflow-wrap: normal;
      hyphens: none;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 40px;
      flex-shrink: 0;
      user-select: none;
      -webkit-user-drag: none;
      transition: color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
    }

    .nav-desktop a i.nav-icon {
      display: none;
    }

    .nav-desktop a::before {
      content: '';
      position: absolute;
      inset: 1px;
      background: rgba(255, 255, 255, 0.12);
      border-radius: 10px;
      opacity: 0;
      transform: scale(0.94);
      transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
      z-index: -1;
    }

    .nav-desktop a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0%;
      height: 2px;
      background: #E63946;
      transition: width 0.3s var(--ease-out);
    }

    .nav-desktop a:hover {
      color: #FFD700;
      transform: translateY(-1px);
    }

    .nav-desktop a:hover::before {
      opacity: 1;
      transform: scale(1);
    }

    .nav-desktop a:hover::after {
      width: 100%;
      left: 0;
    }

    /* ======= MENU HAMBÚRGUER ======= */
    .ls-hamburger {
      display: none;
      align-items: center;
      justify-content: center;
      gap: 8px;
      cursor: pointer;
      padding: 10px;
      color: #ffffff;
      font: inherit;
      transition: background 0.25s var(--ease-out), transform 0.25s var(--ease-out);
    }

    .ls-hamburger:hover {
      background: rgba(255, 255, 255, 0.15);
    }

    .ls-hamburger-lines {
      width: 25px;
      display: flex;
      flex-direction: column;
      gap: 5px;
      flex-shrink: 0;
    }

    .ls-hamburger-line {
      display: block;
      height: 3px;
      width: 25px;
      background: white;
      border-radius: 5px;
      transition: all 0.3s ease;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
    }

    .ls-hamburger-label {
      color: #ffffff;
      font-size: 0.69rem;
      line-height: 1;
      font-weight: 800;
      letter-spacing: 0.09em;
    }

    /* Desktop: login fixo na ponta esquerda, menu em grade de 7
       colunas elásticas -- 13 itens sempre viram 7 em cima + 6
       embaixo (o mais equilibrado possível), esticando pra ocupar
       toda a largura disponível até a ponta direita. Nunca depende
       de quanto cabe: a divisão é sempre a mesma. */
    @media (min-width: 769px) {
      header {
        padding: 12px 20px;
        justify-content: flex-start;
      }

      /* No desktop quem representa o menu são os dois grupos
         .nav-desktop -- o painel off-canvas fica fora de cena. */
      #ls-mobile-nav {
        display: none;
      }

      .nav-desktop {
        display: grid;
        grid-template-columns: repeat(7, minmax(90px, 1fr));
        gap: 8px;
        flex: 1 1 auto;
        margin-left: 24px;
        min-width: 0;
        user-select: none;
      }

      .nav-desktop a {
        min-height: 46px;
        padding: 9px 10px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.10);
        box-shadow:
          inset 0 1px 0 rgba(255, 255, 255, 0.10),
          0 5px 14px rgba(0, 34, 91, 0.12);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        transition:
          color 0.25s var(--ease-out),
          background 0.25s var(--ease-out),
          border-color 0.25s var(--ease-out),
          box-shadow 0.25s var(--ease-out),
          transform 0.25s var(--ease-out);
      }

      .nav-desktop a::before,
      .nav-desktop a::after {
        display: none;
      }

      .nav-desktop a:hover,
      .nav-desktop a.active-link {
        color: #ffffff !important;
        background: linear-gradient(135deg, #E63946, #c9152d);
        border-color: rgba(255, 255, 255, 0.42);
        box-shadow:
          0 9px 20px rgba(116, 8, 24, 0.28),
          inset 0 1px 0 rgba(255, 255, 255, 0.20);
        transform: translateY(-2px);
      }

      .nav-desktop a:active {
        transform: translateY(0) scale(0.98);
      }
    }

@media (max-width: 768px) {
  .ls-hamburger.active .ls-hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }


  .ls-hamburger.active .ls-hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .ls-hamburger.active .ls-hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

    /* ======= PESQUISA ======= */
    .search-section {
      background: #ffffff;
      padding: 20px;
      box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    }

    .search-box {
      display: flex;
      align-items: center;
      gap: 8px;
      max-width: 700px;
      margin: 0 auto;
      padding: 6px;
      background: #ffffff;
      border: 1px solid #e3e8f0;
      border-radius: 999px;
      box-shadow: 0 10px 30px rgba(0, 74, 173, 0.10);
      transition: box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
    }

    .search-box:hover {
      box-shadow: var(--sombra-suave);
      transform: translateY(-1px);
    }

    .search-box:focus-within {
      border-color: #007BFF;
      box-shadow: var(--sombra-forte);
      transform: translateY(-1px);
    }

    .search-box input {
      flex: 1;
      min-width: 0;
      padding: 12px 16px;
      border: none;
      border-radius: 999px;
      font-size: 1em;
      outline: none;
      background: transparent;
    }

    .search-box button {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      flex-shrink: 0;
      background: linear-gradient(135deg, #E63946, #c9152d);
      border: none;
      padding: 12px 22px;
      color: white;
      font-weight: 700;
      border-radius: 999px;
      cursor: pointer;
      transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), filter 0.2s var(--ease-out);
    }

    .search-box button i {
      transition: transform 0.3s var(--ease-bounce);
    }

    .search-box button:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(201, 21, 45, 0.35);
      filter: brightness(1.06);
    }

    .search-box button:hover i {
      transform: scale(1.15) rotate(-8deg);
    }

    .search-box button:active {
      transform: translateY(0) scale(0.97);
      box-shadow: 0 4px 10px rgba(201, 21, 45, 0.3);
    }

    /* ======= FILTROS ======= */
  /* reaproveita o estilo antigo dos spans */
/* ======= SUGESTÕES DE PESQUISA ======= */
.filter-suggestions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

/* 🔥 estilo único para TODAS as sugestões */
.filter-suggestions .suggestion-tag {
  background: #E3F2FD;
  color: #007BFF;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out), transform 0.25s var(--ease-out),
              box-shadow 0.25s var(--ease-out);
  font-size: 0.9em;
  border: 1px solid transparent;
  text-decoration: none;       /* remove sublinhado */
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* hover moderno */
.filter-suggestions .suggestion-tag:hover {
  background: #007BFF;
  color: #ffffff;
  border-color: #E63946;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 18px rgba(0, 123, 255, 0.3);
}

.filter-suggestions .suggestion-tag:active {
  transform: translateY(-1px) scale(0.98);
}



    /* ======= CONTEÚDO PRINCIPAL ======= */
    main.content-section {
      max-width: 1200px;
      margin: 50px auto;
      padding: 0 20px;
      min-height: 60vh;
    }

    /* Páginas que já possuem seu próprio layout podem ocupar a viewport toda. */
    main.content-section.content-section--full {
      width: 100%;
      max-width: none;
      margin: 0;
      padding: 0;
    }

    /* Navegação estrutural compartilhada pelos catálogos e detalhes. */
    main.content-section .ls-breadcrumb {
      width: fit-content;
      max-width: 100%;
      min-height: 42px;
      margin: 0 0 18px;
      padding: 8px 13px;
      border: 1px solid rgba(113, 202, 255, .42);
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      gap: 9px;
      overflow: hidden;
      color: #ffffff;
      background:
        radial-gradient(circle at 100% 0, rgba(230, 57, 70, .34), transparent 9rem),
        linear-gradient(135deg, #06172c 0%, #004aad 64%, #0878f9 100%);
      box-shadow:
        0 10px 28px rgba(0, 50, 120, .25),
        inset 0 1px 0 rgba(255, 255, 255, .14);
      font-size: .79rem;
      line-height: 1.2;
      scroll-margin-top: 92px;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }

    main.content-section .ls-breadcrumb a,
    main.content-section .ls-breadcrumb-current {
      min-width: 0;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: #ffffff;
      font-weight: 850;
      text-decoration: none;
      white-space: nowrap;
    }

    main.content-section .ls-breadcrumb a {
      transition: color .2s ease, transform .2s ease;
    }

    main.content-section .ls-breadcrumb a:hover {
      color: #ffe36b;
      text-decoration: none;
      transform: translateY(-1px);
    }

    main.content-section .ls-breadcrumb-current {
      max-width: min(42vw, 420px);
      overflow: hidden;
      color: #ffe36b;
      text-overflow: ellipsis;
    }

    main.content-section .ls-breadcrumb-current span {
      overflow: hidden;
      text-overflow: ellipsis;
    }

    main.content-section .ls-breadcrumb-separator {
      flex: 0 0 auto;
      color: #75d3ff;
      font-size: .67rem;
    }

    /* Indica no mobile que preço e informações continuam abaixo da galeria. */
    main.content-section .ls-scroll-cue {
      display: none;
    }

    @keyframes ls-scroll-cue-bounce {
      0%, 100% { transform: translateY(-2px); }
      50% { transform: translateY(4px); }
    }

    /* [data-scroll-reveal] passou a ser tratado por site/ls-reveal.css. */

    @media (max-width: 960px) {
      main.content-section .ls-scroll-cue {
        width: 100%;
        min-height: 54px;
        margin-top: 14px;
        padding: 10px 15px;
        border: 1px solid rgba(116, 199, 255, .28);
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        color: #ffffff;
        background: linear-gradient(135deg, rgba(8, 120, 249, .88), rgba(0, 74, 173, .94));
        box-shadow: 0 12px 26px rgba(0, 74, 173, .22);
        font-size: .8rem;
        font-weight: 900;
        text-align: center;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
      }

      main.content-section .ls-scroll-cue i {
        animation: ls-scroll-cue-bounce 1.25s ease-in-out infinite;
      }
    }

    @media (max-width: 640px) {
      main.content-section .ls-breadcrumb {
        min-height: 40px;
        margin-bottom: 13px;
        padding: 7px 11px;
        gap: 7px;
        font-size: .72rem;
      }

      main.content-section .ls-breadcrumb-current {
        max-width: 34vw;
      }

      main.content-section .ls-breadcrumb a span:not(.ls-breadcrumb-keep) {
        display: none;
      }
    }

    /* ======= RESPONSIVIDADE ======= */

/* ======= TÍTULOS CENTRALIZADOS ======= */
.search-title {
  text-align: center;
  font-size: 1.8em;
  color: #004AAD;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: 10px;
}

.search-suggestions {
  text-align: center;
}

.search-suggestions h3 {
  color: #003366;
  font-size: 1.2em;
  font-weight: 600;
  margin: 25px auto 15px auto;
  display: inline-block;
  position: relative;
}

.search-suggestions h3::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  background: #004aad;
  margin: 6px auto 0;
  border-radius: 3px;
}

    html {
    scroll-behavior: smooth;
}

    .nav-desktop a.active-link {
  color: #FFD700 !important;
}

.nav-desktop a.active-link::after {
  width: 100%;
}

.nav-desktop a.btn-login {
    background: #E63946;
    width: 80%;
    margin: 10px auto;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
}

/* === ÁREA DO ÍCONE DO USUÁRIO === */
.user-area {
    display: flex;
    align-items: center;
}

/* Área do usuário alinhada à esquerda do header */
.user-area {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: 0;
    margin-right: 0;
}

/* Container do dropdown */
.user-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.user-icon {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    cursor: pointer;

    /* Virou <button> para abrir no clique e no teclado. */
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;

    /* Alvo confortável de toque e de mouse em qualquer resolução. */
    min-height: 48px;
    padding: 4px 10px 4px 4px;
    border-radius: 999px;
    transition: background 0.2s var(--ease-out);
}

.user-icon:hover,
.user-dropdown.is-open .user-icon {
    background: rgba(255, 255, 255, 0.12);
}

/* Selo/avatar circular — iniciais quando logado, ícone genérico quando não */
.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
    font-weight: 800;
    transition: transform 0.3s var(--ease-bounce);
}

.user-avatar.autenticado {
    background: linear-gradient(135deg, #FFD700, #ffb300);
    color: #004AAD;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.user-avatar.anonimo {
    background: rgba(255, 255, 255, 0.14);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    font-size: 16px;
}

.user-dropdown:hover .user-avatar,
.user-dropdown.is-open .user-avatar {
    transform: scale(1.08);
}

/* Texto ao lado do avatar — sempre em UMA linha, corta com reticências se for muito longo */
.user-greeting {
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}

.user-caret {
    font-size: 10px;
    opacity: 0.75;
    transition: transform 0.25s var(--ease-out);
}

.user-dropdown:hover .user-caret,
.user-dropdown.is-open .user-caret {
    transform: rotate(180deg);
}

.user-icon:hover .user-greeting {
    color: #FFD700;
}

/* === DROPDOWN MELHORADO === */
.dropdown-menu {
    position: absolute;
    /* Antes eram 60px fixos: em telas grandes o cabeçalho cresce e sobrava um
       vão morto entre o gatilho e o menu, que fechava o hover no meio do
       caminho para "Fazer Login". Agora o menu nasce colado no gatilho. */
    top: calc(100% + 10px);
    left: 0;
    background: white;
    color: #333;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
    width: clamp(228px, 18vw, 300px);
    padding: 8px;
    overflow: hidden;

    /* Estado inicial (escondido) */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px) scale(0.96);
    transform-origin: top left;

    transition:
        opacity 0.25s var(--ease-out),
        transform 0.25s var(--ease-out),
        visibility 0.25s;

    z-index: 9999;
}

/* Ponte invisível sobre o vão: o ponteiro atravessa sem perder o hover. */
.dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
}

/* Aberto por clique/teclado — é o estado que o usuário controla. */
.user-dropdown.is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* O hover continua valendo como atalho, mas só onde existe ponteiro fino.
   Em telas de toque o hover "grudava" e atrapalhava mais do que ajudava. */
@media (hover: hover) and (pointer: fine) {
    .user-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }
}

/* Cabeçalho de identificação dentro do dropdown (só aparece quando logado) */
.dropdown-user-info {
    padding: 10px 14px 12px;
    margin-bottom: 6px;
    border-bottom: 1px solid #eef2fa;
}

.dropdown-user-info strong {
    display: block;
    color: #0d1b2e;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-user-info span {
    display: block;
    color: #8a94a6;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

/* Links dentro do menu */
.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    /* 46px de altura mínima: alvo clicável confortável do celular ao monitor
       grande, que era a queixa em "Fazer Login" e "Criar Conta". */
    min-height: 46px;
    padding: 11px 14px;
    text-decoration: none;
    color: #004AAD;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.dropdown-menu a:hover {
    background: #E6F0FF;
    color: #003680;
    transform: translateX(3px);
}

/* Animação */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

    @media (max-width: 768px) {

  /* ===== HEADER ===== */
  header {
    padding: 8px 12px;
    min-height: 64px;
    justify-content: space-between;
    gap: 10px;
  }

  .logo img {
    height: 45px;
  }

  .logo span {
    font-size: 1.1em;
  }

  /* ===== REDES SOCIAIS ===== */
  .social-icons {
    gap: 10px;
  }

    .social-icons a {
        width: 30px;
        height: 30px;
        font-size: 1.05rem;
    }

  /* ===== BUSCA ===== */
  .search-box {
    flex-direction: column;
    border-radius: 20px;
  }

  .search-box input,
  .search-box button {
    width: 100%;
    border-radius: 14px;
  }

  /* ===== TÍTULOS ===== */
  .search-title {
    font-size: 1.4em;
  }

  .search-suggestions h3 {
    font-size: 1.05em;
  }

  /* ===== CONTEÚDO ===== */
  main.content-section {
    margin: 25px auto;
    padding: 0 15px;
  }

  /* ===== TEXTO VAZIO (Nenhum produto etc) ===== */
  .texto-vazio,
  .nenhum-produto {
    text-align: center;
    font-size: 1rem;
    margin: 30px auto;
    color: #666;
  }

  /* ===== DROPDOWN USUÁRIO ===== */
  .dropdown-menu {
    left: 0;
    right: auto;
    width: min(272px, calc(100vw - 24px));
  }

  /* Deixa a saudação um pouco mais compacta no header mobile */
  .user-greeting {
    max-width: 104px;
    font-size: 13px;
  }

  .user-caret {
    display: none;
  }
}

/* ======================================================
   MENU MOBILE — PAINEL OFF-CANVAS ESTILO APP
   ====================================================== */
.ls-mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(3, 8, 20, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease-out), visibility 0.35s;
    /* Acima da página, mas abaixo do header e do painel mobile. */
    z-index: 999;
}

.ls-mobile-backdrop.active {
    opacity: 1 !important;
    visibility: visible !important;
}

.ls-mobile-nav-close {
    display: none;
}

@media (max-width: 768px) {
  .ls-hamburger {
    display: flex !important;
    width: auto;
    min-width: 82px;
    height: 46px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.08));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      0 7px 18px rgba(0, 35, 90, 0.24);
  }

  .ls-hamburger:active {
    transform: scale(0.96);
  }

  .ls-hamburger.active .ls-hamburger-label {
    font-size: 0;
  }

  .ls-hamburger.active .ls-hamburger-label::after {
    content: 'FECHAR';
    font-size: 0.69rem;
  }

  #ls-mobile-nav {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: min(85vw, 340px);
    height: 100vh;
    height: 100dvh;
    margin: 0;
    background: linear-gradient(165deg, #0d1b2e, #142c4a);
    padding: 0;
    border-radius: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -16px 0 40px rgba(0, 0, 0, 0.35);

    transform: translateX(100%);
    opacity: 1;
    visibility: hidden;
    transition: transform 0.4s var(--ease-out), visibility 0.4s;
    z-index: 2;
    overflow: hidden;
  }

  /* Fio na borda esquerda, nas cores do site: o azul da marca descendo
     para o vermelho. Antes era dourado, uma cor que não existe em
     nenhum outro lugar da identidade. */
  #ls-mobile-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #007BFF, #004AAD 55%, #E63946);
    opacity: 0.9;
  }

  #ls-mobile-nav.active {
    transform: translateX(0) !important;
    visibility: visible !important;
  }

  body.ls-menu-open .ls-quick-dock,
  body.ls-menu-open .float-stack {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  /* ---- cabeçalho do painel ---- */
  .ls-mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
    padding: 20px 16px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .ls-mobile-nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
  }

  .ls-mobile-nav-logo {
    height: 42px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    /* A arte foi desenhada sobre branco; sobre o painel escuro ela
       precisa de um respiro claro para não ficar boiando. */
    padding: 5px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  }

  .ls-mobile-nav-close {
    display: flex !important;
    align-items: center;
    justify-content: center;
    /* 44px e o alvo minimo de toque recomendado; com 38 e um circulo
       quase da cor do fundo, fechar o menu virava tentativa e erro. */
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
    transition:
      background 0.25s var(--ease-out),
      border-color 0.25s var(--ease-out),
      transform 0.3s var(--ease-bounce);
  }

  .ls-mobile-nav-close:hover,
  .ls-mobile-nav-close:focus-visible {
    background: #E63946;
    border-color: #E63946;
    transform: rotate(90deg);
  }

  /* ---- lista de navegação (rolável) ---- */
  .ls-mobile-nav-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    /* A folga de baixo e para o ultimo item nao encostar no botao do
       WhatsApp, que e fixo no rodape do painel. */
    padding: 14px 12px 18px;
    overscroll-behavior: contain;
  }

  .ls-mobile-nav-list a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 11px 12px;
    /* color e text-decoration explicitos: o bloco base do menu virou
       .nav-desktop, entao o painel nao herda mais nada dele. */
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.25;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.045);
    white-space: normal;
    text-align: left;
    min-width: 0;
    max-width: none;
    min-height: 0;
    flex-shrink: 0;

    opacity: 0;
    transform: translateX(18px);
    transition:
      color 0.25s var(--ease-out),
      background 0.25s var(--ease-out),
      border-color 0.25s var(--ease-out),
      opacity 0.35s var(--ease-out),
      transform 0.35s var(--ease-out);
  }

  #ls-mobile-nav.active .ls-mobile-nav-list a {
    opacity: 1;
    transform: translateX(0);
  }

  /* entrada escalonada -- cada link aparece alguns ms depois do anterior */
  #ls-mobile-nav.active .ls-mobile-nav-list a:nth-of-type(1)  { transition-delay: 0.04s; }
  #ls-mobile-nav.active .ls-mobile-nav-list a:nth-of-type(2)  { transition-delay: 0.07s; }
  #ls-mobile-nav.active .ls-mobile-nav-list a:nth-of-type(3)  { transition-delay: 0.10s; }
  #ls-mobile-nav.active .ls-mobile-nav-list a:nth-of-type(4)  { transition-delay: 0.13s; }
  #ls-mobile-nav.active .ls-mobile-nav-list a:nth-of-type(5)  { transition-delay: 0.16s; }
  #ls-mobile-nav.active .ls-mobile-nav-list a:nth-of-type(6)  { transition-delay: 0.19s; }
  #ls-mobile-nav.active .ls-mobile-nav-list a:nth-of-type(7)  { transition-delay: 0.22s; }
  #ls-mobile-nav.active .ls-mobile-nav-list a:nth-of-type(8)  { transition-delay: 0.25s; }
  #ls-mobile-nav.active .ls-mobile-nav-list a:nth-of-type(9)  { transition-delay: 0.28s; }
  #ls-mobile-nav.active .ls-mobile-nav-list a:nth-of-type(10) { transition-delay: 0.31s; }
  #ls-mobile-nav.active .ls-mobile-nav-list a:nth-of-type(11) { transition-delay: 0.34s; }
  #ls-mobile-nav.active .ls-mobile-nav-list a:nth-of-type(12) { transition-delay: 0.37s; }
  #ls-mobile-nav.active .ls-mobile-nav-list a:nth-of-type(13) { transition-delay: 0.40s; }
  #ls-mobile-nav.active .ls-mobile-nav-list a:nth-of-type(14) { transition-delay: 0.43s; }

  .ls-mobile-nav-list a::before {
    display: none;
  }

  .ls-mobile-nav-list a::after {
    content: '';
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    margin-left: auto;
    border-top: 2px solid rgba(255, 255, 255, 0.32);
    border-right: 2px solid rgba(255, 255, 255, 0.32);
    transform: rotate(45deg);
    transition: border-color 0.25s var(--ease-out);
  }

  .ls-mobile-nav-list a:hover,
  .ls-mobile-nav-list a:active,
  .ls-mobile-nav-list a.active-link {
    color: #ffffff !important;
    /* Azul do cabeçalho do site. O vermelho é a cor de destaque da
       marca, não a de navegação -- usá-lo em cada item deixava o painel
       parecendo outro site. */
    background: linear-gradient(135deg, #0A63D6, #004AAD);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 8px 18px rgba(0, 74, 173, 0.35);
    transform: none;
  }

  .ls-mobile-nav-list a:hover::after,
  .ls-mobile-nav-list a.active-link::after {
    border-color: rgba(255, 255, 255, 0.9);
  }

  .ls-mobile-nav-list a i.nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 0.95rem;
    /* Azul da marca, não dourado. O quadrinho atrás do ícone dá o
       alinhamento vertical que faltava quando o rótulo quebra em
       duas linhas. */
    color: #8FC2FF;
    background: rgba(0, 123, 255, 0.14);
    flex-shrink: 0;
    transition: color 0.25s var(--ease-out), background 0.25s var(--ease-out);
  }

  .ls-mobile-nav-list a:hover i.nav-icon,
  .ls-mobile-nav-list a:active i.nav-icon,
  .ls-mobile-nav-list a.active-link i.nav-icon {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.22);
  }

  /* Celular deitado: sobra pouca altura, e o cabecalho do painel comia
     um terco dela. Aqui a marca encolhe e os itens ficam mais rasos, para
     caber mais opcao antes de precisar rolar. */
  @media (max-height: 480px) {
    .ls-mobile-nav-header {
      padding: 10px 14px 8px;
    }

    .ls-mobile-nav-logo {
      height: 32px;
      padding: 4px 8px;
    }

    .ls-mobile-nav-list {
      gap: 4px;
      padding: 8px 12px 12px;
    }

    .ls-mobile-nav-list a {
      padding: 8px 10px;
    }

    .ls-mobile-nav-list a i.nav-icon {
      width: 28px;
      height: 28px;
    }

    .ls-mobile-nav-cta {
      margin: 6px 14px calc(10px + env(safe-area-inset-bottom, 0px));
      padding: 10px 14px;
    }
  }

  /* Sombra no pe da lista: sem ela nao da para saber que ainda ha itens
     abaixo do ultimo visivel -- o painel parecia terminar ali. */
  .ls-mobile-nav-list {
    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 26px), transparent 100%);
    mask-image: linear-gradient(180deg, #000 calc(100% - 26px), transparent 100%);
  }

  /* ---- rodapé fixo do painel: atalho de WhatsApp ---- */
  .ls-mobile-nav-cta {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-shrink: 0;
    margin: 10px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    padding: 13px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #25d366, #128c4a) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 0.92rem;
    text-decoration: none !important;
    min-height: 0 !important;
    border: none !important;
    box-shadow: 0 10px 22px rgba(18, 140, 74, 0.35);
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  }

  .ls-mobile-nav-cta::before,
  .ls-mobile-nav-cta::after {
    display: none !important;
  }

  .ls-mobile-nav-cta:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(18, 140, 74, 0.45);
  }

  .ls-mobile-nav-cta i {
    font-size: 1.1rem;
  }
}
/* ===== FLOAT STACK (A PILHA) ===== */
.float-stack {
    position: fixed;
    right: 25px;
    bottom: 25px;
    display: flex;
    flex-direction: column-reverse; /* Carrinho entra e empurra os de cima */
    gap: 15px;
    z-index: 10000;
}

/* Base Comum (DNA do botão Admin) */
.float-btn {
    width: 62px !important;
    height: 62px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 26px !important;
    border: 2px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative !important;
}

.float-btn i {
    transition: transform 0.3s var(--ease-bounce);
}

.float-btn:hover {
    transform: scale(1.1) translateY(-5px) !important;
}

.float-btn:hover i {
    transform: rotate(-8deg) scale(1.08);
}

.float-btn:active {
    transform: scale(0.96) translateY(-2px) !important;
}

/* Tooltip que aparece ao lado dos botões flutuantes */
.float-btn[data-tooltip]::before {
    content: attr(data-tooltip);
    display: block;
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: #0d1b2e;
    color: #fff;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;
    white-space: nowrap;
    width: max-content;
    max-width: 220px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    opacity: 0;
    z-index: 10;
    pointer-events: none;
    transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.float-btn[data-tooltip]:hover::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
    .float-btn[data-tooltip]::before {
        display: none;
    }

    /* Ações flutuantes compactas no celular. As medidas de desktop
       permanecem nas regras acima, sem perder conforto visual. */
    .float-stack {
        right: 10px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        gap: 8px;
    }

    .float-btn {
        width: 44px !important;
        height: 44px !important;
        flex: 0 0 44px !important;
        font-size: 18px !important;
        border-width: 1px !important;
        box-shadow: 0 7px 16px rgba(0, 0, 0, 0.24) !important;
    }

    .float-stack .float-btn .badge {
        top: -3px !important;
        right: -3px !important;
        min-width: 18px;
        height: 18px;
        padding: 0 4px !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        font-size: 9px !important;
        line-height: 1 !important;
        border-width: 1.5px !important;
    }
}

/* Badges Estilo Admin */
.float-btn .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #E63946 !important;
    color: white !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    padding: 2px 8px !important;
    border-radius: 20px !important;
    border: 2px solid white !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3) !important;
}

/* --- ESTILOS PRÓPRIOS BASEADOS NO ADMIN --- */

/* 1. ADMIN (O Original - Roxo Real) */
.float-admin-panel {
    background: linear-gradient(135deg, #6200ea, #9d50bb) !important;
}
.float-admin-panel i { color: #FFD700 !important; }

/* 2. CARRINHO (Verde Vitalidade) */
.float-carrinho {
    background: linear-gradient(135deg, #2ecc71, #27ae60) !important;
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.4) !important;
}
.float-carrinho i { color: #ffffff !important; }

/* 3. PEDIDOS (Azul Oceano/Confiança) */
.float-pedidos {
    background: linear-gradient(135deg, #004AAD, #007BFF) !important;
    box-shadow: 0 10px 20px rgba(0, 74, 173, 0.4) !important;
}

/* 4. MANUTENÇÃO (Amarelo Alerta/Ouro) */
.float-manutencao {
    background: linear-gradient(135deg, #f1c40f, #f39c12) !important;
    box-shadow: 0 10px 20px rgba(241, 196, 15, 0.4) !important;
}
.float-manutencao.andamento {
    background: linear-gradient(135deg, #e67e22, #d35400) !important; /* Laranja se estiver em curso */
}

/* Lista de desejos: mesma família visual dos outros botões flutuantes. */
.float-desejos {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.35) !important;
}

/* Zero na lista não merece selo vermelho chamando atenção. */
.float-desejos .badge.vazio {
    background: #94a3b8 !important;
}

/* Animação de Pulso para o Carrinho quando tiver itens */
@keyframes pulse-carrinho {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.float-carrinho {
    animation: pulse-carrinho 2s infinite;
}


.texto-controlado h1 {
    font-size: 1.8rem;
    color: #004AAD;
    font-weight: 800;
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
}

.texto-controlado span {
    font-size: 0.9rem;
    color: #E63946;
    letter-spacing: 3px;
    font-weight: 600;
    margin-top: 2px;
}

/* RESPONSIVIDADE (CELULAR) */
@media (max-width: 768px) {
    .texto-controlado h1 {
        font-size: 1.4rem;
    }

    .texto-controlado span {
        font-size: 0.75rem;
    }
}


/* Força a atualização visual imediata */
#carrinho-contador {
    display: inline-flex !important;
    transition: all 0.3s ease-in-out;
}

/* ======= LOGO DA FAIXA DE TÍTULO ======= */
#image {
    transition: transform 0.35s var(--ease-bounce);
}

#image:hover {
    transform: scale(1.05) rotate(-1.5deg);
}
