header .logo-desktop,
header .logo-mobile-menu {
  width: 180px;
  margin: 1rem 0;
}

header .nav-item .nav-link {
  font-size: 18px;
  position: relative;
}

header .nav-item .nav-link::before {
  content: "";
  position: absolute;
  background-color: var(--primary-color);
  bottom: -8px;
  left: 0;
  height: 2px;
  width: 0;
  transition: 0.2s;
}
header .nav-item .nav-link:hover::before {
  width: 100%;
}

#topo-bootstrap a i {
  color: #fff;
}

/* FOOTER */
footer {
  background-color: #fff;
  border-top: 2px solid var(--grey);
  margin-top: 3rem;
}
footer .logo-desktop {
  max-width: 200px;
}
footer h3 {
  margin-top: 0;
  font-size: 20px;
}
footer .footer__nav li a:not(.btn) {
  display: block;
  padding: 5px 0;
  font-size: 18px;
  color: black;
  transition: 0.3s;
}
footer .footer__nav li a i {
  font-size: 10px;
  color: var(--primary-color);
}
footer .footer__nav li a:hover {
  color: var(--primary-color-light);
}
footer .address :is(span, a):not(.btn) {
  color: black;
  font-size: 16px;
  line-height: 25px;
  transition: 0.3s;
}
footer .address a i {
  color: var(--primary-color);
}
footer span i {
  color: var(--primary-color);
}
footer .address a:not(.btn):hover {
  color: var(--primary-light-color);
}

.copyright-footer .btn.selos {
  min-height: unset;
}
@media screen and (max-width: 992.05px) {
  footer .social {
    justify-content: center;
  }
}

.card.card--23 {
  all: unset;
  display: flex;
  flex-flow: column nowrap;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  background-color: var(--dark);
  background-image:
    linear-gradient(-45deg, var(--dark), var(--grey)), var(--card-background);
  height: 130px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-blend-mode: multiply, normal;
  border-radius: 1rem;
  padding: 1rem;
  position: relative;
  float: unset;
}
.card.card--23:focus-within,
.card.card--23:hover {
  box-shadow: 0 0 0 2px var(--secondary-color);
}
.card.card--23 .card__title {
  color: #fff;
  font-size: 1.25rem;
  text-shadow: 0 0 0.25rem var(--dark);
  margin: 0;
  min-height: calc(1.25rem * 2 * 1.3);
}
.card.card--23 .card__link {
  z-index: 1;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-flow: row nowrap;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  transition: var(--transition);
  color: var(--light);
  font-weight: 600;
  border: 2px solid currentColor;
  border-radius: 99px;
}
.card.card--23 .card__link > span {
  width: 0;
  max-width: fit-content;
  opacity: 0;
  transition: var(--transition);
}
.card.card--23 .card__link:focus > span,
.card.card--23 .card__link:hover > span {
  width: 100px;
  opacity: 1;
  margin-right: 0.5rem;
}
.card.card--23 .card__link::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  backface-visibility: visible;
}
.card.card--23 .card__link:focus,
.card.card--23 .card__link:hover {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
}

.shadow-19 {
  box-shadow:
    rgba(50, 50, 93, 0.25) 0 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0 1px 3px -1px;
}

.title-subtitle {
  margin-bottom: 0;
}
.title-subtitle span {
  display: block;
  font-size: 0.9rem;
  color: #000;
  line-height: 1rem;
  letter-spacing: 0.25rem;
  text-transform: uppercase;
}

.title-01 {
  position: relative;
  margin-bottom: 30px;
}
.title-01::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 3px;
  width: 60px;
  background-color: var(--primary-color);
}

.title-02 {
  position: relative;
  margin-bottom: 10px;
}
.title-02::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -6px;
  height: 3px;
  width: 60px;
  background-color: var(--primary-color);
}

.cta-default {
  background: url(../imagens/bg-bread.webp), #050505;
  background-blend-mode: luminosity, normal;
}

.menu-simples .categoria-item {
  border-bottom: 1px solid #eee;
}

.menu-simples .categoria-titulo {
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
}

.menu-simples .btn-toggle {
  background: none;
  border: none;
  font-weight: 400;
  padding: 12px;
  margin: 20px 0;
  text-align: left;
  width: auto; /* importante: deixa o botão ter largura conforme o texto */
  display: inline-block; /* necessário para a linha animar conforme o texto */
  cursor: pointer;
  font-family: var(--primary-font);
  position: relative;
  color: inherit;
  transition: color 0.3s ease;
  border-bottom: 2px solid transparent;
}

/* Quando ativa (expandida) */
.menu-simples .btn-toggle:not(.collapsed) {
  color: var(--primary-color);
}

/* Linha animada de acordo com o tamanho do texto */
.menu-simples .btn-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background-color: var(--primary-color);
  transition: width 0.4s ease;
}

/* Quando a categoria está aberta (ativa) */
.menu-simples .btn-toggle:not(.collapsed)::after {
  width: 100%;
}

/* Hover */
.menu-simples .btn-toggle:hover {
  color: #e06810;
}

/* Lista de produtos */
.menu-simples .lista-produtos a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.menu-simples .lista-produtos a:hover {
  color: #f37b20;
}

/* =============================== ASIDE =============================== */

.aside nav::-webkit-scrollbar {
  width: 3px;
}

.aside nav::-webkit-scrollbar-thumb {
  background-color: var(--dark);
}

.aside {
  background-color: #f1f1f1;
  border-radius: 5px 0 0 5px;
  margin: 0;
  box-sizing: border-box;
  padding: 3em;
  position: fixed;
  z-index: 999999;
  height: auto;
  width: 300px;
  right: -300px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  transition: 0.5s ease-in-out;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
}

.aside::before {
  content: "\f100";
  font-family: "FontAwesome";
  width: 40px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px 0 0 5px;
  background-color: var(--primary-color);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -40px;
  cursor: pointer;
  box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.5);
  transition: 0.3s;
}

.aside:hover {
  right: 0;
}

.aside:hover::before {
  opacity: 0;
}

.aside a {
  color: #fff;
}

.aside :is(a, .aside-title) {
  color: var(--dark);
}

.aside-title {
  margin: 0;
}

.aside:hover .aside__menu {
  animation-name: anima__aside;
  animation-duration: 0.7s;
  animation-timing-function: ease-in-out;
}

.aside .aside__menu li a {
  display: block;
  padding: 5px;
  margin: 5px 0;
  font-size: 12px;
  border-left: 2px solid var(--dark);
  transition: 0.3s color;
}

.aside .aside__menu li a:hover,
.aside .aside__menu li a.active-menu-aside {
  border-left: 4px solid var(--primary-color);
  color: var(--primary-color);
}

@keyframes anima__aside {
  0% {
    transform: translateX(1000px);
  }

  100% {
    transform: translateX(0);
  }
}

.card-home {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #e1e2e2;
  min-height: 420px;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.card-home:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.card-home img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Corpo do card */
.card-body {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid #e1e2e2;
  padding: 12px 16px;
  transition: all 0.4s ease;
  overflow: hidden;
}

/* Transição suave com max-height e opacity */
.card-body p,
.card-body .btn {
  max-height: 0;
  opacity: 0;
  transform: translateY(10px);
  overflow: hidden;
  transition: all 0.5s ease;
}

/* Ao hover: conteúdo aparece suavemente */
.card-home:hover .card-body p,
.card-home:hover .card-body .btn {
  opacity: 1;
  transform: translateY(0);
  max-height: 300px; /* valor seguro para o tamanho do conteúdo */
}

/* Título e seta */
.card-body h5 {
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.2;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Ícone seta */
.card-body .icon-toggle {
  font-size: 0.9rem;
  color: #777;
  transition:
    transform 0.4s ease,
    color 0.4s ease;
  transform-origin: center;
}

/* No hover: gira e muda cor */
.card-home:hover .icon-toggle {
  transform: rotate(180deg);
  color: var(--primary-color);
}

/* Texto */
.card-body p {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #555;
  margin-top: 0.5rem;
}

/* Botão */
.card-body .btn {
  border-radius: 50px;
  width: 100%;
  margin-top: 0.75rem;
  transition: all 0.4s ease;
}

.card-body .btn:hover {
  transform: scale(1.03);
}
