/* =========================
   BRAND PAGE
   ========================= */

.brand-page {
  padding-bottom: 30px;
}

.brand-header {
  margin-bottom: 24px;
}

.brand-header-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  margin-bottom: 12px;
}

.brand-header-logo {
  display: block;
  max-width: 100%;
  max-height: 100px;
  width: auto;
  height: auto;
}

.brand-header h1 {
  margin: 0;
}

.brand-description {
  margin-bottom: 24px;
  line-height: 1.6;
}

.brand-description img {
  max-width: 100%;
  height: auto;
}

.brand-categories {
  margin-top: 20px;
}

.brand-categories-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 0;
  margin: 24px 0 20px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

.brand-categories-toggle span {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  color: inherit;
}

.brand-categories-toggle-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  transition: transform .2s ease;
}

.brand-categories-toggle[aria-expanded="true"] .brand-categories-toggle-icon {
  transform: rotate(180deg);
}

.brand-categories-content[hidden] {
  display: none !important;
}

.brand-category-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.brand-category-card:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.brand-category-card-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  padding: 15px;
}

.brand-category-card .card-img-top {
  display: block;
  width: 250px;
  height: 250px;
  max-width: 100%;
  max-height: 250px;
  margin: 0 auto;
  object-fit: contain;
}

.brand-category-card .card-body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.brand-category-card .card-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.brand-page .bl-line {
  margin: 24px 0;
}

@media (max-width: 991px) {
  .brand-header-logo-wrap {
    min-height: 80px;
  }

  .brand-header-logo {
    max-height: 80px;
  }

  .brand-category-card-image {
    min-height: 220px;
  }

  .brand-category-card .card-img-top {
    width: 220px;
    height: 220px;
    max-height: 220px;
  }

  .brand-categories-toggle span {
    font-size: 24px;
  }
}

@media (max-width: 575px) {
  .brand-header-logo-wrap {
    min-height: 70px;
  }

  .brand-header-logo {
    max-height: 70px;
  }

  .brand-description {
    font-size: 15px;
  }

  .brand-category-card-image {
    min-height: 180px;
    padding: 12px;
  }

  .brand-category-card .card-img-top {
    width: 180px;
    height: 180px;
    max-height: 180px;
  }

  .brand-category-card .card-body {
    padding: 14px;
  }

  .brand-category-card .card-title {
    font-size: 18px;
  }

  .brand-categories-toggle span {
    font-size: 20px;
  }
}