.shortcode-dng-branch {
  padding: 30px 0;
}

.shortcode-dng-branch .box--title .title {
  text-align: center;
  font-size: 2.5em;
  line-height: 58px;
  font-weight: 700;
  color: var(--primary-color);
}

.shortcode-dng-branch .box--desc {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: #333;
  font-size: 18px;
  font-weight: 400;
  padding: 10px 0;
  gap: 20px;
}

.shortcode-dng-branch .find--branch {
  border-radius: 5px;
  border: 1px solid var(--primary-color);
  background: #FFF;
  display: inline-flex;
  padding: 10px 16px;
  align-items: flex-start;
  gap: 10px;
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  transition: all 0.2s ease-in;
  width: 100%;
  max-width: max-content;
}

.shortcode-dng-branch .find--branch:hover {
  background: var(--primary-color);
  color: #FFF;
}

.map-branch--content {
  display: flex;
  align-items: flex-start;
  column-gap: 20px;
  padding: 20px 0;
}

.branch-option--tabs {
  width: 100%;
  max-width: 400px;
}

.branch--content {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  position: relative;
}

.box-bsm-content {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.box-gallery--store {
  width: 100%;
  height: 190px;
  overflow: hidden;
}

.branch--content .box-gallery--store .item {
  padding: 0 5px;
  width: 340px;
  height: 180px;
}

.branch--content .box-gallery--store .item img {
  height: 100%;
  max-width: 100%;
  border-radius: 5px;
  object-fit: cover;
}

.box-map--store {
  width: 100%;
  border-radius: 10px;
  height: 430px;
  padding: 0px;
  overflow: hidden;
  box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.10);
}

.box-map--store iframe {
  width: 100%;
  height: 100%;
  box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.10);
  border-radius: 10px;
  margin-bottom: 0;
  border: 2px solid #ddd9d9 !important;
}

.btn--booking-map {
  position: absolute;
  right: 66px;
  bottom: 53px;
  border-radius: 5px;
  background: var(--primary-color);
  color: #FFF;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  padding: 12px 16px;
  text-transform: uppercase;
  display: flex;
  column-gap: 10px;
  align-items: center;
  opacity: 0.9;
  transition: all 0.2s ease-in;
}

.btn--booking-map:hover {
  box-shadow: 0px 0px 8px 0px #0004;
  opacity: 1;

}

.btn--booking-map:hover span {
  color: #fff;
}

.branch-option--tabs {
  height: 635px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.60);
  box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.10);
}

.branch-option--tabs .tabs .tab-header,
.branch-option--tabs .tabs .tab-indicator,
.branch-option--tabs .tabs .tab-body {
  margin: 0 auto;
  width: 100%
}

.branch-option--tabs .tabs .tab-header {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: auto;
  padding: 0 5px;
  z-index: 2;
}

.branch-option--tabs .tabs .tab-header>li {
  width: 100%;
  max-width: fit-content;
  text-align: center;
  color: #6f6f6f;
  font-size: 16px;
  cursor: pointer;
  transition: color 300ms ease-in-out;
  text-align: center;
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  padding: 5px 10px;
}

.branch-option--tabs .tabs .tab-header>li:hover {
  color: #343F6D !important;

}

.branch-option--tabs .tabs .tab-header>li.active {
  color: #343F6D !important;
  border-bottom: 2px solid #343F6D;

}

.branch-option--tabs .tabs .tab-body {
  position: relative;
}

.branch-option--tabs .tabs .tab-body>div {
  position: absolute;
  width: 100%;
  opacity: 0;
  top: -100vh
}

.branch-option--tabs .tabs .tab-body .boxi--branch {
  overflow: auto;
  height: 500px;
  margin: 15px 0px;
}

.branch-option--tabs .tabs .tab-body>div.active {
  top: 0px;
  opacity: 1;
  transition: top 0ms ease-in-out 0ms, opacity 300ms ease-in-out 0ms;
}

.branch-option--tabs .boxi--branch .store__item {
  padding: 8px;
  width: 100%;
  height: auto;
  display: flex;
  gap: 8px;
  cursor: pointer;
  position: relative;
}

.branch-option--tabs .boxi--branch .store__item .box-img {
  height: 120px;
  width: 120px;
  flex: 0 0 auto;
  border-radius: 20px 0;
  overflow: hidden;
}

.branch-option--tabs .boxi--branch .store__item .box-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.branch-option--tabs .boxi--branch .store__item .box-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.branch-option--tabs .boxi--branch .store__item .box-title .title {
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 600;
}


.loading--branch {
  display: flex;
  text-align: start;
  align-items: flex-start;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  height: 100%;
  z-index: 1;
  padding: 10px;
  overflow: hidden;
  background-image: url('https://cdn.diemnhangroup.com/seoulacademy/2023/12/loading-post.gif');
  background-size: 50%;
}

.branch-option--tabs .loading--branch {
  background-image: url('https://cdn.diemnhangroup.com/seoulacademy/2023/12/loding-post-v.gif');
  background-size: 100%;
}

.loading--branch.hidden {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.branch-option--tabs .tabs>.title {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  padding-top: 10px;
  color: var(--primary-color);
}

.store__meta-btn {
  display: none !important;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
}

.popup-button-advise,
.directions-button {
  width: 100%;
  max-width: 110px;
  border-radius: 4px;
  border: 1px solid #DD3E5E;
  background: #FFF;
  padding: 2px 8px;

}

.popup-button-advise a,
.directions-button a {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 5px;
}

.directions-button {
  background: var(--primary-color);
  border: 1px solid var(--primary-color);

}

.directions-button span {
  color: #fff;
}

.search-map-branch {
  display: flex;
  width: 100%;
  height: auto;
  padding: 10px;
  position: sticky;
  top: 0;
  z-index: 9;
  background: #fff;
}

.branch-option--tabs .tabs .tab-body .boxi--branch {
  position: relative;
}

.search-map-branch input {
  width: 100%;
  height: 40px;
  border-radius: 6px;
}

.search-map-branch svg {
  position: absolute;
  top: 22px;
  z-index: 10;
  right: 18px;
  cursor: pointer;
  pointer-events: none;
}

.box-content .box-km {
  background: var(--primary-color);
  width: 100%;
  max-width: max-content;
  padding: 0px 5px;
  border-radius: 5px;
  color: #fff;
  font-size: 14px;
}

.branch-option--tabs .boxi--branch .store__item:last-child {
  margin-bottom: 25px;
}

@media only screen and (max-width:768px) {
  .map-branch--content .branch--content {
    display: none !important;
  }

  .branch-option--tabs {
    width: 100%;
    max-width: inherit;
    padding: 0 15px;
  }

  .map-branch--content {
    padding: 20px 30px;
  }

  .store__meta-btn {
    display: flex !important;
  }

  .shortcode-dng-branch .box--desc {
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
  }

  .shortcode-dng-branch .box--desc .desc {
    text-align: center;
  }

  .shortcode-dng-branch .box--title .title {
    font-size: 24px;
  }
  .branch-option--tabs .tabs .tab-header>li{
    font-size: 14px;
  }
}

@media only screen and (max-width:550px) {
  .map-branch--content {
    padding: 15px;
  }

  .branch-option--tabs {
    padding: 0 8px;
  }

  .branch-option--tabs .boxi--branch .store__item .box-title .title {
    font-size: 16px !important;

  }

  .store__meta-btn span,
  .box-content p {
    font-size: 14px !important;
  }

  .store__meta-btn span {
    white-space: pre;
  }

  .branch-option--tabs .boxi--branch .store__item .box-img {
    width: 100px;
    height: 100px;
  }

  .store__meta-btn {
    gap: 7px;
  }
  .branch-option--tabs .tabs .tab-header>li{
    padding: 5px;
  }
}