html {
  scroll-behavior: smooth;
}

.btn-back-home {
  display: block;
  width: fit-content;
  margin: 20px auto 10px;
  padding: 10px 20px;
  background: #fecc00;
  color: #000;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  text-align: center;
}
.btn-back-home:hover {
  background: #e0b800;
}

.boxbox-slide {
  height: 650px !important;
}

@media (max-width: 1024px) {
  .boxbox-slide {
    height: 500px !important;
  }
}

@media (max-width: 768px) {
  .boxbox-slide {
    height: 420px !important;
  }
}

@media (max-width: 480px) {
  .boxbox-slide {
    height: 320px !important;
  }
}

.branch-selector-section {
  padding: 70px 40px 30px;
}

.branch-selector-home {
  padding-top: 80px;
  padding-bottom: 70px;
}

.branch-selector-title {
  text-align: center;
  font-size: 46px;
  margin-bottom: 35px;
}

.branch-selector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.branch-selector-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  min-height: 260px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.branch-selector-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.branch-selector-overlay {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.2));
  color: #fff;
}

.branch-selector-overlay strong {
  font-size: 20px;
}

.branch-selector-overlay em {
  font-style: normal;
  font-weight: 700;
  background: #fecc00;
  color: #000;
  padding: 8px 14px;
  border-radius: 8px;
}

@media (max-width: 1200px) {
  .branch-selector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .branch-selector-section {
    padding: 45px 20px 20px;
  }

  .branch-selector-title {
    font-size: 34px;
  }

  .branch-selector-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Banner customization ──────────────────────────────────────────────────── */
/* Base banner styles live in style_new.css; centering handled there. */
