/* Client's picks from the 20 Nov 2026 design options (all "A"). Phone rules only, except "Check a date". */

/* 1 · Phone tour pages: the from price and Enquire in a bar at the bottom once the price box has gone by. */
.ksc-tourbar { display: none; }
@media (max-width: 767px) {
	.ksc-tourbar:not([hidden]) { position: fixed; z-index: 95; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: var(--e-global-color-paper); border-top: 1px solid var(--e-global-color-line); box-shadow: 0 -10px 24px -18px rgba(31, 29, 26, .45); }
	.ksc-tourbar__price small { display: block; font: 500 12px/1.2 var(--e-global-typography-text-font-family), sans-serif; color: var(--e-global-color-muted); }
	.ksc-tourbar__price b { font: 400 24px/1.15 var(--e-global-typography-secondary-font-family), serif; letter-spacing: -0.01em; color: var(--e-global-color-secondary); }
	.ksc-tourbar__price .ksc-tourbar__unit { margin-left: 6px; font: 400 13px var(--e-global-typography-text-font-family), sans-serif; color: var(--e-global-color-muted); }
	.ksc-tourbar .ksc-tourbar__go, .ksc-tourbar .ksc-tourbar__go:hover { flex: none; padding: 14px 26px; border-radius: 4px; background: var(--e-global-color-primary); font: 600 15px/1 var(--e-global-typography-text-font-family), sans-serif; color: var(--e-global-color-secondary) !important; text-decoration: none; }
	body.ksc-has-tourbar .ksc-wa-float { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
	body.ksc-has-tourbar { padding-bottom: 76px; }
}

/* 2 · Phones: the compare table as one line per safari (name, length and days, from price). */
.ksc-tt__line { display: none; }
@media (max-width: 767px) {
	.ksc-tourtable thead { display: none; }
	.ksc-tourtable, .ksc-tourtable tbody { display: block; }
	.ksc-table-wrap .ksc-tourtable tbody tr { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; margin: 0 !important; padding: 15px 0 !important; border: 0 !important; border-top: 1px solid var(--e-global-color-line) !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
	.ksc-table-wrap .ksc-tourtable tbody tr > * { display: none !important; }
	.ksc-table-wrap .ksc-tourtable tbody tr > th { display: block !important; grid-column: 1; padding: 0 !important; border: 0 !important; background: none !important; color: var(--e-global-color-secondary) !important; font: 400 17px/1.3 var(--e-global-typography-secondary-font-family), serif !important; text-align: left; }
	.ksc-table-wrap .ksc-tourtable tbody tr > th a { color: var(--e-global-color-secondary) !important; text-decoration: none; }
	.ksc-table-wrap .ksc-tourtable tbody tr > th a::after { content: ""; position: absolute; inset: 0; }
	.ksc-table-wrap .ksc-tourtable tbody tr { position: relative; }
	.ksc-table-wrap .ksc-tourtable .ksc-tt__cat { display: none !important; }
	.ksc-table-wrap .ksc-tourtable .ksc-tt__line { display: block; margin-top: 4px; font: 400 13px/1.45 var(--e-global-typography-text-font-family), sans-serif; color: var(--e-global-color-muted); }
	.ksc-table-wrap .ksc-tourtable tbody tr > td.is-hl { display: block !important; grid-column: 2; grid-row: 1; align-self: center; padding: 0 !important; border: 0 !important; background: none !important; text-align: right; }
	.ksc-table-wrap .ksc-tourtable tbody tr > td.is-hl::before { display: none !important; }
	.ksc-table-wrap .ksc-tourtable .ksc-tt__price { font: 400 17px/1.2 var(--e-global-typography-secondary-font-family), serif; color: var(--e-global-color-secondary); }
	.ksc-table-wrap .ksc-tourtable .ksc-tt__unit, .ksc-table-wrap .ksc-tourtable .ksc-tt__was { display: block; font-size: 12px; color: var(--e-global-color-muted); }
	.ksc-table-wrap .ksc-tourtable .ksc-tt__tag { display: inline-block; margin-top: 4px; }
	.ksc-table-wrap .ksc-tourtable tfoot { display: block; }
	.ksc-table-wrap .ksc-tourtable tfoot tr { display: block; border-top: 1px solid var(--e-global-color-line); }
	.ksc-table-wrap .ksc-tourtable tfoot td { display: block; padding: 14px 0 0 !important; }
}

/* 3 · Phones: the day-by-day folds; day 1 opens, the others show their title and open with a tap. */
@media (max-width: 767px) {
	.ksc-days-fold .ksc-itin__day { padding-top: 0 !important; padding-bottom: 0 !important; margin: 0 !important; border-top: 1px solid var(--e-global-color-line); }
	.ksc-days-fold .ksc-itin__day + .ksc-itin__day { border-top: 1px solid var(--e-global-color-line); }
	.ksc-days-fold .ksc-itin__day .ksc-itin__label { display: none; }
	.ksc-days-fold .ksc-itin__day .ksc-itin__title { position: relative; margin: 0; padding: 16px 40px 16px 0; cursor: pointer; }
	.ksc-days-fold .ksc-itin__day .ksc-itin__title::before { content: attr(data-day); display: block; margin-bottom: 4px; font: 600 13px/1 var(--e-global-typography-text-font-family), sans-serif; color: var(--e-global-color-accent); }
	.ksc-days-fold .ksc-itin__day .ksc-itin__title::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-30%); font: 300 26px/1 var(--e-global-typography-text-font-family), sans-serif; color: var(--e-global-color-secondary); }
	.ksc-days-fold .ksc-itin__day.is-open .ksc-itin__title::after { content: "–"; }
	.ksc-days-fold .ksc-itin__day:not(.is-open) .ksc-itin__body > :not(.ksc-itin__title) { display: none !important; }
	.ksc-days-fold .ksc-itin__day.is-open .ksc-itin__body { padding-bottom: 20px; }
	.ksc-days-fold .ksc-itin__title:focus-visible { outline: 2px solid var(--e-global-color-accent); outline-offset: 4px; }
}

/* 4 · "Check a date" under the tour price box's Enquire button. */
.ksc-datecheck { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--e-global-color-line); }
.ksc-datecheck label { display: block; margin-bottom: 8px; font: 600 14px/1.2 var(--e-global-typography-text-font-family), sans-serif; color: var(--e-global-color-secondary); }
.ksc-datecheck input { box-sizing: border-box; width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid var(--e-global-color-linestrong); border-radius: 4px; background: var(--e-global-color-card); font: 15px var(--e-global-typography-text-font-family), sans-serif; color: var(--e-global-color-text); }
.ksc-datecheck input:focus-visible { outline: 2px solid var(--e-global-color-accent); outline-offset: 2px; }
.ksc-datecheck__out { margin: 10px 0 0; font: 14px/1.5 var(--e-global-typography-text-font-family), sans-serif; color: var(--e-global-color-text); }
.ksc-datecheck__out:empty { display: none; }
.ksc-datecheck__out a { font-weight: 600; color: var(--e-global-color-accent); }
.ksc-datecheck__note { margin: 8px 0 0; font: 12px/1.45 var(--e-global-typography-text-font-family), sans-serif; color: var(--e-global-color-muted); }
