/* Overall Container */
.franchise-search-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Noto Sans KR', sans-serif;
}

/* Search Form */
.search-form {
    text-align: center;
    padding: 30px 0;
    background-color: #f5f5f5;
}

.search-form h2 {
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 500;
    letter-spacing: 3px;
}

.search-input-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.location-search-input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.location-search-input:focus {
    outline: none;
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Location Results */
.location-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 100px;
    padding: 30px 15px;
    transition: opacity 0.3s ease;
}

.location-results.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Location Item */
.location-item {
    background: #fff;
    border:;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.location-title {
    font-size: 24px;
    font-weight: 800!important;
    margin-bottom: 10px;
    color: #fff;
}

.location-address {
    font-size: 16px;
    color: #fff;
    margin-bottom: 0px;
}

.location-phone {
    font-size: 16px;
    color: #fff;
    margin-bottom: 0px;
}

.location-hours {
    font-size: 13px;
    color: #fff;
    margin-bottom: 10px;
}

/* Buttons */
.location-buttons {
    width:80%;
    display: flex;
    gap: 10px;
}

.reservation-btn,
.instagram-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
    flex: 1;
}

.reservation-btn {
    background-color: #5C4535;
    color: white;
}

.instagram-btn {
    background-color: #5C4535;
    color: white;
}

.reservation-btn:before {content:''; display:inline-block; background:url(/wp-content/uploads/2025/03/r_naver.png)no-repeat;  background-size:100%;width:19px; height:20px; margin-right:8px}
.instagram-btn:before {content:''; display:inline-block; background:url(/wp-content/uploads/2025/03/r_insta.png)no-repeat; background-size:100%; width:20px; height:20px;  margin-right:8px}



.reservation-btn:hover,
.instagram-btn:hover {background:#C19577}


/* 검색창 컨테이너 관련 스타일 */
.search-input-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

/* 검색 입력란 스타일 */
.location-search-input {
    width: 100%;
    padding: 15px 20px;
    padding-right: 45px; /* 돋보기 아이콘 공간 확보 */
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.location-search-input:focus {
    outline: none;
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* 돋보기 아이콘 스타일 */
.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.search-icon img {
    width: 18px;
    height: 18px;
    display: block;
}