.boa-section-branches-list {
  ul {
    list-style: none;
  }
  p {
    margin: unset;
    line-height: 22px;
    font-size: 18px;
  }
  .hidden {
    display: none;
  }
  .text-red {
    color: #a7243c;
  }
  .text-bold {
    font-weight: bold;
  }
  .boa-branch-item {
    margin-top: 1rem;
  }
  .boa-branch-item-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 1rem;
    max-width: 90%;
    margin-inline: auto;
    border-bottom: 1px solid #0000003d;
  }
  .boa-branch-item-inner [class*="content"] {
    align-content: center;
  }
  .content-start {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .content-start-text > * {
    font-size: 20px;
    line-height: 25px;
  }
  .content-start-text p:first-child,
  .content-start-text a {
    font-weight: 700;
  }
  .content-end {
    font-weight: 500;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .boa-branches-icons-wrapper {
    display:flex;
    flex-direction:row;
    gap:14px;
  }
  .branch-item-nav {
    grid-column: 2/3;
  }
  .icon-with-text-vertical {
    text-align: center;
    width: 50%;
  }
  .icon-with-text-vertical img {
    display: inline;
  }
  hr {
    height: 1px;
    border: none;
    width: 90%;
    opacity: 0.25;
    background-color: #0006;
    margin: 1rem 0;
    margin-inline: auto;
  }
  li.hidden + hr {
    display: none;
  }

  @media only screen and (max-width: 740px) {
    ul {
      padding: unset;
    }
    .boa-branch-item-inner {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      padding-inline: unset;
    }
    .icon-store {
      display: none;
    }
    .boa-branches-icons-wrapper {
      flex-direction:column;
      width:fit-content;
    }
    .icon-with-text-vertical {
      padding-block: 1rem;
      border: 1px solid black;
      font-weight: normal;
      width: auto;
    }
    .icon-with-text-vertical p{
      font-size: 14px;
      line-height: 14px;
      padding: 12px;
    }
  }
}

.boa-section-branches-filters {
  display: flex;
  margin-top: 2rem;
  .hidden {
    display: none;
  }
  .text-red {
    color: red;
  }
  .content-center {
    flex-grow: 2;
    padding: 3rem;
    box-shadow: 0 0 4px #00000040;
  }
  .content-center p {
    font-weight: 500;
  }
  .content-center h2 {
    text-align: center;
  }
  .content-start,
  .content-end {
    flex-grow: 1;
  }
  form.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    padding-inline: 2rem;
    margin-top: 2rem;
  }
  form.filters .text-inputs-wrap,
  form.filters .checkbox-inputs-wrap {
    flex: 1 1 50%;
    box-sizing: border-box;
    max-width: calc(50% - 10px);
    display: flex;
  }

  .checkbox-inputs-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
  }
  .branches-filter-check {
    border: 1px solid #a7243c;
    padding: 5px 10px;
    border-radius: 15px;
    margin: 5px 0;
    position: relative;
  }
  .branches-filter-check input:hover {
    cursor: pointer;
  }
  .branches-filter-check:has(input[type="checkbox"]:checked) {
    background-color: #a7243c;
    color: #ffffff;
  } 
  .branches-filter-check input {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    margin: 0;
    z-index: 10;
  }
  .branches-filter {
    display: flex;
    position: relative;
    height: fit-content;
    margin-left: 10px;
  }
  @media only screen and (min-width: 741px) {
    .branches-filter[data-target="city"] {
      width: 20rem;
    }
  }
  .branches-filter input {
    width: 100%;
  }
  ul.boa-autocomplete-list {
    border: 1px solid #80808080;
    border-top: unset;
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    width: calc(100% + 8px);
    top: 100%;
    left: -4px;
    background-color: white;
    z-index: 1;
    max-height: 200px;
    overflow: auto;
    border-radius: 8px;
    border-top-right-radius: unset;
    border-top-left-radius: unset;
  }
  ul.boa-autocomplete-list li {
    border-bottom: 1px solid #00000033;
    padding-inline-start: 1rem;
    cursor: pointer;
    margin-bottom: unset;
  }
  ul.boa-autocomplete-list li:hover {
    background-color: #d4dce34d;
  }
  .branches-filter input {
    width: 100%;
    border: none;
    border-bottom: 1px solid black;
    outline: none;
    font-size: 14px;
  }
  .branches-filter input:focus {
    outline: none;
    border: none;
  }
  .boa-autocomplete-arrow {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  .boa-autocomplete-arrow svg {
    height: 10px;
    width: 10px;
  }
  #reset-filters-button {
    padding-inline: 1rem;
  }
  @media only screen and (max-width: 740px) {
    h2 {
      display: none;
    }
    .content-center {
      max-width: 90vw;
      padding: 1rem;
      font-size: 1.25rem;
      line-height: 1.8rem;
    }
    form.filters {
      flex-direction: column;
      padding: unset;
      gap: 1.2rem;
      font-size: 1.1rem;
    }
    .branches-filter {
      width: 100%;
    }
    #reset-filters-button {
      width: fit-content;
      padding: 0.5rem 1rem;
    }
  }
}

@media screen and (max-width: 900px){
  .boa-section-branches-filters {
    form.filters .text-inputs-wrap,
    form.filters .checkbox-inputs-wrap {
      flex: 1;
      max-width: 100%;
    }
    form.filters .text-inputs-wrap{
      flex-direction: column;
    }
    .content-center p {
      font-size: 18px;
    }
  }
}