/* ==========================================================================
   Booking info (/bookingtrip) + booking form (/booking/{id}) — bk- prefix
   depends on departures.css + tours-all.css (+ tailormade.css for the form)
   ========================================================================== */
.bk-hero .dp-hero__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px 48px; align-items: center; }
.bk-hero .dp-stats li { background: rgba(21, 25, 25, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.bk-hero .dp-stats strong { font-size: 24px; }
.bk-hero__lead { font-size: 16px; color: #fff; }

.bk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.dp .bk-grid:before, .dp .bk-grid:after { display: none !important; } /* bootstrap .container clearfix would become grid items */
.bk-main { min-width: 0; }

/* ---------- steps (info page) ---------- */
.bk-steps { list-style: none; margin: 0 0 32px; padding: 0; counter-reset: bkstep; }
.bk-step {
    position: relative;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 18px;
    padding: 22px 26px 24px 22px;
    margin-bottom: 14px;
    background: #fff;
    color: #3a3f3f;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .32);
    scroll-margin-top: 80px;
}
.bk-step__num { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 14px; background: #151919; color: var(--hx-yellow); font-weight: 700; font-size: 24px; line-height: 1; }
.bk-step__num small { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: #9aa3a3; margin-bottom: 4px; }
.bk-step__body { min-width: 0; }
.bk-step h3 { margin: 4px 0 10px; font-size: 18px; font-weight: 700; color: #151919; }
.bk-prose { font-size: 14.5px; line-height: 1.75; text-align: justify; hyphens: auto; }
.bk-prose p { margin: 0 0 10px; text-align: justify !important; }
.bk-prose p:last-child { margin-bottom: 0; }
.bk-prose ul, .bk-prose ol { margin: 0 0 10px; padding-left: 20px; }
.bk-prose li { margin: 0 0 4px; }
.bk-prose strong, .bk-prose b { color: #151919; }
.bk-prose a { color: #151919; font-weight: 700; text-decoration: underline; text-decoration-color: var(--hx-yellow); text-underline-offset: 3px; }
.bk-prose a:hover { color: #b58f00; }
.bk-prose address { font-style: normal; margin: 10px 0; padding: 10px 14px; border-left: 3px solid var(--hx-yellow); background: #fafafa; border-radius: 0 8px 8px 0; font-size: 13.5px; line-height: 1.6; }
.bk-step__cta { display: inline-flex; margin-top: 12px; }

/* ---------- policies ---------- */
.bk-policies { margin: 0 0 32px; }
.bk-policy { border: 1px solid var(--hx-line); border-radius: 12px; background: rgba(255, 255, 255, .03); margin-bottom: 10px; }
.bk-policy summary { display: flex; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; color: #fff; font-size: 15px; font-weight: 700; }
.bk-policy summary::-webkit-details-marker { display: none; }
.bk-policy summary i { color: var(--hx-yellow); width: 18px; text-align: center; }
.bk-policy summary:after { content: '\f107'; font-family: FontAwesome; margin-left: auto; color: var(--hx-muted); transition: transform .2s ease; }
.bk-policy[open] summary:after { transform: rotate(180deg); }
.bk-policy__body { padding: 0 18px 18px 48px; color: var(--hx-text); font-size: 14px; line-height: 1.75; text-align: justify; hyphens: auto; }
.bk-policy__body p { margin: 0 0 10px; text-align: justify !important; }
.bk-policy__body p:last-child { margin: 0; }
.bk-policy__body ul { margin: 0 0 10px; padding-left: 18px; }
.bk-policy__body strong { color: #fff; }
.bk-policy__body a { color: var(--hx-yellow); }

/* ---------- sidebar ---------- */
.bk-side { position: sticky; top: 76px; }
.bk-side__card {
    background: #fff;
    color: #3a3f3f;
    border-radius: 14px;
    border-top: 4px solid var(--hx-yellow);
    padding: 20px 22px 22px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.bk-side__card .hx-eyebrow { color: #8a6f00; }
.bk-side__card h2 { margin: 0 0 8px; font-size: 19px; font-weight: 700; color: #151919; }
.bk-side__card p { margin: 0 0 14px; font-size: 13.5px; line-height: 1.65; }
.bk-side__btn { display: flex; justify-content: center; width: 100%; padding: 11px 16px; font-size: 14px; }
.bk-side__btn + .bk-side__btn { margin-top: 8px; }
.bk-side__btn--ghost { background: #fff; color: #151919 !important; border-color: #d9dcdc; }
.bk-side__btn--ghost:hover { background: #fff; border-color: #151919; box-shadow: none; transform: none; }
.bk-side__dark { margin-top: 16px; padding: 18px 20px; border: 1px solid var(--hx-line); border-radius: 14px; }
.bk-facts { list-style: none; margin: 0; padding: 0; }
.bk-facts li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid var(--hx-line); font-size: 13.5px; line-height: 1.5; color: var(--hx-text); }
.bk-facts li:first-child { border-top: 0; padding-top: 0; }
.bk-facts i { color: var(--hx-yellow); margin-top: 3px; text-align: center; }
.bk-facts strong { display: block; color: #fff; font-size: 14px; }
.bk-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.bk-links a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--hx-line); border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #fff !important; }
.bk-links a:hover { border-color: var(--hx-yellow); color: var(--hx-yellow) !important; text-decoration: none; }

/* ---------- booking form page ---------- */
.bk-form .tm-form__card { scroll-margin-top: 80px; }
.bk-form .tm-field select {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid #d9dcdc;
    border-radius: 8px;
    background: #fff;
    color: #151919;
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
}
.bk-form .tm-field select:focus { outline: 0; border-color: var(--hx-yellow); box-shadow: 0 0 0 3px rgba(255, 208, 0, .25); }
.bk-form .tm-field.has-error select { border-color: #d64545; }
.bk-form__hint { grid-column: span 6; margin: -4px 0 2px; font-size: 12px; color: #6b7070; }
.bk-tour { overflow: hidden; }
.bk-tour__media { display: block; aspect-ratio: 16 / 9; background: #eee; margin: -20px -22px 16px; }
.bk-tour__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bk-tour__name { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: #151919; }
.bk-tour__meta { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 12.5px; color: #6b7070; }
.bk-tour__meta li { white-space: nowrap; }
.bk-tour__meta li:not(:last-child):after { content: '\00b7'; margin: 0 6px; color: #b8bcbc; }
.bk-tour__price { display: flex; align-items: baseline; gap: 8px; margin: 0 0 14px; }
.bk-tour__price small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8a8f8f; font-weight: 700; }
.bk-tour__price strong { font-size: 24px; color: #151919; line-height: 1; }
.bk-tour__price span { font-size: 12px; color: #6b7070; }
.bk-tour__h { margin: 16px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8a8f8f; }
.bk-dates { list-style: none; margin: 0; padding: 0; }
.bk-dates li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #ececec; font-size: 13.5px; color: #151919; }
.bk-dates li.is-selected { font-weight: 700; }
.bk-dates li.is-selected:before { content: '\f00c'; font-family: FontAwesome; color: #8a6f00; font-size: 11px; margin-right: -4px; }
.bk-dates .td-status { margin-left: auto; }
.bk-tour__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; font-weight: 700; color: #151919; }
.bk-tour__link:hover { color: #b58f00; text-decoration: none; }
.bk-how { list-style: none; margin: 0; padding: 0; counter-reset: how; }
.bk-how li { position: relative; padding: 6px 0 6px 34px; font-size: 13.5px; line-height: 1.55; color: var(--hx-text); counter-increment: how; }
.bk-how li:before { content: counter(how); position: absolute; left: 0; top: 6px; width: 24px; height: 24px; border-radius: 50%; background: var(--hx-yellow); color: #151919; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.bk-how strong { color: #fff; }
.bk-how a { color: var(--hx-yellow); }

/* status pills (same look as the tour page) */
.td-status { display: inline-block; padding: 3px 9px; border-radius: 999px; border: 1px solid #c9a400; color: #8a6f00; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.td-status--guaranteed { background: var(--hx-yellow); border-color: var(--hx-yellow); color: #151919; }
.td-status--full, .td-status--closed, .td-status--sold-out { border-color: #d9dcdc; color: #9aa3a3; }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
    .bk-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; }
}
@media (max-width: 991px) {
    .bk-hero .dp-hero__grid { grid-template-columns: 1fr; }
    .bk-hero .dp-stats { max-width: 460px; }
    .bk-grid { grid-template-columns: 1fr; }
    .bk-side { position: static; }
    .bk-form .tm-form { position: static; }
}
@media (max-width: 580px) {
    .bk-step { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 18px 16px 20px; }
    .bk-step__num { width: 48px; height: 48px; font-size: 18px; border-radius: 10px; }
    .bk-policy__body { padding-left: 18px; }
    .bk-tour__media { margin: -18px -16px 14px; }
    .dp-list { padding-bottom: 40px; }
}
