.wego-booking-box {
	background: #fff;
	width: 100%;
}

.wego-booking-section {
	padding: 1.15rem 1.25rem;
	border-bottom: 1px solid #e7eaf3;
}

.wego-booking-section--calendar {
	padding-left: 0.85rem;
	padding-right: 0.85rem;
}

/* Widen sidebar when booking calendar is present. */
@media (min-width: 1200px) {
	body.wego-booking-active .row > .col-xl-3 {
		flex: 0 0 35%;
		max-width: 35%;
	}

	body.wego-booking-active .row > .col-xl-9 {
		flex: 0 0 65%;
		max-width: 65%;
	}
}

@media (min-width: 992px) and (max-width: 1199.98px) {
	body.wego-booking-active .row > .col-lg-4 {
		flex: 0 0 36%;
		max-width: 36%;
	}

	body.wego-booking-active .row > .col-lg-8 {
		flex: 0 0 64%;
		max-width: 64%;
	}
}

.wego-booking-title {
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0 0 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 3px solid var(--wego-primary, #e6333b);
	color: #1a2b49;
}

.wego-booking-counter {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.85rem 0;
	border-bottom: 1px solid #f0f2f7;
}

.wego-booking-counter:last-child {
	border-bottom: 0;
}

.wego-booking-counter-label {
	font-size: 1rem;
	font-weight: 600;
	color: #1a2b49;
}

.wego-booking-counter-controls {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	position: relative;
	z-index: 2;
}

.wego-booking-counter-btn {
	width: 34px;
	height: 34px;
	border: 1px solid var(--wego-primary, #e6333b);
	border-radius: 50%;
	background: #fff;
	color: var(--wego-primary, #e6333b);
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	position: relative;
	z-index: 3;
	pointer-events: auto;
	flex-shrink: 0;
}

.wego-booking-counter-value {
	min-width: 1.5rem;
	text-align: center;
	font-weight: 700;
	color: #1a2b49;
}

.wego-booking-calendar {
	width: 100%;
}

.wego-booking-calendar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.75rem;
	gap: 0.5rem;
}

.wego-booking-calendar-title {
	font-weight: 700;
	color: #1a2b49;
	font-size: 0.95rem;
	white-space: nowrap;
}

.wego-booking-calendar-nav {
	display: inline-flex;
	gap: 0.25rem;
	flex-shrink: 0;
}

.wego-booking-calendar-nav button {
	border: 0;
	background: transparent;
	color: var(--wego-primary, #e6333b);
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	padding: 0.15rem 0.35rem;
}

.wego-booking-calendar-scroll {
	width: 100%;
	overflow: visible;
}

.wego-booking-calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 0.3rem;
	width: 100%;
}

.wego-booking-calendar-weekday {
	text-align: center;
	font-size: 0.68rem;
	font-weight: 700;
	color: #77838f;
	padding: 0 0 0.25rem;
	white-space: nowrap;
	line-height: 1.2;
}

.wego-booking-box button.wego-booking-calendar-day {
	appearance: none;
	-webkit-appearance: none;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	min-width: 0;
	min-height: 56px;
	margin: 0;
	padding: 0.35rem 0.2rem 0.4rem;
	border: 1px solid #edf0f7;
	border-radius: 4px;
	background: #fff;
	color: #c5cdd8;
	font: inherit;
	text-align: center;
	line-height: 1.15;
	word-break: normal;
	overflow-wrap: normal;
	white-space: normal;
	position: relative;
}

.wego-booking-calendar-day.is-available {
	color: #1a2b49;
	cursor: pointer;
	border-color: #dbe7f3;
}

.wego-booking-calendar-day.is-available::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 0;
	height: 0;
	border-top: 10px solid #8bc34a;
	border-left: 10px solid transparent;
}

.wego-booking-calendar-day.is-selected {
	border-color: var(--wego-primary, #e6333b);
	box-shadow: inset 0 0 0 2px var(--wego-primary, #e6333b);
}

.wego-booking-calendar-day.is-empty {
	border-color: transparent;
	background: transparent;
	min-height: 56px;
	pointer-events: none;
}

.wego-booking-calendar-day:disabled {
	cursor: default;
	opacity: 1;
}

.wego-booking-calendar-day-number {
	display: block;
	width: 100%;
	font-weight: 700;
	font-size: 0.88rem;
	white-space: nowrap;
}

.wego-booking-calendar-day-price {
	display: block;
	width: 100%;
	margin-top: 0.2rem;
	font-size: 0.64rem;
	line-height: 1;
	color: var(--wego-primary, #e6333b);
	font-weight: 700;
	white-space: nowrap;
	overflow: visible;
	text-overflow: clip;
	letter-spacing: -0.02em;
}

.wego-booking-calendar-day.is-available .wego-booking-calendar-day-price {
	color: var(--wego-primary, #e6333b);
}

.wego-booking-currency-note {
	margin: 0.75rem 0 0;
	font-size: 0.85rem;
	color: #77838f;
}

.wego-booking-summary {
	background: #f8fafc;
	border: 1px solid #e7eaf3;
	border-radius: 8px;
	padding: 1rem;
}

.wego-booking-summary-product {
	font-weight: 700;
	color: #1a2b49;
	margin-bottom: 0.75rem;
}

.wego-booking-summary-meta {
	font-size: 0.92rem;
	color: #5c677d;
	margin-bottom: 0.75rem;
}

.wego-booking-summary-total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 1rem;
	font-weight: 700;
	color: #1a2b49;
}

.wego-booking-total-price {
	color: var(--wego-primary, #e6333b);
}

.wego-booking-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.wego-booking-section--options {
	padding-top: 1rem;
}

.wego-booking-options-list {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.wego-booking-option-card {
	position: relative;
	display: block;
	width: 100%;
	margin: 0;
	padding: 1rem 1rem 0.95rem;
	border: 2px solid #dbe7f3;
	border-radius: 10px;
	background: #fff;
	color: #1a2b49;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wego-booking-option-card:hover {
	border-color: #7eb8dc;
	box-shadow: 0 8px 24px rgba(41, 124, 187, 0.08);
}

.wego-booking-option-card.is-selected {
	border-color: var(--wego-primary, #e6333b);
	box-shadow: 0 10px 28px rgba(41, 124, 187, 0.12);
}

.wego-booking-option-selected-badge {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	display: inline-flex;
	align-items: center;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: var(--wego-primary, #e6333b);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.2;
}

.wego-booking-option-selected-badge::before {
	content: "✓";
	margin-right: 0.25rem;
	font-size: 0.75rem;
}

.wego-booking-option-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	padding-right: 4.5rem;
}

.wego-booking-option-card__title {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	color: #1a2b49;
}

.wego-booking-option-card__price {
	flex-shrink: 0;
	font-size: 1rem;
	font-weight: 700;
	color: var(--wego-primary, #e6333b);
	white-space: nowrap;
}

.wego-booking-option-card__description {
	margin: 0.65rem 0 0;
	font-size: 0.9rem;
	line-height: 1.45;
	color: #5c677d;
}

.wego-booking-option-card__details {
	margin: 0.85rem 0 0;
	padding: 0;
	list-style: none;
}

.wego-booking-option-card__details li {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	padding: 0.45rem 0;
	border-top: 1px solid #eef2f7;
	font-size: 0.88rem;
	line-height: 1.45;
	color: #5c677d;
}

.wego-booking-option-card__details li:first-child {
	border-top: 0;
	padding-top: 0;
}

.wego-booking-option-icon {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-top: 0.1rem;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.wego-booking-option-icon--pickup {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6333b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h11v8H3z'/%3E%3Cpath d='M14 10h3l3 3v2h-6z'/%3E%3Ccircle cx='7.5' cy='17.5' r='1.5'/%3E%3Ccircle cx='17.5' cy='17.5' r='1.5'/%3E%3C/svg%3E");
}

.wego-booking-option-icon--info {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6333b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 10v6'/%3E%3Cpath d='M12 7h.01'/%3E%3C/svg%3E");
}

.wego-booking-option-icon--clock {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6333b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

@media (max-width: 767px) {
	.wego-booking-box button.wego-booking-calendar-day {
		min-height: 48px;
	}

	.wego-booking-calendar-day-number {
		font-size: 0.78rem;
	}

	.wego-booking-calendar-day-price {
		font-size: 0.58rem;
	}
}
