/* Respect Group Pricing – front end */

.rgp-table,
.rgp-table *,
.rgp-banner,
.rgp-banner * {
	box-sizing: border-box;
}

/* ---------- Pricing table ---------- */

.rgp-table {
	--rgp-primary: #06435c;
	--rgp-accent: #e0a23f;
	--rgp-accent-soft: rgba(224, 162, 63, 0.08);
	--rgp-accent-ring: rgba(224, 162, 63, 0.28);
	margin: 28px 0;
	max-width: 680px;
	font-family: inherit;
}

.rgp-table__title {
	margin: 0 0 14px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.2px;
	color: var(--rgp-primary);
}

.rgp-row {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 10px;
	padding: 16px 20px;
	background: #fff;
	border: 1px solid #dfe6ec;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(6, 67, 92, 0.05);
	cursor: pointer;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.rgp-row:hover {
	border-color: var(--rgp-primary);
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(6, 67, 92, 0.1);
}

.rgp-row:focus-visible {
	outline: 3px solid var(--rgp-accent);
	outline-offset: 2px;
}

.rgp-row__label {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
	color: var(--rgp-primary);
}

.rgp-row__price {
	font-size: 17px;
	font-weight: 700;
	color: var(--rgp-primary);
	white-space: nowrap;
}

.rgp-row__badge {
	display: none;
	padding: 2px 9px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	color: var(--rgp-primary);
	background: var(--rgp-accent);
	border-radius: 999px;
}

.rgp-row.is-active {
	background: var(--rgp-accent-soft);
	border-color: var(--rgp-accent);
	box-shadow: 0 0 0 3px var(--rgp-accent-ring);
}

.rgp-row.is-active .rgp-row__badge {
	display: inline-block;
}

.rgp-table__note {
	margin: 6px 2px 0;
	font-size: 13px;
	color: #5b6b76;
}

/* ---------- Live price banner (top of the booking box) ---------- */

.rgp-banner {
	--rgp-primary: #06435c;
	--rgp-accent: #e0a23f;
	position: relative;
	overflow: hidden;
	margin: 0 0 18px;
	padding: 22px 20px 18px;
	color: #fff;
	background: linear-gradient(135deg, var(--rgp-primary) 0%, #0b5f80 100%);
	border-radius: 14px;
	box-shadow: 0 14px 30px rgba(6, 67, 92, 0.28);
}

.rgp-banner::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 4px;
	background: var(--rgp-accent);
}

.rgp-banner::after {
	content: "";
	position: absolute;
	right: -40px;
	bottom: -60px;
	width: 160px;
	height: 160px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	pointer-events: none;
}

.rgp-banner__label {
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.82);
}

.rgp-banner__price-row {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px;
}

.rgp-banner__price {
	font-size: 40px;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.5px;
	color: #fff;
	transition: transform 0.2s ease;
}

.rgp-banner__price.is-bump {
	transform: scale(1.06);
}

.rgp-banner__unit {
	font-size: 14px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.82);
}

.rgp-banner__total {
	min-height: 20px;
	margin: 8px 0 0;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
}

.rgp-banner__total strong {
	color: var(--rgp-accent);
}

.rgp-banner__stepper-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 16px 0 0;
	padding: 10px 12px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 12px;
}

.rgp-banner__stepper-label {
	font-size: 14px;
	font-weight: 600;
	color: #fff;
}

.rgp-stepper {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.rgp-stepper button {
	width: 44px;
	height: 44px;
	padding: 0;
	margin: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	color: var(--rgp-primary);
	background: var(--rgp-accent);
	border: 0;
	border-radius: 10px;
	cursor: pointer;
	transition: transform 0.12s ease, filter 0.12s ease;
}

.rgp-stepper button:hover {
	filter: brightness(1.06);
}

.rgp-stepper button:disabled {
	opacity: 0.4;
	cursor: not-allowed;
	filter: none;
}

.rgp-stepper button:active {
	transform: scale(0.94);
}

.rgp-stepper button:focus-visible,
.rgp-stepper input:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

.rgp-stepper input[type="number"] {
	width: 58px;
	height: 44px;
	margin: 0;
	padding: 0;
	font-size: 18px;
	font-weight: 700;
	text-align: center;
	color: var(--rgp-primary);
	background: #fff;
	border: 0;
	border-radius: 10px;
	box-shadow: none;
	-moz-appearance: textfield;
	appearance: textfield;
}

.rgp-stepper input[type="number"]::-webkit-outer-spin-button,
.rgp-stepper input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.rgp-banner__hint {
	min-height: 18px;
	margin: 12px 0 0;
	font-size: 13px;
	line-height: 1.4;
	color: #ffe2a8;
}

/* ---------- Booking box emphasis ---------- */

.rgp-booking-box {
	background: #fff;
	border: 1px solid rgba(6, 67, 92, 0.14) !important;
	border-top: 5px solid var(--rgp-accent) !important;
	border-radius: 18px !important;
	box-shadow: 0 18px 42px rgba(6, 67, 92, 0.16) !important;
}

.rgp-booking-box .ff-el-input--label label {
	font-weight: 600;
	color: var(--rgp-primary);
}

.rgp-booking-box .ff-el-form-control:focus {
	border-color: var(--rgp-accent) !important;
	box-shadow: 0 0 0 3px var(--rgp-accent-ring) !important;
	outline: 0;
}

.rgp-booking-box .ff-btn-submit {
	width: 100%;
	padding: 14px 18px;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0.3px;
	color: var(--rgp-primary) !important;
	background: var(--rgp-accent) !important;
	border: 0 !important;
	border-radius: 12px !important;
	box-shadow: 0 8px 18px rgba(224, 162, 63, 0.35);
	cursor: pointer;
	transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.rgp-booking-box .ff-btn-submit:hover {
	color: #fff !important;
	background: var(--rgp-primary) !important;
}

.rgp-booking-box .ff-btn-submit:active {
	transform: translateY(1px);
}

/* ---------- Packages: hotel tabs + room rows ---------- */

.rgp-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 14px;
}

.rgp-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 10px 18px;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--rgp-primary);
	background: #fff;
	border: 1px solid #dfe6ec;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.rgp-tab:hover {
	border-color: var(--rgp-primary);
}

.rgp-tab:focus-visible {
	outline: 3px solid var(--rgp-accent);
	outline-offset: 2px;
}

.rgp-tab .rgp-stars {
	font-size: 13px;
	letter-spacing: 1px;
	color: var(--rgp-accent);
}

.rgp-tab.is-active {
	color: #fff;
	background: var(--rgp-primary);
	border-color: var(--rgp-primary);
	box-shadow: 0 8px 16px rgba(6, 67, 92, 0.22);
}

.rgp-panel[hidden] {
	display: none;
}

.rgp-panel__note {
	margin: 0 0 12px;
	font-size: 13px;
	color: #5b6b76;
}

.rgp-room-row {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 10px;
	padding: 14px 18px;
	background: #fff;
	border: 1px solid #dfe6ec;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(6, 67, 92, 0.05);
	cursor: pointer;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.rgp-room-row:hover {
	border-color: var(--rgp-primary);
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(6, 67, 92, 0.1);
}

.rgp-room-row:focus-visible {
	outline: 3px solid var(--rgp-accent);
	outline-offset: 2px;
}

.rgp-room-row__icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 44px;
	color: var(--rgp-primary);
	background: var(--rgp-primary-soft, rgba(6, 67, 92, 0.08));
	border-radius: 10px;
}

.rgp-room-row__icon .rgp-ico {
	display: block;
	width: 40px;
	height: 24px;
}

.rgp-room-row__text {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.rgp-room-row__label {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 15px;
	font-weight: 700;
	color: var(--rgp-primary);
}

.rgp-room-row__sub {
	font-size: 12.5px;
	color: #5b6b76;
}

.rgp-room-row__price {
	flex: 0 0 auto;
	font-size: 18px;
	font-weight: 800;
	color: var(--rgp-primary);
	white-space: nowrap;
}

.rgp-room-row.is-active {
	background: var(--rgp-accent-soft);
	border-color: var(--rgp-accent);
	box-shadow: 0 0 0 3px var(--rgp-accent-ring);
}

.rgp-room-row.is-active .rgp-row__badge {
	display: inline-block;
}

.rgp-room-row.is-active .rgp-room-row__icon {
	color: var(--rgp-primary);
	background: var(--rgp-accent);
}

/* ---------- Packages: banner controls ---------- */

.rgp-banner__sub {
	margin: 6px 0 0;
	font-size: 14px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.92);
}

.rgp-controls {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 14px 0 0;
}

.rgp-chipset {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
	gap: 8px;
}

.rgp-chip {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	min-height: 44px;
	margin: 0;
	padding: 9px 6px;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	color: #fff;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 10px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.rgp-chip[hidden] {
	display: none;
}

.rgp-chip:hover {
	background: rgba(255, 255, 255, 0.2);
}

.rgp-chip:active {
	transform: scale(0.97);
}

.rgp-chip:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

.rgp-chip.is-active {
	color: var(--rgp-primary);
	background: var(--rgp-accent);
	border-color: var(--rgp-accent);
}

.rgp-chip__stars {
	font-size: 12px;
	letter-spacing: 1px;
}

.rgp-chip__icon {
	display: flex;
	align-items: center;
	justify-content: center;
}

.rgp-chip__icon .rgp-ico {
	display: block;
	width: 34px;
	height: 20px;
}

.rgp-chip__price {
	font-size: 13px;
	font-weight: 800;
}

@media (max-width: 480px) {
	.rgp-banner__price {
		font-size: 34px;
	}
	.rgp-row {
		padding: 14px 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rgp-row,
	.rgp-banner__price,
	.rgp-stepper button,
	.rgp-booking-box .ff-btn-submit {
		transition: none;
	}
}

/* Single category: show its name (no tabs) */
.rgp-catname {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	padding: 9px 18px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
	background: var(--rgp-primary);
	border-radius: 999px;
}

.rgp-catname .rgp-stars {
	font-size: 13px;
	letter-spacing: 1px;
	color: var(--rgp-accent);
}

.rgp-catname--banner {
	margin: 0 0 10px;
	color: var(--rgp-primary);
	background: #fff;
}
