/* ================================================================
   TropicalBay Core – Frontend Global Styles
   Toss-style minimal + tropical brand
================================================================ */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");

:root {
    --tb-orange:     #F5891F;
    --tb-orange-dk:  #d97310;
    --tb-green:      #1A6B3C;
    --tb-green-lt:   #e8f5ee;
    --tb-bg:         #f7f8fa;
    --tb-surface:    #ffffff;
    --tb-border:     #e8eaed;
    --tb-text:       #1a1a2e;
    --tb-text-sub:   #6b7684;
    --tb-radius:     16px;
    --tb-radius-sm:  10px;
    --tb-shadow:     0 2px 16px rgba(0,0,0,0.06);
    --tb-shadow-md:  0 8px 32px rgba(0,0,0,0.10);
    --tb-transition: 0.2s cubic-bezier(0.4,0,0.2,1);
}

.tb-booking-wrap, .tb-mypage-wrap, .tb-programs-section,
.tb-calendar-wrap, .tb-info-page {
    font-family: 'Jua', 'Noto Sans KR', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--tb-text);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ── 섹션 헤더 ── */
.tb-section-header { text-align: center; margin-bottom: 40px; padding-top: 20px; }
.tb-section-title  { font-size: 1.75rem; font-weight: 800; color: var(--tb-text); margin: 0 0 10px; }
.tb-section-desc   { font-size: 1rem; color: var(--tb-text-sub); margin: 0; }

/* ── 버튼 ── */
.tb-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--tb-orange);
    color: #fff !important;
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: var(--tb-radius);
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    transition: background var(--tb-transition), transform var(--tb-transition), box-shadow var(--tb-transition);
    box-shadow: 0 4px 16px rgba(245,137,31,0.3);
    width: 100%;
    max-width: 100%;
    letter-spacing: -0.01em;
}
.tb-btn-primary:hover {
    background: var(--tb-orange-dk);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(245,137,31,0.4);
}
.tb-btn-primary:active { transform: translateY(0); }

.tb-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--tb-text) !important;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: var(--tb-radius);
    border: 2px solid var(--tb-border);
    cursor: pointer;
    text-decoration: none !important;
    transition: all var(--tb-transition);
}
.tb-btn-outline:hover { border-color: var(--tb-orange); color: var(--tb-orange) !important; }

/* ── 인풋 ── */
.tb-input, .tb-textarea {
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    padding: 14px 16px;
    border: 2px solid var(--tb-border);
    border-radius: var(--tb-radius-sm);
    background: var(--tb-surface);
    color: var(--tb-text);
    transition: border-color var(--tb-transition), box-shadow var(--tb-transition);
    box-sizing: border-box;
    outline: none;
    -webkit-appearance: none;
}
.tb-input:focus, .tb-textarea:focus {
    border-color: var(--tb-orange);
    box-shadow: 0 0 0 3px rgba(245,137,31,0.15);
}
.tb-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--tb-text);
    margin-bottom: 8px;
}
.tb-required { color: var(--tb-orange); }
.tb-input-hint { font-size: 0.8rem; color: var(--tb-text-sub); margin: 6px 0 0; }
.tb-form-group { margin-bottom: 20px; }

/* ── 카드 ── */
.tb-card {
    background: var(--tb-surface);
    border-radius: var(--tb-radius);
    padding: 24px;
    box-shadow: var(--tb-shadow);
    margin-bottom: 20px;
}

/* ── 배지 ── */
.tb-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.02em;
}
.tb-badge-gray   { background: #f0f0f0; color: #666; }
.tb-badge-blue   { background: #e3f2fd; color: #1565c0; }
.tb-badge-green  { background: #e8f5e9; color: #2e7d32; }
.tb-badge-red    { background: #ffebee; color: #c62828; }
.tb-badge-orange { background: #fff3e0; color: #e65100; }

/* ── 빈 상태 ── */
.tb-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--tb-text-sub);
}
.tb-empty-state p { font-size: 1.1rem; margin-bottom: 20px; }

/* ── 프로그램 그리드 ── */
.tb-programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.tb-program-card {
    background: var(--tb-surface);
    border-radius: var(--tb-radius);
    overflow: hidden;
    box-shadow: var(--tb-shadow);
    transition: transform var(--tb-transition), box-shadow var(--tb-transition);
    position: relative;
}
.tb-program-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tb-shadow-md);
}
.tb-program-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--tb-orange);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 2;
}
.tb-program-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.tb-program-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.tb-program-card:hover .tb-program-img img { transform: scale(1.05); }
.tb-program-body { padding: 20px; }
.tb-program-title { font-size: 1.1rem; font-weight: 700; margin: 0 0 8px; }
.tb-program-excerpt { font-size: 0.88rem; color: var(--tb-text-sub); margin: 0 0 14px; line-height: 1.6; }
.tb-program-meta { display: flex; gap: 12px; margin-bottom: 14px; }
.tb-meta-item { font-size: 0.82rem; color: var(--tb-text-sub); }
.tb-program-price { margin-bottom: 16px; }
.tb-price-label { font-size: 0.8rem; color: var(--tb-text-sub); }
.tb-price-value { font-size: 1.05rem; font-weight: 700; color: var(--tb-orange); margin-left: 4px; }
.tb-price-sep { color: var(--tb-border); margin: 0 6px; }

/* ── 달력 ── */
.tb-calendar-wrap { max-width: 100%; }
.tb-program-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.tb-tab-btn {
    padding: 10px 20px;
    border: 2px solid var(--tb-border);
    border-radius: 30px;
    background: var(--tb-surface);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--tb-text-sub);
    cursor: pointer;
    transition: all var(--tb-transition);
}
.tb-tab-btn.active, .tb-tab-btn:hover {
    border-color: var(--tb-orange);
    background: var(--tb-orange);
    color: #fff;
}
.tb-calendar-container {
    background: var(--tb-surface);
    border-radius: var(--tb-radius);
    padding: 24px;
    box-shadow: var(--tb-shadow);
}
.tb-calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.tb-cal-prev, .tb-cal-next {
    background: none;
    border: 2px solid var(--tb-border);
    border-radius: 50%;
    width: 36px; height: 36px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--tb-transition);
    display: flex; align-items: center; justify-content: center;
}
.tb-cal-prev:hover, .tb-cal-next:hover { border-color: var(--tb-orange); color: var(--tb-orange); }
.tb-cal-title { font-size: 1.1rem; font-weight: 700; }
.tb-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.tb-cal-day-header {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--tb-text-sub);
    padding: 8px 0;
}
.tb-cal-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--tb-transition);
    font-size: 0.88rem;
    font-weight: 500;
    position: relative;
    border: 2px solid transparent;
}
.tb-cal-day:hover:not(.tb-cal-disabled):not(.tb-cal-empty) { border-color: var(--tb-orange); }
.tb-cal-day.tb-cal-today { background: #fff3e0; font-weight: 800; }
.tb-cal-day.tb-cal-selected { background: var(--tb-orange); color: #fff; border-color: var(--tb-orange); }
.tb-cal-day.tb-cal-disabled { opacity: 0.35; cursor: not-allowed; }
.tb-cal-day.tb-cal-empty { cursor: default; }
.tb-cal-day-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    position: absolute;
    bottom: 4px;
}
.tb-dot-available { background: #4caf50; }
.tb-dot-almost    { background: #ff9800; }
.tb-dot-full      { background: #f44336; }
.tb-calendar-legend { display: flex; gap: 16px; justify-content: center; margin-top: 16px; }
.tb-calendar-legend span { font-size: 0.8rem; color: var(--tb-text-sub); display: flex; align-items: center; gap: 6px; }
.tb-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }

/* ── 슬롯 목록 ── */
.tb-slot-list { margin-top: 24px; }
.tb-slot-title { font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.tb-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 480px) { .tb-slots { grid-template-columns: repeat(2, 1fr); } }
.tb-slot-item {
    padding: 14px;
    background: var(--tb-surface);
    border: 2px solid var(--tb-border);
    border-radius: var(--tb-radius-sm);
    text-align: center;
    cursor: pointer;
    transition: all var(--tb-transition);
}
.tb-slot-item.available:hover { border-color: var(--tb-orange); background: #fff9f5; }
.tb-slot-item.selected        { border-color: var(--tb-orange); background: var(--tb-orange); color: #fff; }
.tb-slot-item.full            { opacity: 0.4; cursor: not-allowed; background: #f5f5f5; }
.tb-slot-time  { font-size: 1rem; font-weight: 700; display: block; }
.tb-slot-remain { font-size: 0.78rem; margin-top: 4px; display: block; }

/* ── 이용안내 ── */
.tb-info-section { margin-bottom: 60px; }
.tb-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 640px) { .tb-info-grid { grid-template-columns: 1fr; } }
.tb-info-location-detail { display: flex; flex-direction: column; gap: 20px; }
.tb-info-item { display: flex; gap: 14px; align-items: flex-start; }
.tb-info-icon { font-size: 1.4rem; flex-shrink: 0; }
.tb-info-item strong { display: block; font-weight: 700; margin-bottom: 4px; }
.tb-info-item p { margin: 0; color: var(--tb-text-sub); font-size: 0.95rem; }
.tb-info-item a { color: var(--tb-orange); font-weight: 600; }
.tb-info-sub { font-size: 0.82rem; color: var(--tb-text-sub); }
.tb-map-placeholder { background: var(--tb-bg); border-radius: var(--tb-radius); height: 350px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--tb-text-sub); }

.tb-pricing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 20px; }
.tb-pricing-card {
    background: var(--tb-surface);
    border-radius: var(--tb-radius);
    padding: 28px 24px;
    box-shadow: var(--tb-shadow);
    position: relative;
    text-align: center;
    transition: transform var(--tb-transition), box-shadow var(--tb-transition);
}
.tb-pricing-card:hover { transform: translateY(-4px); box-shadow: var(--tb-shadow-md); }
.tb-pricing-card h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 8px; }
.tb-pricing-duration { font-size: 0.85rem; color: var(--tb-text-sub); margin: 0 0 20px; }
.tb-pricing-rows { margin-bottom: 24px; }
.tb-pricing-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--tb-border); }
.tb-pricing-row:last-child { border-bottom: none; }
.tb-pricing-row strong { color: var(--tb-orange); font-weight: 700; font-size: 1.05rem; }
.tb-pricing-option { background: var(--tb-green-lt); border-radius: 8px; padding: 10px 12px; }

.tb-greenhouse-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media (max-width: 480px) { .tb-greenhouse-cards { grid-template-columns: 1fr; } }
.tb-greenhouse-card { background: var(--tb-surface); border-radius: var(--tb-radius); padding: 28px; text-align: center; box-shadow: var(--tb-shadow); }
.tb-gh-icon  { font-size: 2.5rem; margin-bottom: 10px; }
.tb-gh-label { font-size: 0.85rem; color: var(--tb-text-sub); margin-bottom: 8px; }
.tb-gh-value { font-size: 1.5rem; font-weight: 800; color: var(--tb-green); }

/* ── 마이페이지 ── */
.tb-mypage-login { display: flex; justify-content: center; padding: 60px 20px; }
.tb-login-box { text-align: center; background: var(--tb-surface); padding: 48px 32px; border-radius: var(--tb-radius); box-shadow: var(--tb-shadow); max-width: 400px; width: 100%; }
.tb-login-icon { font-size: 3rem; margin-bottom: 16px; }
.tb-login-box h2 { font-size: 1.4rem; font-weight: 700; margin: 0 0 10px; }
.tb-login-box p  { color: var(--tb-text-sub); margin: 0 0 24px; }

.tb-mypage-header { display: flex; align-items: center; gap: 20px; background: var(--tb-surface); border-radius: var(--tb-radius); padding: 24px; box-shadow: var(--tb-shadow); margin-bottom: 24px; }
.tb-mypage-avatar .tb-avatar { border-radius: 50%; }
.tb-mypage-name  { font-size: 1.3rem; font-weight: 800; margin: 0 0 6px; }
.tb-mypage-meta  { display: flex; gap: 10px; align-items: center; font-size: 0.9rem; color: var(--tb-text-sub); flex-wrap: wrap; }
.tb-mypage-meta strong { color: var(--tb-orange); }
.tb-vip-badge { background: #fff3e0; color: var(--tb-orange); font-weight: 700; padding: 3px 10px; border-radius: 20px; font-size: 0.82rem; }

.tb-mypage-tabs { display: flex; gap: 0; margin-bottom: 24px; background: var(--tb-surface); border-radius: var(--tb-radius); overflow: hidden; box-shadow: var(--tb-shadow); }
.tb-mypage-tab { flex: 1; padding: 14px 8px; text-align: center; text-decoration: none !important; color: var(--tb-text-sub) !important; font-weight: 600; font-size: 0.9rem; transition: all var(--tb-transition); border-bottom: 3px solid transparent; }
.tb-mypage-tab.active { color: var(--tb-orange) !important; border-bottom-color: var(--tb-orange); background: #fff9f5; }

.tb-booking-list { display: flex; flex-direction: column; gap: 16px; }
.tb-booking-card { background: var(--tb-surface); border-radius: var(--tb-radius); box-shadow: var(--tb-shadow); overflow: hidden; transition: box-shadow var(--tb-transition); }
.tb-booking-card.tb-card-cancelled { opacity: 0.6; }
.tb-booking-card-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--tb-border); }
.tb-booking-prog { font-weight: 700; margin-left: 10px; }
.tb-booking-code { font-size: 0.78rem; color: var(--tb-text-sub); background: var(--tb-bg); padding: 4px 10px; border-radius: 6px; }
.tb-booking-card-body { padding: 16px 20px; }
.tb-booking-info-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.tb-info-label { display: block; font-size: 0.78rem; color: var(--tb-text-sub); margin-bottom: 2px; }
.tb-booking-info-grid strong { font-size: 0.95rem; }
.tb-booking-card-footer { padding: 12px 20px; border-top: 1px solid var(--tb-border); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tb-review-done { font-size: 0.85rem; color: var(--tb-green); font-weight: 600; }

.tb-point-summary { background: linear-gradient(135deg, var(--tb-orange), #ff6b2b); color: #fff; border-radius: var(--tb-radius); padding: 28px; margin-bottom: 20px; }
.tb-point-balance { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.tb-point-balance strong { font-size: 2rem; font-weight: 800; }
.tb-point-info { font-size: 0.85rem; opacity: 0.85; margin: 0; }
.tb-point-list { background: var(--tb-surface); border-radius: var(--tb-radius); box-shadow: var(--tb-shadow); overflow: hidden; }
.tb-point-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--tb-border); }
.tb-point-row:last-child { border-bottom: none; }
.tb-point-date { font-size: 0.8rem; color: var(--tb-text-sub); margin-left: 8px; }
.tb-point-amount { font-weight: 700; font-size: 1rem; text-align: right; }
.tb-plus { color: var(--tb-green); }
.tb-minus { color: #f44336; }
.tb-point-balance-small { display: block; font-size: 0.75rem; color: var(--tb-text-sub); font-weight: 400; }

.tb-review-list { display: flex; flex-direction: column; gap: 16px; }
.tb-review-card { background: var(--tb-surface); border-radius: var(--tb-radius); padding: 20px; box-shadow: var(--tb-shadow); }
.tb-review-stars { color: #f5a623; font-size: 1.2rem; margin-bottom: 10px; }
.tb-review-content { font-size: 0.95rem; line-height: 1.7; color: var(--tb-text); margin: 0 0 12px; }
.tb-review-date { font-size: 0.8rem; color: var(--tb-text-sub); margin-left: 10px; }

/* ── 모달 ── */
.tb-modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex; align-items: center; justify-content: center;
    z-index: 99999;
    padding: 20px;
}
.tb-modal {
    background: var(--tb-surface);
    border-radius: var(--tb-radius);
    padding: 32px;
    width: 100%; max-width: 500px;
    position: relative;
    animation: tb-modal-in 0.25s ease;
}
@keyframes tb-modal-in { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:none; } }
.tb-modal h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 20px; }
.tb-modal-close {
    position: absolute; top: 16px; right: 16px;
    background: var(--tb-bg); border: none; border-radius: 50%;
    width: 32px; height: 32px; cursor: pointer; font-size: 1rem;
    transition: background var(--tb-transition);
}
.tb-modal-close:hover { background: var(--tb-border); }
.tb-modal-footer { margin-top: 20px; }

/* ── 별점 ── */
.tb-star-rating { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; margin-bottom: 16px; }
.tb-star-rating input { display: none; }
.tb-star-rating label { font-size: 2rem; color: #ddd; cursor: pointer; transition: color 0.15s; }
.tb-star-rating input:checked ~ label,
.tb-star-rating label:hover,
.tb-star-rating label:hover ~ label { color: #f5a623; }

/* ── 로딩 스피너 ── */
.tb-loading { text-align: center; padding: 40px; }
.tb-spinner {
    width: 40px; height: 40px;
    border: 4px solid var(--tb-border);
    border-top-color: var(--tb-orange);
    border-radius: 50%;
    animation: tb-spin 0.8s linear infinite;
    margin: 0 auto 12px;
}
@keyframes tb-spin { to { transform: rotate(360deg); } }

/* ── 랜딩 페이지 ── */
.tb-landing-wrap { max-width: 100%; padding: 0; }
.tb-hero {
    position: relative;
    padding: 100px 20px 120px;
    text-align: center;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    overflow: hidden;
}
.tb-hero-bg {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(26, 107, 60, 0.05) 0%, transparent 40%);
    z-index: 1;
}
.tb-hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.tb-hero-badge {
    display: inline-block;
    background: rgba(26, 107, 60, 0.1);
    color: var(--tb-green);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 24px;
}
.tb-hero-title {
    font-size: 3.5rem;
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 24px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}
.tb-hero-title strong { font-weight: 800; color: var(--tb-orange); }
.tb-hero-desc {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin: 0 0 40px;
    line-height: 1.6;
}
.tb-btn-huge { font-size: 1.2rem; padding: 20px 48px; border-radius: 40px; }

.tb-features { padding: 100px 20px; background: var(--tb-surface); }
.tb-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}
.tb-feature-card {
    background: #f9fafb;
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    transition: transform 0.3s;
}
.tb-feature-card:hover { transform: translateY(-8px); }
.tb-feature-icon { font-size: 3rem; margin-bottom: 24px; }
.tb-feature-card h3 { font-size: 1.3rem; font-weight: 800; margin: 0 0 16px; }
.tb-feature-card p { font-size: 1rem; color: var(--tb-text-sub); line-height: 1.6; margin: 0; }

.tb-photo-banner {
    padding: 120px 20px;
    background: var(--tb-green);
    text-align: center;
    color: #fff;
}
.tb-photo-content h2 { font-size: 2.5rem; font-weight: 800; margin: 0 0 20px; line-height: 1.3; color: #fff; }
.tb-photo-content p { font-size: 1.1rem; opacity: 0.9; margin: 0 0 40px; }
.tb-btn-white { border-color: #fff; color: #fff !important; }
.tb-btn-white:hover { background: #fff; color: var(--tb-green) !important; }

.tb-landing-programs { padding: 80px 20px 120px; background: var(--tb-bg); }

/* ── 서비스 안내 페이지 ── */
.tb-service-wrap { max-width: 100%; padding: 0; }
.tb-service-hero { padding: 100px 20px; background: var(--tb-bg); }
.tb-service-item { padding: 80px 20px; }
.tb-service-alt { background: var(--tb-surface); }
.tb-service-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: center; max-width: 1100px; margin: 0 auto;
}
.tb-grid-reverse { direction: rtl; }
.tb-grid-reverse > * { direction: ltr; }
.tb-service-image img {
    width: 100%; border-radius: 24px; box-shadow: var(--tb-shadow-md);
    aspect-ratio: 4/3; object-fit: cover;
}
.tb-service-content h2 { font-size: 2.2rem; font-weight: 800; margin: 16px 0 20px; line-height: 1.3; }
.tb-service-content p { font-size: 1.1rem; color: var(--tb-text-sub); line-height: 1.7; margin-bottom: 24px; }
.tb-service-list { list-style: none; padding: 0; margin: 0; }
.tb-service-list li { font-size: 1.05rem; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.text-center { text-align: center; }

/* ── 리뷰 게시판 ── */
.tb-reviews-wrap { max-width: 1000px; margin: 0 auto; padding: 60px 20px; }
.tb-reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 40px; }
.tb-review-card { background: var(--tb-surface); border-radius: 20px; padding: 24px; box-shadow: var(--tb-shadow); display: flex; flex-direction: column; }
.tb-review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.tb-review-author { display: flex; align-items: center; gap: 12px; }
.tb-review-author strong { display: block; font-size: 1rem; color: var(--tb-text); }
.tb-review-prog { display: block; font-size: 0.8rem; color: var(--tb-text-sub); }
.tb-review-stars { color: #f5a623; font-size: 1rem; letter-spacing: 2px; }
.tb-review-image { margin-bottom: 16px; border-radius: 12px; overflow: hidden; }
.tb-review-image img { width: 100%; height: auto; display: block; }
.tb-review-content { font-size: 0.95rem; line-height: 1.6; color: var(--tb-text); flex-grow: 1; }
.tb-review-date { font-size: 0.8rem; color: var(--tb-text-sub); margin-top: 20px; text-align: right; }

.tb-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 60px; }
.tb-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--tb-surface); color: var(--tb-text); text-decoration: none; font-weight: 600; box-shadow: var(--tb-shadow); transition: all 0.2s; }
.tb-pagination .page-numbers.current, .tb-pagination .page-numbers:hover { background: var(--tb-green); color: #fff; }

/* ── 반응형 ── */
@media (max-width: 768px) {
    .tb-hero { padding: 80px 20px 100px; }
    .tb-hero-title { font-size: 2.2rem; }
    .tb-feature-grid { grid-template-columns: 1fr; }
    .tb-photo-banner { padding: 80px 20px; }
    .tb-photo-content h2 { font-size: 1.8rem; }
    .tb-service-grid { grid-template-columns: 1fr; gap: 40px; }
    .tb-grid-reverse { direction: ltr; }
    .tb-service-content h2 { font-size: 1.8rem; }
    .tb-reviews-grid { grid-template-columns: 1fr; }
}

/* ── 커스텀 헤더/푸터 숨김 (테마 네이티브 요소 차단) ── */
header.site-header, 
#masthead, 
footer.site-footer, 
.site-info, 
.site-footer, 
.generate-footer, 
.tb-site-footer, 
.copyright-bar, 
footer#colophon { 
    display: none !important; 
}

.tb-site-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--tb-border);
}
.tb-site-header .tb-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tb-logo img {
    max-height: 32px;
    width: auto;
    display: block;
}
.tb-nav {
    display: flex;
    gap: 24px;
}
.tb-nav a {
    color: var(--tb-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color var(--tb-transition);
}
.tb-nav a:hover {
    color: var(--tb-orange);
}

.tb-site-footer {
    background: #f0f2f5;
    padding: 40px 20px;
    margin-top: 60px;
    color: var(--tb-text-sub);
}
.tb-site-footer .tb-container {
    max-width: 1000px;
    margin: 0 auto;
}
.tb-footer-logo img {
    max-height: 24px;
    width: auto;
    filter: grayscale(100%) opacity(0.6);
    margin-bottom: 16px;
    display: block;
}
.tb-footer-info p {
    margin: 0 0 6px;
    font-size: 0.85rem;
    line-height: 1.5;
}
@media (max-width: 480px) {
    .tb-nav { gap: 16px; }
    .tb-nav a { font-size: 0.85rem; }
}

/* ================================================================
   TropicalBay Subpage Layout Reset & Premium Design Overrides
================================================================ */
body.tb-custom-plugin-page h1.entry-title,
body.tb-custom-plugin-page .entry-header,
body.tb-custom-plugin-page .page-header {
    display: none !important;
}

body.tb-custom-plugin-page .inside-article,
body.tb-custom-plugin-page .separate-containers .inside-article,
body.tb-custom-plugin-page .one-container .site-content,
body.tb-custom-plugin-page #content,
body.tb-custom-plugin-page .site-content {
    background: transparent !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 auto !important;
    box-shadow: none !important;
    border: none !important;
}

body.tb-custom-plugin-page {
    background-color: #f7f9fc !important;
}

body.tb-custom-plugin-page .entry-content {
    margin: 0 !important;
    padding: 0 !important;
}

body.tb-custom-plugin-page .tb-booking-wrap,
body.tb-custom-plugin-page .tb-mypage-wrap,
body.tb-custom-plugin-page .tb-programs-section,
body.tb-custom-plugin-page .tb-calendar-wrap,
body.tb-custom-plugin-page .tb-info-page,
body.tb-custom-plugin-page .tb-status-page-wrap,
body.tb-custom-plugin-page .tb-sapling-sales-wrap,
body.tb-custom-plugin-page .tb-franchise-page-wrap {
    padding-top: 45px !important;
    padding-bottom: 65px !important;
    max-width: 800px;
    margin: 0 auto;
}

body.tb-custom-plugin-page .tb-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (max-width: 480px) {
    .tb-search-form-row {
        flex-direction: column !important;
        gap: 12px !important;
    }
    .tb-search-form-row input {
        width: 100% !important;
    }
    .tb-search-form-row button {
        width: 100% !important;
        max-width: none !important;
    }
}
