html.no-scroll, body.no-scroll {
	overflow: hidden;
	height: 100%;
	/* 可選，加強限制 */
}
.store_search_container {
	position: relative;
	/* 讓 modal 可以依據這個定位 */
	display: flex;
	justify-content: center;
	flex-direction: column;
	margin: 36px auto 0px;
	align-items: center;
	width: 40%;
	padding: 48px 0px;
	background-color: #f5f5f5;
}
.store_search_selector {
	border-radius: 8px;
	cursor: pointer;
    width: calc( 100% - 48px);
    padding: 24px 0px 16px;
	display: flex;
    text-align: center;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
}
.store_search_selector p {
	font-size: 18px;
	color: #534741;
	font-weight: 500;
}
.store_search_line {
	width: 80%;
	height: 2px;
	background-color: #b89c93;
	margin: 0px auto 32px;
}
.store_search_container::before {
	position: absolute;
	height: calc( 280px - 24px);
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	content: '';
	width: calc(100% - 24px);
	border: 1px solid #ddd6d3;
	border-radius: 16px;
	pointer-events: none;
	/* ← 這行是關鍵 */
}
.store_search_btn {
    display: flex;
	text-align: center;
	margin-bottom: 8px;
    position: relative;
}

.store_search_phone_main {
	text-align: center;
	color: #534741;
	display: none;
	align-items: center;
    margin: 0px 0px 24px;
    
}
.store_search_phone_title {
	font-size: 16px;
	margin-right: 24px;
}
.store_search_phone {
	font-size: 24px;
	font-weight: bold;
    color: #534741;
}
.store_search_phone:hover{
    color: #9e9278;
    text-decoration: none;
}
.store_search_modal {
position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 558px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
    margin-top: 10px;
    border-radius: 8px;
}
.store_search_hidden {
	display: none;
}
.store_search_title {
	font-size: 18px;
	margin-right: 24px;
    color: #3e4247;
}
.store_search_text{
    cursor: pointer;
    color: #909fb3;
	font-size: 18px;
    font-weight: 500;
    display: inline-block; 
    padding: 0px 16px;
    border-bottom: 1px solid #3e4247;
    padding-bottom: 2px; 
}
.store_search_default{
    display: block;
}
.selectedSearchArea,.selectedSearchStoreName{
display: none;
}
.store_search_content {
	background: #fff;
	padding: 20px;
	border-radius: 10px;
}
.stor_AreaTabs{
    display: flex;
    justify-content: center
}
.stor_AreaTabs button {
	margin-right: 10px;
	padding: 4px 16px;
    border-radius: 4px;
	border: 1px solid #534741;
	background: #fff;
	cursor: pointer;
}
.stor_AreaTabs button:hover{
background-color: #9e9278;
color: #fff;
border: 0px;
margin-right: 12px;
}
#stor_AreaTabs .active {
	background-color: #534741;
	color: #fff;
    border: 0px;
    margin-right: 12px;
}
.storeSearchList{
    display: flex;
    flex-wrap: wrap; /* 允許換行 */
    gap: 10px;
}
.storeSearchList button {
    flex: 0 0 calc(33.33% - 10px); /* 每列 3 個，間距考慮 gap */
    background: #ffffff;
    text-align: center;
    font-size: 16px;
    color: #9e9278;
    font-weight: 500;
    cursor: pointer;
    box-sizing: border-box;
	padding: 8px;
	margin-top: 5px;
	border: 1px solid #ccc;
	border-radius: 6px;
	cursor: pointer;
}
.storeSearchList button:hover {
	background-color: #9e9278;
    color: #fff;
}
.storeSearchList button.active {
  background-color: #534741;
  color: white;
  border: none;
}
.selectedSearchPhone {
	color: inherit;
	text-decoration: none;
}
.stor_search_modal_title{
    font-size: 18px;
    color: #534741;
    text-align: center;
    padding: 8px 0px;
}
@media screen and (max-width: 1620px) {
    .store_search_container{
        padding: 24px 0px;
    }
}
@media screen and (max-width: 1126px) {
.store_search_container{
    width: 56%;
}
}
@media screen and (max-width: 828px) {
    .store_search_container {
        width: 78%;
    }
}
@media screen and (max-width: 600px) {
    .store_search_modal{
        width: 400px;
}
}
@media screen and (max-width: 586px) {
    .store_search_container::before{
        height: calc(300px - 24px);
    }
}
@media screen and (max-width: 469px) {
    .store_search_container {
        width: 92%;
    }
    .storeSearchList button{
            flex: 0 0 calc(50% - 8px);
    }
    .store_search_modal{
        width: 320px;
    }
    .stor_AreaTabs{
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 10px;
    }
    .stor_AreaTabs button{
        flex: 0 0 calc(48% - 8px);
        margin-right: 0px;
    }
    #stor_AreaTabs .active{
    margin-right: 0px;
    }
}

@media screen and (max-width: 399px) {
    .store_search_container::before {
        height: calc(300px - 24px);
    }
    .store_search_selector{
        padding: 0px 0px 8px;
    }
    .store_search_phone_main{
        margin: 0px;
    }
    .store_search_line{
        margin: 0px auto 24px;
    }
}
@media screen and (max-width: 360px) {
    .store_search_modal{
        width: 280px;
    }
}
@media screen and (max-width: 340px) {
    .store_search_container::before {
        height: calc(280px - 24px);
    }
    .store_search_selector p{
        font-size: 16px;
    }
    .store_search_line{
        margin: 0px auto 16px;
    }

    .store_search_title{
        font-size: 16px;
        margin-right: 8px;
    }
    .store_search_text{
        font-size: 16px;
    }
    .store_search_phone_title{
            margin-right: 8px;
    }
    .store_search_phone{
        font-size: 18px;
    }
}
@media screen and (max-width: 297px) {
        .store_search_container::before {
        height: calc(287px - 24px);
    }
}
@media screen and (max-width: 297px) {
.store_search_container{
        padding: 16px 0px;
}
}