/* =====================================================
   THE GOLF - 프론트 스타일 v3 (프리미엄 스카이블루 테마)
   ===================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --green: #0284c7;        /* 스카이블루 메인 */
  --green-deep: #082f49;   /* 딥 네이비 */
  --green-soft: #e0f2fe;   /* 라이트 블루 */
  --gold: #d4af6a;
  --gold-deep: #b8934a;
  --text: #1f2937;
  --gray: #6b7280;
  --line: #e5e7eb;
  --bg: #f4f8fb;
  --shadow-sm: 0 1px 3px rgba(8, 47, 73, .07);
  --shadow-md: 0 6px 20px rgba(8, 47, 73, .12);
  --radius: 16px;
}
body {
  font-family: 'Apple SD Gothic Neo', 'Noto Sans KR', 'Pretendard', 'Malgun Gothic', sans-serif;
  color: var(--text);
  /* 골프장 배경 + 88% 투명 필터 (12% 연블루 베일, 골프장 사진 강조) */
  background: linear-gradient(rgba(224, 242, 254, .12), rgba(224, 242, 254, .18)),
              url('/assets/img/page-bg.jpg') fixed center / cover no-repeat;
  background-color: var(--bg);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 64px; /* 모바일 하단 네비 공간 */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
html, body { overflow-x: clip; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 18px; }

/* ===== 헤더 ===== */
.site-header {
  background: linear-gradient(135deg, #082f49 0%, #075985 60%, #0369a1 100%);
  color: #fff; position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 14px rgba(8,47,73,.35);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo {
  font-size: 21px; font-weight: 900; letter-spacing: 2px; color: #fff;
  display: flex; align-items: center; gap: 8px;
}
.logo::before {
  content: ''; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--gold));
  box-shadow: 0 0 8px rgba(212,175,106,.6);
}
.gnb { display: none; gap: 4px; }
.gnb a {
  color: rgba(255,255,255,.85); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 20px; transition: all .15s;
}
.gnb a:hover { color: #fff; background: rgba(255,255,255,.12); }
.menu-toggle { background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; padding: 4px 8px; }
.cat-bar { background: rgba(0,0,0,.18); backdrop-filter: blur(4px); overflow-x: auto; scrollbar-width: none; }
.cat-bar::-webkit-scrollbar { display: none; }
.cat-bar-inner { display: flex; gap: 2px; padding: 0 10px; }
.cat-bar a {
  color: rgba(255,255,255,.8); font-size: 13px; padding: 9px 15px; white-space: nowrap; display: block;
  border-bottom: 2px solid transparent; transition: all .15s;
}
.cat-bar a:hover { color: #fff; border-bottom-color: var(--gold); }
@media (min-width: 900px) {
  .gnb { display: flex; }
  .menu-toggle { display: none; }
}
.site-main { padding-top: 22px; padding-bottom: 70px; min-height: 60vh; }

/* ===== 히어로 ===== */
.hero {
  position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: 28px;
  background: linear-gradient(120deg, rgba(8,47,73,.82) 0%, rgba(7,89,133,.55) 55%, rgba(2,132,199,.25) 100%),
              url('/assets/img/hero-bg.jpg') center / cover no-repeat, #075985;
  color: #fff; padding: 56px 28px; box-shadow: var(--shadow-md);
}
.hero-tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--gold); border: 1px solid rgba(212,175,106,.55); border-radius: 20px;
  padding: 4px 14px; margin-bottom: 16px; position: relative; z-index: 1;
  background: rgba(8,47,73,.35); backdrop-filter: blur(3px);
}
.hero h1 {
  font-size: 30px; font-weight: 900; line-height: 1.3; margin-bottom: 10px;
  position: relative; z-index: 1; letter-spacing: -.5px;
  text-shadow: 0 2px 14px rgba(8,47,73,.45);
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p { color: rgba(255,255,255,.82); font-size: 14px; position: relative; z-index: 1; margin-bottom: 22px; }
.hero-search {
  display: flex; gap: 0; max-width: 440px; position: relative; z-index: 1;
  background: #fff; border-radius: 30px; padding: 5px; box-shadow: 0 8px 24px rgba(8,47,73,.35);
}
.hero-search input {
  flex: 1; border: 0; outline: 0; padding: 10px 18px; font-size: 14px; border-radius: 30px; background: transparent;
}
.hero-search button {
  border: 0; background: var(--green); color: #fff; font-weight: 700; font-size: 14px;
  border-radius: 24px; padding: 10px 22px; cursor: pointer; transition: background .15s;
  white-space: nowrap; flex-shrink: 0;
}
.hero-search button:hover { background: var(--green-deep); }
@media (min-width: 900px) {
  .hero { padding: 72px 48px; }
  .hero h1 { font-size: 40px; }
}

/* ===== 배너 슬라이더 ===== */
.banner-wrap { position: relative; margin-bottom: 28px; }
.banner-slider {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius);
  box-shadow: var(--shadow-md); scrollbar-width: none;
}
.banner-slider::-webkit-scrollbar { display: none; }
.banner-slider .slide { flex: 0 0 100%; scroll-snap-align: start; }
.banner-slider img { width: 100%; height: 210px; object-fit: cover; }
@media (min-width: 900px) { .banner-slider img { height: 380px; } }
.banner-dots {
  position: absolute; left: 0; right: 0; bottom: 12px;
  display: flex; justify-content: center; gap: 7px; pointer-events: none;
}
.banner-dots .dot {
  pointer-events: auto; width: 8px; height: 8px; border-radius: 20px; border: 0; padding: 0;
  background: rgba(255,255,255,.55); cursor: pointer; transition: all .25s;
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.banner-dots .dot.on { width: 22px; background: #fff; }

/* ===== 카테고리 ===== */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 36px; }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(6, 1fr); } }
.cat-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 8px; text-align: center; font-weight: 700; font-size: 14px;
  transition: all .18s; box-shadow: var(--shadow-sm);
}
.cat-item:hover {
  border-color: var(--green); color: var(--green); transform: translateY(-3px); box-shadow: var(--shadow-md);
}

/* ===== 섹션 타이틀 ===== */
.prod-section { margin-bottom: 44px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.sec-title {
  font-size: 21px; font-weight: 900; letter-spacing: -.5px; position: relative; padding-bottom: 8px;
  color: var(--green-deep); text-shadow: 0 1px 8px rgba(255, 255, 255, .85), 0 0 3px rgba(255, 255, 255, .9);
}
.sec-title::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--green)); border-radius: 2px;
}
.sec-more {
  font-size: 13px; color: var(--green-deep); font-weight: 700;
  text-shadow: 0 1px 6px rgba(255, 255, 255, .9), 0 0 3px rgba(255, 255, 255, .9);
}
.sec-more:hover { color: var(--green); }

/* ===== 상품 카드 ===== */
.prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 900px) { .prod-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.prod-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all .2s; border: 1px solid transparent;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-soft); }
.prod-thumb { aspect-ratio: 4/3; background: linear-gradient(135deg, #e1eef7, #cfe4f2); position: relative; overflow: hidden; }
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.prod-card:hover .prod-thumb img { transform: scale(1.05); }
.badge {
  position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 800;
  padding: 3px 10px; border-radius: 20px; color: #fff; letter-spacing: .5px;
}
.badge-hot { background: linear-gradient(135deg, #ef4444, #dc2626); }
.badge-rec { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); }
/* 썸네일 없을 때: 골프 라운딩 장면 배경 */
.no-img {
  display: flex; align-items: center; justify-content: center; height: 100%;
  color: #fff; font-weight: 900; letter-spacing: 3px; font-size: 15px;
  text-shadow: 0 2px 10px rgba(8, 47, 73, .6);
  background:
    linear-gradient(rgba(8, 47, 73, .30), rgba(8, 47, 73, .30)),
    url('/assets/img/golfer.jpg') center / cover no-repeat;
}
.no-img.big { height: 320px; font-size: 26px; border-radius: var(--radius) var(--radius) 0 0; }
.prod-info { padding: 14px 14px 16px; }
.prod-loc { font-size: 12px; color: var(--gray); font-weight: 500; }
.prod-title {
  font-size: 14px; font-weight: 700; margin: 5px 0 8px; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.prod-price { color: var(--green); font-weight: 900; font-size: 17px; letter-spacing: -.5px; }
.prod-price span { color: var(--gray); font-weight: 500; font-size: 12px; }

/* ===== 상세 페이지 ===== */
.detail { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery-main { position: relative; }
.g-slide { display: none; }
.g-slide.on { display: block; }
.g-slide img { width: 100%; max-height: 500px; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; padding: 14px; overflow-x: auto; }
.g-thumb {
  width: 76px; height: 56px; object-fit: cover; border-radius: 8px; cursor: pointer;
  opacity: .55; border: 2px solid transparent; transition: all .15s;
}
.g-thumb.on { opacity: 1; border-color: var(--green); }
.detail-info { padding: 24px 24px 28px; }
.d-cat { color: var(--gold-deep); font-weight: 800; font-size: 13px; letter-spacing: 1px; }
.d-title { font-size: 24px; font-weight: 900; margin: 8px 0; letter-spacing: -.5px; line-height: 1.35; }
.d-sub { color: var(--gray); margin-bottom: 12px; }
.d-loc { font-size: 14px; margin-bottom: 16px; color: var(--gray); }
.d-price { font-size: 28px; font-weight: 900; color: var(--green); margin-bottom: 22px; letter-spacing: -.5px; }
.d-price span { font-size: 14px; color: var(--gray); font-weight: 500; }
.detail-content { padding: 28px 24px; border-top: 1px solid var(--line); }
.detail-content h2 { font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.content-body img { max-width: 100%; height: auto; border-radius: 10px; }

/* ===== 버튼/폼 ===== */
.btn-primary {
  display: inline-block; background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  color: #fff; border: 0; border-radius: 12px; padding: 12px 26px; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: all .18s; box-shadow: 0 4px 12px rgba(2,132,199,.30);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(2,132,199,.40); }
.btn-lg { padding: 15px 36px; font-size: 17px; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-ghost {
  display: inline-block; background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 10px 18px; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--text); transition: all .15s;
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-danger { background: #dc2626; color: #fff; border: 0; border-radius: 10px; padding: 9px 15px; cursor: pointer; font-weight: 600; }

.auth-box {
  max-width: 440px; margin: 48px auto; background: #fff;
  border-radius: 20px; padding: 40px 32px; box-shadow: var(--shadow-md);
}
.auth-box h1 { font-size: 24px; font-weight: 900; margin-bottom: 24px; text-align: center; letter-spacing: -.5px; }
.auth-box label { display: block; margin-bottom: 16px; font-size: 14px; font-weight: 700; }
.auth-box input {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  margin-top: 6px; font-size: 15px; transition: border-color .15s; outline: none;
}
.auth-box input:focus { border-color: var(--green); }
.auth-links { text-align: center; margin-top: 18px; font-size: 13px; color: var(--gray); }
.agree { display: flex; align-items: center; gap: 8px; font-weight: 500 !important; font-size: 13px !important; }
.agree input { width: auto !important; margin: 0 !important; }

.form-stack label { display: block; margin-bottom: 16px; font-size: 14px; font-weight: 700; }
.form-stack input, .form-stack select, .form-stack textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  margin-top: 6px; font-size: 15px; outline: none; transition: border-color .15s; background: #fff;
}
.form-stack input:focus, .form-stack select:focus, .form-stack textarea:focus { border-color: var(--green); }
.form-inline { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.form-inline input, .form-inline select { padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 14px; }

.error-box { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; border-radius: 12px; padding: 13px 16px; margin-bottom: 18px; font-size: 14px; }
.flash { background: var(--green-soft); color: var(--green-deep); border: 1px solid #bae6fd; border-radius: 12px; padding: 13px 18px; margin: 16px 0; font-weight: 600; }
.empty { text-align: center; color: var(--gray); padding: 56px 0; font-size: 14px; }
.hint { font-size: 13px; color: var(--gray); margin-top: 8px; }
.page-title { font-size: 24px; font-weight: 900; margin-bottom: 24px; letter-spacing: -.5px; }

/* ===== 마이페이지 ===== */
.mp-profile {
  background: linear-gradient(135deg, #082f49, #0369a1); color: #fff;
  border-radius: var(--radius); padding: 28px 26px; margin-bottom: 18px; box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.mp-profile::after {
  content: ''; position: absolute; right: -40px; bottom: -60px; width: 160px; height: 160px;
  border-radius: 50%; border: 30px solid rgba(255,255,255,.08);
}
.mp-profile h1 { font-size: 22px; font-weight: 900; }
.mp-profile > p { color: rgba(255,255,255,.7); font-size: 13px; }
.mp-balance { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.75); position: relative; z-index: 1; }
.mp-balance strong { color: var(--gold); font-size: 26px; font-weight: 900; margin-left: 6px; }
.mp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 26px; }
.mp-card {
  background: #fff; border-radius: 14px; padding: 18px 6px; text-align: center;
  font-size: 12px; font-weight: 700; box-shadow: var(--shadow-sm); transition: all .18s; color: var(--gray);
}
.mp-card span { display: block; font-size: 22px; font-weight: 900; color: var(--green); margin-bottom: 4px; }
.mp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.mp-section { background: #fff; border-radius: var(--radius); padding: 24px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.mp-section h2 { font-size: 17px; font-weight: 800; margin-bottom: 16px; }

.wallet-balance {
  background: linear-gradient(135deg, #082f49, #0369a1); color: #fff;
  border-radius: var(--radius); padding: 30px 24px; margin-bottom: 18px; text-align: center;
  box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.wallet-balance::before {
  content: 'P'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 90px; font-weight: 900; color: rgba(255,255,255,.09); line-height: 1;
}
.wallet-balance p { color: rgba(255,255,255,.7); font-size: 13px; }
.wallet-balance strong { font-size: 38px; font-weight: 900; color: var(--gold); letter-spacing: -1px; }
.bank-info { background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 12px; padding: 15px 17px; margin: 14px 0; font-size: 14px; line-height: 1.7; }

/* ===== 주문 ===== */
.order-list { display: grid; gap: 14px; }
.order-card { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.oc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.oc-no { font-size: 12px; color: var(--gray); font-family: monospace; }
.oc-status { font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 20px; }
.s-pending { background: #fff7ed; color: #c2410c; }
.s-paid { background: #eff6ff; color: #1d4ed8; }
.s-cancelled { background: #f3f4f6; color: #6b7280; }
.s-completed { background: var(--green-soft); color: var(--green-deep); }
.order-card h3 { font-size: 16px; font-weight: 800; }
.oc-meta { font-size: 13px; color: var(--gray); margin: 8px 0; }
.oc-price { font-size: 14px; color: var(--gray); }
.oc-price strong { color: var(--green); font-size: 19px; font-weight: 900; }
.order-card form { margin-top: 12px; }
.order-form-wrap { max-width: 580px; margin: 0 auto; }
.order-product { background: #fff; border-radius: var(--radius); padding: 20px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.order-product h3 { font-weight: 800; }
.order-summary {
  display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(135deg, #f0f9ff, #fff); border: 1.5px solid #bae6fd;
  border-radius: 14px; padding: 18px 20px; margin: 18px 0; font-size: 15px; font-weight: 700;
}
.order-summary strong { color: var(--green); font-size: 24px; font-weight: 900; }
.pay-method { border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 16px; background: #fff; }
.pay-method legend { font-size: 14px; font-weight: 800; padding: 0 8px; }
.pay-method label { display: block; margin: 8px 0; font-weight: 500; font-size: 14px; }
.pay-method input { margin-right: 8px; accent-color: var(--green); }
.order-done { max-width: 500px; margin: 48px auto; text-align: center; }
.done-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-deep)); color: #fff;
  font-size: 38px; line-height: 80px; margin: 0 auto 20px; box-shadow: var(--shadow-md);
}
.order-done h1 { font-size: 22px; font-weight: 900; margin-bottom: 20px; }
.order-done .tbl { margin-bottom: 20px; text-align: left; }
.done-actions { display: flex; gap: 10px; justify-content: center; margin-top: 22px; }

/* ===== 쿠폰 ===== */
.coupon-list { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .coupon-list { grid-template-columns: repeat(2, 1fr); } }
.coupon-card {
  background: linear-gradient(135deg, #fff 70%, #fffdf5 100%);
  border: 2px dashed var(--gold); border-radius: var(--radius); padding: 22px;
  position: relative; box-shadow: var(--shadow-sm);
}
.coupon-card.used { opacity: .45; border-color: var(--line); filter: grayscale(1); }
.c-discount { font-size: 28px; font-weight: 900; color: var(--green); letter-spacing: -1px; }
.c-name { font-weight: 800; margin: 8px 0 4px; }
.c-cond, .c-status { font-size: 12px; color: var(--gray); }

/* ===== 공지 ===== */
.notice-list { list-style: none; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.notice-list li { display: flex; justify-content: space-between; padding: 17px 20px; border-bottom: 1px solid var(--line); transition: background .12s; }
.notice-list li:hover { background: #fafcfe; }
.notice-list li:last-child { border-bottom: 0; }
.notice-list a { font-weight: 600; }
.notice-list span { color: var(--gray); font-size: 13px; flex-shrink: 0; margin-left: 12px; }
.n-date { color: var(--gray); font-size: 13px; margin-bottom: 18px; }
.notice-view .content-body { background: #fff; border-radius: var(--radius); padding: 28px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }

/* ===== 문의 ===== */
.qna-item { background: #fff; border-radius: 14px; margin-bottom: 10px; box-shadow: var(--shadow-sm); overflow: hidden; }
.qna-item summary { padding: 16px 18px; cursor: pointer; font-weight: 700; font-size: 14px; list-style: none; }
.qna-item summary::-webkit-details-marker { display: none; }
.qna-item summary::after { content: '▾'; float: right; color: var(--gray); }
.qna-item[open] summary::after { content: '▴'; }
.q-status { font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 14px; background: #f3f4f6; color: #6b7280; margin-right: 8px; }
.q-status.done { background: var(--green-soft); color: var(--green-deep); }
.q-body { padding: 0 18px 18px; }
.q-reply { background: #f0f9ff; border-left: 3px solid var(--green); border-radius: 8px; padding: 14px 16px; margin-top: 12px; font-size: 14px; }

/* ===== 검색바 ===== */
.search-bar { display: flex; gap: 8px; margin-bottom: 22px; }
.search-bar input {
  flex: 1; padding: 13px 18px; border: 1.5px solid var(--line); border-radius: 30px; font-size: 14px;
  outline: none; box-shadow: var(--shadow-sm);
}
.search-bar input:focus { border-color: var(--green); }
.search-bar button { border-radius: 30px; padding: 0 24px; }

/* ===== 테이블 ===== */
.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.tbl th, .tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
.tbl th { background: #f4f8fb; font-weight: 800; font-size: 13px; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .plus { color: #0369a1; font-weight: 800; }
.tbl .minus { color: #b91c1c; font-weight: 800; }
@media (max-width: 640px) {
  .tbl th, .tbl td { padding: 9px 8px; font-size: 12px; word-break: break-word; }
  .tbl td.plus, .tbl td.minus { white-space: nowrap; word-break: keep-all; }
}

/* ===== 페이징 ===== */
.paging { display: flex; justify-content: center; gap: 6px; margin: 28px 0; }
.paging a { padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-size: 14px; font-weight: 600; transition: all .12s; }
.paging a:hover { border-color: var(--green); color: var(--green); }
.paging a.on { background: var(--green); color: #fff; border-color: var(--green); }

/* ===== 모바일 하단 네비게이션 ===== */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #fff; border-top: 1px solid var(--line);
  display: flex; box-shadow: 0 -2px 12px rgba(0,0,0,.06);
}
.bottom-nav a {
  flex: 1; text-align: center; padding: 8px 0 10px; font-size: 11px; font-weight: 700; color: var(--gray);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.bottom-nav a .ico { font-size: 20px; line-height: 1.2; }
.bottom-nav a.on { color: var(--green); }
@media (min-width: 900px) { .bottom-nav { display: none; } }

/* ===== 푸터 ===== */
.site-footer { background: #082f49; color: rgba(255,255,255,.6); padding: 44px 0 90px; font-size: 13px; }
@media (min-width: 900px) { .site-footer { padding-bottom: 44px; } }
.f-logo { color: #fff; font-weight: 900; font-size: 19px; letter-spacing: 2px; margin-bottom: 10px; }
.f-links { margin: 12px 0; }
.f-links a { color: rgba(255,255,255,.75); }
.f-links a:hover { color: var(--gold); }
.f-copy { margin-top: 12px; font-size: 12px; color: rgba(255,255,255,.35); }

/* ===== 부킹/특가 보조 요소 ===== */
.price-orig { color: var(--gray); font-size: 12px; font-weight: 400; margin-left: 6px; }

/* ===== 조인 ===== */
.join-list { display: grid; gap: 12px; margin-bottom: 24px; }
.join-card {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border-radius: var(--radius); padding: 18px;
  box-shadow: var(--shadow-sm); transition: all .18s;
}
.join-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.join-card.closed { opacity: .55; }
.jc-date {
  flex-shrink: 0; width: 74px; text-align: center;
  background: linear-gradient(160deg, #0284c7, #082f49); color: #fff;
  border-radius: 12px; padding: 10px 6px;
}
.jc-date strong { display: block; font-size: 18px; font-weight: 900; }
.jc-date span { font-size: 12px; color: rgba(255,255,255,.8); }
.jc-body { flex: 1; min-width: 0; }
.jc-body h3 { font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jc-body p { font-size: 12px; color: var(--gray); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jc-slots {
  flex-shrink: 0; font-size: 13px; font-weight: 800; color: var(--green);
  background: var(--green-soft); border-radius: 20px; padding: 6px 14px;
}
.jc-slots strong { font-size: 16px; }
.jc-slots.full { background: #fef2f2; color: #b91c1c; }

.join-view { max-width: 640px; margin: 0 auto; }
.jv-head { margin-bottom: 18px; }
.jv-head .d-title { margin-top: 10px; }
.jv-info { margin-bottom: 18px; }
.jv-members { list-style: none; }
.jv-members li {
  display: flex; justify-content: space-between; padding: 10px 4px;
  border-bottom: 1px solid var(--line); font-weight: 600;
}
.jv-members li:last-child { border-bottom: 0; }
.jv-members span { color: var(--gray); font-size: 12px; font-weight: 400; }
.jv-actions .inline { display: flex; gap: 8px; }

/* ===== 부킹 예약 매트릭스 (지역 × 날짜) ===== */
.bk-matrix {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); margin-bottom: 18px; overflow: hidden;
}
.bk-matrix-scroll { overflow-x: auto; scrollbar-width: thin; }
.bk-matrix table { border-collapse: collapse; width: 100%; min-width: 720px; }
.bk-matrix th, .bk-matrix td {
  padding: 10px 6px; text-align: center; font-size: 13px;
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
.bk-matrix thead th {
  background: linear-gradient(180deg, #f0f7fc, #e4f0f8); color: var(--gray);
  font-size: 12px; font-weight: 700; padding: 8px 6px;
}
.bk-matrix thead th span { display: block; font-size: 11px; font-weight: 600; margin-bottom: 2px; }
.bk-matrix thead th.bm-today { background: linear-gradient(180deg, #d3e9f7, #c3e0f3); color: var(--green); }
.bk-matrix .bm-region {
  position: sticky; left: 0; z-index: 2; background: #f7fafc;
  font-weight: 800; color: var(--text); text-align: left; padding-left: 16px;
  border-right: 1px solid var(--line); min-width: 96px;
}
.bk-matrix thead .bm-region { background: #eaf3fa; z-index: 3; }
.bk-matrix td a {
  display: inline-block; min-width: 34px; padding: 3px 6px; border-radius: 8px;
  font-weight: 800; color: var(--green); transition: all .12s;
}
.bk-matrix td a:hover { background: var(--green); color: #fff; }
.bk-matrix td.bm-active a { background: var(--green); color: #fff; }
.bk-matrix .bm-zero { color: #b6c2cc; font-weight: 500; }
.bk-matrix .bm-sat { color: #0284c7; }
.bk-matrix .bm-sun { color: #dc2626; }
.bk-matrix td.bm-sat a { color: #0284c7; }
.bk-matrix td.bm-sun a { color: #dc2626; }
.bk-matrix tr:last-child th, .bk-matrix tr:last-child td { border-bottom: 0; }

/* ===== 부킹/조인 검색 폼 (날짜 · 시간 · 장소) ===== */
.bk-form {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); padding: 20px; margin-bottom: 24px;
}
.bk-field { display: flex; flex-direction: column; gap: 6px; }
.bk-field-q { flex: 1; min-width: 140px; }
.bk-label { font-size: 13px; font-weight: 800; color: var(--text); }
.bk-field input, .bk-field select {
  padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 14px; outline: none; background: #fff; font-family: inherit;
  min-width: 150px; transition: border-color .15s; color: var(--text);
}
.bk-field input:focus, .bk-field select:focus { border-color: var(--green); }
.bk-submit {
  flex: 1; min-width: 180px; border: 0; border-radius: 30px; padding: 13px 26px;
  background: linear-gradient(135deg, #0ea5e9, #0369a1); color: #fff;
  font-weight: 800; font-size: 15px; cursor: pointer; transition: all .18s;
  box-shadow: 0 6px 16px rgba(2,132,199,.35); letter-spacing: 2px;
}
.bk-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(2,132,199,.45); }
@media (max-width: 640px) {
  .bk-field { flex: 1 1 45%; }
  .bk-field input, .bk-field select { width: 100%; min-width: 0; }
  .bk-submit { flex: 1 1 100%; }
}

/* ===== 캐디구인 (캐디 아카데미) ===== */
.cd-hero {
  position: relative; border-radius: 20px; padding: 64px 28px; margin-bottom: 34px;
  background:
    linear-gradient(115deg, rgba(8, 47, 73, .88) 0%, rgba(7, 89, 133, .62) 55%, rgba(2, 132, 199, .35) 100%),
    url('/assets/img/hero-bg.jpg') center / cover no-repeat;
  color: #fff; overflow: hidden;
}
.cd-hero-tag {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 4px;
  color: var(--gold); border: 1px solid rgba(212, 175, 106, .6); border-radius: 20px;
  padding: 5px 14px; margin-bottom: 18px;
}
.cd-hero h1 { font-size: 30px; font-weight: 900; line-height: 1.35; letter-spacing: -1px; margin-bottom: 14px; }
.cd-hero h1 em { font-style: normal; color: #7dd3fc; }
.cd-hero p { color: rgba(255, 255, 255, .85); font-size: 14px; margin-bottom: 24px; }
.cd-hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.cd-hero-points span {
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(4px); border-radius: 30px; padding: 8px 16px;
  font-size: 13px; font-weight: 700;
}
.cd-hero-slogan { font-size: 11px; letter-spacing: 5px; font-weight: 700; color: rgba(255, 255, 255, .55); }
@media (min-width: 768px) {
  .cd-hero { padding: 84px 56px; }
  .cd-hero h1 { font-size: 42px; }
}

.cd-section { margin-bottom: 40px; }
.cd-title {
  font-size: 22px; font-weight: 900; letter-spacing: -.5px; margin-bottom: 20px; color: var(--green-deep);
  text-shadow: 0 1px 8px rgba(255, 255, 255, .85), 0 0 3px rgba(255, 255, 255, .9);
}
.cd-title em { font-style: normal; color: var(--green); }

/* 특징 5가지 */
.cd-features {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.cd-feature { display: flex; gap: 20px; padding: 24px 26px; border-bottom: 1px solid var(--line); align-items: baseline; }
.cd-feature:last-child { border-bottom: 0; }
.cd-num {
  font-size: 30px; font-weight: 900; color: var(--green-soft);
  -webkit-text-stroke: 1px #bae6fd; line-height: 1; flex-shrink: 0; min-width: 48px;
}
.cd-feature h3 { font-size: 17px; font-weight: 800; color: var(--green-deep); margin-bottom: 4px; }
.cd-feature p { font-size: 13.5px; color: var(--gray); }

/* 4주 커리큘럼 */
.cd-curr { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 768px) { .cd-curr { grid-template-columns: 1fr 1fr; } }
.cd-week {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 26px 26px 22px; position: relative; overflow: hidden;
  transition: all .18s;
}
.cd-week:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #bae6fd; }
.cd-week::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #0ea5e9, #0369a1);
}
.cd-week-head { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
.cd-week-no {
  font-size: 34px; font-weight: 900; color: #fff; line-height: 1; flex-shrink: 0;
  background: linear-gradient(135deg, #0ea5e9, #0369a1); border-radius: 14px;
  width: 62px; height: 62px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(2, 132, 199, .3);
}
.cd-week-head h3 { font-size: 17px; font-weight: 900; color: var(--green-deep); }
.cd-week-hl { font-size: 13px; color: var(--green); font-weight: 700; margin-top: 2px; }
.cd-week-desc { font-size: 13.5px; color: var(--gray); margin-bottom: 14px; }
.cd-week-items { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.cd-week-items li {
  font-size: 12.5px; font-weight: 700; color: var(--green-deep);
  background: var(--green-soft); border-radius: 20px; padding: 6px 13px;
}
.cd-week-quote {
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: 13px; color: var(--gray); font-style: italic;
}

/* 수입 안내 */
.cd-income { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 860px) { .cd-income { grid-template-columns: 1.1fr 1fr; } }
.cd-income-main {
  border-radius: var(--radius); padding: 32px 28px; color: #fff;
  background:
    linear-gradient(135deg, rgba(8, 47, 73, .92) 0%, rgba(3, 105, 161, .82) 100%),
    url('/assets/img/page-bg.jpg') center / cover no-repeat;
  box-shadow: var(--shadow-md);
}
.cd-income-cap {
  font-size: 12px; font-weight: 800; letter-spacing: 3px; color: #7dd3fc;
  margin-bottom: 20px; text-align: center;
}
.cd-income-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px; padding: 13px 18px; margin-bottom: 10px;
}
.cd-chip {
  background: var(--gold); color: #082f49; font-weight: 900; font-size: 13px;
  border-radius: 8px; padding: 5px 12px; white-space: nowrap;
}
.cd-income-row strong { font-size: 24px; font-weight: 900; color: #fde68a; }
.cd-income-row strong small { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .8); margin-left: 4px; }
.cd-income-total {
  margin-top: 18px; background: rgba(255, 255, 255, .95); color: var(--green-deep);
  border-radius: 12px; padding: 14px 18px; text-align: center; font-weight: 800; font-size: 15px;
}
.cd-income-total em { font-style: normal; color: var(--green); font-size: 20px; font-weight: 900; }
.cd-income-note { margin-top: 14px; text-align: center; font-size: 12.5px; color: rgba(255, 255, 255, .75); }
.cd-income-side {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 28px 26px;
}
.cd-income-quote {
  font-size: 15.5px; font-weight: 800; color: var(--green-deep); line-height: 1.7;
  padding-left: 14px; border-left: 4px solid var(--green); margin-bottom: 20px;
}
.cd-income-list { list-style: none; }
.cd-income-list li {
  display: flex; justify-content: space-between; padding: 9px 4px;
  border-bottom: 1px solid var(--line); font-size: 13.5px;
}
.cd-income-list li:last-child { border-bottom: 0; }
.cd-income-list li.base { color: var(--gray); font-weight: 600; justify-content: flex-start; }
.cd-income-list li strong { color: var(--green); font-weight: 900; }

/* 지원 CTA */
.cd-cta {
  text-align: center; border-radius: 20px; padding: 46px 26px; margin-bottom: 10px;
  background: linear-gradient(135deg, #082f49, #075985); color: #fff; box-shadow: var(--shadow-md);
}
.cd-cta h2 { font-size: 24px; font-weight: 900; margin-bottom: 8px; }
.cd-cta p { color: rgba(255, 255, 255, .8); font-size: 14px; margin-bottom: 22px; }
.cd-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cd-btn {
  display: inline-block; background: linear-gradient(135deg, #0ea5e9, #0369a1); color: #fff;
  font-weight: 800; font-size: 14px; border-radius: 30px; padding: 13px 28px;
  box-shadow: 0 6px 16px rgba(2, 132, 199, .4); transition: all .18s;
}
.cd-btn:hover { transform: translateY(-2px); }
.cd-btn.ghost { background: transparent; border: 1.5px solid rgba(255, 255, 255, .5); box-shadow: none; }
.cd-btn.ghost:hover { border-color: #fff; }

