/* Home 2026 - Brand Directory Page Styles */
.mainContainer_theme {
  position: static !important;
  transform: none !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.home26-brand-directory-page {
  width: min(82%, 1650px) !important;
  max-width: 1650px !important;
  margin: 24px auto 60px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.home26-brand-directory-page .brands-title {
  text-align: center;
  margin: 10px 0 24px;
}

.home26-brand-directory-page .brands-title h1,
.home26-brand-directory-page .brands-title h3 {
  font-size: 26px;
  font-weight: 800;
  color: #19191c;
  text-transform: uppercase;
  letter-spacing: -0.3px;
  margin: 0;
}

.home26-brand-directory__search {
  width: min(100%, 540px);
  margin: 16px auto 30px;
  position: relative;
}

.home26-brand-directory__search-inner {
  position: relative;
  width: 100%;
}

.home26-brand-directory__search-inner input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  min-height: 48px;
  padding: 0 20px 0 46px;
  border: 1px solid #d8dadd;
  border-radius: 999px;
  outline: none;
  background: #f8f9fa;
  color: #19191c;
  font-size: 14.5px;
  font-family: inherit;
  line-height: 48px;
  transition: all 0.2s ease;
}

.home26-brand-directory__search-inner input:focus {
  background: #fff;
  border-color: #ec1745;
  box-shadow: 0 0 0 3px rgba(236, 23, 69, 0.12);
}

.home26-brand-directory__search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  pointer-events: none;
  z-index: 2;
  line-height: 1;
}

.home26-brand-directory__search-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}



.home26-brand-directory__empty {
  margin: 30px 0;
  padding: 24px;
  text-align: center;
  background: #fdf2f4;
  border-radius: 12px;
  color: #b91c1c;
  font-size: 15px;
}

.home26-brand-directory-page .brands-wrap {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
}

.home26-brand-directory-page .brands-block {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.home26-brand-directory-page .brands-block h2 {
  font-size: 18px;
  font-weight: 800;
  color: #ec1745;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #fee2e2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home26-brand-directory-page .brands-block h2 span.brand-block-count {
  font-size: 13px;
  font-weight: 600;
  color: #888;
  background: #f3f4f6;
  padding: 2px 8px;
  border-radius: 12px;
}

.home26-brand-directory-page .brands-block ul {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 10px 14px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.home26-brand-directory-page .brands-block ul li {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.home26-brand-directory-page .brands-block ul li a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  min-height: 42px !important;
  padding: 6px 10px !important;
  border-radius: 8px !important;
  color: #2d2e36 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  background: #f9fafb !important;
  border: 1px solid #f0f2f5 !important;
  transition: all 0.15s ease !important;
  word-break: break-word !important;
  white-space: normal !important;
}

.home26-brand-directory-page .brands-block ul li a:hover {
  background: #ec1745 !important;
  border-color: #ec1745 !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 8px rgba(236, 23, 69, 0.2) !important;
}

.home26-brand-directory-page .brands-block li.is-brand-search-hidden,
.home26-brand-directory-page .brands-block.is-brand-search-empty {
  display: none !important;
}

@media (max-width: 1200px) {
  .home26-brand-directory-page .brands-block ul {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 991px) {
  .home26-brand-directory-page {
    width: min(calc(100% - 32px), 1650px) !important;
    margin: 16px auto 40px !important;
  }
  .home26-brand-directory-page .brands-block ul {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 576px) {
  .home26-brand-directory-page .brands-block {
    padding: 0 !important;
  }
  .home26-brand-directory-page .brands-block ul {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .home26-brand-directory-page .brands-block ul li a {
    font-size: 12.5px !important;
    padding: 7px 8px !important;
  }
}
