/*
Theme Name: 프레스런 숙박 테마
Theme URI: https://presslearn.co.kr
Author: 로알남
Author URI: https://presslearn.co.kr
Description: 숙박 제휴마케팅 전용 테마. 글 하나에 숙소 하나 - 트립닷컴·아고다·야놀자 예약 버튼과 시설·위치 정보를 입력만 하면 완성됩니다.
Version: 1.7.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: presslearn-stay
*/

:root {
  --ink: #17202c;
  --ink-soft: #4b5563;
  --ink-muted: #8b95a1;
  --line: #e6e9ef;
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --price: #e03131;
  --cta: #2b5ce6;
  --cta-dark: #1e46bd;
  --good-bg: #eef7ee;
  --good-text: #23662b;
  --bad-bg: #fdeeee;
  --bad-text: #9c2b2b;
  --card: #ffffff;
  --radius: 14px;
  --font-base: 16px;
}

/* 기본 탭의 모서리 스타일·글자 크기 (body 클래스가 .pls-style-b보다 우선하도록 body와 함께 쓴다) */
body.pls-corner-square { --radius: 0px; }
body.pls-corner-soft { --radius: 6px; }
body.pls-corner-xround { --radius: 22px; }
body.pls-font-small { --font-base: 14px; }
body.pls-font-big { --font-base: 18px; }
body.pls-font-xl { --font-base: 20px; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-size: var(--font-base);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ---------- header ---------- */
.site-header {
  position: relative;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-sticky { position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header.is-sticky { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header.is-sticky { top: 46px; } }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; height: 62px;
}
.site-logo {
  display: flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 18px; letter-spacing: -.01em;
  min-width: 0; flex-shrink: 0;
}
.site-logo span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-logo img { width: 28px; height: 28px; flex-shrink: 0; border-radius: max(0px, calc(var(--radius) - 7px)); }
.site-logo img.site-logo-custom { width: auto; height: 28px; max-width: 170px; border-radius: 0; object-fit: contain; }

/* 헤더 정렬 설정이 로고와 도구 영역(검색·다크모드)의 위치를 바꾼다 */
.header-tools {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 12px; flex: 1; min-width: 0;
}
.site-header.pls-header-center .wrap { position: relative; justify-content: center; }
.site-header.pls-header-center #pls-menu-toggle { position: absolute; left: 20px; }
.site-header.pls-header-center .header-tools { position: absolute; right: 20px; flex: 0 1 auto; }
.site-header.pls-header-center .header-search { max-width: 260px; }
.site-header.pls-header-right .site-logo { order: 3; margin-left: auto; }
.site-header.pls-header-right .header-tools { order: 2; justify-content: flex-start; }
.site-header.pls-header-right #pls-menu-toggle { order: 1; }
/* 모바일에서는 폭이 좁아 겹칠 수 있으므로 기본(왼쪽) 배치로 되돌린다 */
@media (max-width: 782px) {
  .site-header.pls-header-center .wrap { justify-content: space-between; }
  .site-header.pls-header-center #pls-menu-toggle,
  .site-header.pls-header-center .header-tools { position: static; }
  .site-header.pls-header-right .site-logo,
  .site-header.pls-header-right .header-tools,
  .site-header.pls-header-right #pls-menu-toggle { order: 0; margin-left: 0; }
}

.header-search { flex: 1; max-width: 420px; }
.header-search form { display: flex; }
.header-search input[type="search"] {
  flex: 1; min-width: 0;
  font: inherit; font-size: 14px;
  border: 1px solid var(--line); border-right: none;
  border-radius: 999px 0 0 999px;
  padding: 9px 18px; outline: none; background: var(--bg-alt);
}
.header-search input[type="search"]:focus { border-color: var(--cta); background: var(--card); }
.header-search button {
  font: inherit; font-size: 14px; font-weight: 600; color: #fff;
  background: var(--cta); border: none; cursor: pointer;
  padding: 0 18px; border-radius: 0 999px 999px 0;
}
.header-search button:hover { background: var(--cta-dark); }

/* ---------- home hero ---------- */
.home-hero { padding: 44px 0 10px; text-align: center; }
.home-hero h1 { font-size: 30px; letter-spacing: -.02em; }
.home-hero p { margin-top: 8px; font-size: 16px; color: var(--ink-soft); }

.cat-chips {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  padding-top: 22px; padding-bottom: 6px;
}
.cat-chips a {
  font-size: 14px; font-weight: 500;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px; background: var(--card);
  transition: all .12s ease;
}
.cat-chips a:hover, .cat-chips a.active {
  border-color: var(--cta); color: var(--cta); background: #eaf0fe;
}

/* ---------- product grid ---------- */
.archive-title { padding: 34px 0 0; font-size: 22px; }
.grid-section { padding: 26px 0 50px; }
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.product-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--card);
  transition: box-shadow .15s ease, transform .15s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: 0 8px 24px rgba(23,32,44,.08); transform: translateY(-2px); }
.card-thumb { aspect-ratio: 1 / 1; background: var(--bg-alt); position: relative; }
.card-thumb img { width: 100%; height: 100%; object-fit: contain; }
.card-badge {
  position: absolute; top: 10px; left: 10px;
  font-size: 12px; font-weight: 700; color: var(--cta);
  background: #eaf0fe; padding: 3px 10px; border-radius: 999px;
}
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-cat { font-size: 12px; color: var(--ink-muted); }
.card-title {
  font-size: 15px; font-weight: 600; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-rating { font-size: 13px; color: var(--ink-soft); }
.card-rating .stars { color: #f5a623; }
.card-price { margin-top: auto; padding-top: 6px; font-size: 17px; font-weight: 800; color: var(--price); }
.card-price small { font-size: 13px; font-weight: 600; }
.card-price .dc { color: var(--price); margin-right: 4px; }

.no-posts { padding: 60px 0; text-align: center; color: var(--ink-soft); }

/* 검색 결과 "간단 리스트" */
.stay-rows { display: flex; flex-direction: column; gap: 10px; }
.stay-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: max(0px, calc(var(--radius) - 4px)); padding: 12px 14px;
}
.stay-row:hover { border-color: var(--cta); }
.stay-row .sr-thumb {
  width: 72px; height: 72px; flex-shrink: 0; overflow: hidden;
  border-radius: max(0px, calc(var(--radius) - 6px)); background: var(--bg-alt);
}
.stay-row .sr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.stay-row .sr-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stay-row .sr-name { font-weight: 700; font-size: 16px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stay-row .sr-meta { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.stay-row .sr-price { font-weight: 700; color: var(--price); }
@media (max-width: 560px) {
  .stay-row .sr-thumb { width: 58px; height: 58px; }
  .stay-row .sr-name { font-size: 15px; white-space: normal; }
}

/* pagination */
.pagination { display: flex; gap: 6px; justify-content: center; padding: 6px 0 20px; }
.pagination .page-numbers {
  min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: max(0px, calc(var(--radius) - 4px)); font-size: 14px; padding: 0 10px;
}
.pagination .page-numbers.current { background: var(--cta); border-color: var(--cta); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--cta); color: var(--cta); }

/* ---------- single product ---------- */
.back-link {
  display: inline-flex; align-items: center; gap: 4px;
  margin: 22px 0 0; font-size: 14px; color: var(--ink-soft);
}
.back-link:hover { color: var(--cta); }

.product-top {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px;
  padding-top: 24px; padding-bottom: 40px; align-items: start;
}
.pt-media { position: sticky; top: 82px; min-width: 0; }
.pt-figure {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); aspect-ratio: 1 / 1; margin: 0;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.pt-figure img { width: 100%; height: 100%; object-fit: contain; }
.pt-thumbs .pt-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pt-info .badge {
  display: inline-block; font-size: 13px; font-weight: 700;
  color: var(--cta); background: #eaf0fe;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.pt-info h1 { font-size: 26px; line-height: 1.4; letter-spacing: -.02em; margin: 12px 0 0; }
.pt-info .subtitle { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--ink-soft); }
.pt-info .rating { margin-top: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }
.pt-info .rating .stars { color: #f5a623; letter-spacing: 2px; margin-right: 6px; }
.pt-info .rating strong { color: var(--ink); }

.price-box { margin-top: 16px; }
.price-original { font-size: 14px; color: var(--ink-muted); text-decoration: line-through; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-top: 2px; }
.discount { font-size: 22px; font-weight: 800; color: var(--price); }
.price-label { font-size: 14px; color: var(--ink-soft); }
.price { font-size: 32px; font-weight: 800; color: var(--price); letter-spacing: -.02em; }
.price small { font-size: 19px; font-weight: 700; }

.cta-btn {
  display: block; margin-top: 20px;
  background: var(--cta); color: #fff; text-align: center;
  font-size: 17px; font-weight: 700; padding: 16px 20px;
  border-radius: var(--radius);
  transition: background .15s ease, transform .1s ease;
}
.cta-btn:hover { background: var(--cta-dark); }
.cta-btn:active { transform: scale(.985); }
.cta-disclosure { margin-top: 16px; font-size: 13px; color: var(--ink-soft); line-height: 1.8; }
.cta-note { margin-top: 8px; font-size: 13px; color: var(--ink-muted); line-height: 1.8; }


/* ---------- single sections ---------- */
.section { padding: 36px 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-alt); }
.section h2 {
  font-size: 20px; letter-spacing: -.01em; margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}
.section h2::before {
  content: ""; width: 4px; height: 17px; border-radius: 2px; background: var(--cta);
}

.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table th {
  text-align: left; font-weight: 500; color: var(--ink-soft);
  padding: 11px 8px; width: 30%; white-space: nowrap;
}
.spec-table td { padding: 11px 8px; font-weight: 600; }

.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pc-card { border-radius: var(--radius); padding: 20px; font-size: 15px; }
.pc-card.good { background: var(--good-bg); }
.pc-card.bad { background: var(--bad-bg); }
.pc-card h3 { font-size: 15px; margin-bottom: 12px; }
.pc-card.good h3 { color: var(--good-text); }
.pc-card.bad h3 { color: var(--bad-text); }
.pc-card ul { list-style: none; }
.pc-card li { padding: 4px 0 4px 22px; position: relative; }
.pc-card.good li::before { content: "✓"; position: absolute; left: 0; color: var(--good-text); font-weight: 700; }
.pc-card.bad li::before { content: "✕"; position: absolute; left: 0; color: var(--bad-text); font-weight: 700; }

.review-body { font-size: var(--font-base); color: #2c3540; }
.review-body p { margin-bottom: 1.1em; }
.review-body h2, .review-body h3 { margin: 1.6em 0 .6em; }
.review-body h2 { font-size: 1.25em; }
.review-body h3 { font-size: 1.125em; }
.review-body img { border-radius: max(0px, calc(var(--radius) - 2px)); margin: 1em 0; }
.review-body ul, .review-body ol { padding-left: 1.4em; margin-bottom: 1.1em; }

.final-cta { text-align: center; padding: 44px 0 52px; }
.final-cta p.lead { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.final-cta p.sub { font-size: 15px; color: var(--ink-soft); margin-bottom: 4px; }
.final-cta .cta-btn { max-width: 480px; margin-left: auto; margin-right: auto; }

/* generic page */
.page-body { padding: 40px 0 60px; }
.page-body h1 { font-size: 26px; margin-bottom: 20px; }
.page-content { font-size: var(--font-base); }
.page-content p { margin-bottom: 1.1em; }
.page-content h2 { font-size: 1.25em; margin: 1.6em 0 .6em; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line); background: var(--bg-alt);
  padding: 30px 0; text-align: center;
}
.footer-menu { display: flex; gap: 18px; justify-content: center; margin-bottom: 14px; font-size: 14px; color: var(--ink-soft); }
.footer-menu a:hover { color: var(--cta); }
.disclosure {
  font-size: 13px; color: var(--ink-soft); background: var(--card);
  border: 1px solid var(--line); border-radius: max(0px, calc(var(--radius) - 4px));
  padding: 12px 16px; display: inline-block; margin-bottom: 14px;
}
.footer-sns { display: flex; gap: 10px; justify-content: center; margin-bottom: 14px; }
.footer-sns a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center; color: var(--ink-soft);
}
.footer-sns a:hover { color: var(--cta); border-color: var(--cta); }
.copyright { font-size: 12px; color: var(--ink-muted); }
.footer-biz { font-size: 13px; margin-top: 10px; line-height: 1.7; color: var(--ink-soft); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-top { grid-template-columns: 1fr; gap: 22px; padding-top: 16px; }
  .pt-media { position: static; max-width: 440px; margin: 0 auto; width: 100%; }
  .home-hero h1 { font-size: 24px; }
  .header-search { display: none; }
  .mobile-search { display: block; padding: 14px 0 0; }
  .pc-grid { grid-template-columns: 1fr; }
}
@media (min-width: 721px) {
  .mobile-search { display: none; }
}
@media (max-width: 420px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .card-body { padding: 10px 12px 12px; }
  .card-title { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product-card, .cta-btn { transition: none; }
}

.site-logo-img { height: 28px; width: auto; display: block; }

/* ---------- v1.1: 신규 기능 ---------- */
/* 홈 섹션 제목 / 인기 상품 */
.home-section-title { font-size: 20px; font-weight: 800; margin: 26px 0 14px; }
.popular-products { padding-top: 6px; }
.product-grid.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .product-grid.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 정렬 탭 */
.pls-sort-tabs { display: flex; gap: 6px; margin: 0 0 16px; }
.pls-sort-tab { font-size: 13.5px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); }
.pls-sort-tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }

/* 가격 기준일 */
.price-date { font-size: 12px; color: var(--ink-muted); margin-bottom: 2px; }

/* 광고 슬롯 */
.pls-slot { margin: 22px auto; }

/* 관련 상품 */
.related-products { border-top: 1px solid var(--line); }
.related-products h2 { font-size: 20px; font-weight: 800; margin-bottom: 16px; }

/* 모바일 하단 고정 구매 버튼 */
.pls-sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}
.pls-sticky-cta .sc-price { font-size: 14px; white-space: nowrap; }
.pls-sticky-cta .sc-price strong { color: var(--price); font-size: 17px; }
.pls-sticky-cta .cta-btn { flex: 1; margin: 0; padding: 12px 10px; font-size: 15px; text-align: center; }
@media (max-width: 768px) {
  .pls-sticky-cta { display: flex; }
  body.single { padding-bottom: 74px; }
}

/* ---------- v1.2: 페이지 구성 ---------- */
/* 상단 배치 */
.product-top.pt-layout-right .pt-media { order: 2; }
.product-top.pt-layout-right .pt-info { order: 1; }
.product-top.pt-layout-stack { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; gap: 20px; }
.product-top.pt-layout-stack .pt-media { max-width: 440px; margin: 0 auto; width: 100%; }
.product-top.pt-layout-stack .pt-info { text-align: center; }
.product-top.pt-layout-stack .pt-info .cta-btn,
.product-top.pt-layout-stack .pt-info /* 카드 열 수 */
.product-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .product-grid.cols-3, .product-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .product-grid, .product-grid.cols-2 { grid-template-columns: 1fr; } }



/* ---------- v1.6: 상품 이미지 갤러리 ---------- */
#pls-main-img { transition: opacity .15s ease; }
.pt-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pt-thumbs .pt-thumb {
  width: 64px; height: 64px; padding: 0; border: 2px solid var(--line); border-radius: max(0px, calc(var(--radius) - 4px));
  overflow: hidden; cursor: pointer; background: var(--card); flex: none;
}
.pt-thumbs .pt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pt-thumbs .pt-thumb.is-active { border-color: var(--cta); }
.pt-thumbs .pt-thumb:hover { border-color: var(--cta-dark); }
@media (max-width: 560px) { .pt-thumbs .pt-thumb { width: 56px; height: 56px; } }

/* ---------- v1.7.1: 모바일 상단 정보 간격 ---------- */
@media (max-width: 768px) {
  .pt-info { padding-top: 10px; }
  .pt-info h1 { font-size: 22px; line-height: 1.45; margin-top: 14px; }
  .pt-info .subtitle { margin-top: 10px; }
  .pt-info .rating { margin-top: 18px; padding-bottom: 18px; }
  .price-box { margin-top: 18px; }
  .price-row { margin-top: 6px; }
  .pt-info .cta-btn { margin-top: 18px; }
  .cta-disclosure { margin-top: 12px; line-height: 1.6; }
  .pt-thumbs { margin-top: 12px; }
}


/* ---------- 숙박: 보조 예약 버튼 · 시설 · 위치 ---------- */
.alt-btns { display: flex; gap: 8px; margin-top: 8px; }
.alt-btn {
  flex: 1; text-align: center; border: 1.5px solid var(--line); color: var(--ink);
  background: var(--card); border-radius: var(--radius); padding: 12px 8px;
  font-size: 14px; font-weight: 700; transition: border-color .15s ease, color .15s ease;
}
.alt-btn:hover { border-color: var(--cta); color: var(--cta); }
.product-top.pt-layout-stack .pt-info .alt-btns { max-width: 360px; margin-left: auto; margin-right: auto; }
.facility-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px;
  list-style: none; padding: 0; margin: 0; font-size: 15px; color: var(--ink-soft);
}
.stay-address { font-size: 15.5px; color: var(--ink); }
.map-link { color: var(--cta); font-weight: 700; }
.map-link:hover { text-decoration: underline; }
.nearby-list { list-style: none; padding: 0; margin: 10px 0 0; color: var(--ink-muted); font-size: 14px; }
.nearby-list li { padding: 3px 0; }
@media (max-width: 560px) {
  .facility-grid { grid-template-columns: 1fr; }
  .alt-btns { flex-direction: column; }
}

/* ==================================================
 * 트립닷컴 스타일 개편 (v1.1)
 * ================================================== */

/* ---------- 홈 히어로: 그라데이션 + 대형 검색 필 ---------- */
.stay-hero {
  background:
    radial-gradient(120% 200% at 85% -40%, rgba(255,255,255,.14), transparent 45%),
    linear-gradient(105deg, var(--cta-dark), var(--cta));
  padding: 52px 0 58px; text-align: center; color: #fff;
}
@supports not (background: color-mix(in srgb, red 50%, white)) {
  .stay-hero { background: linear-gradient(130deg, var(--cta-dark), var(--cta)); }
}
.stay-hero h1 { font-size: 32px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.stay-hero p { margin-top: 10px; font-size: 16px; color: rgba(255,255,255,.88); }
.hero-search {
  display: flex; align-items: center; gap: 8px; max-width: 640px; margin: 26px auto 0;
  background: var(--card); border-radius: 999px; padding: 8px 8px 8px 20px;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
}
.hs-icon { font-size: 17px; }
.hero-search input[type="search"] {
  flex: 1; border: none; outline: none; font-size: 16px; font-family: inherit;
  background: none; color: var(--ink); min-width: 0;
}
.hero-search button {
  flex: none; border: none; cursor: pointer; font-family: inherit;
  background: var(--cta); color: #fff; font-size: 15px; font-weight: 800;
  border-radius: 999px; padding: 12px 26px; transition: background .15s ease;
}
.hero-search button:hover { background: var(--cta-dark); }

/* 지역 칩: 히어로 아래 필 버튼 */
.cat-chips a {
  background: var(--card); border: 1.5px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-size: 14.5px; font-weight: 700; color: var(--ink-soft);
}
.cat-chips a:hover { border-color: var(--cta); color: var(--cta); background: var(--card); }
.cat-chips a.active { background: var(--cta); border-color: var(--cta); color: #fff; }

/* ---------- 숙소 카드 (사진 중심) ---------- */
.stay-card {
  display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .18s ease, transform .18s ease;
}
.stay-card:hover { box-shadow: 0 10px 26px rgba(15,30,60,.12); transform: translateY(-2px); }
.sc-thumb { position: relative; aspect-ratio: 4 / 3; background: var(--bg-alt); }
.sc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-badge {
  position: absolute; top: 10px; left: 10px; background: var(--cta); color: #fff;
  font-size: 12px; font-weight: 800; border-radius: max(0px, calc(var(--radius) - 6px)); padding: 4px 10px;
}
.sc-body { display: flex; flex-direction: column; flex: 1; padding: 13px 15px 15px; }
.sc-meta { font-size: 12.5px; color: var(--ink-muted); }
.sc-meta .sc-cat { color: var(--cta); font-weight: 700; }
.sc-meta .sc-grade::before { content: " · "; color: var(--ink-muted); }
.sc-name { margin-top: 4px; font-size: 16.5px; font-weight: 800; color: var(--ink); line-height: 1.4; }
.sc-rating { margin-top: 7px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.sc-rcount { font-size: 12.5px; color: var(--ink-muted); }
.sc-price { margin-top: auto; padding-top: 12px; text-align: right; font-size: 18px; font-weight: 800; color: var(--ink); }
.sc-price small { font-size: 13px; }
.per-night { font-size: 12.5px; color: var(--ink-muted); font-weight: 400; }

/* 점수 배지 (트립식 파란 사각) */
.score-badge {
  display: inline-block; background: var(--cta); color: #fff; font-weight: 800;
  font-size: 15px; border-radius: 8px 8px 8px 2px; padding: 4px 9px; line-height: 1.3;
  white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}
.score-badge.score-sm { font-size: 12.5px; padding: 3px 7px; }

/* ---------- 숙소 상세: 모자이크 갤러리 ---------- */
.stay-head { padding-top: 6px; }
.stay-gallery {
  display: grid; gap: 8px; border-radius: calc(var(--radius) + 2px); overflow: hidden;
  grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 205px 205px;
}
.stay-gallery.side-0 { grid-template-columns: 1fr; grid-template-rows: 420px; }
.stay-gallery.side-1 { grid-template-columns: 2fr 1fr; grid-template-rows: 360px; }
.stay-gallery.side-2 { grid-template-columns: 2fr 1fr; grid-template-rows: 180px 180px; }
.stay-gallery .sg-main { grid-row: 1 / -1; margin: 0; position: relative; }
.stay-gallery.side-1 .sg-main, .stay-gallery.side-0 .sg-main { grid-row: 1; }
.stay-gallery.side-3 .sg-tile:nth-of-type(3) { grid-column: 2 / 4; }
.stay-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sg-tile { position: relative; padding: 0; border: none; cursor: pointer; background: var(--bg-alt); overflow: hidden; }
.sg-tile:hover img { opacity: .85; }
.sg-tile.is-active::after { content: ''; position: absolute; inset: 0; border: 3px solid var(--cta); pointer-events: none; }
.sg-more-tag {
  position: absolute; right: 10px; bottom: 10px; background: #fff; color: #1c1f24;
  font-size: 13.5px; font-weight: 700; border-radius: 999px; padding: 7px 14px;
  box-shadow: 0 1px 8px rgba(0,0,0,.22);
}

/* 타이틀 블록 */
.stay-title { padding: 18px 2px 4px; }
.stay-title .badge { display: inline-block; background: var(--cta-soft, #eaf2ff); color: var(--cta); font-size: 13px; font-weight: 800; border-radius: max(0px, calc(var(--radius) - 6px)); padding: 4px 12px; }
.stay-title h1 { margin-top: 10px; font-size: 27px; font-weight: 800; letter-spacing: -.02em; line-height: 1.35; }
.stay-title .subtitle { margin-top: 6px; font-size: 16px; color: var(--ink-soft); }
.stay-rating { margin-top: 12px; display: flex; align-items: center; gap: 7px; }
.stay-star { color: #ffb500; font-size: 21px; line-height: 1; }
.stay-score { font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.rating-count { font-size: 15px; color: var(--ink-soft); }
.stay-title-address { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }

/* ---------- 2단: 본문 + 예약 카드 ---------- */
.stay-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; padding-top: 10px; padding-bottom: 40px; }
.stay-main { order: 1; min-width: 0; }
.stay-book { order: 2; position: sticky; top: 86px; }
.book-card { background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px); padding: 20px; box-shadow: 0 6px 20px rgba(15,30,60,.06); }
.book-card .price-date { font-size: 12.5px; color: var(--ink-muted); }
.book-price { margin-top: 4px; font-size: 26px; font-weight: 800; color: var(--price); }
.book-price small { font-size: 16px; }
.book-card .cta-btn { display: block; text-align: center; margin-top: 14px; }
.book-card .alt-btn { display: block; text-align: center; margin-top: 8px; flex: none; }
.book-card .cta-disclosure { margin-top: 14px; font-size: 11.5px; color: var(--ink-muted); text-align: center; line-height: 1.6; }
.book-card .cta-note { margin-top: 6px; font-size: 12px; color: var(--ink-muted); text-align: center; }

/* 좌측 칼럼 안 섹션: 카드형 구분 */
.stay-main .section { padding: 22px 0; }
.stay-main .section-alt { background: none; }
.stay-main .section + .section { border-top: 1px solid var(--line); }
.stay-main .wrap-narrow { max-width: 100%; padding: 0; }
.stay-main .related-products .wrap { padding: 0; }
.stay-main .related-products .product-grid { grid-template-columns: repeat(2, 1fr); }
.facility-grid li { display: flex; align-items: flex-start; gap: 9px; line-height: 1.55; }
.fac-icon { font-size: 18px; flex: none; margin-top: 2px; }

/* ---------- 반응형 ---------- */
@media (max-width: 900px) {
  .stay-cols { grid-template-columns: 1fr; gap: 18px; }
  .stay-book { position: static; order: 0; }
  .stay-main { order: 1; }
}
.sg-strip { display: none; gap: 8px; margin-top: 8px; overflow-x: auto; padding-bottom: 4px; }
.strip-thumb { flex: none; width: 60px; height: 60px; padding: 0; border: 2px solid var(--line); border-radius: max(0px, calc(var(--radius) - 4px)); overflow: hidden; cursor: pointer; background: var(--card); }
.strip-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.strip-thumb.is-active { border-color: var(--cta); }

@media (max-width: 560px) {
  .sg-strip { display: flex; }
  .stay-hero { padding: 36px 0 40px; }
  .stay-hero h1 { font-size: 24px; }
  .hero-search { margin-top: 20px; padding-left: 14px; }
  .hero-search button { padding: 10px 18px; }
  .stay-gallery { grid-template-columns: 1fr; grid-template-rows: 220px; }
  .stay-gallery .sg-tile { display: none; }
  .stay-gallery .sg-main { grid-row: 1; }
  .stay-title h1 { font-size: 22px; }
  .stay-star, .stay-score { font-size: 19px; }
  .stay-main .related-products .product-grid { grid-template-columns: 1fr; }
}

/* ==================================================
 * v1.2: A 트립닷컴형 / B 에어비앤비형
 * ================================================== */

/* ---------- A: 히어로 + 검색 카드 ---------- */
.pls-style-a .stay-hero { padding: 44px 0 84px; }
.search-card-wrap { margin-top: -58px; position: relative; z-index: 5; padding-bottom: 6px; }
.search-card {
  background: var(--card); border-radius: calc(var(--radius) + 4px); box-shadow: 0 12px 34px rgba(15,30,60,.14);
  padding: 6px 22px 18px; max-width: 860px; margin: 0 auto;
}
.sc-tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.sc-tab {
  display: flex; flex-direction: column; align-items: center; gap: 4px; flex: none;
  padding: 12px 16px 10px; font-size: 13.5px; font-weight: 700; color: var(--ink-soft);
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.sc-tab-icon { font-size: 20px; }
.sc-tab:hover { color: var(--cta); }
.sc-tab.is-active { color: var(--cta); border-bottom-color: var(--cta); }
.sc-search {
  display: flex; align-items: center; gap: 10px; margin-top: 14px;
  border: 2px solid var(--cta); border-radius: max(0px, calc(var(--radius) - 2px)); padding: 6px 6px 6px 14px;
}
.sc-pin { font-size: 16px; }
.sc-search input[type="search"] { flex: 1; border: none; outline: none; font-size: 16px; font-family: inherit; min-width: 0; color: var(--ink); }
.sc-search button {
  flex: none; border: none; cursor: pointer; font-family: inherit;
  background: var(--cta); color: #fff; font-size: 15px; font-weight: 800;
  border-radius: max(0px, calc(var(--radius) - 5px)); padding: 12px 22px;
}
.sc-search button:hover { background: var(--cta-dark); }

/* A 상세: 제목 위, 시설 스트립, 큰 점수 */
.pls-style-a .stay-title { padding: 16px 2px 16px; }
.pls-style-a .stay-title h1 { display: inline; margin-right: 10px; }
.pls-style-a .stay-title .badge { margin-right: 8px; }
.fac-strip {
  display: flex; gap: 6px 26px; flex-wrap: wrap; justify-content: center;
  list-style: none; margin: 18px 0 0; padding: 16px 10px; border-bottom: 1px solid var(--line);
}
.fac-strip li { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.fac-strip-icon { font-size: 22px; }
.fac-strip-more { color: var(--cta); justify-content: center; }
.fac-strip-more a { color: var(--cta); font-weight: 700; padding: 4px 6px; border-radius: max(0px, calc(var(--radius) - 6px)); }
.fac-strip-more a:hover { background: color-mix(in srgb, var(--cta) 10%, #fff); text-decoration: underline; text-underline-offset: 3px; }
@supports not (background: color-mix(in srgb, red 9%, white)) { .fac-strip-more a:hover { background: var(--bg-alt); } }
.stay-main .section h2 { scroll-margin-top: 84px; }
.score-row { display: flex; align-items: center; gap: 14px; padding: 16px 4px 4px; }
.score-big { font-size: 34px; font-weight: 800; color: var(--cta); letter-spacing: -.02em; }
.score-word { font-size: 17px; font-weight: 800; color: var(--cta); display: flex; flex-direction: column; }
.score-word small { font-size: 12.5px; color: var(--ink-muted); font-weight: 400; margin-top: 2px; text-decoration: underline; }

/* A 위치: 주변 안내 2열 */
.pls-style-a .nearby-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; }
@media (max-width: 560px) { .pls-style-a .nearby-list { grid-template-columns: 1fr; } }

/* ---------- B: 에어비앤비형 ---------- */
.pls-style-b { --radius: 16px; }
.bnb-hero { padding: 34px 0 8px; text-align: center; background: var(--card); border-bottom: 1px solid var(--line); }
.bnb-hero h1 { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.bnb-search {
  display: flex; align-items: center; gap: 12px; max-width: 560px; margin: 18px auto 22px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,.08); text-align: left;
}
.bnb-search:focus-within { box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.bs-label { flex: none; font-size: 13px; font-weight: 800; color: var(--ink); }
.bnb-search input[type="search"] { flex: 1; border: none; outline: none; font-size: 14.5px; font-family: inherit; min-width: 0; }
.bnb-search button {
  flex: none; border: none; cursor: pointer; width: 42px; height: 42px; border-radius: 50%;
  background: var(--cta); color: #fff; font-size: 16px;
}
.home-row { padding-top: 26px; }
.home-row:last-of-type { padding-bottom: 46px; }
.row-title a { font-size: 21px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.row-title a:hover { text-decoration: underline; }
.row-scroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: 200px; gap: 14px;
  overflow-x: auto; padding: 14px 2px 8px; scroll-snap-type: x mandatory;
}
.mini-card { display: flex; flex-direction: column; scroll-snap-align: start; }
.mc-thumb { aspect-ratio: 1 / 1; border-radius: calc(var(--radius) + 2px); overflow: hidden; background: var(--bg-alt); }
.mc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s ease; }
.mini-card:hover .mc-thumb img { transform: scale(1.04); }
.mc-name { margin-top: 9px; font-size: 14.5px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.mc-grade { font-size: 12.5px; color: var(--ink-muted); margin-top: 2px; }
.mc-meta { font-size: 13px; color: var(--ink-soft); margin-top: 3px; }

/* B 상세 */
.pls-style-b .stay-head { display: flex; flex-direction: column; }
.pls-style-b .stay-head > .stay-title { order: -1; }
.pls-style-b .stay-title { padding: 2px 2px 14px; }
.pls-style-b .stay-title h1 { font-size: 25px; }
.pls-style-b .stay-title .stay-rating { display: none; } /* 평점은 아래 박스에서 */
.pls-style-b .stay-gallery { border-radius: calc(var(--radius) + 4px); }
.pls-style-b .stay-gallery.side-2, .pls-style-b .stay-gallery { grid-template-rows: 190px 190px; }
.bnb-sum { padding: 16px 2px 4px; }
.bnb-sum-line { font-size: 15px; color: var(--ink-soft); }
.bnb-score {
  display: flex; align-items: center; gap: 16px; margin-top: 14px;
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px); padding: 14px 20px;
}
.bnb-score-num { font-size: 24px; font-weight: 800; color: var(--ink); }
.bnb-score-num small { font-size: 13px; color: var(--ink-muted); font-weight: 400; }
.bnb-score-word { font-size: 15px; font-weight: 800; color: var(--ink); }
.bnb-score-count { margin-left: auto; font-size: 13px; color: var(--ink-muted); text-decoration: underline; }
.pls-style-b .stay-card, .pls-style-b .book-card { border-radius: calc(var(--radius) + 4px); }
.pls-style-b .cta-btn, .pls-style-b .alt-btn { border-radius: max(0px, calc(var(--radius) - 2px)); }

@media (max-width: 720px) {
  .search-card { padding: 2px 14px 14px; }
  .sc-tab { padding: 10px 12px 8px; font-size: 12.5px; }
  .row-scroll { grid-auto-columns: 160px; }
  .pls-style-a .stay-title h1 { display: block; }
}

/* A 상세 디테일 (트립 재현) */
.grade-stars { color: #f5a623; font-size: 17px; letter-spacing: 2px; vertical-align: 3px; }
.pls-style-a .stay-title-address .map-link { text-decoration: underline; font-weight: 600; }
.score-quote { flex: 1; min-width: 0; margin-left: 14px; padding-left: 18px; border-left: 1px solid var(--line); font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 560px) {
  .score-quote { display: none; }
}
/* trip-home 레이아웃 */
.trip-home { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 26px; align-items: start; padding-top: 18px; }
.trip-side { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 86px; }
.ts-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: max(0px, calc(var(--radius) - 4px)); font-size: 14.5px; font-weight: 700; color: var(--ink-soft); }
.ts-item span { font-size: 17px; }
.ts-item:hover { background: var(--bg-alt); color: var(--ink); }
.ts-item.is-active { color: var(--cta); background: color-mix(in srgb, var(--cta) 9%, #fff); }
@supports not (background: color-mix(in srgb, red 9%, white)) { .ts-item.is-active { background: var(--bg-alt); } }
.ts-sep { height: 1px; background: var(--line); margin: 8px 6px; }
.trip-main { min-width: 0; }
.trip-main > .grid-section > .wrap, .trip-main .related-products > .wrap, .trip-main section > .wrap { padding-left: 0; padding-right: 0; max-width: none; }
.trip-hero {
  border-radius: calc(var(--radius) + 4px); padding: 46px 30px 74px; text-align: center; color: #fff;
  background:
    radial-gradient(130% 190% at 88% -30%, rgba(255,255,255,.16), transparent 46%),
    linear-gradient(100deg, var(--cta-dark), var(--cta));
}
.trip-hero h1 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.trip-guarantees { margin-top: 12px; font-size: 13.5px; color: rgba(255,255,255,.92); display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.trip-guarantees i { font-style: normal; opacity: .5; }
.trip-home .search-card-wrap { margin-top: 0; }
.trip-home .search-card { margin: -52px 26px 0; max-width: none; position: relative; z-index: 5; }
.seg-field { display: flex; align-items: center; gap: 8px; padding: 4px 8px; }
.seg-grow { flex: 1; min-width: 0; }
.seg-div { width: 1px; align-self: stretch; background: var(--line); }
.sc-search select { border: none; outline: none; font-size: 15px; font-family: inherit; font-weight: 600; color: var(--ink); background: none; cursor: pointer; }
.trip-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.trip-banner {
  position: relative; border-radius: var(--radius); padding: 22px 24px; color: #fff; overflow: hidden;
  display: flex; flex-direction: column; gap: 6px; min-height: 96px; justify-content: center;
}
.tb-1 { background: linear-gradient(100deg, var(--cta-dark), var(--cta)); }
.tb-2 { background: linear-gradient(100deg, #114b3e, #1e7b5f); }
.trip-banner strong { font-size: 19px; font-weight: 800; }
.trip-banner span { font-size: 13px; opacity: .9; }
.trip-banner em { position: absolute; right: 18px; bottom: 8px; font-size: 44px; font-style: normal; opacity: .9; }
.trip-banner:hover { filter: brightness(1.05); }
.trip-coupons { margin-top: 28px; }
.trip-coupons h2 { font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.tc-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.tc-card {
  display: flex; align-items: stretch; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: box-shadow .15s ease;
}
.tc-card:hover { box-shadow: 0 8px 20px rgba(15,30,60,.1); }
.tc-left { flex: 1; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.tc-left strong { font-size: 17px; font-weight: 800; color: var(--ink); }
.tc-left small { font-size: 12.5px; color: var(--ink-muted); }
.tc-right { flex: none; width: 74px; display: flex; align-items: center; justify-content: center; font-size: 26px; border-left: 1.5px dashed var(--line); color: var(--price); }
@media (max-width: 900px) {
  .trip-home { grid-template-columns: 1fr; padding-top: 16px; }
  .trip-side { display: none; }
  .trip-banners, .tc-row { grid-template-columns: 1fr; }
  .trip-home .search-card { margin: -46px 10px 0; }
}
/* B 세그먼트 필 */
.bnb-search { max-width: 640px; padding: 6px 6px 6px 0; }
.bs-seg { display: flex; flex-direction: column; gap: 1px; padding: 4px 18px; text-align: left; }
.bs-grow { flex: 1; min-width: 0; }
.bs-seg b { font-size: 12px; font-weight: 800; color: var(--ink); }
.bs-seg input[type="search"], .bs-seg select { border: none; outline: none; font-size: 14px; font-family: inherit; color: var(--ink-soft); background: none; min-width: 0; width: 100%; cursor: pointer; }
.bs-div { width: 1px; align-self: stretch; background: var(--line); }
.mc-thumb { position: relative; }
.mc-badge { position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,.95); color: var(--ink); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 5px 12px; box-shadow: 0 2px 8px rgba(0,0,0,.12); }

/* ---------- SVG 아이콘 공통 ---------- */
.ic { vertical-align: -3px; flex: none; }
.ts-item .ic { color: var(--ink-muted); }
.ts-item.is-active .ic, .ts-item:hover .ic { color: currentColor; }
.trip-guarantees .ic { vertical-align: -2.5px; }
.trip-banner em { opacity: .45; right: 20px; bottom: 16px; }
.trip-banner em .ic { width: 42px; height: 42px; }
.tc-right .ic { color: var(--ink-muted); }
.fac-strip-icon .ic, .fac-icon .ic { color: var(--ink-soft); }
.stay-title-address .ic, .stay-address .ic, .nearby-list .ic { color: var(--ink-muted); vertical-align: -2.5px; }
.sc-search button .ic, .bnb-search button .ic { vertical-align: -3px; }
.sc-tab-icon .ic { width: 21px; height: 21px; }
.nearby-list li { display: flex; align-items: center; gap: 7px; }

/* ---------- v1.3.2: 모바일 최종 보정 (반드시 파일 끝 유지) ---------- */
@media (max-width: 720px) {
  /* 히어로: NOL처럼 둥근 카드 형태 유지 */
  .trip-hero { margin: 0; border-radius: calc(var(--radius) + 4px); padding: 32px 20px 66px; }
  .trip-hero h1 { font-size: 25px; }
  .trip-home .search-card { margin: -48px 10px 0; }
  /* 검색 카드: 분할줄 → 세로 스택 */
  .sc-search { flex-direction: column; align-items: stretch; gap: 0; padding: 4px 10px 10px; }
  .sc-search .seg-field { padding: 12px 6px; border-bottom: 1px solid var(--line); }
  .sc-search .seg-field:nth-last-of-type(1) { border-bottom: none; }
  .sc-search .seg-div { display: none; }
  .sc-search input[type="search"] { width: 100%; }
  .sc-search select { width: 100%; }
  .sc-search button { width: 100%; margin-top: 4px; padding: 13px; border-radius: max(0px, calc(var(--radius) - 4px)); }
  .trip-guarantees { gap: 8px 14px; }
  .trip-guarantees i { display: none; }
}
@media (max-width: 560px) {
  /* 갤러리: 어떤 장수든 모바일은 큰 사진 1장 + 아래 썸네일 스트립 */
  .stay-gallery,
  .stay-gallery.side-1, .stay-gallery.side-2,
  .stay-gallery.side-3, .stay-gallery.side-4, .stay-gallery.side-5 {
    grid-template-columns: 1fr;
    grid-template-rows: 240px;
  }
  .stay-gallery .sg-tile { display: none; }
  .stay-gallery .sg-main,
  .stay-gallery.side-5 .sg-main { grid-row: 1; grid-column: 1; }
  .sg-strip { display: flex; }
}


/* ==================================================
 * v1.5.0: 404 · 아티클 · 라이트박스 · 검색 보정
 * ================================================== */

/* ---------- 헤더 여행 팁 메뉴 ---------- */
.header-nav { flex: none; }
.header-nav a { font-size: 14.5px; font-weight: 700; color: var(--ink-soft); padding: 8px 4px; white-space: nowrap; }
.header-nav a:hover { color: var(--cta); }
@media (max-width: 560px) {
  .header-nav a { font-size: 13px; padding: 8px 0; }
  .site-header .wrap { gap: 9px; }
}

/* ---------- 공백 검색 흔들림 안내 ---------- */
@keyframes pls-shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}
.pls-shake { animation: pls-shake .4s ease; border-color: var(--price) !important; }

/* ---------- 404 페이지 ---------- */
.error-page { padding: 72px 0 40px; text-align: center; }
.error-page .error-code { font-size: 64px; font-weight: 800; color: var(--cta); letter-spacing: -.03em; line-height: 1; opacity: .18; }
.error-page h1 { margin-top: 6px; font-size: 27px; font-weight: 800; letter-spacing: -.02em; }
.error-page .error-msg { margin-top: 10px; font-size: 15.5px; color: var(--ink-soft); }
.error-page .error-actions { margin-top: 22px; }
.error-page .cta-btn { display: inline-block; }
.error-search { display: flex; max-width: 420px; margin: 26px auto 0; }
.error-search input[type="search"] {
  flex: 1; min-width: 0; font: inherit; font-size: 14.5px;
  border: 1.5px solid var(--line); border-right: none; border-radius: 999px 0 0 999px;
  padding: 11px 20px; outline: none; background: var(--bg-alt);
}
.error-search input[type="search"]:focus { border-color: var(--cta); background: var(--card); }
.error-search button {
  font: inherit; font-size: 14.5px; font-weight: 700; color: #fff;
  background: var(--cta); border: none; cursor: pointer;
  padding: 0 22px; border-radius: 0 999px 999px 0;
}
.error-search button:hover { background: var(--cta-dark); }

/* ---------- 아티클 목록 ---------- */
.article-archive { padding: 34px 0 50px; }
.article-archive-head { text-align: center; padding-bottom: 8px; }
.article-archive-head h1 { font-size: 27px; font-weight: 800; letter-spacing: -.02em; }
.article-archive-head p { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 18px; margin-top: 24px; }
.article-card {
  display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .18s ease, transform .18s ease;
}
.article-card:hover { box-shadow: 0 10px 26px rgba(15,30,60,.12); transform: translateY(-2px); }
.ac-thumb { display: block; position: relative; overflow: hidden; background: var(--bg-alt); }
.ac-thumb::before { content: ""; display: block; padding-top: 56.25%; }
.ac-thumb img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; }
.ac-body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.ac-meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-muted); }
.ac-cat { color: var(--cta); font-weight: 700; }
.ac-title { margin-top: 5px; font-size: 16.5px; font-weight: 800; color: var(--ink); line-height: 1.45; letter-spacing: -.01em; }
.ac-excerpt {
  margin-top: 7px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 900px) { .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 560px) { .article-grid { grid-template-columns: 1fr; } }

/* ---------- 아티클 본문 ---------- */
.article-single { padding-bottom: 30px; }
.article-head { padding-top: 8px; }
.article-cat { display: inline-block; background: var(--cta-soft, #eaf2ff); color: var(--cta); font-size: 13px; font-weight: 800; border-radius: max(0px, calc(var(--radius) - 6px)); padding: 4px 12px; }
.article-head h1 { margin-top: 10px; font-size: 29px; font-weight: 800; letter-spacing: -.02em; line-height: 1.35; }
.article-date { margin-top: 10px; font-size: 13.5px; color: var(--ink-muted); }
.article-updated { margin-left: 4px; }
.article-hero { margin: 22px 0 0; position: relative; overflow: hidden; border-radius: calc(var(--radius) + 2px); background: var(--bg-alt); }
.article-hero::before { content: ""; display: block; padding-top: 56.25%; }
.article-hero img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; }
.article-body { margin-top: 28px; font-size: calc(var(--font-base) + 0.5px); line-height: 1.85; color: var(--ink); }
.article-body p { margin: 0 0 1.15em; }
.article-body h2 { font-size: 1.27em; font-weight: 800; letter-spacing: -.01em; margin: 1.8em 0 .7em; padding-left: 12px; border-left: 4px solid var(--cta); }
.article-body h3 { font-size: 1.09em; font-weight: 800; margin: 1.5em 0 .6em; }
.article-body ul, .article-body ol { margin: 0 0 1.15em; padding-left: 1.3em; }
.article-body li { margin: .3em 0; }
.article-body img { border-radius: max(0px, calc(var(--radius) - 2px)); margin: .4em 0; }
.article-body a { color: var(--cta); text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote { margin: 1.2em 0; padding: 14px 18px; background: var(--bg-alt); border-left: 4px solid var(--cta); border-radius: 0 max(0px, calc(var(--radius) - 2px)) max(0px, calc(var(--radius) - 2px)) 0; color: var(--ink-soft); }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 0.91em; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.article-body th { background: var(--bg-alt); font-weight: 700; }
.article-disclosure { margin-top: 30px; padding: 12px 16px; background: var(--bg-alt); border-radius: max(0px, calc(var(--radius) - 2px)); font-size: 12.5px; color: var(--ink-muted); text-align: center; }
.article-stays { padding-top: 8px; }
@media (max-width: 560px) {
  .article-head h1 { font-size: 23px; }
  .article-body { font-size: calc(var(--font-base) - 0.5px); }
}

/* ---------- 사진 라이트박스 ---------- */
.pls-lb {
  position: fixed; inset: 0; z-index: 999; display: none;
  align-items: center; justify-content: center;
  background: rgba(10, 15, 22, .93);
}
.pls-lb.is-open { display: flex; }
body.pls-lb-lock { overflow: hidden; }
.pls-lb-img {
  max-width: min(92vw, 1200px); max-height: 84vh;
  width: auto !important; height: auto !important;
  object-fit: contain; border-radius: max(0px, calc(var(--radius) - 4px)); display: block;
}
.pls-lb-close, .pls-lb-prev, .pls-lb-next {
  position: absolute; border: none; cursor: pointer;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff;
  font-size: 22px; line-height: 1; font-family: inherit;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.pls-lb-close:hover, .pls-lb-prev:hover, .pls-lb-next:hover { background: rgba(255,255,255,.28); }
.pls-lb-close { top: 18px; right: 18px; }
.pls-lb-prev { left: 18px; top: 50%; transform: translateY(-50%); font-size: 30px; padding-bottom: 4px; }
.pls-lb-next { right: 18px; top: 50%; transform: translateY(-50%); font-size: 30px; padding-bottom: 4px; }
.pls-lb-count {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,.55); color: #fff; font-size: 13px; font-weight: 700;
  border-radius: 999px; padding: 5px 14px;
}
@media (max-width: 560px) {
  .pls-lb-img { max-width: 96vw; max-height: 78vh; border-radius: max(0px, calc(var(--radius) - 6px)); }
  .pls-lb-prev, .pls-lb-next { width: 40px; height: 40px; }
  .pls-lb-prev { left: 8px; }
  .pls-lb-next { right: 8px; }
  .pls-lb-close { top: 12px; right: 12px; }
}

/* ---------- v1.4.1: 썸네일·갤러리 비율 강제 고정 (반드시 파일 끝 유지) ----------
 * 최적화·레이지로드 플러그인이 img에 height:auto!important를 주입해도
 * 절대배치 + inset:0 방식이라 항상 지정 비율로 잘려 그리드가 깨지지 않습니다. */
.stay-card .sc-thumb { position: relative; overflow: hidden; }
.stay-card .sc-thumb::before { content: ""; display: block; padding-top: 75%; }
.mini-card .mc-thumb { display: block; position: relative; overflow: hidden; }
.mini-card .mc-thumb::before { content: ""; display: block; padding-top: 100%; }
.sg-strip .strip-thumb { position: relative; }
.stay-gallery .sg-main, .stay-gallery .sg-tile { position: relative; overflow: hidden; }
.stay-card .sc-thumb img,
.mini-card .mc-thumb img,
.sg-strip .strip-thumb img,
.stay-gallery .sg-main img,
.stay-gallery .sg-tile img {
  position: absolute; inset: 0;
  width: 100% !important; height: 100% !important;
  max-width: none; max-height: none;
  object-fit: cover;
}

/* ---------- v1.6.0 : 공정위 문구 상단 박스 ---------- */
.pls-disclosure-top {
  margin: 18px 0 20px;
  padding: 14px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: max(0px, calc(var(--radius) - 4px));
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.7;
}
@media (max-width: 640px) {
  .pls-disclosure-top { font-size: 12px; padding: 12px 12px; }
}

/* ---------- v1.6.0 : 공지 바 ---------- */
.pls-notice {
  display: block;
  background: var(--cta-dark);
  color: #fff;
  text-align: center;
  padding: 9px 20px;
  font-size: 14px;
  text-decoration: none;
}
a.pls-notice:hover { color: #fff; opacity: .95; }
.pls-notice-inner {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
}
.pls-notice-icon { flex: none; opacity: .85; }
.pls-notice-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pls-notice-more {
  flex: none;
  text-decoration: underline;
  font-weight: 600;
}

/* ---------- v1.6.0 : 헤더 아래 소개 문구 ---------- */
.pls-tagline {
  background: var(--bg-alt);
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 11px 20px;
  font-size: 15px;
}

/* ---------- v1.6.0 : 헤더 아이콘 버튼 (다크모드) ---------- */
.pls-icon-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: max(0px, calc(var(--radius) - 4px));
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}
.pls-icon-btn:hover { border-color: var(--cta); color: var(--cta); }

/* ---------- v1.6.0 : 아티클 목차 ---------- */
.pls-toc {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 24px 0;
}
.pls-toc-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
}
.pls-toc-title svg { transition: transform .18s ease; color: var(--ink-muted); }
.pls-toc.is-closed .pls-toc-title svg { transform: rotate(-90deg); }
.pls-toc.is-closed #pls-toc-list { display: none; }
.pls-toc ol {
  margin: 12px 0 0;
  padding-left: 20px;
  list-style: decimal;
  font-size: 15px;
}
.pls-toc ol ol { margin-top: 6px; }
.pls-toc li { margin: 6px 0; }
.pls-toc a { color: var(--ink-soft); text-decoration: none; }
.pls-toc a:hover { color: var(--cta); text-decoration: underline; }
.pls-toc-marker-upper-roman ol { list-style: upper-roman; padding-left: 26px; }
.pls-toc-marker-disc ol { list-style: disc; }
.pls-toc-marker-hangul ol { list-style: hangul; padding-left: 26px; }
.pls-toc-marker-none ol { list-style: none; padding-left: 2px; }

/* ---------- v1.6.0 : 공유 단축코드 영역 ---------- */
.pls-share { margin: 20px 0; }

/* ---------- v1.6.0 : 콘텐츠 복사 방지 ---------- */
body.pls-protect-copy { -webkit-user-select: none; user-select: none; }
body.pls-protect-copy input,
body.pls-protect-copy textarea,
body.pls-protect-copy select,
body.pls-protect-copy [contenteditable] { -webkit-user-select: text; user-select: text; }
body.pls-protect-copy img { -webkit-user-drag: none; user-drag: none; }

/* ---------- v1.6.0 : 다크모드 ---------- */
html[data-pls-theme="dark"],
html[data-pls-theme="dark"] body {
  --ink: #ececf1;
  --ink-soft: #b6bdc6;
  --ink-muted: #8b93a0;
  --line: #333a45;
  --bg: #14171c;
  --bg-alt: #1d2129;
  --card: #1b1f26;
  --price: #ff6b6b;
  --good-bg: #14301a;
  --good-text: #9fd8a8;
  --bad-bg: #3a1717;
  --bad-text: #f0a8a8;
}
html[data-pls-theme="dark"] body { background: var(--bg); color: var(--ink); }
html[data-pls-theme="dark"] .site-header { background: rgba(20,23,28,.92); }
html[data-pls-theme="dark"] .pls-sticky-cta { background: rgba(27,31,38,.96); }

/* ---------- v1.6.0 : 모바일 풀블리드 갤러리 + 사진 순번 (NOL 스타일) ---------- */
.sg-count {
  display: none; position: absolute; right: 10px; bottom: 10px; z-index: 2;
  background: rgba(17,20,24,.62); color: #fff; font-size: 12.5px; font-weight: 600;
  letter-spacing: .02em; border-radius: 999px; padding: 3px 11px; pointer-events: none;
}
@media (max-width: 640px) {
  .stay-gallery, .pls-style-b .stay-gallery { margin-left: -20px; margin-right: -20px; border-radius: 0; }
  .sg-strip { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 560px) {
  .stay-gallery,
  .stay-gallery.side-1, .stay-gallery.side-2,
  .stay-gallery.side-3, .stay-gallery.side-4, .stay-gallery.side-5 {
    grid-template-rows: 280px;
  }
  .sg-count { display: inline-flex; }
}

/* ---------- v1.6.0 : 제목 옆 공유 버튼 + 안내 토스트 ---------- */
.stay-title-row { display: flex; align-items: flex-start; justify-content: flex-start; gap: 14px; }
.stay-title-row .stay-title-main { min-width: 0; }
.stay-title-row h1 { min-width: 0; }
.stay-title-row .pls-share-btn { margin-top: 10px; }
@media (max-width: 640px) {
  .stay-title-row { justify-content: space-between; }
  .stay-title-row .stay-title-main { flex: 1; }
  .article-head .stay-title-row h1 { flex: 1; }
}
.pls-toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%);
  background: rgba(17,20,24,.88); color: #fff;
  font-size: 14px; padding: 10px 18px; border-radius: 999px;
  z-index: 120; white-space: nowrap;
}

/* ---------- v1.6.0 : 전체 메뉴 (햄버거) ---------- */
.site-header { position: relative; }
.pls-menu[hidden] { display: none !important; }
.pls-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  display: block;
  background: #fff;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 34px rgba(15, 23, 42, .12);
  z-index: 60;
}
.pls-menu-cols {
  display: grid;
  height: auto;
  max-width: 1080px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px 0;
  padding: 24px 20px 28px;
}
.pls-menu-col { min-width: 0; padding: 0 26px; border-left: 1px solid var(--line); }
.pls-menu-col:first-child { border-left: none; padding-left: 0; }
.pls-menu-title { font-size: 15px; font-weight: 800; margin: 0 0 6px; color: var(--ink); }
.pls-menu-col a {
  display: block; padding: 8px 0;
  font-size: 15px; color: var(--ink-soft); text-decoration: none;
}
.pls-menu-col a:hover { color: var(--cta); }
@media (max-width: 640px) {
  .pls-menu { max-height: calc(100vh - 62px); overflow-y: auto; }
  .pls-menu-cols { grid-template-columns: 1fr; gap: 4px 0; padding: 14px 20px 18px; }
  .pls-menu-col { border-left: none; padding: 0; }
  .pls-menu-title { margin-top: 14px; }
  .pls-menu-col:first-child .pls-menu-title { margin-top: 0; }
}

/* ---------- v1.6.0 : 나라별 아이콘 (국기 SVG) ---------- */
img.pls-cat-ic { display: inline-block; vertical-align: -3px; flex: none; }
.pls-menu-col a img.pls-cat-ic { margin-right: 2px; }

/* ---------- v1.6.0 : 모바일 헤더 검색 필 + 빠른 이동 탭 (NOL 스타일) ---------- */
.m-header-search, .m-header-tabs { display: none; }
@media (max-width: 900px) {
  .m-header-search { display: block; padding: 2px 20px 10px; }
  .m-header-search form {
    display: flex; align-items: center; gap: 6px;
    border: 1.5px solid var(--cta); border-radius: 999px;
    background: var(--card); padding: 0 6px 0 18px;
  }
  .m-header-search input {
    flex: 1; min-width: 0; border: 0; background: transparent;
    font: inherit; font-size: 15px; padding: 11px 0; color: var(--ink);
  }
  .m-header-search input:focus { outline: none; }
  .m-header-search button {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border: 0; background: transparent;
    color: var(--cta); cursor: pointer;
  }
  .m-header-tabs {
    display: flex; gap: 2px; overflow-x: auto;
    padding: 0 14px 10px;
    scrollbar-width: none;
  }
  .m-header-tabs::-webkit-scrollbar { display: none; }
  .m-header-tabs a {
    flex: none; padding: 7px 13px; border-radius: 999px;
    font-size: 14.5px; font-weight: 700; color: var(--ink-soft);
    text-decoration: none; white-space: nowrap;
  }
  .m-header-tabs a.is-active { background: var(--ink); color: var(--bg); }
}
