/* MC29: etiqueta completa sobre a imagem e altura consistente na pesquisa. */

/* O texto voltou ao botão, que continua no rodapé da imagem e aparece no hover. */
.catalog-style-card.product-card.compact-card .product-card-media .mc-add-cart.mc-icon-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 41px;
  padding: 8px 9px;
  font-family: inherit;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
}
.catalog-style-card.product-card.compact-card .product-card-media .mc-add-cart.mc-icon-cart svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}
.catalog-style-card.product-card.compact-card .product-card-media .mc-cart-label {
  display: inline;
  min-width: 0;
  white-space: normal;
}

/* A busca e a área roxa compartilham exatamente a mesma altura. */
.header-main .search {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  overflow: visible;
  border-radius: 5px;
}
.header-main .search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  margin: 0 !important;
  box-sizing: border-box;
  border-radius: 5px 0 0 5px;
  border-right: 0;
  outline: none !important;
  outline-offset: 0;
  box-shadow: none !important;
}
.header-main .search button {
  flex: 0 0 36px !important;
  width: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  align-self: stretch;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
  border: 0;
  border-radius: 0 5px 5px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Destaque da busca sem alterar a altura do campo ou do botão. */
.header-main .search:focus-within {
  box-shadow: 0 0 0 2px rgba(111,21,207,.25);
}
.header-main .search button:focus-visible {
  outline: 2px solid #ff8a00;
  outline-offset: 2px;
}
@media (max-width: 600px) {
  .catalog-style-card.product-card.compact-card .product-card-media .mc-add-cart.mc-icon-cart {
    gap: 5px;
    font-size: 10px;
    padding: 7px 5px;
  }
  .catalog-style-card.product-card.compact-card .product-card-media .mc-add-cart.mc-icon-cart svg {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
  }
}
