/* single-package.css — styles for single-package.php
   Loaded only on single package detail pages via functions.php
   ---------------------------------------------------------------- */

/* ── Hero (full-width image / SVG background) ──────────── */
.hero { position: relative; height: 240px; overflow: hidden; }
.hero-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; /* works for both <img> and <svg> */
}
.hero-ov { position: absolute; inset: 0; background: rgba(5,10,22,.5); }
.hero-c {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 20px 24px;
}
.hcat {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(212,160,23,.18); border: 1px solid rgba(212,160,23,.38);
  border-radius: 4px; padding: 3px 9px; margin-bottom: 8px; width: fit-content;
}
.hcat i { font-size: 11px; color: #D4A017; }
.hcat span { font-size: 10px; color: #D4A017; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.ht {
  font-size: 22px; font-weight: 700; color: #fff;
  font-family: 'Cinzel', serif; line-height: 1.28; margin-bottom: 7px;
}
.hrat { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.hst { color: #D4A017; font-size: 13px; letter-spacing: 1px; }
.hrn { font-size: 13px; font-weight: 700; color: #fff; }
.hrc { font-size: 11px; color: rgba(255,255,255,.5); }
.hbadges { display: flex; gap: 5px; flex-wrap: wrap; }
.hb {
  display: flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12);
  border-radius: 5px; padding: 4px 9px;
}
.hb i { font-size: 12px; color: #D4A017; }
.hb span { font-size: 11px; color: rgba(255,255,255,.88); font-weight: 700; }
.hb small { font-size: 9px; color: rgba(255,255,255,.4); }
.hgl { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: #D4A017; opacity: .32; z-index: 3; }

/* ── Two-column body layout ────────────────────────────── */
.body { display: flex; background: #F4F1EB; }
.main { flex: 1; padding: 20px 20px 24px 24px; min-width: 0; }
.sb { width: 248px; flex-shrink: 0; padding: 16px; border-left: 1px solid #DDD8CE; background: #fff; }

/* ── Common section elements ───────────────────────────── */
.gbar { width: 24px; height: 2.5px; background: #D4A017; border-radius: 1px; margin-bottom: 5px; }
.stit { font-family: 'Cinzel', serif; font-size: 14px; font-weight: 700; color: #1B2A4A; margin-bottom: 3px; }
.ssub { font-size: 11px; color: #9A9486; margin-bottom: 11px; }
.op { font-size: 12px; color: #444; line-height: 1.82; margin-bottom: 8px; }

/* ── Highlights ────────────────────────────────────────── */
.hlbox { background: #fff; border: 1px solid #DDD8CE; border-radius: 9px; padding: 13px 14px; margin-bottom: 16px; }
.hlg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.hli { display: flex; align-items: flex-start; gap: 7px; padding: 3px 0; }
.hld {
  width: 16px; height: 16px; border-radius: 50%;
  background: #FDF5E0; border: 1px solid #D4A017;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.hld i { font-size: 8px; color: #D4A017; }
.hli span { font-size: 11px; color: #444; line-height: 1.42; }

/* ── Day-by-day itinerary ──────────────────────────────── */
.day { display: flex; gap: 10px; }
.dln { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 30px; }
.dci {
  width: 30px; height: 30px; border-radius: 50%;
  background: #1B2A4A;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.dci span { font-size: 9px; font-weight: 700; color: #D4A017; }
.dvl { width: 1px; flex: 1; background: #DDD8CE; margin: 3px auto; }
.dc { flex: 1; padding-bottom: 12px; }
.dh { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; }
.dt { font-size: 11.5px; font-weight: 700; color: #1B2A4A; }
.dkm { font-size: 10px; color: #9A9486; background: #F4F1EB; padding: 1px 6px; border-radius: 3px; }
.dd { font-size: 11px; color: #555; line-height: 1.72; margin-bottom: 4px; }
.dcps { display: flex; gap: 4px; flex-wrap: wrap; }
.dcp { display: flex; align-items: center; gap: 3px; font-size: 10px; color: #9A9486; background: #F4F1EB; border-radius: 3px; padding: 2px 6px; }
.dcp i { font-size: 11px; color: #D4A017; }

/* ── Included / Excluded ───────────────────────────────── */
.ie { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; margin-bottom: 16px; }
.iec { background: #fff; border: 1px solid #DDD8CE; border-radius: 9px; padding: 12px 13px; }
.iet { font-size: 12px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 5px; }
.iet.i { color: #3B6D11; }
.iet.e { color: #A32D2D; }
.iet i { font-size: 14px; }
.iei { display: flex; align-items: flex-start; gap: 6px; padding: 3px 0; border-bottom: 1px solid #F4F1EB; }
.iei:last-child { border-bottom: none; }
.iei i { font-size: 12px; flex-shrink: 0; margin-top: 1px; }
.iei.i i { color: #3B6D11; }
.iei.e i { color: #A32D2D; }
.iei span { font-size: 11px; color: #444; }

/* ── Reviews summary + cards ───────────────────────────── */
.revsum {
  background: #FDF5E0; border: 1px solid rgba(212,160,23,.28);
  border-radius: 9px; padding: 14px;
  margin-bottom: 12px; display: flex; align-items: center; gap: 16px;
}
.rsn { font-size: 36px; font-weight: 700; color: #1B2A4A; line-height: 1; }
.rsst { color: #D4A017; font-size: 14px; margin: 3px 0; }
.rsct { font-size: 10px; color: #9A9486; }
.rbars { flex: 1; }
.rrow { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; }
.rl { font-size: 10px; color: #9A9486; width: 26px; text-align: right; flex-shrink: 0; }
.rbg { flex: 1; height: 5px; background: #EDE9E0; border-radius: 3px; overflow: hidden; }
.rbf { height: 100%; background: #D4A017; border-radius: 3px; }
.rn2 { font-size: 10px; color: #9A9486; width: 16px; }
.revg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rcard { background: #fff; border: 1px solid #DDD8CE; border-radius: 9px; padding: 11px; }
.rtop { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.rav { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; flex-shrink: 0; }
.avb { background: #E6F1FB; color: #0C447C; }
.avg { background: #EAF3DE; color: #27500A; }
.ava { background: #FDF5E0; color: #633806; }
.rname { font-size: 11.5px; font-weight: 700; color: #1B2A4A; }
.rdt { font-size: 10px; color: #9A9486; }
.rst { color: #D4A017; font-size: 11px; margin-bottom: 4px; }
.rtxt { font-size: 11px; color: #555; line-height: 1.65; }

/* ── Related packages ──────────────────────────────────── */
.relg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 10px; }
.relc { background: #fff; border: 1px solid #DDD8CE; border-radius: 9px; overflow: hidden; display: block; }
.reli { height: 68px; position: relative; overflow: hidden; }
.reli svg, .reli img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.relb { padding: 8px 10px; }
.reld { font-size: 10px; color: #D4A017; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.reln { font-size: 11px; font-weight: 700; color: #1B2A4A; margin-bottom: 4px; line-height: 1.32; }
.relm { display: flex; justify-content: space-between; align-items: center; }
.relpr { font-family: 'Cinzel', serif; font-size: 12px; font-weight: 700; color: #1B2A4A; }
.reldy { font-size: 10px; color: #9A9486; }

/* ── Booking sidebar ───────────────────────────────────── */
.sbpc { background: #1B2A4A; border-radius: 9px; padding: 14px 13px; margin-bottom: 12px; }
.sbfr { font-size: 10px; color: rgba(255,255,255,.4); margin-bottom: 1px; }
.sbpr { font-family: 'Cinzel', serif; font-size: 22px; font-weight: 700; color: #fff; line-height: 1; }
.sbpr span { font-size: 11px; font-weight: 400; color: rgba(255,255,255,.4); font-family: 'Montserrat', sans-serif; }
.sborg { font-size: 10.5px; color: rgba(255,255,255,.3); text-decoration: line-through; margin-top: 2px; }
.sbdc { display: inline-block; background: #D4A017; color: #0F1C35; font-size: 9.5px; font-weight: 700; padding: 2px 7px; border-radius: 3px; margin-top: 4px; }
.sbts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 10px; }
.sbt { border: 1px solid rgba(255,255,255,.13); border-radius: 5px; padding: 6px 4px; text-align: center; cursor: pointer; }
.sbt.on { border-color: #D4A017; background: rgba(212,160,23,.12); }
.sbtl { font-size: 8.5px; color: rgba(255,255,255,.38); margin-bottom: 2px; }
.sbtp { font-size: 11.5px; font-weight: 700; color: #fff; }
.sbbk {
  width: 100%; background: #D4A017; color: #0F1C35;
  border: none; border-radius: 6px; padding: 10px;
  font-size: 13px; font-weight: 700; cursor: pointer;
  margin-top: 10px; display: block; text-align: center;
  font-family: 'Montserrat', sans-serif;
}
.sbwa {
  width: 100%; background: #25D366; color: #fff;
  border: none; border-radius: 6px; padding: 8px;
  font-size: 12px; font-weight: 700; cursor: pointer;
  margin-top: 5px; display: flex; align-items: center;
  justify-content: center; gap: 5px;
  font-family: 'Montserrat', sans-serif;
}
.sbwa i { font-size: 14px; }

/* Quick info chips */
.sbchs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 11px; }
.sbch { background: #F4F1EB; border-radius: 5px; padding: 7px 8px; }
.sbchl { font-size: 9px; color: #9A9486; margin-bottom: 1px; }
.sbchv { font-size: 11px; font-weight: 700; color: #1B2A4A; }

/* Quick inquiry form */
.sbfm { background: #F4F1EB; border-radius: 8px; padding: 11px; margin-bottom: 11px; }
.sbft { font-size: 12px; font-weight: 700; color: #1B2A4A; margin-bottom: 8px; }
.sbip {
  width: 100%; height: 32px;
  background: #fff; border: 1px solid #DDD8CE; border-radius: 5px;
  padding: 0 9px; font-size: 11px; color: #444;
  margin-bottom: 5px; font-family: 'Montserrat', sans-serif;
}
.sbip::placeholder { color: #bbb; }
.sb2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.sb2 .sbip { margin-bottom: 0; }
.sbsb {
  width: 100%; background: #1B2A4A; color: #fff;
  border: none; border-radius: 5px; padding: 8px;
  font-size: 11.5px; font-weight: 700; cursor: pointer;
  margin-top: 5px; font-family: 'Montserrat', sans-serif;
}

/* Trust badges */
/* ── CF7 overrides — .sbfm sidebar form ───────────────────────────────
   CF7 wraps in <div class="wpcf7"><form class="wpcf7-form">.
   Our .sbip / .sbsb / .sb2 classes are passed directly to CF7 fields
   via class: attribute in the CF7 form tab, so they already look right.
   These rules just clean up CF7's wrapper spacing.                      */
.sbfm .wpcf7 { display: block; }
.sbfm .wpcf7-form { display: flex; flex-direction: column; }
/* Remove default margins CF7 adds around control wrappers */
.sbfm .wpcf7-form p { margin: 0; }
.sbfm .wpcf7-form-control-wrap { display: block; }
/* Reset CF7's own input focus ring — .sbip handles it */
.sbfm .wpcf7-form-control { outline: none; }
/* Validation tip below an invalid field */
.sbfm .wpcf7-not-valid-tip { font-size: 10px; color: #A32D2D; display: block; margin-top: 2px; }
/* Response output (success / error) */
.sbfm .wpcf7-response-output { margin: 6px 0 0; padding: 5px 9px; border-radius: 4px; font-size: 10.5px; }
.sbfm .wpcf7-form.sent    .wpcf7-response-output { background: #EAF3DE; border-color: #3B6D11; color: #3B6D11; }
.sbfm .wpcf7-form.failed  .wpcf7-response-output,
.sbfm .wpcf7-form.invalid .wpcf7-response-output { background: #FCEBEB; border-color: #A32D2D; color: #A32D2D; }

.sbtr { background: #fff; border: 1px solid #DDD8CE; border-radius: 7px; padding: 10px 11px; }
.sbtrr { display: flex; align-items: center; gap: 6px; padding: 4px 0; border-bottom: 1px solid #F4F1EB; }
.sbtrr:last-child { border-bottom: none; }
.sbtrr i { font-size: 13px; color: #D4A017; flex-shrink: 0; }
.sbtrr span { font-size: 11px; color: #444; }
