/*
--------------------------------------
Main section
--------------------------------------
*/

.bwafaq {
  margin: 40px 0;
}

/*
--------------------------------------
List
--------------------------------------
*/

.bwafaq__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/*
--------------------------------------
Btns
--------------------------------------
*/

.bwafaq__category {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 22px;
  min-width: 140px;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  color: #3a3a3a;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.bwafaq__category:focus,
.bwafaq__category.is-active {
  border-color: #f26b3a;
  color: #f26b3a;
  transform: translateY(-2px);
  outline: none;
}

.bwafaq__category-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/*
--------------------------------------
Main title
--------------------------------------
*/

.bwafaq__title {
  text-align: center;
  margin: 2em 0;
  font-size: 28px;
  color: #2e2e2e;
}

.bwafaq__title-name {
  color: #f26b3a;
}

/*
--------------------------------------
Questions & answers
--------------------------------------
*/

.bwafaq__questions {
  max-width: 860px;
  margin: 0 auto;
}

.bwafaq__item {
  margin-bottom: 12px;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.bwafaq__question {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bwafaq__question::marker {
  display: none;
}

.bwafaq__question::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-left: 10px;
  flex-shrink: 0;
}

.bwafaq__answer {
  padding: 0 18px 16px;
  color: #4a4a4a;
}

.bwafaq__item[open] .bwafaq__question {
  color: #f26b3a;
}

.bwafaq__item[open] .bwafaq__question::after {
  transform: rotate(-135deg);
}
