.elementor-3371 .elementor-element.elementor-element-d173f0b{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;}.elementor-3371 .elementor-element.elementor-element-e40a0ff{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-3371 .elementor-element.elementor-element-562b03c{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}.elementor-3371 .elementor-element.elementor-element-fb42826{--display:flex;--justify-content:center;}.elementor-3371 .elementor-element.elementor-element-fb42826.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-3371 .elementor-element.elementor-element-3f55477{text-align:start;}.elementor-3371 .elementor-element.elementor-element-3f55477 .elementor-heading-title{font-size:22px;color:#4B083E;}.elementor-3371 .elementor-element.elementor-element-a1f7578{--display:flex;--justify-content:center;}@media(min-width:768px){.elementor-3371 .elementor-element.elementor-element-fb42826{--width:41.111%;}}/* Start custom CSS */.brand-search-box {
  text-align: center;
  margin: 20px 0;
  border: 1px solid #000;
}
.brands-grid {
  display: flex;
  flex-wrap: wrap;
  /*justify-content: center;*/
  gap: 20px;
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 10px;
}

.brand-box {
  flex: 1 1 calc(50% - 20px); /* 2 per row on mobile by default */
  max-width: calc(50% - 20px);
  
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.brand-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.brand-box img {
  width: 100%;
  height: auto;
  object-fit: contain;
  padding: 20px;
}

.brand-title {
  font-weight: 600;
  font-size: 14px;
  color: #000;
  padding: 10px 10px 15px;
  border-top: 1px solid #eee;
}

/* Tablet and up: 3 per row */
@media (min-width: 768px) {
  .brand-box {
    flex: 1 1 calc(33.33% - 20px);
    max-width: calc(33.33% - 20px);
  }
  
}

/* Desktop and up: 4 per row */
@media (min-width: 1024px) {
  .brand-box {
    flex: 1 1 calc(14.28% - 20px);
    max-width: calc(14.28% - 20px);
  }
  .brand-title {
      font-size: 12px;
  }
}/* End custom CSS */