@charset "UTF-8";
/* ==========================================================================
   tfi-itinerary.css — redesigned tour/itinerary detail pages (2026 pilot)

   Scoped entirely under .tfi-itin / .tfi-itin-side so it can be dropped onto
   any of the 196 legacy tour pages (which load style.css + tfi-chrome.css,
   never site.css) without colliding with existing .quickform/.leftwhy/etc.
   rules already in style.css. Uses the --navy/--gold/--ink tokens already
   defined in css/tfi-chrome.css's :root — load this file AFTER tfi-chrome.css.

   Pilot scope: india-tour-packages/agra-with-bharatpur-bird-century.html.
   On approval this becomes the shared look for every tour page and the
   sidebar portion moves into Templates/template.dwt's locked region.
   ========================================================================== */

.tfi-itin, .tfi-itin-side { font-family: var(--body, "Manrope", system-ui, Arial, sans-serif); color: var(--ink, #16232e); }

/* --- quick facts row under the H1 --------------------------------------- */
.tfi-itin-facts { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 4px 0 22px; padding: 0; list-style: none; }
.tfi-itin-facts li { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--ink-2, #4c5f6e); }
.tfi-itin-facts svg { width: 16px; height: 16px; flex: none; color: var(--saffron, #c26a1d); }

/* --- jump nav (Overview / Itinerary / Inclusions / Enquire) ------------- */
.tfi-itin-jump { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line, #e2dbd1); margin: 0 0 24px; padding: 0 0 0; }
.tfi-itin-jump a { display: inline-block; padding: 10px 14px; font-size: 13.5px; font-weight: 600; color: var(--ink-2, #4c5f6e); text-decoration: none; border-bottom: 2px solid transparent; }
.tfi-itin-jump a:hover { color: var(--navy, #143b52); }
.tfi-itin-jump a.is-enquire { margin-left: auto; color: var(--saffron, #c26a1d); }

/* --- content cards -------------------------------------------------------*/
.tfi-itin-card { background: #fff; border: 1px solid var(--line-soft, #efe9e1); border-radius: var(--r-lg, 12px); padding: 24px 26px; margin-bottom: 20px; box-shadow: var(--sh-1, 0 1px 2px rgba(22,35,46,.05)); }
.tfi-itin-card h2 { font-family: var(--display, Georgia, serif); font-size: 21px; margin: 0 0 12px; color: var(--navy, #143b52); }
.tfi-itin-card h3.tfi-itin-subhead { font-size: 14.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--saffron-ink, #9c4f12); margin: 22px 0 12px; }
.tfi-itin-card p { line-height: 1.65; color: var(--ink-2, #4c5f6e); font-size: 15px; }

/* --- tour highlights image row ------------------------------------------*/
.tfi-itin-highlights { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; padding: 0; list-style: none; }
.tfi-itin-highlights li { width: 128px; text-align: center; }
.tfi-itin-highlights img { width: 128px; height: 88px; object-fit: cover; border-radius: var(--r-md, 6px); display: block; box-shadow: var(--sh-1); }
.tfi-itin-highlights span { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--navy, #143b52); }

/* --- day-by-day itinerary -------------------------------------------------
   Reuses the site's existing .days span markup (kept verbatim from the old
   page) so no content had to be retyped — just restyled to sit in a card. */
.tfi-itin-flow p { margin: 0 0 18px; padding-left: 0; }
.tfi-itin-flow p:last-child { margin-bottom: 0; }
.tfi-itin-flow .days { display: block; font-family: var(--display, Georgia, serif); font-size: 16px; font-weight: 600; color: var(--navy, #143b52); margin-bottom: 4px; }
.tfi-itin-flow .days strong { color: var(--saffron, #c26a1d); font-weight: 600; }

/* --- inclusions / exclusions grid ---------------------------------------*/
.tfi-itin-incgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tfi-itin-incbox h4 { display: flex; align-items: center; gap: 8px; font-size: 15px; margin: 0 0 12px; }
.tfi-itin-incbox.yes h4 { color: var(--ok, #1f6b5e); }
.tfi-itin-incbox.no h4 { color: #a33; }
.tfi-itin-incbox svg { width: 18px; height: 18px; flex: none; }
.tfi-itin-incbox ul { margin: 0; padding: 0; list-style: none; }
.tfi-itin-incbox li { font-size: 13.8px; line-height: 1.55; color: var(--ink-2, #4c5f6e); padding: 6px 0 6px 20px; position: relative; border-bottom: 1px solid var(--line-soft, #efe9e1); }
.tfi-itin-incbox li:last-child { border-bottom: none; }
.tfi-itin-incbox.yes li::before { content: "✓"; position: absolute; left: 0; color: var(--ok, #1f6b5e); font-weight: 700; }
.tfi-itin-incbox.no li::before { content: "✕"; position: absolute; left: 0; color: #a33; font-weight: 700; }
.tfi-itin-customize { grid-column: 1 / -1; background: var(--bg-alt, #faf7f2); border: 1px dashed var(--line, #e2dbd1); border-radius: var(--r-md, 6px); padding: 16px 18px; text-align: center; margin-top: 4px; }
.tfi-itin-customize p { margin: 0 0 10px; font-size: 14px; }
.tfi-itin-customize a { display: inline-block; background: var(--navy, #143b52); color: #fff; padding: 9px 18px; border-radius: var(--r-sm, 3px); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.tfi-itin-customize a:hover { background: var(--navy-700, #0d2939); }
@media (max-width: 767px) { .tfi-itin-incgrid { grid-template-columns: 1fr; } }

/* --- sidebar: price / WhatsApp card ---------------------------------------*/
.tfi-itin-side .tfi-itin-price { background: var(--navy, #143b52); color: #eef3f6; border-radius: var(--r-lg, 12px); padding: 22px 22px 20px; margin-bottom: 16px; text-align: center; }
.tfi-itin-price .from { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--gold, #e5a623); }
.tfi-itin-price .amount { font-family: var(--display, Georgia, serif); font-size: 22px; margin: 4px 0 8px; color: #fff; }
.tfi-itin-price .note { font-size: 12px; line-height: 1.55; color: #cfdce6; margin-bottom: 16px; }
.tfi-itin-price .btn-plan, .tfi-itin-price .btn-wa { display: block; width: 100%; text-align: center; padding: 11px 14px; border-radius: var(--r-sm, 3px); font-size: 13.5px; font-weight: 600; text-decoration: none; box-sizing: border-box; }
.tfi-itin-price .btn-plan { background: var(--saffron, #c26a1d); color: #fff; margin-bottom: 8px; }
.tfi-itin-price .btn-plan:hover { background: var(--saffron-ink, #9c4f12); color: #fff; }
.tfi-itin-price .btn-wa { background: transparent; border: 1px solid rgba(255,255,255,.4); color: #fff; }
.tfi-itin-price .btn-wa:hover { background: rgba(255,255,255,.12); color: #fff; }

/* --- sidebar: chat-with-experts mini card ----------------------------------*/
.tfi-itin-helpcard { background: #fff; border: 1px solid var(--line-soft, #efe9e1); border-radius: var(--r-lg, 12px); padding: 16px 18px; margin-bottom: 16px; }
.tfi-itin-help-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.tfi-itin-help-row .avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--gold-100, #fdf3e0); color: var(--saffron-ink, #9c4f12); display: flex; align-items: center; justify-content: center; flex: none; }
.tfi-itin-help-row .avatar svg { width: 19px; height: 19px; }
.tfi-itin-help-row strong { display: block; font-size: 13.8px; color: var(--navy, #143b52); }
.tfi-itin-help-row span { display: block; font-size: 12px; color: var(--ink-3, #7b8c99); }
.tfi-itin-help-links { display: flex; gap: 8px; }
.tfi-itin-help-links a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 6px; border-radius: var(--r-sm, 3px); border: 1px solid var(--line, #e2dbd1); font-size: 12px; font-weight: 600; color: var(--navy, #143b52); text-decoration: none; }
.tfi-itin-help-links a svg { width: 14px; height: 14px; }
.tfi-itin-help-links a.wa { background: var(--ok-bg, #e7f1ee); border-color: var(--ok-bg, #e7f1ee); color: var(--ok, #1f6b5e); }
.tfi-itin-help-links a:hover { background: var(--bg-alt, #faf7f2); }

/* --- sidebar: quick enquiry card -------------------------------------------
   Fields/ids intentionally distinct from the .field/.check/.hp classes used
   by the header overlay quickform, but posts to the exact same endpoint with
   the exact same field NAMES (name/email/phone/message/consent/tour/
   source_page/ts/company_website/nights/adults/children/travel_date) so
   enquiry-submit.php and Model/crm-intake.php need zero changes. */
.tfi-itin-enquiry { background: #fff; border: 1px solid var(--line-soft, #efe9e1); border-radius: var(--r-lg, 12px); padding: 20px 20px 18px; }
.tfi-itin-enquiry h4 { font-family: var(--display, Georgia, serif); font-size: 17px; margin: 0 0 4px; color: var(--navy, #143b52); }
.tfi-itin-enquiry > p { font-size: 12.5px; color: var(--ink-3, #7b8c99); margin: 0 0 14px; line-height: 1.5; }
.tfi-itin-enquiry .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tfi-itin-enquiry .field { display: grid; gap: 4px; margin-bottom: 10px; }
.tfi-itin-enquiry .field label { font-size: 12.5px; font-weight: 600; color: var(--navy, #143b52); }
.tfi-itin-enquiry input:not([type="checkbox"]), .tfi-itin-enquiry select, .tfi-itin-enquiry textarea {
  font: inherit; font-size: 13.5px; padding: 9px 10px; border: 1px solid var(--line, #e2dbd1);
  border-radius: var(--r-sm, 3px); width: 100%; box-sizing: border-box; background: #fff; color: var(--ink, #16232e);
}
.tfi-itin-enquiry textarea { resize: vertical; min-height: 56px; }
.tfi-itin-enquiry .check { display: flex; gap: 8px; align-items: flex-start; font-size: 11.8px; color: var(--ink-3, #7b8c99); margin: 4px 0 14px; line-height: 1.5; }
/* Explicit width/height — without this, input[type=checkbox] inherits no
   sizing of its own and this flex row previously fell through to the
   generic ".tfi-itin-enquiry input" width:100% rule above, stretching the
   checkbox to the full row width and squeezing the label text into a thin
   leftover column on the right. Fixed 2026-09-08. */
.tfi-itin-enquiry .check input { width: 16px; height: 16px; margin: 2px 0 0; flex: none; }
.tfi-itin-enquiry .hp { position: absolute !important; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
.tfi-itin-enquiry button[type="submit"] { width: 100%; background: var(--saffron, #c26a1d); color: #fff; border: none; padding: 11px 14px; border-radius: var(--r-sm, 3px); font-size: 14px; font-weight: 600; cursor: pointer; }
.tfi-itin-enquiry button[type="submit"]:hover { background: var(--saffron-ink, #9c4f12); }
.tfi-itin-enquiry .privacy-note { font-size: 11px; color: var(--ink-3, #7b8c99); text-align: center; margin: 10px 0 0; }
.tfi-itin-enquiry .privacy-note a { color: var(--ink-3, #7b8c99); }

@media (max-width: 767px) {
  .tfi-itin-side { margin-top: 24px; }
}
