
.bannerMarcasContainer {
  margin: 0;
  width: 100%;
}
.bannerMarcasContainer img{
  display:block;
  width: 100%;
}

.widthContainer {
  width: var(--web-container) !important;
  display: grid;
  row-gap: 20px;
  grid-auto-rows: min-content;
  min-height: 90svh;
}

.brandList {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.brandItem {
  display: flex;
  justify-content: center;
  position: relative;
  cursor: pointer;
  background: var(--lines-border-color);
  transition: opacity .18s ease, transform .18s ease;
  will-change: opacity, transform;
}

.brandItem figure {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.brandLogo {
  width: 80%;
  max-height: 80%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}

.brandButton {
  display: flex;
  position: absolute;
  bottom: 15px;
  opacity: 0;
  box-sizing: border-box;
  width: 85%;
  visibility: hidden;
  justify-content: space-between;
  font-size: var(--base-font-size);
  text-transform: uppercase;
}
.brandButton span{
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  position: relative;
}

.brandsTopBar {
  display: flex;
}

.brandSearch {
  position: relative;
  width: 100%;
  display: flex;
  max-width: 520px;
  border: 1px solid var(--lines-border-color);
  border-radius: var(--border-radius);
  align-items: center;
  background: transparent;
}

.brandSearchIcon {
  position: absolute;
  left: 15px;
}

.brandSearchInput {
  width: 100%;
  padding: 14px 20px;
  text-indent: 25px;
  outline: none;
  background: transparent;
  text-transform: uppercase;
  color: var(--base);
  border: 0;
}

.brandSearchInput::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.brandSearchInput::-webkit-input-placeholder { color: var(--lighter-base); }
.brandSearchInput::-moz-placeholder { color: var(--lighter-base); }
.brandSearchInput:-ms-input-placeholder { color: var(--lighter-base); }
.brandSearchInput::placeholder { color: var(--lighter-base); }


.brandListEmpty {
  padding: 15px;
  border-radius: var(--border-radius);
  text-align: center;
  text-transform: uppercase;
  background: var(--lines-border-color);
  color: var(--base);
  display: none;
}

.brandItem {
  transition: opacity .22s ease, transform .22s ease;
  will-change: opacity, transform;
}

.brandItem.isHiding {
  opacity: 0;
  transform: scale(.98);
  pointer-events: none;
}

.brandItem.isGone {
  display: none;
}

.brandItem.isAppearing {
  opacity: 0;
  transform: scale(.98);
  pointer-events: none;
}

.brandItem.isVisible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .brandItem { transition: none; }
}


@media (hover: hover) and (pointer: fine) {
  .brandItem:hover .brandButton {
    opacity: 1;
    visibility: visible;
  }
}

@media screen and (max-width: 1200px) {
  .brandButton{
    opacity:1;
    visibility: visible;
    font-size: var(--menu-font-size);
  }
  .brandList { grid-template-columns: repeat(4, 1fr); }
}
@media screen and (max-width: 820px) {
  .brandList {grid-template-columns: repeat(3, 1fr);}
}
@media screen and (max-width: 768px) {
  .brandList {grid-template-columns: repeat(2, 1fr);gap: 15px;}
  
}

