@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans KR', sans-serif;
}

body {
    background-color: #fff;
    color: #333;
    line-height: 1.6;
    font-size: 14px;
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
}

.container {

    max-width: 480px; /* 모바일 최대 너비 제한 */
    margin: 0 auto;
    /*padding: 0 15px;*/
    width: 100%;
}

/* 헤더 영역 (뒤로가기 포함) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: #fff;
    padding: 15px 0;
	height:60px;
}

.header .container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

.back-button {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    z-index: 10;
}

.back-icon {
    width: 20px;
    height: 20px;
	margin-top:30px;
}

/* 상단 여백 (헤더 고정 때문에) */
.main-content {
    padding-top:60px;
}

/* 매장 이미지 영역 */
.main-image-wrap {
    width: 100%;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.store-image {
    width: 100%;
    /*max-width: 450px;*/
    height: auto;
    margin: 0 auto;
    display: block;
}

/* 매장 정보 섹션 */
.store-info-wrap {
    padding: 20px 15px;
    background-color: #fff;
}
.store-line{
	position: relative;
    background-color: #fff;
    border-bottom: 1px solid #eee;
	width:92%;
	left:4%;
}
.store-tag {
    display: inline-block;
    font-size: 12px;
    color: #54C695;
    padding: 6px 6px;
	border-radius:12px;
    margin-bottom: 8px;
	font-weight:500;
	background:#f5f9f7;
	margin-right:8px;
}

.store-name {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.info-item {
    display: flex;
    margin-bottom: 10px;
    align-items: flex-start;
}

.info-label {
    flex: 0 0 80px;
    color: #555;
}

.info-content {
    flex: 1;
    color: #333;
}

/* 매장 설명 섹션 */
.store-description {
    background-color: #fff;
    padding: 25px 15px;
    margin: 10px 0;
    line-height: 1.6;
}

/* 매장 소개 이미지 및 콘텐츠 스타일 */
.store-description img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    display: block;
}

.store-description p {
    margin-bottom: 15px;
}

.store-description h1, 
.store-description h2, 
.store-description h3, 
.store-description h4 {
    margin: 15px 0 10px;
    font-weight: 600;
}

.store-description ul, 
.store-description ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

/* 예약 버튼 - 하단 고정 */
.booking-button-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 16px 15px;
    z-index: 100;
	margin: 0 auto;
	max-width: 470px;
}

.booking-button-container .container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0;
}

.booking-button {
    display: block;
    width: 100%;
    background-color: #1C1C1C;
    color: white;
    padding: 16px;
    text-align: center;
    border-radius: 0;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
	border-radius:13px;
}

.booking-button:hover, .booking-button:active {
    background-color: #333;
}

/* 페이지 인디케이터 */
.page-indicator {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.indicator-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 3px;
}

.indicator-dot.active {
    width: 20px;
    border-radius: 3px;
    background-color: #333;
}

/* 매장 소개 섹션 */
.store-memo {
    margin-top: 10px;
    line-height: 1.7;
    font-size: 14px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* 이미지 반응형 처리를 위한 스타일 */
.store-memo img,
.store-memo iframe,
.store-memo video,
.store-memo table,
.responsive-img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 10px 0;
}

/* 테이블 반응형 처리 */
.store-memo table {
    width: 100% !important;
    border-collapse: collapse;
}

/* 이미지 중앙 정렬 클래스 */
.img-center {
    margin-left: auto;
    margin-right: auto;
}
.line{
	/*border:1px solid #e4e4e4;*/
}

/* 예약 모달 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    overflow: auto;
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    width: 90%;
    max-width: 480px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.modal-header {
    padding: 15px;
    background-color: #1C1C1C;
    color: white;
    border-radius: 12px 12px 0 0;
}

.modal-title {
    font-size: 16px;
    font-weight: 700;
}

.modal-body {
    padding: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #444;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    -webkit-appearance: none;
}

.modal-footer {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.modal-button {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.btn-secondary {
    background-color: #f1f1f1;
    color: #333;
    border: none;
}

.btn-primary {
    background-color: #1C1C1C;
    color: white;
    border: none;
}

.close {
    color: white;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

/* 모바일 터치 최적화 */
a, button, input, select, textarea, .action-button {
    touch-action: manipulation;
}

/* 아이폰 사파리 버튼 스타일 초기화 */
input[type="button"], input[type="submit"], input[type="reset"], button {
    -webkit-appearance: none;
    border-radius: 0;
}