/* Bohemia Tours — календарь выбора даты в форме заказа.
   Цвета берутся из токенов темы (--burgundy, --gold…), запасные значения — на случай другой темы. */

.bpt-form__field[hidden],
.bpt-cal [hidden] { display: none !important; }

.bpt-cal { display: grid; gap: 6px; }
.bpt-cal__label { font-size: 13px; font-weight: 600; color: var(--text, #2a1f22); }

.bpt-cal__trigger {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	width: 100%; min-height: 46px; padding: 10px 14px; margin: 0;
	border: 1px solid var(--line, #ead9cf); border-radius: 10px; background: var(--white, #fff);
	font: 16px/1.3 var(--sans, system-ui, sans-serif); color: var(--text, #2a1f22); text-align: left; cursor: pointer;
}
.bpt-cal__trigger:hover { border-color: var(--gold, #c9a45c); }
.bpt-cal__trigger:focus-visible,
.bpt-cal__trigger[aria-expanded="true"] { outline: none; border-color: var(--gold, #c9a45c); box-shadow: 0 0 0 3px rgba(201, 164, 92, .25); }
.bpt-cal__trigger[aria-invalid="true"] { border-color: #c41e2a; box-shadow: 0 0 0 3px rgba(196, 30, 42, .15); }
.bpt-cal__value.is-empty { color: var(--muted, #6e5f62); }
.bpt-cal__icon { flex: none; color: var(--gold-dark, #8a6a2c); }

.bpt-cal__panel {
	padding: 12px; border: 1px solid var(--line, #ead9cf); border-radius: 12px;
	background: var(--white, #fff); box-shadow: 0 10px 30px -16px rgba(74, 2, 13, .3);
}
.bpt-cal__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.bpt-cal__month { font: 600 20px/1.1 var(--serif, Georgia, serif); color: var(--burgundy-dark, #4a020d); }
.bpt-cal__nav {
	width: 40px; height: 40px; padding: 0; border: 1px solid var(--line, #ead9cf); border-radius: 50%;
	background: var(--white, #fff); color: var(--burgundy, #8c0416); font-size: 22px; line-height: 1; cursor: pointer;
}
.bpt-cal__nav:hover:not(:disabled) { background: var(--cream, #f7eae4); border-color: var(--gold, #c9a45c); }
.bpt-cal__nav:disabled { opacity: .35; cursor: default; }

.bpt-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.bpt-cal__wd { text-align: center; font-size: 12px; font-weight: 600; color: var(--muted, #6e5f62); padding: 2px 0 4px; }
.bpt-cal__wd.is-weekend { color: var(--burgundy, #8c0416); }

.bpt-cal__day {
	min-height: 40px; padding: 0; margin: 0; border: 1px solid transparent; border-radius: 10px;
	background: transparent; color: var(--text, #2a1f22); font: 500 15px/1 var(--sans, system-ui, sans-serif); cursor: pointer;
}
.bpt-cal__day:hover:not(:disabled) { background: var(--cream, #f7eae4); border-color: var(--gold, #c9a45c); }
.bpt-cal__day:focus-visible { outline: 2px solid var(--gold, #c9a45c); outline-offset: 1px; }
.bpt-cal__day:disabled { color: #b9aaa6; text-decoration: line-through; text-decoration-color: rgba(185, 170, 166, .6); cursor: default; }
.bpt-cal__day.is-avail { background: rgba(201, 164, 92, .2); font-weight: 700; }
.bpt-cal__day.is-today { border-color: var(--line, #ead9cf); }
.bpt-cal__day.is-selected,
.bpt-cal__day.is-selected:hover { background: var(--burgundy, #8c0416); border-color: var(--burgundy, #8c0416); color: var(--gold-light, #f2d49a); }

.bpt-cal__legend { margin: 8px 0 0; font-size: 12px; color: var(--muted, #6e5f62); }
.bpt-cal__note { font-size: 12px; color: var(--muted, #6e5f62); }

@media (max-width: 380px) {
	.bpt-cal__panel { padding: 8px; }
	.bpt-cal__grid { gap: 2px; }
}
