/* 상품 상세 페이지 (style.css 다음에 불러옴) */
.crumb { padding: 22px 0 14px; font-size: 13px; color: var(--ink-3); }
.crumb a:hover { color: var(--blue); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 200px 200px; gap: 10px; }
.gallery div { border-radius: 26px; background: #d6eaf8 center/cover; position: relative; overflow: hidden; }
.gallery .g0 { grid-row: 1 / 3; }
.gallery .more-ph { position: absolute; right: 14px; bottom: 14px; }
.detail { display: grid; grid-template-columns: 1fr 380px; gap: 34px; margin-top: 30px; align-items: start; }
.d-head .where { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.d-head h1 { margin-top: 6px; font-size: 32px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.3; }
.d-head .meta { margin-top: 10px; display: flex; gap: 14px; align-items: center; font-size: 14px; color: var(--ink-2); flex-wrap: wrap; }
.d-head .meta .star { color: #f5a623; font-weight: 800; }
.d-tags { margin-top: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.points { margin-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.point { padding: 16px; border-radius: 24px; background: #fff; border: 2px solid #fff; box-shadow: var(--sh); text-align: center; font-size: 13px; color: var(--ink-2); }
.point .pi { width: 46px; height: 46px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; }
.point .pi svg { width: 22px; height: 22px; }
.point b { display: block; font-size: 14.5px; color: var(--ink); }
.d-tabs { position: sticky; top: 76px; z-index: 20; margin-top: 30px; display: flex; gap: 4px; padding: 6px; border-radius: 99px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: var(--sh); }
.d-tabs a { flex: 1; text-align: center; padding: 10px 0; border-radius: 99px; font-size: 14px; font-weight: 700; color: var(--ink-3); }
.d-tabs a.on { background: linear-gradient(100deg, #2e6fd3, #2fc0dc); color: #fff; }
.d-sec { margin-top: 44px; scroll-margin-top: 140px; }
.d-sec h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.d-sec h2 img { width: 32px; }
.d-sec p.txt { font-size: 15.5px; color: var(--ink-2); line-height: 1.8; }
.d-photo { margin-top: 16px; height: 300px; border-radius: 28px; background: #d6eaf8 center/cover; }
.timeline { position: relative; padding-left: 38px; }
.timeline::before { content: ''; position: absolute; left: 14px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, #a9d9f7, #f5b3c8); }
.tl { position: relative; padding: 2px 0 22px; }
.tl::before { content: ''; position: absolute; left: -38px; top: 2px; width: 32px; height: 22px; background: var(--cloud-sky) no-repeat center/contain; filter: drop-shadow(0 2px 3px rgba(46,111,211,.3)); }
.tl:nth-child(even)::before { background-image: var(--cloud-pink); }
.tl .day { font-size: 13px; font-weight: 800; color: var(--blue); }
.tl h4 { font-size: 16.5px; font-weight: 800; margin-top: 2px; }
.tl p { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.inc { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inc .box { padding: 20px 22px; border-radius: 28px; }
.inc .box.y { background: linear-gradient(140deg, #eafaf5, #f2fbff); }
.inc .box.n { background: linear-gradient(140deg, #fff1f6, #fbf6ff); }
.inc h4 { font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.inc li { list-style: none; padding: 5px 0 5px 28px; position: relative; font-size: 14px; color: var(--ink-2); }
.inc li::before { position: absolute; left: 0; top: 6px; width: 19px; height: 19px; border-radius: 50%; color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.inc .y li::before { content: 'O'; background: var(--mint); }
.inc .n li::before { content: 'X'; background: #ee8aa8; }
.policy { width: 100%; font-size: 14px; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: var(--sh); }
.policy td, .policy th { padding: 13px 18px; white-space: normal; }
.policy th { background: #f3f8fd; color: var(--ink-2); font-size: 13px; }
.rv-sum { display: flex; gap: 26px; align-items: center; padding: 22px 26px; border-radius: 28px; background: var(--grad-soft); margin-bottom: 16px; }
.rv-sum .big { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.rv-sum .stars { color: #f5a623; font-size: 18px; letter-spacing: 2px; }
.rv-bars { flex: 1; display: grid; gap: 5px; font-size: 12.5px; color: var(--ink-3); }
.rv-bars div { display: grid; grid-template-columns: 26px 1fr 30px; gap: 8px; align-items: center; }
.rv-bars i { display: block; height: 8px; border-radius: 99px; background: #e4eef7; overflow: hidden; }
.rv-bars i b { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #6cc4f2, #ee8aa8); }
.rv-photos { display: flex; gap: 8px; margin-top: 10px; }
.rv-photos span { width: 72px; height: 72px; border-radius: 18px; background: #d6eaf8 center/cover; }
.reviews.one { grid-template-columns: 1fr; gap: 14px; }

/* 오른쪽 예약 박스 */
.book-box { position: sticky; top: 92px; padding: 24px; }
.book-box .price-line { display: flex; align-items: baseline; gap: 8px; }
.book-box .price-line .off { font-size: 20px; font-weight: 800; color: #e0548a; }
.book-box .price-line .now { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.book-box .price-line .was { font-size: 14px; color: #a9bacb; text-decoration: line-through; }
.book-box .per { font-size: 13px; color: var(--ink-3); }
.book-box .coupon { margin-top: 10px; padding: 10px 14px; border-radius: 99px; background: #fff2f6; font-size: 13px; font-weight: 700; color: #d14d86; display: flex; align-items: center; gap: 6px; }
.mini-cal { margin-top: 6px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; font-size: 12px; }
.mini-cal .h { color: var(--ink-3); font-weight: 700; padding: 3px 0; }
.mini-cal .d { padding: 7px 0; border-radius: 99px; cursor: pointer; }
.mini-cal .d:hover { background: var(--sky-50); }
.mini-cal .d.x { color: #c8d5e1; text-decoration: line-through; cursor: default; }
.mini-cal .d.on { background: linear-gradient(135deg, #2e6fd3, #2fc0dc); color: #fff; font-weight: 800; }
.mini-cal .d.hot { color: #d14d86; font-weight: 700; }
.opt { margin-top: 6px; display: grid; gap: 6px; }
.opt label { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 18px; border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.opt label.on { border-color: var(--blue); background: #eef5ff; color: var(--ink); }
.opt label span { margin-left: auto; font-weight: 800; color: var(--ink); }
.opt .rd { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #c6d8ea; flex: none; }
.opt label.on .rd { border: 5px solid var(--blue); }
.help { margin-top: 12px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 22px; background: var(--sky-50); font-size: 12.5px; color: var(--ink-2); }
.help img { width: 36px; }

@media (max-width: 1080px) {
  .detail { grid-template-columns: 1fr; }
  .book-box { position: static; }
  .points { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 110px; }
  .gallery .g0 { grid-column: 1 / 3; grid-row: 1; }
  .gallery .g3, .gallery .g4 { display: none; }
  .inc { grid-template-columns: 1fr; }
  .d-head h1 { font-size: 25px; }
  .d-tabs { overflow-x: auto; }
  .d-tabs a { flex: none; padding: 9px 14px; }
}
