/* Banner Start */
.find-a-branch-banner{
position:relative;
height:600px;
overflow:hidden;
}

.branch-banner-img{
width: 100%;
height: auto;
}

.branch-banner-img img{
width:100%;
height:600px;
object-fit:cover;
}

.find-a-branch-banner::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.25);
z-index:1;
}

.find-a-branch-banner-title{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
text-align:center;
z-index:2;
}

.find-a-branch-banner-title h1{
font-size:42px;
font-weight:600;
letter-spacing:1px;
margin:0;
text-transform:uppercase;
color:#4c2a4f;
font-family:var(--Red-Hat-Display);
}
/* Banner End */

/* Find Filter Start */
.find-filter {
  width: var(--Global-Width);
  font-family: var(--Red-Hat-Display);
  margin: auto;
  padding: 2% 0;
  display: flex;
  column-gap: 60px;
}
.branch-list {
  color: #fff;
  /* background: #4c2a4f; */
  border-radius: 4px;
  padding: 8px 24px;
  font-size: var(--font-body);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #4c2a4f
    url("data:image/svg+xml;utf8,<svg fill='%23ffffff' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>")
    no-repeat right 10px center;
  background-size: 20px;
}
.branch-list:focus {
  outline: none;
}
.branch-list option {
  font-size: 16px;
}
.branch-submit {
  padding: 7px 40px;
  color: #fff;
  background: #4c2a4f;
  border: 1px solid #4c2a4f;
  border-radius: 6px;
  font-size: var(--font-body);
}
.branch-submit:hover {
  color: #4c2a4f;
  background: transparent;
}
/* Find Filter End */

/* Filter Result Start */
.filter-result {
  display: flex;
  justify-content: center;
  align-items: center;
  width: var(--Global-Width);
  margin: auto;
  gap: 20px;
  font-family: var(--Red-Hat-Display);
  position:relative;
  padding-bottom: 2%;
}
.found-city-slider {
  width: 30%;
  height: 550px; /* controls visible area */
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: y mandatory; /* smooth snapping */
}
.found-city,.find-popup {
  flex: 0 0 calc((100% - 24px) / 3); /* 3 items */
  background: #fff;
  color: #4c2a4f;
  padding: 20px;
  border-radius: 8px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  border: 1px solid #4c2a4f;
}
.found-city h3,.find-popup h3 {
  font-size: var(--font-body);
}
.found-city p,
.found-city span,.find-popup p,.find-popup span {
  font-size: 16px;
}
.found-city span,.find-popup span{
    font-weight: 800;
}
/* Filter Result End */
.city-map {
  width: 70%;
  height: 550px;
  z-index: 0;
}

.branch-marker {
    width: 36px;
    height: 36px;
    background: #e74c3c;          /* ← marker background colour */
    border: 3px solid #fff;       /* ← marker border */
    border-radius: 50% 50% 50% 0; /* ← teardrop shape */
    transform: rotate(-45deg);
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    transition: all 0.2s;
    cursor: pointer;
}

.branch-loading {
    padding: 20px;
    color: #888;
    font-size: 14px;
    text-align: center;
}

/* Popup Start */
.branch-popup-wrap {
    position: absolute;
    top: 4%;
    left: 34%;
    z-index: 20;
    width: 24%;
	display: none; 
}

.find-popup {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.popup-direction {
  display: inline-block;
  margin-top: 10px;
  color: #4c2a4f;
  font-size: 18px;
  font-weight: 600;
}
.popup-direction:hover{
  color:#1a73e8;
}
.popup-close {
    position: absolute;
    right: 4%;
    top: 4%;
    border: none;
    background: transparent;
    color: #000000;
    font-size: 18px;
	cursor: pointer;
}

/* Mobile */
@media (max-width: 767px) {
/* 	Hero Section */
	.find-a-branch-banner{
		height: 220px;
	}
	.branch-banner-img img{
		height: 220px;
	}
	.find-a-branch-banner-title h1{
		font-size: 28px;
	}
/* 	Hero Section */
	
	.find-filter{
		display: grid;
		grid-template-columns: 56% 39%;
		column-gap: 20px;
	}
	.filter-result{
		flex-direction: column;
		padding-bottom: 4%;
	}
	.found-city-slider{
		height: 250px;
	}
	.city-map{
		height: 300px;
	}
	.found-city-slider,.city-map{
		width: 100%;
	}
	.branch-popup-wrap{
		width: 100% !important;
        margin: 4% 0;
        left: 0% !important;
        position: relative;
	}
}

/* Tab */
@media (max-width: 1024px) {
/* 	Hero Section */
	.find-a-branch-banner{
		height: 380px;
	}
	.branch-banner-img img{
		height: 380px;
	}
	.find-a-branch-banner-title h1{
		font-size: 34px;
	}
/* 	Hero Section */
	.found-city-slider{
		width: 100%;
		height: 350px;
	}
	.city-map{
		width: 100%;
		height: 400px;
	}
	.filter-result .city-map{
		display: none;
	}
	.filter-result.mobile-map-active .found-city-slider{
        display: none;
    }
	#mobile-map-view{
		position: relative;
	}
	.branch-popup-wrap{
		width: 50%;
		top: 6%;
        left: 6%;
	}
}