/* ═══════════════════════════════════════════════
   CRUISE-DETAIL.CSS — single cruise page
   Builds on global.css + tour-detail.css + cruises.css.
   Only the cruise-specific extras live here.
   Token-only. Mobile-first.
   ═════════════════════════════════════════════ */

/* Anchor offset so sticky tabs don't cover headings */
.td-panel { scroll-margin-top: 130px; }

/* Overview meta: 2-column grid */
#overview .td-meta { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.5rem; }
@media (max-width: 480px) {
  #overview .td-meta { grid-template-columns: 1fr; }
}

/* Suppress global.css faq-q::after '+/-' — cruise uses $chv_svg chevron, no double indicator */
.td-section .faq-q::after { content: none; }

/* tour-detail.css .itin-list{display:flex} overrides UA [hidden]{display:none}; force correct */
.cd-itin-days[hidden] { display: none !important; }

/* Header meta: Styles cluster */
.td-meta-styles strong { color: var(--text-h); font-weight: 700; }
.td-meta-styles strong a { color: var(--primary); text-decoration: none; }
.td-meta-styles strong a:hover { text-decoration: underline; }

/* ── Cabins & Rates: Check-rates bar ── */
.cd-rates-bar { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: flex-end; padding: 1rem 1.1rem; margin-bottom: 1.25rem; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; }
.cd-rates-field { display: flex; flex-direction: column; gap: .4rem; }
.cd-rates-field > label { font-size: .78rem; font-weight: 700; color: var(--text-m); text-transform: uppercase; letter-spacing: .04em; }
.cd-rates-field input[type="date"] { padding: .6rem .8rem; border: 1.5px solid var(--border); border-radius: var(--r-input); font-family: var(--fb); font-size: .9rem; color: var(--text-h); background: #fff; }
.cd-rates-toggle { display: inline-flex; background: #fff; border: 1.5px solid var(--border); border-radius: 999px; padding: 3px; }
.cd-rt { border: none; background: none; cursor: pointer; font-family: var(--fb); font-size: .82rem; font-weight: 700; color: var(--text-b); padding: .5rem .95rem; border-radius: 999px; transition: background .2s, color .2s; white-space: nowrap; }
.cd-rt.active { background: var(--primary); color: #fff; }

/* Guests & cabins trigger button */
.cd-guests-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: .6rem; min-height: 44px; min-width: 220px;
  padding: .6rem .85rem; border: 1.5px solid var(--border); border-radius: var(--r-input); background: #fff; cursor: pointer;
  font-family: var(--fb); font-size: .9rem; font-weight: 600; color: var(--text-h); transition: border-color .2s; }
.cd-guests-btn:hover { border-color: var(--primary); }
.cd-guests-btn svg { color: var(--text-m); flex-shrink: 0; }

/* Start-date field — input-like trigger that opens the search-pill calendar */
.cd-cal-wrap { position: relative; flex: none; }
.cd-cal-trigger { display: inline-flex; align-items: center; justify-content: space-between; gap: .6rem; width: 100%; min-width: 200px; min-height: 44px;
  padding: .6rem .85rem; border: 1.5px solid var(--border); border-radius: var(--r-input); background: #fff; cursor: pointer;
  font-family: var(--fb); font-size: .9rem; font-weight: 600; color: var(--text-h); white-space: nowrap; transition: border-color .2s; }
.cd-cal-trigger:hover { border-color: var(--primary); }
.cd-cal-trigger.ph { color: var(--text-m); font-weight: 500; }
.cd-cal-ico { color: var(--text-m); flex-shrink: 0; }
.cd-cal-wrap .cal-panel { top: calc(100% + 10px); left: 0; transform: none; }
@media (max-width: 768px) {
  .cd-cal-trigger { min-width: 0; }
  .cd-cal-wrap .cal-panel { left: 0; }
}

/* ── Guests & cabins popup (occupancy editor) ── */
.cd-rooms-modal { position: fixed; inset: 0; z-index: 210; display: none; align-items: center; justify-content: center; padding: 1.25rem; }
.cd-rooms-modal.open { display: flex; }
.cd-rooms-bg { position: absolute; inset: 0; background: rgba(16,18,30,.62); backdrop-filter: blur(2px); }
.cd-rooms-card { position: relative; z-index: 2; width: 100%; max-width: 440px; max-height: 88vh; overflow: auto;
  background: #fff; border-radius: var(--r-card); box-shadow: var(--sh-modal); padding: 1.25rem 1.3rem 1.4rem; }
.cd-rooms-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cd-rooms-head strong { font-family: var(--fh); font-size: 1.15rem; color: var(--text-h); }
.cd-rooms-x { width: 32px; height: 32px; border-radius: 50%; border: none; background: var(--bg-soft); color: var(--text-h); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cd-rooms-x:hover { background: var(--border); }
.cd-rooms-field { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.cd-rooms-field > label { font-family: var(--fh); font-size: .92rem; font-weight: 700; color: var(--text-h); }
.cd-room { border: 1px solid var(--border); border-radius: 12px; padding: .85rem .9rem; margin-bottom: .85rem; background: var(--bg-soft); }
.cd-room-hd { font-family: var(--fh); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--secondary); margin-bottom: .6rem; }
.cd-room-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem .7rem; }
.cd-room-lab { display: flex; flex-direction: column; gap: .3rem; font-size: .78rem; font-weight: 600; color: var(--text-b); }
.cd-room-lab em { color: var(--text-m); font-style: normal; font-weight: 500; font-size: .72rem; }
.cd-rooms-field select, .cd-room-lab select { min-height: 40px; padding: .45rem .6rem; border: 1.5px solid var(--border); border-radius: var(--r-input); background: #fff; font-family: var(--fb); font-size: .88rem; color: var(--text-h); }
.cd-rooms-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .4rem; }
.cd-rooms-apply { width: auto; padding: .7rem 1.8rem; }
.cd-rooms-policy { font-size: .82rem; font-weight: 700; color: var(--secondary); text-decoration: underline; text-underline-offset: 2px; }

/* ── Cabin card: perks (board / promo) ── */
.cabin-perks { display: flex; flex-direction: column; gap: .25rem; margin: .55rem 0 .15rem; }
.cabin-perk { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 700; line-height: 1.2; }
.cabin-perk svg { width: 14px; height: 14px; flex-shrink: 0; }
.cabin-perk-green { color: var(--success); }
.cabin-perk-deal { color: var(--primary); }

/* ── Day-trip variant banner (shown instead of cabins for cabin-less day cruises) ── */
.cd-day-banner { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; background: var(--primary-light); border: 1px solid var(--border); border-radius: var(--r-card); padding: 1.1rem 1.25rem; margin-top: .25rem; }
.cd-day-from { font-family: var(--fh); font-size: 1.05rem; color: var(--text-h); }
.cd-day-from strong { color: var(--primary); font-size: 1.5rem; }
.cd-day-total { font-size: .9rem; color: var(--text-b); }
.cd-day-total strong { color: var(--text-h); }
.cd-day-total span { color: var(--text-m); font-size: .8rem; }
.cd-day-banner .btn-primary { margin-left: auto; }
@media (max-width: 600px) { .cd-day-banner .btn-primary { margin-left: 0; width: 100%; text-align: center; } }

/* ── Booking Policy sub-heading (inside Cabins & Rates panel) ── */
.cd-sub-title { font-family: var(--fh); font-size: 1.15rem; font-weight: 700; color: var(--text-h); margin: 2.2rem 0 1rem; padding-top: 1.8rem; border-top: 1px solid var(--border); }

/* ── Itinerary: Important Notes ── */
.itin-notes { margin-top: 1.6rem; }
.itin-notes-box { background: #FFF8EC; border-left: 3px solid var(--warning); border-radius: 8px; padding: 1rem 1.15rem; }
.itin-notes-title { font-family: var(--fh); font-size: .88rem; font-weight: 700; color: var(--warning); letter-spacing: .03em; text-transform: uppercase; margin: 0 0 .45rem; }
.itin-notes-box p { font-size: .88rem; color: var(--text-b); line-height: 1.65; margin: 0 0 .55rem; }
.itin-notes-box p:last-child { margin-bottom: 0; }
.itin-notes-box ul { list-style: disc; padding-left: 1.4rem; margin: .2rem 0 .55rem; } .itin-notes-box ol { list-style: decimal; padding-left: 1.4rem; margin: .2rem 0 .55rem; }
.itin-notes-box li { font-size: .88rem; color: var(--text-b); line-height: 1.65; margin-bottom: .3rem; }
.itin-notes-box a { color: var(--primary); text-decoration: underline; }

/* ── About: faq-q with icon ── */
.faq-q-ic { display: flex; align-items: center; gap: .55rem; }
.faq-q-ic span { flex: 1; }
.faq-ico { flex-shrink: 0; color: var(--primary); }

/* ── Q&As tab count badge ── */
.qa-tab-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 4px; background: var(--primary); color: #fff; border-radius: 20px; font-size: .65rem; font-weight: 700; line-height: 1; margin-left: .2rem; vertical-align: middle; }

/* ── Q&As section ── */
.qa-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.qa-header .td-section-title { margin-bottom: 0; }
.btn-ask { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1.1rem; background: var(--primary); color: #fff; border: none; border-radius: var(--r-btn); font-family: var(--fh); font-size: .85rem; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background .2s; }
.btn-ask:hover { background: var(--primary-dark); }
.btn-ask::before { content: ''; display: inline-block; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23fff' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat; }
.qa-item { padding: 1.3rem 0; border-bottom: 1px solid var(--border); }
.qa-item:last-child { border-bottom: none; }
/* Question */
.qa-q-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .55rem; }
.qa-ava { width: 36px; height: 36px; font-size: .85rem; flex-shrink: 0; }
.qa-q-byline { font-size: .8rem; color: var(--text-m); line-height: 1.4; }
.qa-q-byline strong { font-family: var(--fh); font-weight: 700; color: var(--text-h); }
.qa-q-text { color: var(--text-b); font-size: .95rem; line-height: 1.6; margin: 0 0 .85rem; }
/* Official answer block */
.qa-answer { background: var(--bg-soft); border-left: 3px solid var(--primary); border-radius: 0 12px 12px 0; padding: .85rem 1rem; margin-left: 1.1rem; }
.qa-ans-head { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; margin-bottom: .55rem; }
.qa-brand-ava { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: var(--primary); display: inline-flex; align-items: center; justify-content: center; }
.qa-brand-name { font-family: var(--fh); font-weight: 700; font-size: .87rem; color: var(--primary); }
.qa-verified { display: inline-flex; align-items: center; gap: .2rem; padding: .12rem .45rem; background: var(--primary-light); color: var(--primary); border-radius: 20px; font-size: .68rem; font-weight: 700; }
.qa-ans-via, .qa-ans-date { font-size: .74rem; color: var(--text-m); font-weight: 600; }
.qa-ans-via::before, .qa-ans-date::before { content: '· '; }
.qa-a-text { color: var(--text-b); font-size: .9rem; line-height: 1.65; margin: 0 0 .65rem; }
.qa-mention { font-weight: 700; color: var(--text-h); }
.qa-actions { display: flex; align-items: center; gap: 1.1rem; }
.qa-act-btn { display: inline-flex; align-items: center; gap: .3rem; background: none; border: none; padding: .25rem 0; cursor: pointer; font-family: var(--fb); font-size: .8rem; font-weight: 600; color: var(--text-m); transition: color .2s; }
.qa-act-btn:hover { color: var(--primary); }
.qa-help-n { color: var(--text-m); font-weight: 600; }
/* Pending */
.qa-pending { display: flex; align-items: center; gap: .45rem; margin-left: 1.1rem; padding: .7rem 1rem; background: var(--primary-light); border-radius: 8px; font-size: .82rem; font-weight: 600; color: var(--primary-dark); }
.qa-pending-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warning); flex-shrink: 0; animation: qaPulse 1.6s ease-in-out infinite; }
@keyframes qaPulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .qa-pending-dot { animation: none; } }
.qa-empty { color: var(--text-m); font-style: italic; font-size: .92rem; padding: 1rem 0; }
@media (max-width: 480px) {
  .qa-answer, .qa-pending { margin-left: 0; }
  .qa-actions { gap: .9rem; }
}

/* ── Q&As ask modal ── */
.qa-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); align-items: center; justify-content: center; z-index: 9000; padding: 1rem; }
.qa-modal-overlay.is-open { display: flex; }
.qa-modal-box { background: #fff; border-radius: 16px; box-shadow: var(--sh-modal); width: 100%; max-width: 480px; overflow: hidden; }
.qa-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--border); }
.qa-modal-head h3 { font-family: var(--fh); font-size: 1.05rem; font-weight: 700; color: var(--text-h); margin: 0; }
.qa-modal-x { background: none; border: none; cursor: pointer; color: var(--text-m); font-size: 1.1rem; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background .15s; }
.qa-modal-x:hover { background: var(--bg-soft); }
.qa-form { padding: 1.3rem; display: flex; flex-direction: column; gap: .9rem; }
.qa-field { display: flex; flex-direction: column; gap: .35rem; }
.qa-field label { font-size: .82rem; font-weight: 600; color: var(--text-b); }
.qa-field input, .qa-field textarea { border: 1px solid var(--border); border-radius: var(--r-input); padding: .6rem .75rem; font-family: var(--fb); font-size: .9rem; color: var(--text-h); background: #fff; transition: border-color .2s; resize: vertical; }
.qa-field input:focus, .qa-field textarea:focus { outline: none; border-color: var(--primary); }
.qa-submit { width: 100%; padding: .75rem; font-size: .95rem; }
.qa-form-ok { border-radius: 8px; padding: .65rem .9rem; font-size: .84rem; font-weight: 600; }
.qa-form-err { background: #FEE2E2; color: #DC2626; }
.qa-form-succ { background: #DCFCE7; color: #16A34A; }

/* ── Cabin card: group total ── */
.cabin-frompax { font-size: .8rem; color: var(--text-m); }
.cabin-frompax strong { color: var(--text-h); font-weight: 800; }
.cabin-extra-rate { font-size: .72rem; color: var(--secondary); background: var(--secondary-light); border-radius: 6px; padding: .2rem .45rem; line-height: 1.3; }
.cabin-extra-rate span { color: var(--text-m); font-weight: 400; }
.cabin-grouptotal { display: flex; flex-direction: column; align-items: flex-end; gap: .1rem; line-height: 1.2; }
.cgt-occ { font-size: .76rem; color: var(--text-m); }
.cgt-val { font-family: var(--fh); font-size: 1.45rem; font-weight: 800; color: var(--primary); }
.cgt-per { font-size: .7rem; color: var(--text-m); }
.cgt-note { font-size: .72rem; color: var(--warning); font-weight: 600; text-align: right; }
.cabin-grouptotal.cgt-warn { align-items: flex-end; text-align: right; font-size: .8rem; font-weight: 700; color: #EF4444; }

/* Widget: share note + supplement / cabin note */
.wg-share-note { font-size: .75rem; color: var(--text-m); margin: -.4rem 0 .9rem; }
.wg-guests { width: 100%; min-width: 0; }
.wg-sum-note { font-size: .78rem; color: var(--text-m); margin-top: .35rem; }
.wg-sum-note.wg-sum-warn { color: #EF4444; font-weight: 600; }

/* ── Cruise itineraries: 2/3-day tabs ── */
.cd-itin-tabs { display: flex; gap: .5rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
.cd-itab { border: 1.5px solid var(--border); background: #fff; cursor: pointer; font-family: var(--fh); font-size: .85rem; font-weight: 700; color: var(--text-b); padding: .6rem 1.2rem; border-radius: 999px; transition: all .2s; }
.cd-itab:hover { border-color: var(--primary); color: var(--primary); }
.cd-itab.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ── About + Booking Policy ── */
.cd-about-intro { color: var(--text-b); line-height: 1.8; margin-bottom: 1.1rem; }
.cd-about-intro p,.cd-about-intro li { margin-bottom: .55rem; } .cd-about-intro ul { list-style: disc; padding-left: 1.4rem; } .cd-about-intro ol { list-style: decimal; padding-left: 1.4rem; } .cd-about-intro a { color: var(--primary); text-decoration: underline; } .cd-about-intro p:last-child { margin-bottom: 0; }
.cd-pol-list { list-style: none; margin: 0; padding: 0; }
.cd-pol-list li { position: relative; padding-left: 1.6rem; margin-bottom: .5rem; color: var(--text-b); line-height: 1.55; font-size: .9rem; }
.cd-pol-list li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.cd-pol-list.yes li::before { content: '✓'; color: var(--success); }
.cd-pol-list.no li::before { content: '✕'; color: #EF4444; }

/* Ship-class stars inline on the same row as the title */
.cd-title-row { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; margin-bottom: .5rem; }
.cd-title-row .td-title { margin: 0; }
.cd-title-row .cr-card-star { margin: 0; font-size: 1.05rem; line-height: 1; }
.cd-port { display: flex; align-items: center; gap: .4rem; margin-top: .5rem; font-size: .9rem; color: var(--text-m); }
.cd-port-icon { font-size: 1rem; line-height: 1; flex-shrink: 0; }
.cd-port-icon img.emoji { width: 1em; height: 1em; vertical-align: -.1em; }
.cd-port-text { color: var(--text-b); }

/* Overview */
.cd-sub { font-family: var(--fh); font-size: 1rem; font-weight: 700; color: var(--text-h); margin: 1.25rem 0 .6rem; }
.cd-highs { list-style: none; margin: 0; padding: 0; }
.cd-highs li { position: relative; padding-left: 1.7rem; margin-bottom: .55rem; color: var(--text-b); line-height: 1.6; font-size: .9rem; }
.cd-highs li::before { content: ''; position: absolute; left: 0; top: .12rem; width: 16px; height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8521A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: contain; }

/* ── Cabin Types & Rates ── */
.cabin-list { display: flex; flex-direction: column; gap: 1rem; }
.cabin-card { display: grid; grid-template-columns: 190px 1fr auto; gap: 1.1rem; align-items: center;
  border: 1px solid var(--border); border-radius: 12px; padding: .9rem; background: #fff; transition: box-shadow .2s, border-color .2s; }
.cabin-card:hover { box-shadow: var(--sh-card); border-color: var(--primary-light); }
.cabin-img { width: 190px; height: 130px; border-radius: 10px; overflow: hidden; }
.cabin-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cabin-card:hover .cabin-img img { transform: scale(1.06); }
.cabin-name { font-family: var(--fh); font-size: 1.05rem; font-weight: 700; color: var(--text-h); margin-bottom: .55rem; }
.cabin-spec { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .82rem; color: var(--text-b); }
.cabin-spec span { display: inline-flex; align-items: center; gap: .3rem; }
.cabin-buy { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; min-width: 188px; }
.cabin-price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.cabin-price .price-from { font-size: .65rem; text-transform: uppercase; color: var(--text-m); font-weight: 600; }
.cabin-price .price-val { font-family: var(--fh); font-size: 1.3rem; font-weight: 800; color: var(--primary); }
.cabin-price .price-per { font-size: .68rem; font-weight: 500; color: var(--text-m); }
.cabin-btn { width: auto; padding: .5rem 1.1rem; font-size: .82rem; }
.cabin-detail {
  margin-top: .6rem; display: inline-flex; align-items: center; gap: .35rem;
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: var(--fb); font-size: .8rem; font-weight: 700; color: var(--secondary);
  text-decoration: underline; text-underline-offset: 2px; transition: color .2s;
}
.cabin-detail:hover { color: var(--primary); }
.cabin-detail svg { width: 14px; height: 14px; }

/* ── Cabin detail modal ── */
.cabin-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 1.25rem; }
.cabin-modal.open { display: flex; }
.cabin-modal-bg { position: absolute; inset: 0; background: rgba(16,18,30,.62); backdrop-filter: blur(2px); }
.cabin-modal-card { position: relative; z-index: 2; width: 100%; max-width: 720px; max-height: 90vh; overflow: auto;
  background: #fff; border-radius: var(--r-card); box-shadow: var(--sh-modal); }
.cabin-modal-close { position: absolute; top: .75rem; right: .75rem; z-index: 3; width: 36px; height: 36px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.92); color: var(--text-h); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--sh-card); }
.cabin-modal-close:hover { background: #fff; }
/* carousel */
.cm-carousel { position: relative; aspect-ratio: 16/9; background: #111; overflow: hidden; border-radius: var(--r-card) var(--r-card) 0 0; }
.cm-carousel img { width: 100%; height: 100%; object-fit: cover; display: none; }
.cm-carousel img.active { display: block; }
.cm-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.85); color: var(--text-h); cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; }
.cm-arrow:hover { background: #fff; }
.cm-prev { left: .6rem; } .cm-next { right: .6rem; }
.cm-dots { position: absolute; bottom: .6rem; left: 0; right: 0; display: flex; justify-content: center; gap: .35rem; z-index: 2; }
.cm-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); border: none; cursor: pointer; padding: 0; }
.cm-dot.active { background: #fff; }
/* body */
.cm-body { padding: 1.5rem 1.6rem 1.8rem; }
.cm-name { font-family: var(--fh); font-size: 1.4rem; font-weight: 800; color: var(--text-h); margin-bottom: .35rem; }
.cm-spec { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .82rem; color: var(--text-b); margin-bottom: .9rem; }
.cm-spec span { display: inline-flex; align-items: center; gap: .3rem; }
.cm-price { font-family: var(--fh); font-weight: 800; color: var(--primary); }
.cm-desc { color: var(--text-b); line-height: 1.75; font-size: .92rem; margin-bottom: 1.1rem; }
.cm-amen-title { font-family: var(--fh); font-size: 1rem; font-weight: 700; color: var(--text-h); margin-bottom: .7rem; }
.cm-amen { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem .9rem; }
.cm-amen li { display: flex; align-items: flex-start; gap: .5rem; font-size: .85rem; color: var(--text-b); line-height: 1.4; }
.cm-amen li svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; margin-top: .1rem; }
.cm-cta { display: flex; gap: .6rem; flex-wrap: wrap; }
.cm-cta .btn-primary { width: auto; padding: .7rem 1.4rem; }
@media (max-width: 560px) {
  .cm-amen { grid-template-columns: 1fr; }
  .cm-body { padding: 1.25rem; }
}

/* ── Map band ── */
.cd-map { position: relative; padding: 3.5rem 0; overflow: hidden; }
.cd-map-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cd-map-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(26,26,46,.88), rgba(10,110,110,.72)); }
.cd-map-inner { position: relative; z-index: 2; }
.cd-map-card { max-width: 720px; }
.cd-map-card h3 { font-family: var(--fh); font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: .9rem; }
.cd-route { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; margin-bottom: 1rem; }
.cd-route span { background: rgba(255,255,255,.14); color: #fff; font-size: .85rem; font-weight: 600; padding: .4rem .8rem; border-radius: 20px; }
.cd-route .cd-route-arrow { background: none; padding: 0; color: rgba(255,255,255,.7); font-weight: 700; }
.cd-map-card p { color: rgba(255,255,255,.85); line-height: 1.7; font-size: .95rem; }

/* ── Widget: show stacked on tablet/mobile (tour-detail.css hides it) ── */
@media (max-width: 1024px) {
  .td-widget { display: block !important; position: static; margin-top: 1.5rem; }
}

/* ── Cabin card responsive — stay horizontal, one row per card ── */
@media (max-width: 680px) {
  .cabin-card { grid-template-columns: 104px 1fr; grid-template-rows: auto auto auto; gap: .5rem .9rem; align-items: start; }
  .cabin-img { grid-row: 1 / 3; width: 104px; height: 100%; min-height: 116px; }
  .cabin-info { grid-column: 2; grid-row: 1; }
  .cabin-name { font-size: .98rem; margin-bottom: .4rem; }
  .cabin-spec { gap: .25rem .7rem; font-size: .78rem; }
  .cabin-buy { grid-column: 1 / 3; grid-row: 3; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .5rem .8rem; text-align: left; min-width: 0; border-top: 1px solid var(--border); padding-top: .6rem; }
  .cabin-grouptotal { align-items: flex-start; }
  .cgt-note, .cabin-grouptotal.cgt-warn { text-align: left; }
  .cabin-detail { margin-top: 0; }
  .cd-map { padding: 2.5rem 0; }
  .cd-guests-btn { min-width: 0; width: 100%; }
  .cd-room-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .cabin-btn { width: 100%; text-align: center; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .cabin-card:hover .cabin-img img { transform: none; }
}
