/* ==========================================================================
   트립크루즈 스타일
   1. 토큰·기본  2. 공통 요소  3. 헤더  4. 메인(홈) 섹션  5. 상품 카드
   6. 달력·예약현황  7. 푸터·고정 UI  8. 서브페이지  9. 반응형
   ========================================================================== */

/* ---------- 1. 토큰·기본 ---------- */
:root {
  --accent:#ff6a4d; --accent-dark:#d63d24; --accent-soft:#fff0ec;
  --teal:#22b8a7; --teal-dark:#0b7d72; --teal-soft:#e2f6f3;
  --navy:#0b2f5b; --navy-deep:#071d3a; --blue:#1565d8; --blue-soft:#e6f0ff;
  --amber-dark:#8a5a00; --amber-soft:#fff1cc;
  --text:#1f2937; --muted:#6b7280; --line:#e3e7ee; --bg:#f8fafc; --bg-dark:#eff3f8;
  --radius:14px; --shadow:0 8px 24px rgba(11,47,91,.12);
  --header-h:66px; --gnb-h:44px;
}
*,*::before,*::after { box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body { margin:0; color:var(--text); background:var(--bg); font-family:'Montserrat','Noto Sans KR',system-ui,sans-serif; font-size:16px; line-height:1.5; overflow-x:hidden; }
body.no-scroll { overflow:hidden; }
a { color:inherit; text-decoration:none; }
img { max-width:100%; }
button,input,select,textarea { font:inherit; color:inherit; }
button { cursor:pointer; }
h1,h2,h3,p,dl,dd { margin:0; }
[hidden] { display:none !important; }
:focus-visible { outline:2px solid var(--accent-dark); outline-offset:2px; }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { animation-duration:.01ms !important; transition-duration:.01ms !important; } }

/* ---------- 2. 공통 요소 ---------- */
.container { width:100%; max-width:1224px; margin-inline:auto; padding-inline:12px; }
.section-gap { margin-block:80px; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.skip-link { position:absolute; left:8px; top:-60px; z-index:200; padding:10px 16px; border-radius:8px; color:#fff; background:var(--text); }
.skip-link:focus { top:8px; }
.icon { width:1.15em; height:1.15em; flex:none; vertical-align:-.2em; }

.btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:44px; padding:10px 20px; border:1px solid transparent; border-radius:8px; font-weight:500; line-height:1.2; transition:.2s; }
.btn-primary { color:#fff; background:var(--accent-dark); }
.btn-primary:hover { background:#bd323c; }
.btn-outline { border-color:var(--line); background:#fff; }
.btn-outline:hover { border-color:var(--text); }
.btn-white { background:rgba(255,255,255,.94); }
.btn-white:hover { background:#fff; }
.btn-gray { min-height:38px; padding:6px 16px; color:#fff; background:#666; }
.btn-block { width:100%; }
.btn[disabled] { opacity:.5; cursor:not-allowed; }

.section-head { position:relative; display:flex; align-items:center; justify-content:center; margin-bottom:32px; }
.section-title { display:flex; align-items:center; justify-content:center; gap:10px; font-size:30px; font-weight:700; line-height:1.3; }
.section-title img { width:auto; height:32px; }
.section-head .more { position:absolute; right:0; bottom:4px; }
.more { display:inline-flex; align-items:center; gap:2px; color:var(--muted); font-size:14px; white-space:nowrap; }
.more:hover { color:var(--text); }

.notice-box { margin-block:16px; padding:14px 16px; border-radius:10px; background:var(--bg-dark); font-size:14px; }
.notice-box.error { color:#a12028; background:var(--accent-soft); }
.notice-box.success { color:var(--teal-dark); background:var(--teal-soft); }

.horizontal-shell { position:relative; }
.horizontal-track { display:flex; gap:16px; padding:4px 0; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
.horizontal-track::-webkit-scrollbar { display:none; }
.horizontal-track > * { scroll-snap-align:start; }
.slider-arrow { position:absolute; z-index:3; top:50%; display:grid; place-items:center; width:44px; height:64px; padding:0; border:1px solid var(--line); border-radius:12px; background:#fff; box-shadow:0 2px 8px rgba(0,0,0,.12); font-size:22px; transform:translateY(-50%); }
.slider-arrow.prev { left:-22px; }
.slider-arrow.next { right:-22px; }
.slider-arrow:hover { border-color:var(--text); }

/* ---------- 3. 헤더 ---------- */
.site-header { position:sticky; top:0; z-index:50; color:var(--text); background:#fff; border-bottom:1px solid var(--line); transition:background .3s,color .3s,box-shadow .3s; }
.home .site-header { position:fixed; inset:0 0 auto; color:#fff; background:transparent; border-bottom-color:transparent; }
.home .site-header.scrolled { color:var(--text); background:rgba(255,255,255,.97); box-shadow:0 6px 18px rgba(0,0,0,.1); }
.topbar { height:var(--header-h); display:flex; align-items:center; justify-content:space-between; gap:24px; }
.topbar-left { display:flex; align-items:center; gap:10px; min-width:0; }
.brand { flex:none; }
.search { width:190px; height:38px; display:flex; align-items:center; padding:0 6px 0 12px; border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--text); }
.home .site-header:not(.scrolled) .search { border-color:transparent; background:rgba(255,255,255,.88); }
.search input { width:100%; min-width:0; border:0; outline:0; background:transparent; font-size:14px; }
.search button { display:grid; place-items:center; width:30px; height:30px; padding:0; border:0; border-radius:6px; background:transparent; font-size:17px; }
.search:focus-within { border-color:var(--accent-dark); }
.reservation-status { display:inline-flex; align-items:center; gap:6px; height:38px; padding:0 12px; color:var(--accent-dark); background:#fff; border:1px solid var(--accent); border-radius:8px; white-space:nowrap; font-size:14px; font-weight:500; }
.reservation-status:hover { background:var(--accent-soft); }
.utility { display:flex; white-space:nowrap; }
.utility a { position:relative; padding:4px 10px; font-size:13px; }
.utility a:hover { text-decoration:underline; }
.utility a + a::before { content:''; position:absolute; left:0; top:50%; width:1px; height:10px; background:currentColor; opacity:.3; transform:translateY(-50%); }
.gnb { border-top:1px solid var(--line); }
.gnb .container { display:flex; justify-content:space-between; height:var(--gnb-h); overflow-x:auto; scrollbar-width:none; }
.gnb a { display:flex; align-items:center; padding:0 8px; border-bottom:2px solid transparent; font-size:14.5px; font-weight:500; white-space:nowrap; }
.gnb a:hover,.gnb a[aria-current] { color:var(--accent-dark); border-bottom-color:var(--accent-dark); }
.home .site-header:not(.scrolled) .gnb { display:none; }
.mobile-head { display:none; }
.icon-button { display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; background:transparent; font-size:26px; }

/* ---------- 4. 메인(홈) 섹션 ---------- */
.hero { position:relative; height:700px; color:#fff; background:#202223; }
.hero-slides,.hero-slide { position:absolute; inset:0; }
.hero-slides { overflow:hidden; }
.hero-slide { opacity:0; visibility:hidden; background-position:center; background-size:cover; transition:opacity .8s,visibility .8s; }
.hero-slide.active { opacity:1; visibility:visible; }
.hero-slide.video iframe { position:absolute; left:50%; top:50%; width:max(100vw,1245px); height:max(56.25vw,700px); border:0; transform:translate(-50%,-50%); pointer-events:none; }
.hero-shade { position:absolute; inset:0; background:linear-gradient(rgba(0,0,0,.34),rgba(0,0,0,.18) 40%,rgba(0,0,0,.3)); }
.hero-copy { position:relative; height:62%; display:flex; flex-direction:column; justify-content:center; align-items:center; padding-top:var(--header-h); text-align:center; text-shadow:0 1px 6px rgba(0,0,0,.55); }
.hero-small { margin-bottom:10px; font-size:17px; }
.hero-big { max-width:980px; margin-bottom:32px; font-size:46px; font-weight:700; line-height:1.4; word-break:keep-all; }
.hero-copy a { padding:11px 28px; border:1px solid #fff; border-radius:40px; font-size:18px; text-shadow:none; transition:.3s; }
.hero-copy a:hover { color:var(--text); background:#fff; }
.hero-arrow { position:absolute; top:28%; z-index:3; display:grid; place-items:center; width:56px; height:56px; padding:0; border:0; border-radius:50%; background:transparent; color:#fff; font-size:44px; }
.hero-arrow:hover { background:rgba(0,0,0,.25); }
.hero-arrow.prev { left:12px; }
.hero-arrow.next { right:12px; }
.hero-dots { position:absolute; z-index:4; left:50%; top:60%; width:min(480px,70%); display:flex; gap:6px; transform:translateX(-50%); }
.hero-dots button { flex:1; height:16px; padding:0; border:0; background:transparent; }
.hero-dots button::before { content:''; display:block; height:3px; border-radius:2px; background:rgba(255,255,255,.6); }
.hero-dots button.active::before { height:5px; background:#fff; }
.hero-progress { position:absolute; z-index:4; left:50%; top:calc(60% + 22px); width:min(480px,70%); height:2px; background:rgba(255,255,255,.3); transform:translateX(-50%); }
.hero-progress span { display:block; height:100%; background:var(--accent); transform-origin:left; animation:hero-progress 5s linear infinite; }
@keyframes hero-progress { from { transform:scaleX(0); } to { transform:scaleX(1); } }

.country-panel { position:relative; z-index:5; display:grid; grid-template-columns:repeat(4,1fr); gap:16px; max-width:1200px; margin-top:-232px; padding:16px; background:#fff; border-radius:16px; box-shadow:4px 12px 30px 6px rgba(0,0,0,.09); }
.country-card { position:relative; height:114px; overflow:hidden; border-radius:var(--radius); color:#fff; background:var(--country-bg) center/cover; }
.country-card::after { content:''; position:absolute; inset:0; background:rgba(255,255,255,0); transition:.25s; }
.country-card:hover::after { background:rgba(255,255,255,.14); }
.country-shade { position:absolute; inset:0 35% 0 0; background:linear-gradient(90deg,rgba(0,0,0,.62),transparent); }
.country-content { position:relative; z-index:1; height:100%; display:flex; flex-direction:column; justify-content:center; gap:7px; padding:16px; }
.country-name { display:flex; align-items:center; gap:8px; }
.country-name img { width:30px; height:30px; object-fit:cover; border-radius:50%; }
.country-name strong { font-size:19px; line-height:1.15; text-shadow:0 0 5px rgba(0,0,0,.7); }

.promo-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.promo-grid a { overflow:hidden; border-radius:var(--radius); transition:transform .25s,box-shadow .25s; }
.promo-grid a:hover { transform:translateY(-3px); box-shadow:var(--shadow); }
.promo-grid img { display:block; width:100%; height:auto; }

.youtube-showcase { padding:80px 0; color:#fff; background:var(--navy-deep); }
.youtube-showcase .section-title { margin-bottom:32px; }
.youtube-columns { display:flex; justify-content:center; gap:40px; }
.youtube-column { position:relative; min-width:0; }
.youtube-column.wide { width:calc(70% - 20px); }
.youtube-column.short { width:calc(30% - 20px); }
.youtube-stage iframe,.youtube-thumb { display:block; width:100%; height:400px; padding:0; border:0; border-radius:16px; overflow:hidden; background:#1f1f1f; }
.youtube-thumb { position:relative; }
.youtube-thumb img { width:100%; height:100%; object-fit:cover; opacity:.92; transition:.25s; }
.youtube-thumb:hover img { opacity:1; transform:scale(1.02); }
.youtube-play { position:absolute; left:50%; top:50%; display:grid; place-items:center; width:68px; height:48px; border-radius:14px; color:#fff; background:#e62117; font-size:26px; transform:translate(-50%,-50%); }
.youtube-stage h3 { margin-top:14px; text-align:center; font-size:16px; font-weight:500; }
.youtube-arrow { position:absolute; z-index:2; top:200px; display:grid; place-items:center; width:42px; height:42px; padding:0; border:0; border-radius:50%; background:#fff; color:var(--text); font-size:20px; box-shadow:0 0 6px rgba(0,0,0,.25); transform:translateY(-50%); }
.youtube-arrow.prev { left:-16px; }
.youtube-arrow.next { right:-16px; }

.banner-d { padding:80px 0; background:#fff; border-bottom:1px solid var(--line); }
.banner-d img,.long-slides img { display:block; width:100%; height:auto; aspect-ratio:1200/230; object-fit:cover; border-radius:16px; }

.review-card { flex:0 0 calc((100% - 32px)/3); display:flex; flex-direction:column; overflow:hidden; background:#fff; border:1px solid var(--line); border-radius:var(--radius); transition:box-shadow .25s,transform .25s; }
.review-card:hover,.product-card:hover { box-shadow:var(--shadow); transform:translateY(-3px); }
.review-card > img { display:block; width:100%; height:auto; aspect-ratio:5/4; object-fit:cover; }
.review-card > div { flex:1; display:flex; flex-direction:column; gap:8px; padding:18px 20px; }
.review-card h3 { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; min-height:2.8em; font-size:17px; font-weight:500; line-height:1.4; }
.reviewer { display:flex; align-items:center; gap:5px; margin-top:auto; font-size:14px; }
.travel-review-count { margin:0 0 14px; color:var(--muted); font-size:14px; }
.travel-review-count b { color:var(--navy); }
.travel-review-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.travel-review-card > div { min-height:178px; padding:20px 22px; }
.travel-review-meta { display:flex; align-items:center; gap:10px; color:var(--muted); font-size:12px; font-variant-numeric:tabular-nums; }
.travel-review-card h3 { min-height:0; color:var(--navy); font-size:18px; font-weight:700; overflow-wrap:anywhere; }
.travel-review-excerpt { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; color:var(--muted); font-size:14px; line-height:1.6; overflow-wrap:anywhere; }
.travel-review-card footer { display:flex; align-items:center; justify-content:space-between; gap:10px; padding-top:16px; margin-top:auto; color:var(--muted); font-size:12px; }
.travel-review-card footer .icon { width:16px; height:16px; color:var(--navy); }
.travel-review-pages { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:4px; margin-top:30px; }
.travel-review-pages a { display:grid; place-items:center; min-width:36px; min-height:40px; padding:0 6px; border-radius:8px; font-size:14px; }
.travel-review-pages a[aria-current="page"] { background:var(--navy); color:#fff; font-weight:700; }
@media(max-width:900px) { .travel-review-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .travel-review-grid { grid-template-columns:minmax(0,1fr); gap:12px; } .travel-review-card > div { min-height:150px; } }
.meta { display:flex; align-items:center; gap:12px; color:var(--muted); font-size:12.5px; }
.meta span { display:inline-flex; align-items:center; gap:3px; }

.long-banner { position:relative; padding-bottom:18px; }
.long-slides a { display:none; }
.long-slides a.active { display:block; }
.banner-dots { position:absolute; left:50%; bottom:0; display:flex; transform:translateX(-50%); }
.banner-dots button { width:20px; height:18px; padding:0; border:0; background:transparent; }
.banner-dots button::before { content:''; display:block; width:8px; height:8px; margin:auto; border-radius:50%; background:#cfcfcf; }
.banner-dots button.active::before { background:var(--accent); }

.estimate { min-height:366px; display:flex; align-items:center; text-align:center; color:#fff; background:linear-gradient(rgba(0,0,0,.28),rgba(0,0,0,.28)),url('assets/bg-estimate.webp') center/cover fixed; }
.estimate h2 { margin-bottom:18px; font-size:32px; }
.estimate p { margin-bottom:26px; text-shadow:0 1px 5px rgba(0,0,0,.6); }

.category-block + .category-block { margin-top:48px; }
.category-head { display:flex; align-items:center; gap:16px; margin-bottom:10px; }
.category-head h2 { font-size:22px; font-weight:700; white-space:nowrap; }
.category-head .more { margin-left:auto; }
.tags { display:flex; flex-wrap:wrap; gap:6px; }
.tags button { min-height:30px; padding:3px 11px; border:1px solid var(--line); border-radius:16px; background:#fff; color:var(--muted); font-size:13.5px; transition:.2s; }
.tags button:hover { color:var(--text); border-color:var(--text); }
.tags button.active { color:#fff; border-color:var(--accent-dark); background:var(--accent-dark); }

.community { padding-block:10px; }
.community-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(250px,auto); gap:36px; }
.board-column { display:flex; flex-direction:column; gap:36px; min-width:0; }
.board-head { display:flex; align-items:flex-end; justify-content:space-between; padding-bottom:8px; border-bottom:1px solid var(--text); }
.board-head h3,.service-column h3 { font-size:22px; }
.board-head a { color:var(--muted); font-size:13px; }
.board-head a:hover { color:var(--text); }
.board-list { padding-top:8px; }
.board-row { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:36px; padding:4px 0; font-size:15px; }
.board-row:hover strong,.board-row:hover > span:first-child { text-decoration:underline; }
.board-row > span:first-child { min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.board-row time { flex:none; color:var(--muted); font-size:12.5px; }
.guide-row { justify-content:flex-start; }
.guide-row small { flex:0 0 1.5em; color:var(--muted); text-align:center; }
.guide-row strong { min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-weight:500; }
.board-row.with-image { justify-content:flex-start; padding:5px 0; }
.board-row.with-image img { flex:none; width:80px; height:64px; object-fit:cover; border-radius:8px; }
.board-row.with-image span { min-width:0; }
.board-row.with-image strong { display:block; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-weight:500; }
.board-row.with-image time { display:block; margin-top:2px; }
.service-column { display:flex; flex-direction:column; gap:36px; }
.service-strong { display:block; margin-top:10px; font-size:19px; font-weight:700; }
.service-column p { margin-top:4px; color:var(--muted); font-size:14px; }

/* ---------- 5. 상품 카드 ---------- */
.product-card { display:flex; flex-direction:column; min-width:0; overflow:hidden; background:#fff; border:1px solid var(--line); border-radius:var(--radius); transition:box-shadow .25s,transform .25s; }
.card-media { position:relative; aspect-ratio:1; background:var(--bg-dark); }
.card-media img { display:block; width:100%; height:100%; object-fit:cover; }
.card-media img.overview-ship-inset { position:absolute; right:6px; bottom:6px; width:31%; height:auto; aspect-ratio:1.55; border:2px solid white; border-radius:4px; }
.card-flag { position:absolute; left:10px; bottom:10px; padding:3px 9px; border-radius:6px; color:#fff; background:rgba(0,0,0,.72); font-size:12px; font-weight:700; }
.card-flag.sample { left:auto; right:10px; background:rgba(60,70,90,.78); font-weight:500; }
.card-body { flex:1; display:flex; flex-direction:column; gap:6px; padding:14px 16px 12px; }
.card-meta { overflow:hidden; color:var(--muted); font-size:12.5px; white-space:nowrap; text-overflow:ellipsis; }
.card-meta i { display:inline-block; width:1px; height:10px; margin:0 7px; background:#ccc; }
.card-title { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; min-height:2.8em; font-size:16px; font-weight:500; line-height:1.4; word-break:keep-all; }
.card-sub { overflow:hidden; color:var(--muted); font-size:12.5px; white-space:nowrap; text-overflow:ellipsis; }
.card-labels { display:flex; flex-wrap:wrap; gap:4px; margin-top:2px; }
.card-labels span { padding:2px 7px; border-radius:4px; color:var(--accent-dark); background:var(--accent-soft); font-size:11.5px; font-weight:500; white-space:nowrap; }
.card-price { display:grid; gap:2px; padding:11px 16px 13px; border-top:1px dashed var(--line); }
.card-price > div { display:flex; align-items:baseline; justify-content:space-between; gap:8px; }
.card-price dt { color:var(--muted); font-size:12.5px; }
.card-price dd { font-weight:700; white-space:nowrap; }
.card-price .deposit { color:var(--accent-dark); font-size:14.5px; }
.card-price .balance { color:var(--teal-dark); font-size:17px; }

.product-track .product-card { flex:0 0 calc((100% - 32px)/3); }
.product-card.large .card-body { gap:8px; padding:20px 22px 16px; }
.product-card.large .card-title { font-size:20px; }
.product-card.large .card-sub,.product-card.large .card-meta { font-size:13.5px; }
.product-card.large .card-labels span { font-size:12.5px; }
.product-card.large .card-price { padding:14px 22px 18px; }
.product-card.large .card-price .deposit { font-size:17px; }
.product-card.large .card-price .balance { font-size:22px; }
.category-track { gap:12px; }
.category-track .product-card { flex:0 0 calc((100% - 48px)/5); }
.product-card.compact .card-body { padding:12px 12px 10px; }
.product-card.compact .card-title { font-size:15px; }
.product-card.compact .card-price { padding:10px 12px 12px; }
.product-card.compact .card-price .balance { font-size:15.5px; }
.product-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.product-grid.catalog-grid { grid-template-columns:repeat(auto-fill,minmax(min(100%,285px),1fr)); }
.catalog-grid .product-card { border-color:#d9e2e9; }
.voyage-thumbnail { container-type:inline-size; }
.voyage-photos { display:flex; height:clamp(145px,51cqw,207px); overflow:hidden; background:#e7eff4; }
.voyage-exterior,.voyage-detail { position:relative; isolation:isolate; overflow:hidden; }
.voyage-exterior { flex:1; min-width:0; }
.voyage-detail { flex:0 0 27%; border-left:2px solid #fff; }
.voyage-photos img { display:block; width:100%; height:100%; object-fit:cover; }
.voyage-exterior::after,.voyage-detail::after { position:absolute; z-index:0; inset:35% 0 0; background:linear-gradient(transparent,rgba(4,21,37,.85)); pointer-events:none; content:""; }
.voyage-badges { position:absolute; z-index:1; top:10px; left:10px; display:flex; flex-wrap:wrap; gap:4px; }
.voyage-duration,.voyage-offer { padding:4px 8px; border-radius:5px; font-size:12px; font-weight:750; line-height:1.25; }
.voyage-duration { color:var(--navy-deep); background:#fff; box-shadow:0 1px 6px #11253735; }
.voyage-offer { color:#fff; background:#a83b29; }
.voyage-ship { position:absolute; z-index:1; inset:auto 12px 11px; display:flex; align-items:baseline; gap:6px; color:#fff; font-weight:700; font-size:clamp(14px,4.5cqw,18px); line-height:1.28; letter-spacing:-.025em; word-break:keep-all; overflow-wrap:anywhere; }
.voyage-ship .icon { align-self:flex-start; margin-top:2px; width:1em; height:1em; }
.voyage-ship small { display:block; margin-top:3px; font-size:11px; font-weight:500; }
.voyage-detail span { position:absolute; z-index:1; bottom:11px; left:7px; right:7px; color:#fff; font-size:12px; font-weight:600; line-height:1.3; text-align:center; word-break:keep-all; overflow-wrap:anywhere; }
.voyage-route { padding:10px 15px 12px; color:#fff; background:var(--navy-deep); }
.voyage-kicker { display:block; margin-bottom:3px; color:#a6d6dd; font-size:11px; font-weight:600; line-height:1.4; }
.voyage-route ol { display:inline; margin:0; padding:0; list-style:none; }
.voyage-route li { display:inline-block; max-width:100%; font-size:clamp(14px,4.4cqw,17px); font-weight:700; letter-spacing:-.025em; line-height:1.5; overflow-wrap:anywhere; }
.voyage-separator { padding:0 .33em; color:#93b9c7; font-weight:400; }
.voyage-loop { margin-left:6px; color:#bddde5; font-size:12px; }
.voyage-date { display:flex; flex-wrap:wrap; align-items:center; gap:6px; padding:9px 15px; border-bottom:1px solid #dce6ea; background:#eff6f7; color:#315267; font-size:12px; line-height:1.4; }
.voyage-date .icon { color:#316979; }
.voyage-date time { color:var(--navy-deep); font-size:14px; font-weight:750; font-variant-numeric:tabular-nums; }
.voyage-date small { margin-left:auto; font-size:12px; font-weight:600; }
.port-credits { list-style:none; margin:0; padding:0; }
.port-credits li { display:flex; align-items:center; gap:14px; padding:12px 0; border-bottom:1px solid var(--line); }
.port-credits img { width:90px; height:64px; object-fit:cover; border-radius:6px; }
.port-credits a { color:var(--blue); text-decoration:underline; }
.category-track.horizontal-track .product-card { flex-basis:calc((100% - 36px)/4); }
@media (min-width:1320px) {
  .category-block .slider-arrow.prev { left:-48px; }
  .category-block .slider-arrow.next { right:-48px; }
}
@media (min-width:768px) and (max-width:1319px) {
  .category-block .horizontal-shell { padding-inline:34px; }
  .category-block .slider-arrow { width:30px; height:48px; }
  .category-block .slider-arrow.prev { left:0; }
  .category-block .slider-arrow.next { right:0; }
}
@media (max-width:1050px) {
  .category-track.horizontal-track .product-card { flex-basis:calc((100% - 24px)/3); }
}
@media (max-width:767px) {
  .category-track.horizontal-track .product-card,.product-track.horizontal-track .product-card { flex-basis:min(84%,340px); }
}
@media (min-width:1000px) {
  .product-grid.catalog-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

/* ---------- 6. 달력·예약현황 ---------- */
.overview-calendar { border:1px solid var(--line); border-radius:12px; overflow:hidden; background:#fff; }
.calendar-head { display:grid; grid-template-columns:52px 1fr 52px; align-items:center; height:64px; text-align:center; border-bottom:1px solid var(--line); }
.calendar-head button { display:grid; place-items:center; height:100%; padding:0; border:0; background:#fff; font-size:22px; }
.calendar-head button:hover:not([disabled]) { background:var(--bg-dark); }
.calendar-head button[disabled] { color:#ccc; cursor:default; }
.calendar-month small { margin-right:8px; color:var(--muted); font-size:15px; }
.calendar-month strong { font-size:30px; }
.calendar-week,.calendar-days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); }
.calendar-week span { padding:10px 0; text-align:center; color:var(--muted); font-size:13px; font-weight:500; border-bottom:1px solid var(--line); }
.calendar-week span:first-child { color:#d6404a; }
.calendar-week span:last-child { color:var(--blue); }
.calendar-day { position:relative; display:block; width:100%; min-height:86px; padding:6px; border:0; border-right:1px solid var(--line); border-bottom:1px solid var(--line); background:#fff; color:#999; text-align:left; font-size:14px; }
.calendar-day:nth-child(7n) { border-right:0; }
.calendar-day:nth-last-child(-n+7) { border-bottom:0; }
.calendar-day.outside { color:#d8d8d8; background:#fafafa; }
.calendar-day.has-status { color:var(--text); }
.calendar-day.today .day-number { display:inline-grid; place-items:center; min-width:24px; height:24px; margin:-2px 0 0 -3px; border-radius:50%; color:#fff; background:var(--accent-dark); }
.day-number { font-weight:600; }
.calendar-status { display:block; margin-top:4px; padding:4px 3px; border-radius:6px; text-align:center; font-size:11px; line-height:1.3; }
.calendar-status b,.calendar-status em { display:block; font-style:normal; }
.is-open .calendar-status { color:var(--teal-dark); background:var(--teal-soft); }
.is-confirmed .calendar-status { color:var(--blue); background:var(--blue-soft); }
.is-full .calendar-status { color:#fff; background:var(--blue); }
.is-closed .calendar-status { color:#777; background:#efefef; }
button.calendar-day { cursor:pointer; }
button.calendar-day:hover { background:#fff8f8; }
.calendar-day.selected { box-shadow:inset 0 0 0 2px var(--accent-dark); background:#fff8f8; }
.calendar-empty { padding:14px; text-align:center; color:var(--muted); font-size:14px; border-top:1px solid var(--line); }
.calendar-legend { display:flex; flex-wrap:wrap; gap:6px 14px; margin-top:10px; color:var(--muted); font-size:12.5px; }
.calendar-legend span::before { content:''; display:inline-block; width:10px; height:10px; margin-right:5px; border-radius:3px; background:var(--dot); }

.overview-modal { position:fixed; z-index:100; inset:0; display:flex; padding:16px; background:rgba(0,0,0,.55); opacity:0; visibility:hidden; transition:.25s; }
.overview-modal.show { opacity:1; visibility:visible; }
.overview-dialog { width:min(1140px,100%); max-height:100%; display:flex; flex-direction:column; margin:auto; overflow:hidden; border-radius:16px; background:#fff; }
.overview-header { display:flex; align-items:center; gap:16px; padding:14px 16px; border-bottom:1px solid var(--line); }
.overview-title { display:flex; align-items:center; gap:7px; font-size:19px; font-weight:700; white-space:nowrap; }
.overview-header select { width:220px; max-width:100%; height:40px; padding:0 10px; border:1px solid #ccc; border-radius:8px; background:#fff; }
.overview-x { display:grid; place-items:center; width:40px; height:40px; margin-left:auto; padding:0; border:0; border-radius:8px; background:transparent; color:#666; font-size:24px; }
.overview-x:hover { background:var(--bg-dark); }
.overview-body { flex:1; min-height:0; padding:16px; overflow-y:auto; }
.overview-empty { padding:24px; text-align:center; color:var(--muted); }
.overview-footer { display:flex; justify-content:flex-end; padding:12px 16px; border-top:1px solid var(--line); }
.overview-item { display:grid; grid-template-columns:280px minmax(0,1fr); gap:20px; align-items:start; }
.overview-item + .overview-item { margin-top:28px; padding-top:28px; border-top:2px dashed #cfcfcf; }

/* ---------- 7. 푸터·고정 UI ---------- */
.site-footer { margin-top:80px; color:#fff; background:var(--navy-deep); }
.footer-sns { padding:16px 0; color:var(--text); background:#fff; border-top:1px solid var(--text); }
.footer-sns .container { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.footer-sns strong { font-size:19px; }
.sns-icons { display:flex; gap:14px; }
.sns-icons a,.sns-icons img { display:block; }
.sns-icons img { width:38px; height:38px; }
.footer-body { padding:28px 0 36px; text-align:center; }
.footer-body nav { display:flex; flex-wrap:wrap; justify-content:center; gap:6px 20px; margin-top:16px; }
.footer-body nav a:hover { text-decoration:underline; }
.footer-info { margin-top:18px; }
.footer-info > div + div { margin-top:10px; }
.footer-info strong,.footer-info small { display:block; }
.team-list { display:flex; flex-direction:column; margin-top:4px; font-size:14px; }
.footer-info small { margin-top:4px; color:#bdbdbd; font-size:13px; }
.company { margin-top:18px; color:#bdbdbd; font-size:13px; line-height:1.7; }
.company b { color:#fff; font-weight:400; }
.copyright { margin-top:16px; color:#bdbdbd; font-size:13px; }

.mobile-bottom,.mobile-drawer,.drawer-overlay { display:none; }
.quick-actions { position:fixed; z-index:60; right:30px; bottom:30px; display:flex; flex-direction:column; gap:8px; }
.quick-actions a,.quick-actions button { display:block; width:66px; height:66px; padding:0; overflow:hidden; border:4px solid #fff; border-radius:50%; background:linear-gradient(90deg,var(--accent),var(--teal)); box-shadow:2px 3px 12px rgba(0,0,0,.3); transition:transform .25s,opacity .25s,visibility .25s; }
.quick-actions a:hover,.quick-actions button:hover { transform:translateX(-8px); }
.card-flag.sale { color:#fff; background:var(--accent-dark); }
.card-price s,.option s,.list-price { color:var(--muted); font-size:.82em; font-weight:400; }
.sale-rate { color:var(--accent-dark); font-style:normal; font-weight:700; }
.admin-bulk input[type=number] { width:74px; height:34px; padding:0 8px; border:1px solid #cfcfcf; border-radius:8px; }
.quick-actions img { display:block; width:100%; height:100%; }
.quick-actions .quick-consult { display:grid; place-items:center; color:#fff; font-size:24px; }
.quick-actions .quick-telegram { display:grid; place-items:center; color:#fff; background:#29a9eb; }
.quick-telegram svg { width:58%; height:58%; margin-left:-6%; }
.scroll-top { opacity:0; visibility:hidden; }
.scroll-top.show { opacity:1; visibility:visible; }
.customer-popover { position:fixed; z-index:59; right:110px; bottom:30px; width:420px; max-width:calc(100% - 24px); opacity:0; visibility:hidden; transform:translateY(12px); transition:.3s; }
.customer-popover.show { opacity:1; visibility:visible; transform:none; }
.popover-talk,.popover-body { border-radius:18px; background:#fff; box-shadow:0 0 20px 4px rgba(0,0,0,.18); }
.popover-talk { margin-bottom:8px; padding:14px 22px; }
.popover-body { overflow:hidden; }
.popover-body header { display:flex; align-items:center; justify-content:space-between; padding:18px 22px; }
.popover-body header button { display:grid; place-items:center; width:40px; height:40px; padding:0; border:0; border-radius:8px; background:transparent; font-size:24px; }
.popover-main { display:flex; align-items:center; gap:8px; padding:14px 22px; border-top:1px solid var(--line); font-size:19px; }
.popover-team { display:flex; flex-direction:column; padding:4px 22px 16px; font-size:14.5px; }
.popover-team a { padding:6px 0; }
.popover-main:hover,.popover-team a:hover { color:var(--accent-dark); }

/* ---------- 8. 서브페이지 ---------- */
.page-head { padding:28px 0 26px; background:#fff; border-bottom:1px solid var(--line); }
.page-head h1 { font-size:30px; line-height:1.3; }
.breadcrumb { display:flex; flex-wrap:wrap; gap:4px; margin-bottom:8px; color:var(--muted); font-size:13px; }
.breadcrumb > * + *::before { content:'›'; margin-right:4px; }
.breadcrumb a:hover { color:var(--text); text-decoration:underline; }
.page-body { padding-block:32px 20px; }
.empty-state { padding:70px 16px; text-align:center; color:var(--muted); }
.empty-state .btn { margin-top:18px; }

/* 상품 목록 */
.filter-bar { display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; margin-bottom:20px; }
.filter-bar .tags { flex:1; }
.filter-bar .tags a { display:inline-flex; align-items:center; min-height:34px; padding:4px 13px; border:1px solid var(--line); border-radius:18px; background:#fff; color:var(--muted); font-size:14px; }
.filter-bar .tags a:hover { color:var(--text); border-color:var(--text); }
.filter-bar .tags a[aria-current] { color:#fff; border-color:var(--accent-dark); background:var(--accent-dark); }
.filter-bar select { height:40px; padding:0 10px; border:1px solid var(--line); border-radius:8px; background:#fff; }
.result-count { color:var(--muted); font-size:14px; }
.result-count b { color:var(--text); }
.category-chips { display:flex; gap:8px; margin-bottom:18px; overflow-x:auto; scrollbar-width:none; }
.category-chips a { flex:none; padding:7px 14px; border-radius:20px; background:var(--bg-dark); font-size:14px; }
.category-chips a[aria-current] { color:#fff; background:var(--text); }

/* 상품 상세 */
.price-box { display:grid; gap:6px; }
.price-box > div { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.price-box dt { color:var(--muted); }
.price-box dd { font-weight:700; }
.price-box .deposit { color:var(--accent-dark); font-size:20px; }
.price-box .balance { color:var(--teal-dark); font-size:28px; }
.price-note { margin-top:8px; color:var(--muted); font-size:13px; }
.tab-nav { position:sticky; top:calc(var(--header-h) + var(--gnb-h) + 1px); z-index:20; display:flex; margin:44px 0 0; overflow-x:auto; background:#fff; border:1px solid var(--line); border-radius:12px; scrollbar-width:none; }
.tab-nav a { flex:1; padding:13px 16px; text-align:center; font-weight:500; white-space:nowrap; }
.tab-nav a:hover { color:var(--accent-dark); }
.detail-section { padding-top:44px; scroll-margin-top:calc(var(--header-h) + var(--gnb-h) + 50px); }
.detail-section > h2 { margin-bottom:16px; font-size:22px; }
.detail-section > p { color:#555; }
.brochure-intro { max-width:820px; margin-inline:auto; }
.cruise-brochure { overflow:hidden; border-radius:6px; }
.cruise-brochure > a { position:relative; display:block; cursor:zoom-in; }
.cruise-brochure > a:focus-visible { outline:3px solid var(--navy); outline-offset:-4px; z-index:1; }
.cruise-brochure img { display:block; width:100%; height:auto; }
.brochure-credits { margin:12px 0 24px; color:var(--muted); font-size:14px; }
.brochure-credits summary { width:fit-content; cursor:pointer; }
.brochure-credits p { margin:8px 0; }
.brochure-credits a { text-decoration:underline; text-underline-offset:3px; }
.brochure-credits ul { margin:8px 0; padding-left:1.4em; line-height:1.7; }
.brochure-live-cover { color:#102e46; background:#fff; }
.brochure-live-cover header,.brochure-live-cover > p { padding:clamp(18px,4vw,42px); }
.brochure-live-cover h3 { margin:.2em 0; font-size:clamp(27px,5vw,56px); line-height:1.25; }
.brochure-live-cover > p { background:#103650; color:white; margin:0; }
.sailing-media-links { display:flex; flex-wrap:wrap; gap:2px 20px; }
.sailing-media-links:empty { display:none; }
.onboard-section { max-width:920px; margin-inline:auto; }
.onboard-header { display:flex; align-items:flex-end; justify-content:space-between; gap:12px 24px; margin-bottom:22px; padding:20px 0 16px; border-top:3px solid #117d83; border-bottom:1px solid #c8dedf; }
.onboard-header h2,.onboard-copy small { display:block; font-size:14px; font-weight:700; color:#006477; }
.onboard-header h3 { margin-top:6px; font-size:clamp(23px,3.1vw,36px); line-height:1.3; letter-spacing:-.04em; color:#12394b; word-break:keep-all; }
.onboard-header > a { flex-shrink:0; display:inline-flex; align-items:center; gap:3px; padding:4px 0; font-size:14px; font-weight:650; color:#075a69; }
.onboard-header > a:hover,.sailing-media-links a:hover { text-decoration:underline; text-underline-offset:4px; }
.onboard-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; align-items:start; }
.onboard-card { overflow:hidden; min-width:0; background:#fff; border:1px solid #d5e4e7; border-radius:10px; }
.onboard-picture { display:block; position:relative; background:#e9f3f4; }
.onboard-picture img { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:contain; }
.onboard-picture span { position:absolute; bottom:8px; left:10px; padding:3px 8px; border-radius:4px; background:#102c3de8; color:white; font-size:12px; font-weight:600; }
.onboard-picture .icon { width:13px; height:13px; }
.onboard-copy { padding:18px 20px 21px; }
.onboard-copy h4 { margin:5px 0 8px; font-size:clamp(19px,2vw,23px); color:#12394b; line-height:1.35; letter-spacing:-.035em; overflow-wrap:anywhere; }
.onboard-copy p { font-size:16px; line-height:1.7; color:#334e5b; word-break:keep-all; overflow-wrap:anywhere; }
.onboard-copy .onboard-caption { color:#526a77; font-size:13px; margin-top:7px; }
.onboard-text { background:#edf7f7; }
.onboard-featured { grid-column:1 / -1; display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); align-items:center; background:#12394b; border-color:#12394b; }
.onboard-featured .onboard-picture { background:#102f3d; }
.onboard-featured .onboard-copy { padding:24px; }
.onboard-featured h4 { color:white; font-size:clamp(23px,2.6vw,31px); }
.onboard-featured .onboard-copy small { color:#9ce5d9; }
.onboard-featured .onboard-copy p { color:#edf6f7; }
.onboard-schedule { margin-top:20px; padding:14px 18px; border-left:3px solid #186e7b; background:#edf7f7; font-size:15px; }
@media (max-width:650px) {
  .onboard-header { align-items:start; flex-direction:column; gap:6px; }
  .onboard-grid { grid-template-columns:minmax(0,1fr); gap:14px; }
  .onboard-copy { padding:15px 54px 17px 16px; }
  .onboard-featured { display:block; }
  .onboard-featured .onboard-copy { padding:18px 54px 18px 18px; }
}
.check-list { display:grid; gap:8px; margin:16px 0 0; padding:0; list-style:none; }
.check-list li { display:flex; gap:8px; }
.check-list .icon { margin-top:3px; color:var(--teal-dark); }
.check-list.minus .icon { color:#999; }
.itinerary { margin:0; padding:0; list-style:none; }
.itinerary li { display:grid; grid-template-columns:76px 1fr; gap:16px; padding:16px 0; border-bottom:1px solid var(--line); }
.itinerary b { display:grid; place-items:center; align-self:start; height:34px; border-radius:17px; color:var(--accent-dark); background:var(--accent-soft); font-size:14px; }
.itinerary strong { display:block; margin-bottom:2px; }
.itinerary span { color:#555; font-size:15px; }
.two-col { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.two-col h3 { font-size:17px; }

/* 폼 */
.form-card { max-width:760px; margin-inline:auto; padding:28px; border:1px solid var(--line); border-radius:16px; background:#fff; }
.form-card.narrow { max-width:440px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field { display:flex; flex-direction:column; gap:6px; min-width:0; }
.field.full { grid-column:1/-1; }
.field label,.field > span { font-size:14px; font-weight:500; }
.field em { color:var(--accent-dark); font-style:normal; }
.field input,.field select,.field textarea { width:100%; min-height:44px; padding:9px 12px; border:1px solid #cfcfcf; border-radius:8px; background:#fff; }
.field textarea { min-height:130px; resize:vertical; }
.field input:focus,.field select:focus,.field textarea:focus { border-color:var(--accent-dark); outline:2px solid var(--accent-soft); }
.field small { color:var(--muted); font-size:12.5px; }
.checkbox { display:flex; align-items:flex-start; gap:8px; font-size:14px; }
.checkbox input { width:18px; height:18px; margin-top:2px; accent-color:var(--accent-dark); }
.form-actions { display:flex; gap:10px; margin-top:22px; }
.form-actions .btn { flex:1; }
.form-foot { margin-top:16px; text-align:center; color:var(--muted); font-size:14px; }
.form-foot a { color:var(--accent-dark); font-weight:500; }
.stepper { display:inline-flex; align-items:center; border:1px solid #cfcfcf; border-radius:8px; overflow:hidden; }
.stepper button { width:44px; height:42px; border:0; background:var(--bg-dark); font-size:18px; }
.stepper input { width:54px; min-height:42px; border:0; border-radius:0; text-align:center; -moz-appearance:textfield; }
.stepper input::-webkit-outer-spin-button,.stepper input::-webkit-inner-spin-button { -webkit-appearance:none; }

/* 게시판 */
.board-tabs { display:flex; gap:8px; margin-bottom:22px; overflow-x:auto; scrollbar-width:none; }
.board-tabs a { flex:none; padding:8px 16px; border:1px solid var(--line); border-radius:20px; background:#fff; font-size:14.5px; }
.board-tabs a[aria-current] { color:#fff; border-color:var(--text); background:var(--text); }
.post-list { border-top:2px solid var(--text); }
.post-list a { display:grid; grid-template-columns:70px minmax(0,1fr) 110px; align-items:center; gap:12px; min-height:54px; padding:8px 6px; border-bottom:1px solid var(--line); }
.post-list a:hover { background:#fff; }
.post-list a:hover strong { text-decoration:underline; }
.post-list .no,.post-list time { color:var(--muted); font-size:13.5px; text-align:center; }
.post-list strong { overflow:hidden; font-weight:500; white-space:nowrap; text-overflow:ellipsis; }
.post-list.guide-list a { grid-template-columns:clamp(2em,5vw,60px) minmax(0,1fr); }
.post-list.guide-list .no { display:block; }
.post-list.guide-list strong { white-space:normal; overflow-wrap:anywhere; }
.post-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.post-grid .review-card { flex:none; }
.post-view { max-width:860px; margin-inline:auto; }
.post-view header { padding-bottom:18px; border-bottom:2px solid var(--text); }
.post-view h1 { margin-bottom:10px; font-size:25px; line-height:1.4; word-break:keep-all; }
.post-content { padding:28px 4px; border-bottom:1px solid var(--line); line-height:1.8; }
.post-content img { display:block; max-width:min(100%,560px); height:auto; margin:0 auto 24px; border-radius:12px; }
.post-content p + p { margin-top:12px; }
.post-content.guide-article { max-width:760px; margin-inline:auto; line-height:1.85; color:var(--text); overflow-wrap:anywhere; }
.guide-article > p:first-child { margin:0 0 22px; font-weight:500; font-size:1.08em; }
.guide-article h2 { margin:28px 0 8px; font-size:1.16em; line-height:1.5; color:var(--navy); }
.guide-article ul,.guide-article ol { margin:10px 0 18px; padding-inline-start:1.55em; }
.guide-article li { margin:.4em 0; padding-inline-start:.15em; }
.guide-article li::marker { color:var(--teal-dark); font-weight:700; }
.guide-article a { color:var(--navy); font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.review-story > p { white-space:pre-line; overflow-wrap:anywhere; }
.review-photo-group { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-block:18px; }
.review-photo-group button { display:block; padding:0; border:0; background:transparent; border-radius:9px; overflow:hidden; cursor:zoom-in; }
.review-photo-group button:only-child { grid-column:1/-1; }
.post-content .review-photo-group img { width:100%; max-width:100%; margin:0; border-radius:0; object-fit:cover; }
.post-content .review-photo-group button:not(:only-child) img { aspect-ratio:4/3; }
.post-content .review-photo-group button:only-child img { max-height:75vh; object-fit:contain; }
.review-card > img.travel-review-cover { aspect-ratio:8/5; }
.post-nav { display:flex; justify-content:center; margin-top:24px; }
.doc-content { max-width:860px; margin-inline:auto; line-height:1.8; }
.doc-content.guide-article { overflow-wrap:anywhere; }
.doc-content p + p { margin-top:12px; }
.policy-links a { color:var(--navy); text-decoration:underline; text-underline-offset:3px; }
.contact-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:24px; }
.contact-grid a { display:flex; flex-direction:column; padding:16px; border:1px solid var(--line); border-radius:12px; background:#fff; font-size:14.5px; }
.contact-grid b { font-size:18px; }

/* 마이페이지 */
.reservation-list { display:grid; gap:14px; max-width:860px; margin-inline:auto; }
.reservation-card { display:grid; grid-template-columns:96px minmax(0,1fr) auto; gap:16px; align-items:center; padding:14px; border:1px solid var(--line); border-radius:var(--radius); background:#fff; }
.reservation-card img { display:block; width:96px; height:96px; object-fit:cover; border-radius:10px; }
.reservation-card h3 { font-size:16px; font-weight:500; }
.reservation-card p { color:var(--muted); font-size:14px; }
.status-chip { display:inline-block; margin-bottom:4px; padding:2px 9px; border-radius:12px; color:var(--teal-dark); background:var(--teal-soft); font-size:12.5px; font-weight:700; }
.status-chip.cancel { color:#777; background:#eee; }
.mypage-user { max-width:860px; margin:0 auto 22px; padding:16px 18px; border-radius:var(--radius); background:var(--bg-dark); }

/* ---------- 9. 반응형 ---------- */
@media (max-width:1280px) {
  .slider-arrow.prev { left:-6px; }
  .slider-arrow.next { right:-6px; }
  .quick-actions { right:16px; bottom:20px; }
  .customer-popover { right:92px; bottom:20px; }
}
@media (max-width:1199px) {
  .search { width:140px; }
  .utility a { padding-inline:7px; }
  .gnb a { font-size:13.5px; padding:0 5px; }
  .category-track .product-card { flex-basis:calc((100% - 36px)/4); }
  .product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .hero-big { font-size:40px; }
}
@media (max-width:991px) {
  .utility a:nth-child(n+5) { display:none; }
  .gnb .container { justify-content:flex-start; gap:8px; }
  .country-panel { grid-template-columns:repeat(3,1fr); margin-top:-200px; }
  .hero-big { font-size:32px; }
  .review-card,.product-track .product-card { flex-basis:calc((100% - 16px)/2); }
  .category-track .product-card { flex-basis:calc((100% - 24px)/3); }
  .community-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .service-column { grid-column:1/-1; flex-direction:row; }
  .service-column > div { flex:1; }
  .youtube-stage iframe,.youtube-thumb { height:300px; }
  .youtube-arrow { top:150px; }
  .overview-item { grid-template-columns:minmax(0,1fr); gap:12px; }
  .product-card.horizontal { display:grid; grid-template-columns:120px minmax(0,1fr); }
  .product-card.horizontal .card-media { grid-row:span 2; aspect-ratio:auto; min-height:100%; }
  .product-card.horizontal .card-body { padding:10px 12px 6px; }
  .product-card.horizontal .card-price { padding:8px 12px 10px; }
}
@media (max-width:767px) {
  :root { --header-h:60px; --gnb-h:0px; }
  body { padding-bottom:70px; }
  .section-gap { margin-block:48px; }
  .topbar,.gnb { display:none; }
  .mobile-head { display:flex; align-items:center; justify-content:space-between; height:var(--header-h); }
  .section-head { margin-bottom:20px; }
  .section-title { font-size:23px; }
  .section-title img { height:25px; }
  .section-head .more { position:static; margin-left:auto; }
  .section-head { justify-content:flex-start; gap:8px; }
  .slider-arrow { display:none; }
  .horizontal-track { gap:10px; margin-inline:-12px; padding-inline:12px; scroll-padding-inline:12px; }

  .hero { height:500px; }
  .hero-copy { height:58%; }
  .hero-small { max-width:88%; font-size:13.5px; }
  .hero-big { max-width:92%; margin-bottom:20px; font-size:24px; }
  .hero-copy a { padding:8px 18px; font-size:14.5px; }
  .hero-arrow { display:none; }
  .hero-dots { top:57%; }
  .hero-progress { top:calc(57% + 20px); }
  .country-panel { gap:6px; width:calc(100% - 20px); margin-top:-178px; padding:0; background:transparent; box-shadow:none; }
  .country-card { height:70px; color:var(--text); border-radius:10px; background:#fff; box-shadow:2px 6px 16px rgba(0,0,0,.12); }
  .country-shade { display:none; }
  .country-content { gap:3px; padding:6px 8px; }
  .country-name { gap:5px; }
  .country-name img { width:20px; height:20px; border:1px solid var(--line); }
  .country-name strong { font-size:13px; line-height:1.1; text-shadow:none; }

  .promo-grid { grid-template-columns:repeat(2,1fr); gap:8px; }
  .youtube-showcase,.banner-d { padding:48px 0; }
  .youtube-columns { flex-direction:column; gap:24px; }
  .youtube-column.wide,.youtube-column.short { width:100%; }
  .youtube-stage iframe,.youtube-thumb { height:auto; aspect-ratio:16/9; }
  .youtube-column.short .youtube-stage iframe,.youtube-column.short .youtube-thumb { aspect-ratio:4/5; }
  .youtube-arrow { top:28vw; }
  .youtube-column.short .youtube-arrow { top:60vw; }
  .youtube-arrow.prev { left:6px; }
  .youtube-arrow.next { right:6px; }
  .youtube-stage h3 { font-size:14.5px; }
  .banner-d img,.long-slides img { aspect-ratio:auto; height:110px; border-radius:10px; }
  .review-card { flex-basis:72%; }
  .review-card > div { padding:12px 14px; }
  .review-card h3 { font-size:15.5px; }
  .product-track .product-card { flex-basis:68%; }
  .product-card.large .card-body { padding:14px 14px 10px; }
  .product-card.large .card-title { font-size:17px; }
  .product-card.large .card-price { padding:11px 14px 13px; }
  .product-card.large .card-price .balance { font-size:19px; }
  .category-track .product-card { flex-basis:46%; }
  .estimate { min-height:280px; background-attachment:scroll; }
  .estimate h2 { font-size:25px; }
  .category-block + .category-block { margin-top:36px; }
  .category-head { flex-wrap:wrap; gap:6px 10px; }
  .category-head h2 { font-size:20px; }
  .category-head .tags { order:3; flex:0 0 100%; flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; }
  .category-head .tags button { flex:none; }
  .community-grid { grid-template-columns:minmax(0,1fr); gap:32px; }
  .board-column { gap:32px; }
  .service-column { flex-direction:column; gap:24px; }
  .board-head h3,.service-column h3 { font-size:20px; }
  .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .product-grid .card-body { padding:12px 12px 10px; }
  .product-grid .card-title { font-size:15px; }
  .product-grid .card-price { padding:10px 12px 12px; }
  .product-grid .card-price .balance { font-size:15.5px; }

  .site-footer { margin-top:48px; }
  .footer-sns strong { font-size:15.5px; }
  .sns-icons { gap:8px; }
  .sns-icons img { width:32px; height:32px; }
  .company { font-size:12px; }

  .mobile-bottom { position:fixed; z-index:45; inset:auto 0 0; height:70px; display:grid; grid-template-columns:repeat(5,1fr); align-items:center; background:#fff; border-top:1px solid var(--line); padding-bottom:env(safe-area-inset-bottom); }
  .mobile-bottom a,.mobile-bottom button { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; height:100%; padding:0; border:0; background:transparent; font-size:11.5px; }
  .mobile-bottom .icon { width:22px; height:22px; }
  .mobile-bottom .home { position:relative; top:-12px; width:60px; height:60px; justify-self:center; border-radius:50%; color:#fff; background:var(--accent); box-shadow:0 0 0 6px #fff; }
  .mobile-bottom .home .icon { width:28px; height:28px; }
  .drawer-overlay { position:fixed; z-index:70; inset:0; display:block; background:rgba(0,0,0,.45); opacity:0; visibility:hidden; transition:.3s; }
  .drawer-overlay.open { opacity:1; visibility:visible; }
  .mobile-drawer { position:fixed; z-index:71; inset:0 auto 0 0; display:block; width:min(82%,360px); overflow-y:auto; background:#fff; visibility:hidden; transform:translateX(-100%); transition:.3s; }
  .mobile-drawer.open { visibility:visible; transform:none; }
  .drawer-head { position:relative; padding:28px 20px 20px; text-align:center; color:#fff; background:var(--accent); }
  .drawer-head button { position:absolute; right:6px; top:6px; display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; background:transparent; color:#fff; font-size:26px; }
  .drawer-auth { display:flex; flex-direction:column; align-items:center; gap:8px; }
  .drawer-auth a { color:#fff; text-decoration:underline; }
  .drawer-auth a:first-child { width:100%; padding:9px; border-radius:8px; color:var(--accent-dark); background:#fff; font-weight:700; text-decoration:none; }
  .drawer-links { display:flex; border-bottom:1px solid var(--accent); }
  .drawer-links a { flex:1; padding:12px 0; text-align:center; color:var(--accent-dark); }
  .drawer-links a + a { border-left:1px solid var(--accent); }
  .mobile-drawer details,.drawer-single { border-bottom:1px solid var(--line); }
  .mobile-drawer summary,.drawer-single { display:flex; align-items:center; justify-content:space-between; min-height:50px; padding:10px 16px; font-size:17px; font-weight:500; cursor:pointer; list-style:none; }
  .mobile-drawer summary::-webkit-details-marker { display:none; }
  .mobile-drawer summary .icon { color:var(--muted); transition:.2s; }
  .mobile-drawer details[open] summary .icon { transform:rotate(180deg); }
  .mobile-drawer details > div { display:grid; grid-template-columns:1fr 1fr; padding:4px 8px 12px 24px; color:#555; }
  .mobile-drawer details > div a { padding:9px 0; }
  .drawer-footer { display:flex; flex-wrap:wrap; gap:4px 14px; padding:16px; font-size:14px; }
  .drawer-footer a { padding:5px 0; }

  .quick-actions { right:10px; bottom:82px; gap:5px; }
  .quick-actions a,.quick-actions button { width:50px; height:50px; border-width:3px; }
  .customer-popover { right:12px; bottom:82px; width:calc(100% - 24px); z-index:61; }
  .overview-modal { padding:8px; }
  .overview-header { flex-wrap:wrap; gap:10px; padding:12px; }
  .overview-header select { order:3; width:100%; }
  .overview-body { padding:12px; }
  .calendar-day { min-height:66px; padding:4px 2px; font-size:12.5px; }
  .calendar-status { margin-top:2px; padding:3px 1px; font-size:9.5px; letter-spacing:-.03em; }
  .calendar-status em:first-of-type { display:none; }
  .calendar-month strong { font-size:25px; }

  .page-head { padding:18px 0 16px; }
  .page-head h1 { font-size:23px; }
  .page-body { padding-block:22px 10px; }
  .price-box .balance { font-size:24px; }
  .tab-nav { top:var(--header-h); margin-top:28px; border-radius:0; margin-inline:-12px; border-inline:0; }
  .detail-section { padding-top:32px; scroll-margin-top:calc(var(--header-h) + 54px); }
  .two-col,.form-grid,.contact-grid { grid-template-columns:minmax(0,1fr); }
  .itinerary li { grid-template-columns:62px 1fr; gap:12px; }
  .form-card { padding:20px 16px; }
  .post-list a { grid-template-columns:minmax(0,1fr) auto; }
  .post-list .no { display:none; }
  .post-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .reservation-card { grid-template-columns:72px minmax(0,1fr); }
  .reservation-card img { width:72px; height:72px; }
  .reservation-card .btn { grid-column:1/-1; }
}
@media (max-width:400px) {
  .country-name strong { font-size:11.5px; }
  .category-track .product-card { flex-basis:58%; }
  .card-price > div { flex-wrap:wrap; }
}

/* ---------- 보정 ---------- */
.page-head:not(:has(h1)) { padding-block:14px; }
.breadcrumb:last-child { margin-bottom:0; }
.field .stepper { align-self:flex-start; }
.field .stepper input { width:54px; min-height:42px; padding:0; border:0; border-radius:0; }

/* ==========================================================================
   v2: 크루즈 브랜드 · 결제
   ========================================================================== */
/* 브랜드 */
.brand { display:inline-flex; align-items:center; gap:9px; flex:none; }
.brand img { display:block; width:40px; height:40px; border-radius:10px; }
.brand-text { display:flex; flex-direction:column; line-height:1; }
.brand-text b { font-size:21px; font-weight:900; letter-spacing:-.03em; }
.brand-text small { margin-top:4px; color:var(--accent); font-size:10px; font-weight:800; letter-spacing:.34em; }
.site-footer .brand { color:#fff; }
.drawer-head .brand { margin-bottom:14px; color:#fff; }
.drawer-head .brand-text small { color:#ffd9d0; }
.drawer-head { background:var(--navy) !important; }
.popover-hours { padding:0 22px 16px; color:var(--muted); font-size:14px; }
.card-price .balance,.price-box .balance { color:var(--navy); }
.reservation-status { color:var(--navy); border-color:var(--navy); }
.reservation-status:hover { background:var(--blue-soft); }
.gnb a:hover,.gnb a[aria-current] { color:var(--blue); border-bottom-color:var(--blue); }
.tags button.active,.filter-bar .tags a[aria-current] { border-color:var(--navy); background:var(--navy); }
.section-title { font-weight:900; letter-spacing:-.02em; color:var(--navy); }
.category-head h2,.page-head h1,.board-head h3,.service-column h3 { color:var(--navy); }

/* 히어로 */
.hero-shade { background:linear-gradient(rgba(7,29,58,.5),rgba(7,29,58,.12) 45%,rgba(7,29,58,.28)); }
.hero-big { font-weight:900; letter-spacing:-.02em; }
.hero-copy a { display:inline-flex; align-items:center; gap:4px; padding:13px 26px 13px 30px; border:0; color:#fff; background:var(--accent-dark); font-weight:700; box-shadow:0 8px 20px rgba(214,61,36,.35); }
.hero-copy a:hover { color:#fff; background:#bf321b; transform:translateY(-2px); }
.country-panel { margin-top:-150px; }
.country-shade { inset:0; background:linear-gradient(90deg,rgba(7,29,58,.72),rgba(7,29,58,.15) 70%,transparent); }
.country-content { gap:4px; }
.country-content strong { font-size:20px; font-weight:800; text-shadow:0 1px 4px rgba(0,0,0,.5); }
.country-content small { font-size:13px; opacity:.92; }
.country-card { transition:transform .25s,box-shadow .25s; }
.country-card:hover { transform:translateY(-3px); box-shadow:var(--shadow); }

/* 안내 배너 카드 */
.promo-card { display:flex; align-items:center; justify-content:space-between; gap:6px; min-height:124px; padding:14px 10px 14px 22px; }
.promo-text { display:flex; flex-direction:column; gap:5px; min-width:0; }
.promo-text strong { font-size:19px; font-weight:800; line-height:1.25; letter-spacing:-.02em; word-break:keep-all; }
.promo-text small { font-size:13.5px; opacity:.85; word-break:keep-all; }
.promo-grid .promo-card img { flex:none; width:104px; height:104px; object-fit:contain; }
.tone-blue { color:var(--navy); background:#dcebff; }
.tone-teal { color:#07564e; background:#d5f3ee; }
.tone-coral { color:#7c2413; background:#ffe3da; }
.tone-navy { color:#fff; background:var(--navy); }
.banner-d { padding:0; border:0; background:transparent; margin-block:80px; }
.wide-banner { position:relative; display:flex; align-items:center; min-height:230px; padding:32px 48px; overflow:hidden; border-radius:18px; color:#fff; background:var(--navy) right center/cover; }
.wide-banner::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(7,29,58,.86),rgba(7,29,58,.55) 45%,rgba(7,29,58,0) 75%); }
.wide-banner-text { position:relative; display:flex; flex-direction:column; align-items:flex-start; gap:8px; max-width:520px; }
.wide-banner-text strong { font-size:32px; font-weight:900; line-height:1.25; letter-spacing:-.02em; word-break:keep-all; }
.wide-banner-text small { font-size:15.5px; opacity:.94; word-break:keep-all; }
.wide-banner-text .btn { margin-top:8px; }
.estimate { background:linear-gradient(rgba(7,29,58,.45),rgba(7,29,58,.45)),url("assets/bg-estimate.webp") center/cover fixed; }
.estimate h2 { font-weight:900; }
.estimate .btn { color:#fff; background:var(--accent-dark); font-weight:700; }
.estimate .btn:hover { background:#bf321b; }
.community-grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(260px,auto); }
.board-empty { padding:16px 0; color:var(--muted); font-size:14px; }
.pay-badges { display:flex; flex-wrap:wrap; gap:6px; }
.pay-badges span { display:inline-flex; align-items:center; gap:4px; padding:3px 10px; border-radius:14px; color:var(--navy); background:var(--blue-soft); font-size:12.5px; font-weight:500; }
.service-column .pay-badges { margin-top:10px; }

/* 달력 상태 */
.is-open .calendar-status { color:var(--teal-dark); background:var(--teal-soft); }
.is-few .calendar-status { color:var(--amber-dark); background:var(--amber-soft); }
.is-full .calendar-status { color:#fff; background:var(--navy); }
.calendar-day.today .day-number { background:var(--blue); }
.calendar-day.selected,button.calendar-day:hover { background:#fff7f4; }

/* 상품 상세 */
.cabin-fare-note { color:var(--muted); font-size:.88em; font-weight:500; }
.cabin-source { margin:-6px 0 16px; color:var(--muted); font-size:13px; line-height:1.6; word-break:keep-all; overflow-wrap:anywhere; }
.cabin-source a { color:var(--blue); text-decoration:underline; }
.cruise-detail { padding-top:24px; }
.cruise-hero { position:relative; }
.cruise-filmstrip { display:flex; gap:10px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
.cruise-filmstrip::-webkit-scrollbar { display:none; }
.cruise-scene { position:relative; display:block; min-width:0; flex:0 0 calc((100% - 20px)/3); aspect-ratio:1.26; padding:0; border:0; border-radius:8px; overflow:hidden; background:var(--bg-dark); scroll-snap-align:start; }
.cruise-scene:only-child { flex:0 0 100%; max-height:340px; }
.cruise-scene:first-child:nth-last-child(2),.cruise-scene:first-child:nth-last-child(2) + .cruise-scene { flex-basis:calc((100% - 10px)/2); max-height:340px; }
.cruise-scene img { display:block; width:100%; height:100%; object-fit:cover; }
.cruise-scene img.panorama-backdrop { position:absolute; inset:0; transform:scale(1.12); filter:blur(16px) brightness(.7); }
.cruise-scene img.panorama-full { position:relative; object-fit:contain; }
.scene-caption { position:absolute; inset:auto auto 12px 12px; display:flex; align-items:center; gap:5px; padding:4px 9px; background:#0b2434df; color:white; border-radius:4px; font-size:12px; line-height:1.4; font-weight:600; }
.scene-arrow { position:absolute; top:50%; transform:translateY(-50%); display:grid; place-items:center; width:40px; height:48px; color:#fff; background:#081d33a8; border:1px solid #fff8; border-radius:7px; }
.scene-arrow.prev { left:9px; }
.scene-arrow.next { right:9px; }
.scene-arrow:disabled { opacity:.33; cursor:default; }
.cruise-heading { padding:24px 0; margin-bottom:22px; border-bottom:2px solid #d7e2e9; }
.cruise-eyebrow { display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; margin-bottom:8px; color:var(--teal-dark); font-size:13px; font-weight:650; }
.cruise-eyebrow span:last-child { font-size:12px; color:var(--muted); font-weight:500; }
.cruise-heading h1 { color:var(--navy-deep); font-size:clamp(24px,2.5vw,36px); font-weight:800; line-height:1.3; letter-spacing:-.045em; overflow-wrap:anywhere; }
.cruise-heading p { display:flex; align-items:baseline; gap:6px; margin-top:9px; color:#3d6071; font-size:15px; }
.cruise-layout { display:grid; gap:18px; }
.cruise-content { min-width:0; }
.product-booking-dock { display:none; }
.cruise-sailing { display:grid; gap:10px; min-width:0; }
.sailing-dates,.sailing-facts,.sailing-route { padding:18px 22px; border-radius:10px; }
.sailing-dates { display:flex; flex-wrap:wrap; gap:16px 36px; background:#eaf3f6; }
.sailing-dates dt,.sailing-facts dt { color:#496376; font-size:13px; font-weight:600; }
.sailing-dates dd { color:var(--navy); font-size:20px; font-weight:750; font-variant-numeric:tabular-nums; }
.sailing-dates a { display:inline-block; color:#436979; font-weight:600; font-size:13px; text-decoration:underline; }
.sailing-route { background:var(--navy-deep); color:#fff; }
.sailing-route h2 { font-size:13px; color:#afd8df; font-weight:600; margin-bottom:7px; }
.sailing-route ol { display:inline; padding:0; margin:0; list-style:none; }
.sailing-route li { display:inline-block; font-weight:650; font-size:clamp(16px,2vw,22px); }
.sailing-route i { margin-inline:6px; font-style:normal; color:#8fb7cb; }
.sailing-route > span { display:inline-block; margin-left:8px; color:#bcdae4; font-size:13px; }
.sailing-facts { display:grid; grid-template-columns:auto 1fr; gap:10px 20px; align-items:baseline; margin:0; background:#f1f5f8; }
.sailing-gallery-link { justify-self:start; color:var(--navy); padding:6px 2px; font-size:14px; font-weight:600; }
.sailing-includes.detail-section { padding:16px 20px; background:#fff; border:1px solid var(--line); border-radius:10px; }
.sailing-includes.detail-section h2 { margin-bottom:12px; color:var(--navy); font-size:17px; }
.sailing-includes .two-col { gap:18px; }
.sailing-includes .two-col h3 { font-size:14px; }
.sailing-includes .check-list { margin:6px 0 0; font-size:13px; }
.cruise-fares {
  --fare-inset:18px;
  --fare-top:calc(var(--header-h) + var(--gnb-h) + 12px);
  min-width:0; scroll-margin-top:var(--fare-top);
  border:1px solid #cddce5; border-radius:14px; background:white; box-shadow:0 4px 18px #15394d0b;
}
.fare-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:4px 12px; padding:14px var(--fare-inset); border-radius:13px 13px 0 0; background:#edf5f7; border-bottom:1px solid #d5e3e7; }
.fare-heading h2 { margin:0; color:var(--navy-deep); font-size:20px; font-weight:750; line-height:1.3; }
.fare-start { display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 5px; margin:0; color:#486274; font-size:12.5px; font-weight:550; }
.fare-start strong { color:var(--navy); font-size:17px; font-weight:750; font-variant-numeric:tabular-nums; }
.cruise-fares:focus-visible { outline:2px solid var(--teal-dark); outline-offset:2px; }
.fare-details { min-width:0; padding:16px var(--fare-inset) 12px; }
.booking-calendar h3 { margin:0 0 8px; color:var(--navy); font-size:15px; }
.booking-calendar .overview-calendar { border-radius:9px; }
.booking-calendar .calendar-head { grid-template-columns:42px 1fr 42px; height:42px; }
.booking-calendar .calendar-head button { color:var(--navy); }
.booking-calendar .calendar-head button:disabled { color:#a7b3c0; }
.booking-calendar .calendar-month { line-height:1.2; }
.booking-calendar .calendar-month strong { font-size:19px; color:var(--navy-deep); }
.booking-calendar .calendar-month small { margin-right:5px; font-size:13px; }
.booking-calendar .calendar-week { background:#f6f8fa; }
.booking-calendar .calendar-week span { padding:3px 0; font-size:12px; }
.booking-calendar .calendar-day {
  display:grid; place-items:center; min-height:36px; padding:3px 0 7px;
  border-color:#edf1f4; text-align:center; color:#737f8d; font-size:14px; font-variant-numeric:tabular-nums;
}
.booking-calendar .calendar-day.outside { background:#fafbfc; color:#a9b2bc; }
.booking-calendar .calendar-day.has-status { font-weight:700; color:var(--navy); }
.booking-calendar .calendar-day.is-open { background:#edfaf5; }
.booking-calendar .calendar-day.is-few { background:#fff6e2; }
.booking-calendar .calendar-day.selected { box-shadow:inset 0 0 0 2px #1769b2; background:var(--blue-soft); }
.booking-calendar .calendar-day.today .day-number { min-width:20px; height:20px; margin:0; font-size:13px; }
.booking-calendar .calendar-status {
  position:absolute; left:50%; bottom:4px; transform:translateX(-50%); width:5px; height:5px;
  padding:0; margin:0; border-radius:50%; background:var(--status-dot);
}
.booking-calendar .calendar-status > * { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.booking-calendar .calendar-legend { gap:4px 10px; margin:7px 0 0; font-size:12px; }
.booking-calendar .calendar-legend span::before { width:6px; height:6px; margin:0 4px 2px 0; border-radius:50%; background:var(--status-dot); }
.booking-calendar .is-open,.booking-calendar .calendar-legend span:nth-child(1) { --status-dot:#07816c; }
.booking-calendar .is-few,.booking-calendar .calendar-legend span:nth-child(2) { --status-dot:#ac6800; }
.booking-calendar .is-full,.booking-calendar .calendar-legend span:nth-child(3) { --status-dot:#284a72; }
.booking-calendar .is-closed,.booking-calendar .calendar-legend span:nth-child(4) { --status-dot:#83909c; }
.booking-calendar .calendar-empty { padding:8px; font-size:13px; }
.booking-selected { margin:11px 0 16px; padding:8px 10px; border-radius:6px; background:#eef5f8; color:#315265; font-size:13px; line-height:1.5; }
.booking-form { min-width:0; }
.booking-form .booking-party { flex-direction:row; justify-content:space-between; align-items:center; }
.booking-party .stepper { align-self:auto; }
.booking-party .stepper button:disabled { color:#98a5b4; cursor:default; }
.booking-contact { padding:10px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.booking-contact summary { cursor:pointer; color:var(--navy); font-size:15px; font-weight:650; }
.booking-contact[open] summary { margin-bottom:12px; }
.booking-contact .option-group { margin-bottom:0; }
.fare-details .form-hint { text-align:left; line-height:1.5; }
.booking-actions { padding:10px var(--fare-inset) 6px; border-top:1px solid var(--line); }
.booking-actions .notice-box { padding:7px 10px; margin:0 0 7px; }
.booking-actions .btn-primary,.product-booking-dock .btn-primary { background:#1769bd; color:white; border-color:#1769bd; }
.booking-actions .btn-primary:hover:not(:disabled),.product-booking-dock .btn-primary:hover { background:#105696; }
.fare-contact { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:6px 10px; padding:4px var(--fare-inset) 10px; color:var(--navy); font-size:13px; }
.fare-contact a { display:inline-flex; align-items:center; gap:4px; }
.fare-contact a:hover { text-decoration:underline; }
.fare-contact .icon { width:15px; height:15px; }
.cruise-detail .tab-nav a:hover,.cruise-detail .tab-nav a[aria-current] { color:var(--navy); box-shadow:inset 0 -3px var(--teal-dark); }
@media (min-width:1024px) {
  .cruise-layout {
    grid-template-columns:minmax(0,1fr) clamp(340px,29vw,360px);
    grid-template-areas:"content fares";
    align-items:start;
    gap:24px;
    /* Keep quick-contact buttons in the outer gutter on smaller desktop screens. */
    margin-inline-end:clamp(0px, calc(704px - 50vw), 84px);
  }
  .cruise-content { grid-area:content; }
  .cruise-content .tab-nav a { padding-inline:8px; }
  .cruise-content > #itinerary:last-child {
    min-height:calc(100vh - var(--header-h) - var(--gnb-h) - 12px);
    min-height:calc(100dvh - var(--header-h) - var(--gnb-h) - 12px);
  }
  .cruise-fares {
    grid-area:fares;
    display:flex;
    flex-direction:column;
    position:sticky;
    top:var(--fare-top);
    max-height:calc(100vh - var(--fare-top) - 12px);
    max-height:calc(100dvh - var(--fare-top) - 12px);
  }
  .cruise-fares .booking-form { display:flex; flex-direction:column; min-height:0; }
  .fare-details { min-height:0; overflow-y:auto; scrollbar-width:thin; scrollbar-color:#a5bac8 transparent; scroll-padding:10px; }
  .fare-heading,.booking-actions,.fare-contact { flex-shrink:0; }
}
@media (min-width:1024px) and (max-height:710px) {
  .fare-heading { padding-block:10px; }
  .fare-details { padding-block-start:10px; }
  .booking-calendar .calendar-head { height:36px; }
  .booking-calendar .calendar-day { min-height:30px; }
}
@media (max-width:1023px) {
  body:has(.product-booking-dock) { padding-bottom:calc(66px + env(safe-area-inset-bottom)); }
  body:has(.product-booking-dock) .mobile-bottom { display:none; }
  body:has(.product-booking-dock) .quick-actions { bottom:calc(76px + env(safe-area-inset-bottom)); }
  body.booking-in-view .quick-actions { display:none; }
  #bookingContact { scroll-margin-top:calc(var(--header-h) + var(--gnb-h) + 12px); }
  .product-booking-dock {
    position:fixed; z-index:45; inset:auto 0 0; display:grid;
    grid-template-columns:44px minmax(0,1fr) minmax(0,1.3fr); align-items:stretch; gap:6px;
    background:#fff; border-top:1px solid var(--line);
    padding:8px max(12px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  }
  .product-booking-dock a,.product-booking-dock .btn { min-height:44px; padding-inline:6px; font-size:14px; white-space:nowrap; }
  .product-booking-dock .dock-contact { display:grid; place-items:center; color:var(--navy); border:1px solid var(--line); border-radius:8px; }
  .product-booking-dock .icon { width:18px; height:18px; }
}
@media (max-width:767px) {
  .cruise-detail { padding-top:12px; }
  .cruise-filmstrip { gap:8px; }
  .cruise-scene,.cruise-scene:first-child:nth-last-child(2),.cruise-scene:first-child:nth-last-child(2) + .cruise-scene { flex-basis:83%; aspect-ratio:1.45; }
  .cruise-heading { padding:16px 0; margin-bottom:14px; }
  .sailing-dates,.sailing-facts,.sailing-route { padding:14px 16px; }
  .cruise-fares { --fare-inset:14px; --fare-top:calc(var(--header-h) + 8px); }
  .booking-calendar .calendar-day { min-height:42px; }
}
.option input:disabled + span { color:var(--muted); background:var(--bg-dark); cursor:default; }
.booking-form .field { margin-bottom:14px; }
.option-group { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; margin:0 0 14px; padding:0; border:0; min-width:0; }
.option-group legend { margin-bottom:6px; padding:0; color:var(--navy); font-size:15px; font-weight:650; }
.option { position:relative; display:block; min-width:0; cursor:pointer; }
.option input { position:absolute; opacity:0; }
.option > span { display:flex; flex-direction:column; justify-content:center; gap:2px; min-height:44px; height:100%; padding:8px 9px; border:1px solid #d6dfe6; border-radius:8px; background:#fff; word-break:keep-all; overflow-wrap:anywhere; }
.option b { display:flex; align-items:center; gap:5px; font-size:14.5px; line-height:1.35; }
.option small b { display:inline; color:var(--navy); font-size:13px; font-variant-numeric:tabular-nums; }
.option small { color:var(--muted); font-size:12.5px; }
.option:hover > span { border-color:#b8c2d1; }
.option input:checked + span { border-color:#1769b2; background:#edf5ff; box-shadow:inset 0 0 0 1px #1769b2; }
.option input:focus-visible + span { outline:2px solid #1769b2; outline-offset:2px; }
.booking-summary { display:grid; gap:6px; margin:4px 0 14px; padding:14px; border-radius:10px; background:var(--bg-dark); font-size:14.5px; }
.booking-summary > div { display:flex; align-items:baseline; justify-content:space-between; gap:10px; }
.booking-summary dt { color:var(--muted); }
.booking-summary dd { font-weight:700; text-align:right; }
.booking-summary dd small { display:block; color:var(--teal-dark); font-size:12.5px; font-weight:500; }
.booking-summary .strong dt { color:var(--text); font-weight:700; }
.booking-summary .strong dd { color:var(--accent-dark); font-size:20px; }
.form-hint,.hint { margin-top:8px; color:var(--muted); font-size:12.5px; text-align:center; }
.hint { text-align:left; }
@media (min-width:700px) and (max-width:1023px) {
  .fare-details { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:start; column-gap:24px; }
  .booking-calendar { grid-column:1; grid-row:1 / span 5; }
  .booking-calendar .calendar-day { min-height:42px; }
  .booking-selected,.fare-details > .option-group,.fare-details > .cabin-source,.booking-party,.booking-summary { grid-column:2; }
  .booking-selected { margin-top:0; }
  .booking-contact,.fare-details .form-hint { grid-column:1 / -1; }
}

/* 결제 */
.pay-layout { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:24px; align-items:start; max-width:1040px; margin-inline:auto; }
.pay-card { order:-1; padding:28px; border:1px solid var(--line); border-radius:16px; background:#fff; }
.pay-summary { padding:18px; border:1px solid var(--line); border-radius:16px; background:#fff; }
.pay-summary img { display:block; width:100%; height:150px; margin-bottom:14px; object-fit:cover; border-radius:10px; }
.pay-summary h2 { margin:4px 0; font-size:17px; line-height:1.4; }
.pay-summary p { color:var(--muted); font-size:14px; }
.pay-summary dl { display:grid; gap:6px; margin-top:14px; padding-top:14px; border-top:1px dashed var(--line); font-size:14.5px; }
.pay-summary dl div { display:flex; justify-content:space-between; gap:10px; }
.pay-summary dt { color:var(--muted); }
.pay-summary dd b { color:var(--accent-dark); font-size:18px; }
.pay-code { color:var(--muted); font-family:ui-monospace,Consolas,monospace; font-size:12.5px; }
.pay-title { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-bottom:18px; font-size:22px; color:var(--navy); }
.timer { margin-left:auto; padding:4px 12px; border-radius:16px; color:var(--navy); background:var(--blue-soft); font-size:14px; font-weight:700; font-variant-numeric:tabular-nums; }
.timer.urgent { color:#a12028; background:var(--accent-soft); }
.pay-steps { display:grid; gap:24px; margin:0; padding:0; list-style:none; counter-reset:step; }
.pay-steps > li { position:relative; padding-left:40px; counter-increment:step; }
.pay-steps > li::before { content:counter(step); position:absolute; left:0; top:-2px; display:grid; place-items:center; width:28px; height:28px; border-radius:50%; color:#fff; background:var(--navy); font-size:14px; font-weight:700; }
.pay-box { display:grid; margin-top:12px; border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.pay-box > div { display:grid; grid-template-columns:96px minmax(0,1fr); align-items:center; gap:10px; padding:12px 14px; }
.pay-box > div + div { border-top:1px solid var(--line); }
.pay-box dt { color:var(--muted); font-size:14px; }
.pay-box dd { display:flex; flex-wrap:wrap; align-items:center; gap:8px; min-width:0; }
.pay-box code { min-width:0; font-family:ui-monospace,Consolas,monospace; font-size:14.5px; overflow-wrap:anywhere; }
.pay-box .amount { color:var(--accent-dark); font-size:22px; }
.copy-button { display:inline-flex; align-items:center; gap:3px; min-height:32px; padding:3px 10px; border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--navy); font-size:13px; font-weight:500; }
.copy-button:hover { border-color:var(--navy); }
.copy-button.copied { color:var(--teal-dark); border-color:var(--teal-dark); }
.pay-warn { display:grid; gap:4px; margin:12px 0 0; padding:12px 14px 12px 30px; border-radius:10px; color:#7a4a00; background:var(--amber-soft); font-size:13.5px; }
.pay-form { display:flex; align-items:flex-end; gap:10px; margin-top:12px; }
.pay-form .field { flex:1; }
.pay-result { padding:30px 10px; text-align:center; }
.pay-result > .icon { width:56px; height:56px; padding:12px; border-radius:50%; color:var(--navy); background:var(--blue-soft); }
.pay-result.success > .icon { color:#fff; background:var(--teal-dark); }
.pay-result h2 { margin:14px 0 8px; font-size:22px; }
.pay-result p { margin-bottom:20px; color:var(--muted); }

/* 마이페이지·상태 */
.reservation-card { grid-template-columns:96px minmax(0,1fr); align-items:start; }
.reservation-actions { grid-column:1/-1; display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding-top:12px; border-top:1px dashed var(--line); }
.reservation-actions:empty { display:none; }
.pay-choice { display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:14.5px; font-weight:500; }
.reservation-actions .btn { min-height:40px; padding:8px 14px; font-size:14.5px; }
.reservation-actions [data-cancel] { margin-left:auto; }
.status-chip { color:var(--amber-dark); background:var(--amber-soft); }
.status-chip.is-confirmed { color:var(--teal-dark); background:var(--teal-soft); }
.status-chip.is-paid { color:#fff; background:var(--navy); }
.status-chip.is-submitted { color:var(--blue); background:var(--blue-soft); }
.status-chip.is-cancelled,.status-chip.is-expired { color:#6b7280; background:#eceff3; }

/* 임시 관리자 */
.admin { padding-block:28px 60px; }
.admin-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.admin-head h1 { font-size:24px; color:var(--navy); }
.admin-table-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:12px; background:#fff; }
.admin-table { width:100%; min-width:900px; border-collapse:collapse; font-size:14px; }
.admin-table th { padding:10px 12px; text-align:left; color:var(--muted); font-size:13px; font-weight:500; background:var(--bg-dark); }
.admin-table td { padding:12px; vertical-align:top; border-top:1px solid var(--line); }
.admin-table small { color:var(--muted); }
.admin-payment + .admin-payment { margin-top:8px; }
.admin-payment .btn { min-height:30px; margin-left:6px; padding:3px 10px; font-size:13px; }

@media (max-width:991px) {
  .country-panel { grid-template-columns:repeat(4,1fr); gap:10px; padding:10px; margin-top:-130px; }
  .country-content strong { font-size:17px; }
  .promo-grid { grid-template-columns:repeat(2,1fr); }
  .pay-layout { grid-template-columns:minmax(0,1fr); }
  .pay-card { order:0; }
  .pay-summary { display:grid; grid-template-columns:96px minmax(0,1fr); gap:14px; }
  .pay-summary img { width:96px; height:96px; margin:0; }
}
@media (max-width:767px) {
  .brand img { width:34px; height:34px; }
  .brand-text b { font-size:18px; }
  .hero-copy a { padding:10px 18px 10px 22px; }
  .country-panel { grid-template-columns:repeat(2,1fr); gap:6px; width:calc(100% - 24px); margin-top:-120px; padding:0; }
  .country-card { height:64px; color:#fff; background:var(--country-bg) center/cover; }
  .country-shade { display:block; }
  .country-content { padding:8px 12px; }
  .country-content strong { font-size:15.5px; }
  .country-content small { font-size:11.5px; }
  .promo-card { min-height:104px; padding:12px 6px 12px 14px; }
  .promo-text strong { font-size:15.5px; }
  .promo-text small { font-size:12px; }
  .promo-grid .promo-card img { width:64px; height:64px; }
  .banner-d { margin-block:48px; }
  .wide-banner { min-height:190px; padding:22px 20px; border-radius:14px; background-position:70% center; }
  .wide-banner::before { background:linear-gradient(90deg,rgba(7,29,58,.88),rgba(7,29,58,.6) 70%,rgba(7,29,58,.3)); }
  .wide-banner-text strong { font-size:23px; }
  .wide-banner-text small { font-size:13.5px; }
  .pay-card { padding:20px 16px; }
  .pay-steps > li { padding-left:0; padding-top:36px; }
  .pay-box > div { grid-template-columns:76px minmax(0,1fr); padding:10px 12px; }
  .pay-box .amount { font-size:19px; }
  .pay-form { flex-direction:column; align-items:stretch; }
  .reservation-actions [data-cancel] { margin-left:0; }
}

/* ==========================================================================
   v2.1: 관리자 화면 · 발급 대기
   ========================================================================== */
.pay-polling { color:var(--teal-dark) !important; font-size:13.5px; }
.status-chip.is-requested { color:var(--accent-dark); background:var(--accent-soft); }
.status-chip.is-rejected { color:#6b7280; background:#eceff3; }

.admin { max-width:1280px; padding-block:0 60px; }
.admin-top { position:sticky; top:0; z-index:20; display:flex; align-items:center; gap:20px; margin-inline:-12px; padding:10px 12px; background:#fff; border-bottom:1px solid var(--line); }
.admin-tabs { display:flex; flex:1; gap:4px; overflow-x:auto; scrollbar-width:none; }
.admin-tabs a { display:inline-flex; align-items:center; gap:6px; padding:9px 14px; border-radius:8px; font-weight:500; white-space:nowrap; }
.admin-tabs a:hover { background:var(--bg-dark); }
.admin-tabs a[aria-current] { color:#fff; background:var(--navy); }
.admin-tabs i { min-width:20px; padding:1px 6px; border-radius:10px; color:#fff; background:var(--accent-dark); font-size:12px; font-style:normal; font-weight:700; text-align:center; }
.admin-top .btn { min-height:38px; padding:6px 14px; }
.admin-view { padding-top:24px; }
.admin-view h1 { margin-bottom:16px; font-size:24px; color:var(--navy); }
.admin-view h2 { margin:30px 0 12px; font-size:18px; color:var(--navy); }
.admin-head h1 { margin-bottom:0; }
.count { margin-left:4px; padding:1px 9px; border-radius:12px; color:var(--navy); background:var(--blue-soft); font-size:13px; font-weight:700; vertical-align:middle; }
.admin-empty { padding:6px 0 4px; color:var(--muted); font-size:14px; }
.admin-cards { display:grid; grid-template-columns:repeat(auto-fill,minmax(360px,1fr)); gap:14px; }
.admin-card { display:flex; flex-direction:column; gap:10px; padding:16px; border:1px solid var(--line); border-radius:14px; background:#fff; }
.admin-card > header { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.admin-card time { color:var(--muted); font-size:12.5px; }
.admin-card small { color:var(--muted); }
.admin-card code,.admin-table code { font-family:ui-monospace,Consolas,monospace; font-size:13px; overflow-wrap:anywhere; }
.admin-amount { font-size:14.5px; }
.admin-amount b { color:var(--accent-dark); font-size:17px; }
.admin-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:6px; }
.admin-actions .btn { min-height:40px; padding:8px 16px; }
.issue-form fieldset { display:grid; gap:6px; margin:0; padding:0; border:0; }
.issue-form legend { margin-bottom:6px; padding:0; font-size:13.5px; font-weight:700; }
.issue-option { position:relative; display:block; cursor:pointer; }
.issue-option input { position:absolute; opacity:0; }
.issue-option span { display:flex; flex-direction:column; padding:8px 12px; border:1.5px solid var(--line); border-radius:10px; font-size:14px; }
.issue-option input:checked + span { border-color:var(--navy); background:var(--blue-soft); }
.issue-option input:focus-visible + span { outline:2px solid var(--navy); outline-offset:2px; }
.issue-manual { margin-top:10px; gap:10px; }
.admin-filter { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:14px 0; }
.admin-filter select,.admin-filter input[type=search] { height:40px; padding:0 10px; border:1px solid #cfcfcf; border-radius:8px; background:#fff; }
.admin-filter input[type=search] { flex:1; min-width:180px; }
.admin-bulk { display:flex; gap:6px; margin-left:auto; }
.admin-bulk .btn,.admin-table .btn { min-height:34px; padding:4px 12px; font-size:13.5px; }
.admin-table img { display:block; width:56px; height:56px; object-fit:cover; border-radius:8px; }
.admin-table input[type=number] { width:120px; height:36px; padding:0 8px; border:1px solid #cfcfcf; border-radius:8px; }
.admin-table input[type=checkbox],.admin-filter input[type=checkbox] { width:18px; height:18px; accent-color:var(--navy); }
.admin-table a b:hover { text-decoration:underline; }
.admin-pays > div + div { margin-top:6px; }
.admin-form { max-width:900px; padding:22px; border:1px solid var(--line); border-radius:14px; background:#fff; }
.admin-form fieldset { margin:0; padding:0; border:0; }
.admin-form legend { margin-bottom:6px; padding:0; font-size:14px; font-weight:500; }
.account-add { margin-top:12px; }
.cabin-row { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto; gap:8px; margin-bottom:8px; }
.image-picker { display:flex; align-items:center; gap:16px; }
.image-picker img { width:120px; height:120px; object-fit:cover; border-radius:12px; border:1px solid var(--line); background:var(--bg-dark); }
.image-picker input[type=file] { min-height:0; padding:8px; }
.admin-inline { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
.admin-inline input { height:42px; padding:0 10px; border:1px solid #cfcfcf; border-radius:8px; }
.admin-toast { position:fixed; z-index:300; left:50%; bottom:28px; max-width:calc(100% - 32px); padding:12px 20px; border-radius:10px; color:#fff; background:var(--navy-deep); box-shadow:var(--shadow); transform:translateX(-50%); }
.admin-toast.error { background:#a12028; }
@media (max-width:767px) {
  body:has(.admin) { padding-bottom:0; }
  .admin-top { flex-wrap:wrap; gap:8px; }
  .admin-tabs { order:3; flex:0 0 100%; }
  .admin-cards { grid-template-columns:minmax(0,1fr); }
  .admin-bulk { margin-left:0; }
  .cabin-row { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
}

/* ==========================================================================
   v2.5: 선박 사진·영상 갤러리
   ========================================================================== */
#gallery h2 small { margin-left:8px; color:var(--muted); font-size:14px; font-weight:400; }
.gallery-tags { display:flex; flex-wrap:wrap; gap:8px; margin:14px 0; }
.gallery-tags button { min-height:36px; padding:6px 14px; border:1px solid var(--line); border-radius:18px; color:var(--text); background:#fff; font-size:14px; }
.gallery-tags button.active { color:#fff; border-color:var(--navy); background:var(--navy); }
.gallery-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:12px; }
.gallery-item { position:relative; display:flex; flex-direction:column; padding:0; overflow:hidden; border:1px solid var(--line); border-radius:12px; background:#fff; text-align:left; }
.gallery-item[hidden] { display:none; }
.gallery-item img { display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; transition:transform .3s; }
.gallery-item:hover img { transform:scale(1.04); }
.gallery-thumb { position:relative; display:block; width:100%; overflow:hidden; background:var(--bg-dark); }
.gallery-tag { display:block; padding:10px 12px 2px; color:var(--navy); font-size:14px; }
.gallery-title { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; margin:0 12px 12px; font-size:15px; line-height:1.45; overflow-wrap:anywhere; }
.gallery-item .play { position:absolute; top:calc(50% - 24px); left:calc(50% - 24px); width:48px; height:48px; border-radius:50%; background:rgba(20,31,48,.85); box-shadow:0 2px 10px rgba(0,0,0,.35); }
.gallery-item .play::after { content:''; position:absolute; top:14px; left:19px; border:10px solid transparent; border-left:15px solid #fff; border-right:0; }
.lightbox { position:fixed; z-index:400; inset:0; display:flex; align-items:center; justify-content:center; gap:8px; padding:16px; background:rgba(8,14,28,.92); }
.lightbox[hidden] { display:none; }
.lightbox figure { display:flex; flex-direction:column; max-width:min(1100px,100%); max-height:100%; margin:0; }
.lightbox-stage { display:flex; align-items:center; justify-content:center; min-height:0; }
.lightbox-stage img { max-width:100%; max-height:calc(100vh - 150px); border-radius:8px; }
.lightbox-stage iframe { width:min(1100px,calc(100vw - 140px)); aspect-ratio:16/9; max-height:calc(100vh - 150px); border:0; border-radius:8px; background:#000; }
.lightbox figcaption { display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 12px; padding:12px 4px 0; color:#fff; font-size:15px; }
.lightbox figcaption small { color:#c6cede; font-size:12.5px; }
.lightbox figcaption small a { text-decoration:underline; }
.lightbox figcaption span { margin-left:auto; color:#c6cede; font-size:13px; }
.lightbox-close,.lightbox-nav { flex:none; width:46px; height:46px; border:0; border-radius:50%; color:#fff; background:rgba(255,255,255,.16); font-size:28px; line-height:1; }
.lightbox-close { position:absolute; top:14px; right:14px; }
.lightbox-close:hover,.lightbox-nav:hover { background:rgba(255,255,255,.3); }

/* Visitor ads and the admin's live preview share the card. */
.promo-popup-card {
  --promo-popup-width:360px;
  width:min(100%, var(--promo-popup-width)); min-width:0; max-height:68vh; max-height:68dvh;
  display:flex; flex-direction:column; overflow:hidden; pointer-events:auto;
  border:1px solid #d3dce4; border-radius:14px; background:white; color:var(--navy-deep);
  box-shadow:0 4px 16px #0b2f5b26;
}
.promo-popup-card[data-size="small"] { --promo-popup-width:280px; }
.promo-popup-card[data-size="large"] { --promo-popup-width:460px; }
.promo-popup-body { overflow:auto; min-height:0; scrollbar-width:thin; }
.promo-popup-content { display:block; color:inherit; text-decoration:none; }
.promo-popup-image { display:block; width:100%; height:auto; max-height:48vh; max-height:48dvh; object-fit:contain; background:#f3f6f8; }
.promo-popup-text { margin:0; padding:18px 20px; white-space:pre-wrap; word-break:keep-all; overflow-wrap:anywhere; font-size:16px; line-height:1.65; }
.promo-popup-link { display:flex; align-items:center; gap:8px; width:fit-content; margin:14px 20px; color:var(--blue); font-size:14px; font-weight:700; }
.promo-popup-text + .promo-popup-link { margin-top:-8px; }
.promo-popup-content:hover .promo-popup-link { text-decoration:underline; }
.promo-popup-actions { display:flex; flex:none; justify-content:space-between; gap:4px; border-top:1px solid var(--line); background:white; }
.promo-popup-actions button,.promo-popup-pager button { min-height:44px; padding:6px 14px; border:0; background:transparent; font-size:13px; color:#42576d; }
.promo-popup-actions button:last-child { font-weight:700; color:var(--navy-deep); }
.promo-popup-actions button:hover:not(:disabled),.promo-popup-pager button:hover { background:var(--bg-dark); }
.promo-popup-actions button:disabled { opacity:1; cursor:default; }
.promo-popup-card :focus-visible,.promo-popup-pager :focus-visible { outline:2px solid var(--blue); outline-offset:-3px; }
.promo-popup-layer {
  --promo-popup-top:calc(var(--header-h) + var(--gnb-h) + 8px);
  position:fixed; z-index:62; inset:var(--promo-popup-top) 8px auto;
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start; pointer-events:none;
}
.promo-popup-lane {
  --lane-width:280px;
  grid-row:1; display:grid; align-content:start; gap:12px; min-width:0; padding:8px;
  width:min(100%,calc(var(--lane-width) + 16px)); pointer-events:auto;
  max-height:calc(100vh - var(--promo-popup-top) - 8px); max-height:calc(100dvh - var(--promo-popup-top) - 8px);
  overflow:auto; scrollbar-width:thin;
}
.promo-popup-lane:has([data-size="medium"]) { --lane-width:360px; }
.promo-popup-lane:has([data-size="large"]) { --lane-width:460px; }
.promo-popup-lane[data-position="left"] { grid-column:1; justify-items:start; justify-self:start; }
.promo-popup-lane[data-position="center"] { grid-column:2; justify-items:center; justify-self:center; }
.promo-popup-lane[data-position="right"] { grid-column:3; justify-items:end; justify-self:end; }
.promo-popup-layer.single-lane .promo-popup-lane { grid-column:1 / -1; }
.promo-popup-pager { display:none; }
body.no-scroll .promo-popup-layer,body:has(#customerPopover.show) .promo-popup-layer { visibility:hidden; }
@media (min-width:1024px) {
  .promo-popup-layer { right:var(--promo-popup-right,8px); }
}
@media (max-width:1023px) {
  body.booking-in-view .promo-popup-layer { visibility:hidden; }
}
@media (max-width:767px) {
  .promo-popup-layer { inset:auto 12px calc(76px + env(safe-area-inset-bottom)); display:flex; flex-direction:column; align-items:center; gap:4px; }
  .promo-popup-lane { display:contents; }
  .promo-popup-layer .promo-popup-card { max-height:min(52vh,calc(100vh - 185px)); max-height:min(52dvh,calc(100dvh - 185px)); }
  .promo-popup-layer .promo-popup-card:not(.is-current) { display:none; }
  .promo-popup-pager {
    display:flex; align-items:center; min-height:36px; border:1px solid #d3dce4;
    border-radius:22px; background:#fff; box-shadow:0 2px 8px #0b2f5b22; pointer-events:auto;
  }
  .promo-popup-pager button { width:44px; min-height:36px; border-radius:22px; color:var(--navy); font-size:22px; line-height:1; }
  .promo-popup-count { min-width:38px; font-size:12px; text-align:center; font-variant-numeric:tabular-nums; }
}
@media print { .promo-popup-layer { display:none; } }
.media-admin { display:grid; grid-template-columns:repeat(auto-fill,minmax(170px,1fr)); gap:10px; margin:12px 0; }
.media-admin > div { display:flex; flex-direction:column; gap:6px; padding:8px; border:1px solid var(--line); border-radius:10px; background:#fff; }
.media-admin img { width:100%; aspect-ratio:3/2; object-fit:cover; border-radius:6px; }
.media-admin input { width:100%; height:34px; padding:0 8px; border:1px solid #cfcfcf; border-radius:8px; }
.media-admin .btn { min-height:32px; padding:2px 10px; font-size:13px; }
@media (max-width:767px) {
  .gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .lightbox { padding:8px; gap:2px; }
  .lightbox-nav { position:absolute; bottom:14px; }
  .lightbox-nav.prev { left:14px; } .lightbox-nav.next { right:14px; }
  .lightbox-stage iframe { width:calc(100vw - 16px); }
  .lightbox figcaption { padding-bottom:60px; }
}
