/* Navegação, categorias e página de ofertas */
.mb-category-grid a {
  position: relative;
  min-width: 0;
  padding: 30px;
}

/* Acesso administrativo discreto no rodapé. */
.mb-footer-bottom {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(240px, 1fr);
  align-items: center;
  gap: 24px;
}

.mb-footer-bottom > span:first-child {
  grid-column: 1;
}

.mb-footer-bottom-links {
  display: flex;
  grid-column: 3;
  align-items: center;
  justify-self: end;
  gap: 18px;
}

.mb-developer-signature {
  display: inline-flex;
  grid-column: 2;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 0;
  color: #777;
  font-size: 8px;
  letter-spacing: .04em;
  white-space: nowrap;
}

.mb-developer-signature > a {
  display: inline-flex;
  align-items: center;
  opacity: .7;
  transition: opacity .2s, transform .2s;
}

.mb-developer-signature > a:hover,
.mb-developer-signature > a:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.mb-developer-logo {
  display: block;
  width: auto;
  max-width: 112px;
  max-height: 25px;
  object-fit: contain;
}

.mb-panel-access {
  color: #aaa !important;
  font-size: 9px !important;
  opacity: .62;
  text-decoration: none;
  transition: color .2s, opacity .2s;
}

.mb-panel-access::before {
  content: "·";
  margin-right: 18px;
  color: #666;
}

.mb-panel-access:hover,
.mb-panel-access:focus {
  color: #fff !important;
  opacity: 1;
}

@media (max-width: 760px) {
  .mb-footer-bottom {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 9px;
  }

  .mb-footer-bottom > span:first-child,
  .mb-developer-signature,
  .mb-footer-bottom-links {
    grid-column: 1;
  }

  .mb-footer-bottom-links {
    display: block;
    justify-self: start;
    margin-top: 8px;
  }

  .mb-developer-signature {
    justify-content: flex-start;
  }

  .mb-panel-access {
    display: inline-block;
    margin-top: 6px;
  }
}

.mb-category-grid a > span {
  position: absolute;
  top: 27px;
  left: 30px;
  color: #b6afa6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.mb-category-grid a > div {
  position: relative;
  z-index: 1;
  width: 100%;
}

.mb-category-grid h3 {
  margin: 0 0 9px;
  overflow-wrap: anywhere;
  line-height: 1.12;
}

.mb-category-grid small {
  display: block;
  color: #77716a;
  line-height: 1.35;
}

.mb-store-nav {
  align-items: center;
  gap: 3px;
}

.mb-nav-main {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
  padding: 0;
  font-size: 11px;
  letter-spacing: .055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mb-nav-main::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 27px;
  left: 0;
  height: 2px;
  background: var(--red);
  transition: right .25s;
}

.mb-store-nav:hover .mb-nav-main::after,
.mb-store-nav.is-open .mb-nav-main::after { right: 0; }

.mb-store-nav > .mb-mega-toggle {
  width: 20px;
  min-width: 20px;
  justify-content: center;
}

.mb-mega::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 28px;
}

.mb-nav-item.is-open .mb-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mb-nav-item.is-open .mb-compact {
  transform: translate(-50%, 0);
}

/* Mega menu organizado em categorias, subcategorias e terceiro nível */
.mb-mega-columns {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.mb-mega-group {
  min-width: 0;
}

.mb-menu-tree,
.mb-menu-tree ul {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mb-menu-tree > li {
  border-bottom: 1px solid #eeeae4;
}

.mb-menu-tree li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.mb-menu-tree li > a {
  display: block;
  min-width: 0;
  padding: 8px 0;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.mb-category-toggle {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--red);
  font-size: 19px;
}

.mb-menu-tree li > ul {
  position: absolute;
  z-index: 30;
  top: -10px;
  left: calc(100% + 10px);
  display: none;
  min-width: 230px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(35, 28, 22, .16);
}

.mb-menu-tree li:hover > ul,
.mb-menu-tree li:focus-within > ul,
.mb-menu-tree li.is-expanded > ul {
  display: block;
}

.mb-mega-group:nth-child(n+3) .mb-menu-tree li > ul {
  right: calc(100% + 10px);
  left: auto;
}

.mb-menu-tree li > ul li + li {
  border-top: 1px solid #eeeae4;
}

/* Página e resultado de marcas */
.mb-brand-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.mb-brand-hero.has-brand-image {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: 70px;
}

.mb-brand-hero-copy h1 {
  max-width: 850px;
}

.mb-brand-hero-copy p {
  max-width: 780px;
}

.mb-brand-hero-copy > small {
  display: inline-flex;
  margin-top: 12px;
  padding: 7px 12px;
  border-radius: 20px;
  background: #fff;
  color: #68615a;
  font-size: 10px;
  font-weight: 700;
}

.mb-brand-hero figure {
  display: grid;
  min-height: 230px;
  place-items: center;
  margin: 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.mb-brand-hero figure img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
}

.mb-brand-categories {
  padding-top: 75px;
}

.mb-brand-categories > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  gap: 45px;
  align-items: end;
  margin-bottom: 28px;
}

.mb-brand-categories h2 {
  margin: 10px 0 0;
  font-size: clamp(34px, 4vw, 56px);
}

.mb-brand-categories header p {
  margin: 0;
  color: var(--muted);
}

.mb-brand-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.mb-brand-category-grid > a {
  position: relative;
  min-height: 285px;
  overflow: hidden;
  border-radius: 10px;
  background: #252525;
}

.mb-brand-category-grid > a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .04) 75%);
}

.mb-brand-category-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.mb-brand-category-grid a:hover img {
  transform: scale(1.045);
}

.mb-brand-category-grid a > span {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 20px;
  left: 20px;
  color: #fff;
}

.mb-brand-category-grid small,
.mb-brand-category-grid strong,
.mb-brand-category-grid b {
  display: block;
}

.mb-brand-category-grid small {
  margin-bottom: 5px;
  color: #ddd;
  font-size: 9px;
  text-transform: uppercase;
}

.mb-brand-category-grid strong {
  font-size: 22px;
  line-height: 1.1;
}

.mb-brand-category-grid b {
  margin-top: 12px;
  color: #fff;
  font-size: 9px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.mb-brand-grid > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-width: 0;
  border-radius: 10px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.mb-brand-grid > a.has-brand-image {
  grid-template-columns: minmax(145px, .62fr) minmax(0, 1fr);
}

.mb-brand-grid > a:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(35, 28, 22, .09);
}

.mb-brand-grid figure {
  display: grid;
  min-height: 160px;
  place-items: center;
  margin: 0;
  padding: 18px;
  border-radius: 7px;
  background: #f4f1ec;
}

.mb-brand-grid figure img {
  max-height: 115px;
  object-fit: contain;
}

.mb-brand-grid h2 {
  margin: 5px 0 12px;
  overflow-wrap: anywhere;
  font-size: clamp(28px, 3vw, 44px);
}

.mb-brand-grid p {
  color: var(--muted);
  font-size: 12px;
}

.mb-brand-grid small {
  display: block;
  margin-bottom: 15px;
  color: #8d867e;
  font-size: 9px;
  text-transform: uppercase;
}

.mb-brand-grid b {
  color: var(--red);
  font-size: 10px;
  text-transform: uppercase;
}

.mb-brand-empty {
  grid-column: 1 / -1;
  padding: 50px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: center;
}

/* Trustindex na Home e nos produtos */
.mb-managed-logo-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.mb-managed-logo {
  display: block;
  width: auto;
  max-width: 220px;
  max-height: 70px;
  object-fit: contain;
}

.mb-google-badge {
  padding: 9px 13px;
  border: 1px solid #d9d3ca;
  border-radius: 20px;
  background: #fff;
  color: #5a554f;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.mb-trustindex-widget {
  min-width: 0;
}

.mb-google-reviews--product {
  grid-column: 1 / -1;
  width: 100%;
  clear: both;
  margin-top: 75px;
  padding: 58px;
  border-radius: 12px;
  background: var(--soft);
}

.mb-google-reviews--product .mb-section-head h2 {
  max-width: 760px;
  font-size: clamp(34px, 4vw, 56px);
}

.mb-reviews-admin-note {
  padding: 30px;
  border: 1px dashed #c8c1b8;
  background: #fff;
}

.mb-reviews-admin-note p {
  margin: 8px 0 0;
  color: var(--muted);
}

.mb-offers-page .woocommerce ul.products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mb-no-offers {
  padding: 55px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

.mb-no-offers strong {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
}

.mb-no-offers p {
  margin-bottom: 24px;
  color: var(--muted);
}

/* Mantém o símbolo do WhatsApp exatamente no centro do botão flutuante. */
.mb-wa-float {
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  line-height: 0 !important;
  overflow: hidden;
}

.mb-wa-float .mb-wa-icon {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  line-height: 0;
}

.mb-wa-float .mb-wa-icon svg {
  display: block;
  width: 28px;
  height: 28px;
  margin: 0;
  flex: 0 0 28px;
}

@media (max-width: 760px) {
  .mb-store-nav {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .mb-store-nav > .mb-nav-main {
    min-height: 45px;
    padding: 0 8px;
    font-size: 11px;
  }

  .mb-store-nav > .mb-mega-toggle {
    width: 42px;
    padding: 13px 8px;
  }

  .mb-store-nav > .mb-mega {
    grid-column: 1 / -1;
  }

  .mb-mega::before { display: none; }
  .mb-nav-item.is-open .mb-mega { display: none; }
  .mb-nav-item.open .mb-mega { display: block; }
  .mb-mega-columns { grid-template-columns: 1fr; }
  .mb-menu-tree li > ul,
  .mb-mega-group:nth-child(n+3) .mb-menu-tree li > ul {
    position: static;
    grid-column: 1 / -1;
    min-width: 0;
    margin: 3px 0 8px 12px;
    padding: 5px 12px;
    border: 0;
    border-left: 1px solid #ccc5bc;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .mb-menu-tree li:hover > ul,
  .mb-menu-tree li:focus-within > ul { display: none; }
  .mb-menu-tree li.is-expanded > ul { display: block; }
  .mb-brand-hero { grid-template-columns: 1fr; gap: 30px; }
  .mb-brand-hero figure { min-height: 180px; }
  .mb-brand-categories { padding-top: 50px; }
  .mb-brand-categories > header { grid-template-columns: 1fr; gap: 15px; }
  .mb-brand-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mb-brand-category-grid > a { min-height: 230px; }
  .mb-brand-grid > a { padding: 25px; }
  .mb-brand-grid > a.has-brand-image { grid-template-columns: 120px minmax(0, 1fr); gap: 18px; }
  .mb-brand-grid figure { min-height: 130px; padding: 10px; }
  .mb-google-reviews--product { margin-top: 50px; padding: 35px 22px; }
  .mb-category-grid a { min-height: 260px; padding: 23px; }
  .mb-category-grid a > span { top: 21px; left: 23px; }
  .mb-offers-page .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 430px) {
  .mb-brand-category-grid { grid-template-columns: 1fr; }
  .mb-brand-category-grid > a { min-height: 245px; }
  .mb-brand-grid > a.has-brand-image { grid-template-columns: 1fr; }
  .mb-brand-grid figure { min-height: 150px; }
  .mb-category-grid h3 { font-size: 22px; }
  .mb-offers-page .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mb-no-offers { padding: 35px 20px; }
}
