:root{
  --bg:#f3f6fb;
  --surface:#ffffff;
  --surface2:#f7f9fd;
  --text:#111827;
  --muted:#6b7280;
  --line:#e6ebf4;
  --shadow: 0 10px 30px rgba(16,24,40,.10);
  --shadow2: 0 16px 46px rgba(16,24,40,.12);
  --radius: 14px;
  --radius2: 10px;
  --primary:#2f6bff;
  --primary2:#00b2ff;
  --primarySoft:#eef4ff;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic", sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 520px at 60% -120px, rgba(47,107,255,.10), transparent 60%),
    radial-gradient(900px 520px at 20% 0, rgba(0,178,255,.08), transparent 60%),
    var(--bg);
}
a{color:inherit; text-decoration:none}

.wrap{max-width:1120px; margin:0 auto; padding:0 18px}
.siteMain{padding-bottom:56px}

/* Header (2 rows + nav) */
.siteHeader{position:sticky; top:0; z-index:50; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border-bottom:1px solid var(--line)}
.siteHeader__top{background: rgba(245,248,255,.85); border-bottom:1px solid var(--line)}
.siteHeader__topInner{display:flex; align-items:center; justify-content:space-between; gap:12px; height:34px}
.utilNav{display:flex; gap:14px; align-items:center}
.utilNav__link{font-size:12px; color:var(--muted)}
.utilNav__link:hover{color:var(--text)}
.utilNav--right{opacity:.95}

.siteHeader__mainInner{display:flex; align-items:center; justify-content:space-between; gap:14px; height:64px}
.logo{display:flex; align-items:center; gap:10px}
.logo__img{width:30px; height:30px; object-fit:contain}
.logo__text{font-weight:800; letter-spacing:.18em; color:#2a4fdc}

.iconBtn{
  width:40px; height:40px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius: 10px;
  border:1px solid var(--line);
  background: #fff;
  box-shadow: 0 6px 18px rgba(16,24,40,.06);
  cursor:pointer;
}
.iconBtn__icon{font-size:16px; color:#3b82f6}
.iconBtn--menu{gap:4px; flex-direction:column; padding:0}
.iconBtn--menu span{display:block; width:18px; height:2px; background:#3b82f6; border-radius:2px}

.siteHeader__actions{display:flex; gap:10px; align-items:center}

.siteHeader__nav{border-top:1px solid var(--line)}
.mainNav{display:flex; gap:18px; align-items:center; height:44px}
.mainNav__link{font-size:14px; color:#374151; padding:10px 6px}
.mainNav__link--active{color:var(--primary); font-weight:750; border-bottom:2px solid var(--primary)}

.searchBar{background:#fff; border-top:1px solid var(--line)}
.searchBar__inner{padding:12px 18px}
.searchBar__box{
  display:flex; align-items:center; gap:10px;
  border:1px solid var(--line);
  background: var(--surface2);
  border-radius: 12px;
  padding:10px 12px;
}
.searchBar__icon{color:#3b82f6; font-weight:900}
.searchBar__input{
  flex:1;
  border:0; outline:none;
  background: transparent;
  font-size:14px;
}
.searchBar__close{
  border:0; background:transparent; color:var(--muted); cursor:pointer; font-size:13px;
}

/* Buttons */
.btnP{
  display:inline-flex; align-items:center; justify-content:center;
  border-radius: 10px;
  padding:12px 16px;
  border:1px solid var(--line);
  background:#fff;
  color:#1f2937;
  font-weight:750;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.btnP:hover{transform: translateY(-1px); box-shadow: 0 10px 24px rgba(16,24,40,.10)}
.btnP--primary{background: linear-gradient(90deg, var(--primary), var(--primary2)); color:#fff; border-color: rgba(47,107,255,.25)}
.btnP--ghost{background: var(--primarySoft); border-color: rgba(47,107,255,.18); color:#2a4fdc}
.btnP--full{width:100%}
.btnP--sm{padding:10px 12px; font-size:13px}

/* Alerts */
.alertP{
  margin:14px 0;
  padding:12px 14px;
  border-radius: 12px;
  border:1px solid var(--line);
  background:#fff;
  color:#374151;
}
.alertP--warn{border-color: rgba(245,158,11,.25); background: #fff7ed}

/* Home hero */
.mainHero{padding:18px 0 20px}
.mainHero__inner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  align-items:stretch;
  background: linear-gradient(90deg, #2f6bff, #00b2ff);
  border-radius: 18px;
  padding:22px;
  box-shadow: var(--shadow2);
  color:#fff;
}
.mainHero__kicker{font-size:12px; letter-spacing:.12em; opacity:.92}
.mainHero__title{margin:12px 0 0; font-size:40px; line-height:1.10}
.mainHero__titleStrong{font-weight:900}
.mainHero__desc{margin:12px 0 0; max-width:58ch; opacity:.95; line-height:1.7}
.mainHero__cta{display:flex; gap:10px; margin-top:16px; flex-wrap:wrap}
.mainHero__cta .btnP--ghost{background: rgba(255,255,255,.16); color:#fff; border-color: rgba(255,255,255,.24)}
.mainHero__cta .btnP--ghost:hover{filter: brightness(1.05)}
.mainHero__media{display:flex; align-items:center; justify-content:flex-end}
.mainHero__imgWrap{
  width:100%;
  max-width: 420px;
  aspect-ratio: 16/11;
  border-radius: 16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
}
.mainHero__imgWrap img{width:100%; height:100%; object-fit:cover}

.quickBar{
  margin-top:12px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:10px;
}
.quickBar__item{
  border:1px solid var(--line);
  border-radius: 14px;
  background:#fff;
  box-shadow: var(--shadow);
  padding:12px 12px;
  display:flex; justify-content:space-between; align-items:center; gap:10px;
}
.quickBar__k{font-size:12px; color:var(--muted); font-weight:650}
.quickBar__v{font-size:13px; color:#1f2937; font-weight:850}

/* Sections */
.sectionP{padding:28px 0}
.sectionP__head{margin-bottom:14px}
.sectionP__headRow{display:flex; align-items:flex-end; justify-content:space-between; gap:12px}
.sectionP__title{margin:0; font-size:22px; letter-spacing:-.02em}
.sectionP__sub{margin:8px 0 0; color:var(--muted); line-height:1.7}

/* Space cards */
.cardGrid{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.cardP{
  background:#fff;
  border:1px solid var(--line);
  border-radius: 14px;
  overflow:hidden;
  box-shadow: var(--shadow);
}
.cardP__thumb{aspect-ratio: 16/10; overflow:hidden; background: #eef4ff}
.cardP__thumb img{width:100%; height:100%; object-fit:cover}
.cardP__body{padding:14px 14px}
.cardP__title{font-weight:900; letter-spacing:-.01em}
.cardP__desc{margin-top:8px; color:var(--muted); font-size:13px; line-height:1.65}

/* Pills & products */
.pillRow{display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin:10px 0 14px}
.pillP{
  border:1px solid var(--line);
  background:#fff;
  color:#374151;
  border-radius: 999px;
  padding:8px 12px;
  font-size:13px;
  cursor:pointer;
}
.pillP--active{border-color: rgba(47,107,255,.25); background: var(--primarySoft); color:#2a4fdc; font-weight:800}

.productGrid{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.productCard{
  background:#fff;
  border:1px solid var(--line);
  border-radius: 14px;
  overflow:hidden;
  box-shadow: var(--shadow);
}
.productCard__thumb{aspect-ratio: 16/10; overflow:hidden; background:#eef4ff}
.productCard__thumb img{width:100%; height:100%; object-fit:cover}
.productCard__body{padding:14px 14px}
.productCard__name{font-weight:900; letter-spacing:-.01em}
.productCard__meta{margin-top:8px; color:var(--muted); font-size:13px; line-height:1.65; min-height: 44px}
.productCard__price{margin-top:10px; display:flex; gap:6px; align-items:baseline}
.productCard__priceNum{font-weight:950; color:#111827}
.productCard__priceUnit{color:var(--muted); font-size:12px}
.productCard__actions{margin-top:12px; display:flex; gap:8px}

.infoBox{
  margin-top:16px;
  background:#fff;
  border:1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding:14px 14px;
}
.infoBox__title{font-weight:900}
.infoBox__desc{margin-top:8px; color:var(--muted); font-size:13px; line-height:1.7}
.chipRow{display:flex; flex-wrap:wrap; gap:8px; margin-top:12px}
.chipP{padding:8px 10px; border-radius: 999px; background: #f4f7ff; border:1px solid rgba(47,107,255,.16); color:#2a4fdc; font-size:12px; font-weight:650}

/* List page */
.searchHead{padding:18px 0 6px}
.searchHead__row{display:flex; align-items:flex-end; justify-content:space-between; gap:12px}
.searchHead__title{font-size:22px; font-weight:950; letter-spacing:-.02em}
.searchHead__right{display:flex; gap:10px; align-items:center}

.searchBarP{
  margin-top:12px;
  display:grid;
  grid-template-columns: 1fr 1fr 1fr 180px;
  gap:10px;
  background:#fff;
  border:1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding:12px 12px;
}
.searchBarP__field{display:flex; flex-direction:column; gap:8px}
.searchBarP__label{font-size:12px; color:#374151; font-weight:800}
.searchBarP__btn{display:flex; align-items:flex-end}

.filterRow{display:flex; gap:8px; flex-wrap:wrap; margin-top:12px}
.resultHead{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 0 10px}
.resultHead__k{color:var(--muted); font-size:13px}
.resultHead__v{color:#111827; font-size:13px; margin-left:8px}
.resultHead__hint{color:var(--muted); font-size:12px}

.badgeP{
  position:absolute;
  left:10px; top:10px;
  padding:6px 10px;
  border-radius: 999px;
  font-size:12px;
  font-weight:900;
  border:1px solid var(--line);
  background: rgba(255,255,255,.92);
  color:#374151;
}
.badgeP--idle{background:#fff; color:#6b7280}
.badgeP--ok{border-color: rgba(34,197,94,.25); background: rgba(34,197,94,.10); color:#15803d}
.badgeP--busy{border-color: rgba(239,68,68,.25); background: rgba(239,68,68,.10); color:#b91c1c}

.productCard__thumb{position:relative}

/* Detail page */
.detailHero{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:14px;
  padding:18px 0 8px;
}
.detailHero__media{
  background:#fff;
  border:1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow:hidden;
  aspect-ratio: 16/11;
}
.detailHero__media img{width:100%; height:100%; object-fit:cover}
.detailHero__info{
  background:#fff;
  border:1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding:16px 16px;
}
.detailHero__crumb{color:var(--muted); font-size:12px}
.detailHero__crumb .sep{margin:0 6px; opacity:.7}
.detailHero__title{margin:10px 0 0; font-size:26px; letter-spacing:-.02em}
.detailHero__desc{margin-top:10px; color:#374151; line-height:1.7; font-size:13px}
.detailPrice{
  margin-top:14px;
  border:1px solid rgba(47,107,255,.18);
  background: #f3f7ff;
  border-radius: 12px;
  padding:12px 12px;
}
.detailPrice__k{font-size:12px; color:#2a4fdc; font-weight:900; letter-spacing:.08em}
.detailPrice__v{margin-top:8px; font-size:22px; font-weight:950}
.detailPrice__sub{margin-top:6px; color:var(--muted); font-size:12px}
.detailActions{margin-top:12px; display:grid; grid-template-columns: 1fr 1fr; gap:10px}
.detailBadges{margin-top:12px; display:flex; flex-wrap:wrap; gap:8px}
.detailGrid{display:grid; grid-template-columns: 1fr 1fr; gap:14px}
.detailGallery{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:10px;
}
.detailGallery img{
  width:100%;
  aspect-ratio: 16/10;
  object-fit:cover;
  border-radius: 14px;
  border:1px solid var(--line);
  box-shadow: 0 10px 26px rgba(16,24,40,.08);
}

/* Location */
.locationCard{
  display:grid;
  grid-template-columns: 1fr .9fr;
  gap:12px;
  background:#fff;
  border:1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow:hidden;
}
.locationCard__left{padding:16px 16px}
.locationCard__k{color:var(--muted); font-size:12px; font-weight:700; margin-top:10px}
.locationCard__k:first-child{margin-top:0}
.locationCard__v{font-weight:900; margin-top:6px}
.locationCard__hint{margin-top:12px; color:var(--muted); font-size:12px; line-height:1.6}
.locationCard__right{background:#eef4ff}
.locationCard__right img{width:100%; height:100%; object-fit:cover}

/* Booking page */
.pageHead{
  padding:20px 22px;
  margin-top:14px;
  background:#fff;
  border:1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.pageHead__title{font-size:26px; font-weight:950; letter-spacing:-.02em}
.pageHead__sub{margin-top:10px; color:var(--muted); line-height:1.7}
.pageGrid{display:grid; grid-template-columns: 1.05fr .95fr; gap:18px; padding:16px 0 28px}
.panel{
  background:#fff;
  border:1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow:hidden;
}
.panel__head{padding:14px 14px; border-bottom:1px solid var(--line); background: #fbfcff}
.panel__title{font-weight:950}
.panel__desc{margin-top:8px; color:var(--muted); font-size:13px; line-height:1.65}
.panel__body{padding:14px 14px}

.formP{display:flex; flex-direction:column; gap:12px}
.fieldP{display:flex; flex-direction:column; gap:8px}
.fieldP__label{font-size:12px; color:#374151; font-weight:800}
.fieldP__control{
  width:100%;
  border:1px solid var(--line);
  background: var(--surface2);
  border-radius: 12px;
  padding:12px 12px;
  outline:none;
}
.fieldP__control:focus{border-color: rgba(47,107,255,.40); box-shadow: 0 0 0 3px rgba(47,107,255,.12)}
.rowP{display:grid; grid-template-columns: 1fr 1fr; gap:10px}
.dividerP{height:1px; background: var(--line); margin:6px 0}

.quoteP{
  border:1px solid rgba(47,107,255,.18);
  background: #f3f7ff;
  border-radius: 12px;
  padding:12px 12px;
}
.quoteP__k{font-size:12px; color:#2a4fdc; font-weight:900; letter-spacing:.08em}
.quoteP__v{margin-top:8px; font-size:20px; font-weight:950}
.quoteP__sub{margin-top:6px; color:var(--muted); font-size:12px}
.availabilityP{margin-top:12px; color:#374151; line-height:1.7; font-size:13px}
.listP{margin:10px 0 0; padding-left:18px; color:#374151}
.listP li{margin:6px 0; line-height:1.7}

.infoBox{margin:0}
.infoBox__item{margin-bottom:16px}
.infoBox__item:last-child{margin-bottom:0}
.infoBox__label{font-size:12px; color:var(--muted); font-weight:800; margin-bottom:6px}
.infoBox__value{font-size:15px; font-weight:850; color:#1f2937}

/* Success page */
.successPage{padding:40px 0 60px}
.successPage__hero{
  text-align:center;
  padding:40px 20px;
  background: linear-gradient(135deg, #eef4ff 0%, #f0f9ff 100%);
  border-radius: 18px;
  margin-bottom:28px;
  border:1px solid rgba(47,107,255,.12);
}
.successPage__icon{
  width:80px;
  height:80px;
  margin:0 auto 20px;
  background: linear-gradient(135deg, #2f6bff, #00b2ff);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:42px;
  color:#fff;
  font-weight:900;
  box-shadow: 0 8px 24px rgba(47,107,255,.25);
}
.successPage__title{
  margin:0 0 12px;
  font-size:28px;
  font-weight:950;
  letter-spacing:-.02em;
  color:#1f2937;
}
.successPage__message{
  margin:0;
  font-size:16px;
  color:#374151;
  line-height:1.7;
}

/* Footer */
.siteFooter{margin-top:34px; background:#fff; border-top:1px solid var(--line)}
.siteFooter__inner{padding:24px 18px; display:grid; grid-template-columns: 1fr 1.2fr; gap:18px}
.siteFooter__brand{display:flex; gap:12px; align-items:center}
.siteFooter__logo{width:34px; height:34px; object-fit:contain}
.siteFooter__name{font-weight:950; letter-spacing:.10em}
.siteFooter__tag{margin-top:6px; color:var(--muted); font-size:12px}
.siteFooter__links{margin-top:14px; display:flex; gap:14px; flex-wrap:wrap; color:#374151; font-size:13px}
.siteFooter__links a{color:#374151}
.siteFooter__links a:hover{color:#2a4fdc}
.siteFooter__dl{display:grid; grid-template-columns: 1fr 1fr; gap:12px 16px; margin:0}
.siteFooter__dl dt{font-size:12px; color:var(--muted); font-weight:800}
.siteFooter__dl dd{margin:6px 0 0; font-weight:850}
.siteFooter__wide{grid-column: 1 / -1}
.siteFooter__notice{margin-top:12px; color:var(--muted); font-size:12px; line-height:1.6}
.siteFooter__copy{margin-top:8px; color:var(--muted); font-size:12px}

@media (max-width: 980px){
  .mainHero__inner{grid-template-columns:1fr}
  .mainHero__title{font-size:34px}
  .quickBar{grid-template-columns:1fr 1fr}
  .cardGrid{grid-template-columns:1fr}
  .productGrid{grid-template-columns:1fr}
  .locationCard{grid-template-columns:1fr}
  .pageGrid{grid-template-columns:1fr}
  .rowP{grid-template-columns:1fr}
  .siteFooter__inner{grid-template-columns:1fr}
  .siteHeader__top{display:none}
  .searchBarP{grid-template-columns: 1fr; }
  .detailHero{grid-template-columns: 1fr}
  .detailGrid{grid-template-columns: 1fr}
  .detailActions{grid-template-columns: 1fr}
  .detailGallery{grid-template-columns: 1fr 1fr}
}



/* Admin login page */
.adminLoginPage{
  max-width: 480px;
  margin: 60px auto;
  padding: 0 18px;
}
.adminLoginPage .pageHead{
  margin-bottom: 28px;
  padding: 24px 22px;
}
.adminLoginPage .panel{
  margin: 0;
}
.adminLoginPage .panel__body{
  padding: 20px 22px;
}
.adminLoginPage .formP{
  gap: 18px;
}
.adminLoginPage .fieldP{
  gap: 10px;
}
.adminLoginPage .btnP{
  margin-top: 4px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
}
.adminLoginPage .alertP{
  margin: 0 0 20px;
  padding: 14px 16px;
  font-size: 14px;
}

/* Admin pages */
.adminPage{padding:10px 0 40px}
.adminHead{display:flex; align-items:center; justify-content:space-between; gap:12px}
.adminHead__actions{display:flex; gap:10px; flex-wrap:wrap}
.adminStats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin:18px 0 22px;
}
.statCard{
  background:#fff;
  border:1px solid var(--line);
  border-radius: 16px;
  padding:16px 18px;
  box-shadow: var(--shadow);
}
.statCard__label{font-size:12px; color:var(--muted); font-weight:800; letter-spacing:.08em}
.statCard__value{margin-top:6px; font-size:28px; font-weight:900}
.statCard--pending{background:#fff7ed; border-color: rgba(245,158,11,.22)}
.statCard--confirmed{background:#ecfdf3; border-color: rgba(34,197,94,.22)}
.statCard--cancelled{background:#fef2f2; border-color: rgba(239,68,68,.22)}

.adminGrid{display:grid; grid-template-columns: 1fr 1.15fr; gap:18px}
.adminPanel{margin:0}
.adminTableWrap{
  border:1px solid var(--line);
  border-radius: 12px;
  background:#fff;
  overflow:auto;
}
.adminTable{
  width:100%;
  min-width: 880px;
  border-collapse: collapse;
  font-size:13px;
}
.adminTable thead{background: #f8fafc}
.adminTable th{
  padding:12px 10px;
  font-size:12px;
  color:var(--muted);
  font-weight:800;
  text-align:left;
  border-bottom:1px solid var(--line);
}
.adminTable td{
  padding:12px 10px;
  border-bottom:1px solid var(--line);
  vertical-align: top;
}
.adminTable td:last-child{min-width: 240px}
.adminStrong{font-weight:800; color:#111827}
.adminMuted{color:var(--muted); font-size:12px; margin-top:4px}
.adminEmpty{padding:24px 10px; text-align:center; color:var(--muted)}

.statusPill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius: 999px;
  border:1px solid var(--line);
  background:#fff;
  font-size:12px;
  font-weight:800;
  color:#374151;
}
.statusPill--pending{border-color: rgba(245,158,11,.25); background: #fff7ed; color:#b45309}
.statusPill--confirmed{border-color: rgba(34,197,94,.25); background: #ecfdf3; color:#15803d}
.statusPill--cancelled{border-color: rgba(239,68,68,.25); background: #fef2f2; color:#b91c1c}
.statusPill--new{border-color: rgba(59,130,246,.25); background: #eff6ff; color:#1d4ed8}
.statusPill--in_progress{border-color: rgba(245,158,11,.25); background: #fff7ed; color:#b45309}
.statusPill--done{border-color: rgba(34,197,94,.25); background: #ecfdf3; color:#15803d}
.statusPill--ghost{background:#f8fafc; color:#475569}

.adminRow{
  display:grid;
  grid-template-columns: 120px 1fr 80px;
  gap:8px;
  align-items:center;
}
.fieldP__control--sm{
  padding:8px 10px;
  font-size:12px;
  border-radius: 10px;
}
.hintBox{
  margin-top:12px;
  border:1px dashed var(--line);
  background:#f8fafc;
  border-radius: 12px;
  padding:12px 14px;
  color:var(--muted);
  font-size:12px;
  line-height:1.6;
}
.fieldP--inline{
  flex-direction:row;
  align-items:center;
  gap:10px;
  font-weight:700;
  color:#374151;
}
.adminActionRow{display:flex; gap:8px; align-items:center}

@media (max-width: 980px){
  .adminHead{flex-direction:column; align-items:flex-start}
  .adminStats{grid-template-columns:1fr}
  .adminGrid{grid-template-columns:1fr}
  .adminRow{grid-template-columns:1fr}
  .adminTable{min-width: 640px}
}
