*,
*::before,
*::after {
	box-sizing: border-box;
}

.wphr-room-grid {
	display: grid;
	grid-template-columns: repeat(var(--wphr-columns-desktop, 3), minmax(0, 1fr));
	gap: 8px;
	align-items: stretch;
}

.wphr-room-card {
	background: #ffffff;
	border: 1px solid #e7dfd3;
	padding: 12px;
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
}

.wphr-room-media {
	position: relative;
	width: 100%;
	height: 300px;
	overflow: hidden;
	background: #f4f1ec;
}

.wphr-room-image-slider {
	position: relative;
	width: 100%;
	height: 100%;
}

.wphr-room-image-frame {
	position: relative;
	width: 100%;
	height: 100%;
}

.wphr-room-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: none;
}

.wphr-room-image.is-active {
	display: block;
}

.wphr-room-image-placeholder {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #666;
	background: linear-gradient(135deg, #efebe4, #f7f5f1);
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.wphr-gallery-arrow,
.wphr-carousel-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 42px;
	height: 42px;
	border: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.85);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 40px;
	line-height: 1;
}

.wphr-gallery-arrow-prev,
.wphr-carousel-arrow-prev {
	left: 10px;
}

.wphr-gallery-arrow-next,
.wphr-carousel-arrow-next {
	right: 10px;
}

.wphr-gallery-dots,
.wphr-carousel-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 10px;
	display: flex;
	gap: 8px;
	justify-content: center;
	align-items: center;
	z-index: 2;
	pointer-events: none;
}

.wphr-gallery-dot,
.wphr-carousel-dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	border: 0;
	background: #d6d1c8;
	padding: 0;
	cursor: pointer;
	pointer-events: auto;
}

.wphr-gallery-dot.is-active,
.wphr-carousel-dot.is-active {
	background: #e99b00;
}

.wphr-promo-ribbon {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 3;
	overflow: hidden;
	width: 118px;
	height: 118px;
	pointer-events: none;
}

.wphr-promo-ribbon span {
	position: absolute;
	left: -38px;
	top: 22px;
	width: 168px;
	padding: 8px 0;
	transform: rotate(-45deg);
	background: linear-gradient(180deg, #f21e1e, #c80f0f);
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	text-align: center;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.wphr-room-content {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
	padding-top: 0;
	color: #000;
}

.wphr-room-title {
	margin: 20px 0 18px;
	font-size: 31px;
	font-weight: 400;
	line-height: 1.1;
	color: #000;
	word-break: break-word;
	font-family: Georgia, "Times New Roman", serif;
}

.wphr-amenities {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	align-items: center;
	color: #000;
	margin-bottom: 8px;
}

.wphr-amenity {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #000;
	line-height: 1;
}

.wphr-amenity-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	color: #000;
}

.wphr-amenity-icon svg {
	width: 24px;
	height: 24px;
	stroke: currentColor;
	stroke-width: 1.8;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.wphr-adult-limit {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 24px;
	color: #000;
	font-size: 16px;
	line-height: 1.45;
	font-family: Georgia, "Times New Roman", serif;
}

.wphr-adult-limit .dashicons {
	color: #f0a51a;
	font-size: 18px;
	width: 18px;
	height: 18px;
}

.wphr-room-description {
	margin-top: 24px;
	font-size: 16px;
	line-height: 1.55;
	color: #000;
	font-family: Georgia, "Times New Roman", serif;
}

.wphr-room-description p {
	margin: 0 0 0.9em;
}

.wphr-room-description p:last-child {
	margin-bottom: 0;
}

.wphr-room-footer {
	margin-top: auto;
	padding-top: 28px;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
	flex-wrap: wrap;
}

.wphr-price-wrap {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.wphr-old-price {
	font-size: 15px;
	text-decoration: line-through;
	color: #c1902a;
}

.wphr-current-price {
	font-size: 36px;
	line-height: 0.95;
	font-weight: 400;
	color: #f0a51a;
}

.wphr-price-suffix {
	font-size: 18px;
	line-height: 1.2;
	color: #000;
	font-family: Georgia, "Times New Roman", serif;
}

.wphr-booking-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 32px;
	border: 1px solid #000;
	background: #ffffff;
	color: #000000;
	border-radius: 3px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
	white-space: nowrap;
	min-width: 180px;
	gap: 10px;
	font-size: 18px;
}

.wphr-booking-button:hover,
.wphr-booking-button:focus {
	background: #000000;
	color: #ffffff;
}

.wphr-booking-button::after {
	content: "›";
	font-size: 28px;
	line-height: 1;
	font-weight: 400;
	margin-top: -2px;
}

.wphr-room-carousel {
	position: relative;
	width: 100%;
}

.wphr-room-carousel-viewport {
	overflow: hidden;
	width: 100%;
}

.wphr-room-carousel-track {
	display: flex;
	align-items: stretch;
	will-change: transform;
	transition: transform 0.35s ease;
}

.wphr-room-carousel-slide {
	flex: 0 0 auto;
	padding-right: 16px;
}

.wphr-room-carousel-slide .wphr-room-card {
	height: 100%;
}

.wphr-promo-banner-slider {
	position: relative;
	width: 100%;
	--wphr-banner-height: auto;
}

.wphr-promo-banner-viewport {
	overflow: hidden;
	width: 100%;
}

.wphr-promo-banner-track {
	display: flex;
	align-items: stretch;
	will-change: transform;
	transition: transform 0.35s ease;
}

.wphr-promo-banner-slide {
	flex: 0 0 auto;
	padding-right: 0;
}

.wphr-promo-banner-link {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.wphr-promo-banner-frame {
	width: 100%;
	height: var(--wphr-banner-height);
	overflow: hidden;
	background: #f6f3ee;
}

.wphr-promo-banner-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wphr-promo-banner-slider.is-auto .wphr-promo-banner-frame {
	height: auto;
}

.wphr-promo-banner-slider.is-auto .wphr-promo-banner-image {
	height: auto;
	object-fit: contain;
}

.wphr-banner-arrow {
	width: 42px;
	height: 42px;
	background: rgba(255, 255, 255, 0.92);
	border-radius: 2px;
	font-size: 34px;
	color: #efb335;
}

.wphr-banner-arrow-prev {
	left: 14px;
}

.wphr-banner-arrow-next {
	right: 14px;
}

.wphr-banner-dots {
	bottom: 14px;
}

@media (max-width: 1024px) {
	.wphr-room-grid {
		grid-template-columns: repeat(var(--wphr-columns-tablet, 2), minmax(0, 1fr));
		gap: 10px;
	}

	.wphr-room-media {
		height: 250px;
	}

	.wphr-promo-banner-slider {
		--wphr-banner-height: auto;
	}

	.wphr-room-title {
		font-size: 28px;
	}
}

@media (max-width: 767px) {
	.wphr-room-grid {
		grid-template-columns: repeat(var(--wphr-columns-mobile, 1), minmax(0, 1fr));
		gap: 8px;
	}

	.wphr-room-card {
		padding: 12px;
	}

	.wphr-room-media {
		height: 190px;
	}

	.wphr-promo-banner-slider {
		--wphr-banner-height: auto;
	}

	.wphr-room-title {
		font-size: 24px;
		margin-top: 18px;
		margin-bottom: 16px;
	}

	.wphr-amenities {
		gap: 14px;
	}

	.wphr-room-description,
	.wphr-adult-limit {
		margin-top: 22px;
	}

	.wphr-room-footer {
		align-items: stretch;
	}

	.wphr-booking-button {
		width: 100%;
		min-width: 0;
	}

	.wphr-promo-ribbon {
		width: 104px;
		height: 104px;
	}

	.wphr-promo-ribbon span {
		left: -40px;
		top: 18px;
		width: 150px;
		font-size: 11px;
	}
}
