/* =========================================================
   FRIALTO — APP HEADER (FINAL / PREMIUM / ESTÁVEL)
========================================================= */

.fr-header-app {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 12px 0;
}

/* CONTAINER COM ACABAMENTO */
.fr-header-inner {
  max-width: 1320px;
  margin: 0 auto;

  background: #e4100e;
  border-radius: 20px;

  padding: 16px 24px;

  display: flex;
  align-items: center;
  gap: 24px;

  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

/* LOGO */
.fr-header-logo img {
  height: 36px;
  width: auto;
}

/* BUSCA */
.fr-header-search {
  flex: 1;
}

.fr-header-search input {
  width: 100%;
  height: 44px;
  padding: 0 20px;

  border-radius: 999px;
  border: none;
  outline: none;

  font-size: 14px;
}

/* MENU DESKTOP */
.fr-header-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.fr-header-actions a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;

  font-size: 12px;
  font-weight: 500;
  text-decoration: none;

  color: #ffffff;
}

/* ÍCONES */
.fr-header-actions i,
.fr-header-actions svg,
.fr-header-actions svg path {
  color: #ffffff;
  fill: #ffffff;
  stroke: #ffffff;
  font-size: 18px;
}

/* CARRINHO */
.fr-cart-link {
  position: relative;
}

.fr-cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;

  background: #ffffff;
  color: #e4100e;

  font-size: 11px;
  font-weight: 600;

  height: 18px;
  min-width: 18px;

  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;
}

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

  .fr-header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px;
  }

  .fr-header-logo {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .fr-header-search {
    width: 100%;
    display: block;
  }

  /* Menu superior some no mobile */
  .fr-header-actions {
    display: none;
  }
}
/* =====================================================
   FRIALTO — MENU APP INFERIOR (MOBILE)
===================================================== */
.fr-bottom-nav {
  display: none;
}

@media (max-width: 768px){

  .fr-bottom-nav{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;

    background: #ffffff;
    border-top: 1px solid #eee;

    display: flex;
    justify-content: space-around;
    align-items: center;

    padding: 10px 0;

    z-index: 9999;
  }

  .fr-bottom-nav a{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;

    font-size: 11px;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
  }

  /* Ícones padrão */
.fr-bottom-nav i{
  font-size: 20px;
  color: #6B7280; /* cinza padrão */
  transition: .2s ease;
}

/* Texto padrão */
.fr-bottom-nav a{
  color: #6B7280;
  transition: .2s ease;
}

/* Estado ativo */
.fr-bottom-nav a.active,
.fr-bottom-nav a.active i{
  color: #E4100E !important;
}

  /* Ajuste para não ficar por baixo do menu */
  body{
    padding-bottom: 70px;
  }

}