/* ==========================================================================
   Single room  (single-oh_room.php)
   ========================================================================== */

/* Το .ast-container του Astra είναι flex — χωρίς αυτό το article "μαζεύει"
   στο πλάτος του περιεχομένου και κολλάει αριστερά. */
.oh-room {
	flex: 1 1 100%;
	width: 100%;
	min-width: 0;
	color: var(--oh-color-text);
}

/* --------------------------------------------------------------------------
   1. Carousel
   ----------------------------------------------------------------------- */

.oh-room__gallery-wrap {
	padding-top: clamp(48px, 6vw, 80px);
}

.oh-room__gallery {
	--oh-carousel-slide: calc((100% - var(--oh-carousel-gap)) / 2);
}

.oh-room__gallery.is-single {
	--oh-carousel-slide: 100%;
}

.oh-room .oh-room__photo {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	background-color: var(--oh-color-sage);
}

.oh-room__gallery.is-single .oh-room__photo {
	aspect-ratio: 21 / 9;
}

/* --------------------------------------------------------------------------
   2. Λεπτομέρειες
   ----------------------------------------------------------------------- */

.oh-room__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
	gap: clamp(40px, 6vw, 88px);
	align-items: start;
	padding-top: clamp(48px, 6vw, 80px);
	padding-bottom: clamp(64px, 8vw, 112px);
}

.oh-room__body.is-single-column {
	grid-template-columns: minmax(0, 760px);
	justify-content: center;
}

.oh-room .oh-room__subheading {
	margin: 18px 0 24px;
	padding: 0;
	font-family: var(--oh-font-heading);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 400;
	line-height: 1.2;
	color: var(--oh-color-dark);
}

.oh-room__content {
	font-size: 1rem;
	line-height: 1.8;
}

.oh-room__content p {
	margin: 0 0 1.1em;
}

.oh-room__content :where(h2, h3, h4) {
	margin: 2em 0 0.6em;
	padding: 0;
	font-size: 1.375rem;
	line-height: 1.3;
	color: var(--oh-color-dark);
}

.oh-room__content > :first-child {
	margin-top: 0;
}

.oh-room__content > :last-child {
	margin-bottom: 0;
}

/* Κάρτα λεπτομερειών */
.oh-room-details {
	position: sticky;
	top: 120px;
	padding: clamp(24px, 3vw, 36px);
	background-color: #fff;
	border: 1px solid rgba(31, 42, 38, 0.08);
	box-shadow: 0 24px 48px -32px rgba(31, 42, 38, 0.25);
}

.oh-room .oh-room-details__title {
	margin: 0 0 18px;
	padding: 0;
	font-family: var(--oh-font-body);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--oh-color-muted);
}

.oh-room .oh-room-details__price {
	margin: 0 0 28px;
	padding-bottom: 24px;
	border-bottom: 1px solid rgba(31, 42, 38, 0.1);
	font-family: var(--oh-font-heading);
	font-size: 2rem;
	line-height: 1;
	color: var(--oh-color-dark);
}

.oh-room-details__price span {
	font-size: 0.9375rem;
	font-style: italic;
	color: var(--oh-color-muted);
}

.oh-room .oh-room-details ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.oh-room .oh-room-details ul + .oh-room-details__title {
	margin-top: 28px;
	padding-top: 28px;
	border-top: 1px solid rgba(31, 42, 38, 0.1);
}

.oh-room-details li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-size: 0.9375rem;
	color: var(--oh-color-dark);
}

.oh-room-details .oh-icon {
	flex-shrink: 0;
	color: var(--oh-color-primary);
}

.oh-room .oh-room-details__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 20px;
}

.oh-room .oh-room-details__amenities {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 20px;
}

.oh-room .oh-room-details__btn {
	justify-content: center;
	width: 100%;
	margin-top: 32px;
	padding: 17px 24px;
}

/* Related rooms */
.oh-room .oh-rooms {
	background-color: transparent;
	padding-top: clamp(48px, 6vw, 80px);
	border-top: 1px solid rgba(31, 42, 38, 0.08);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.oh-room__gallery {
		--oh-carousel-slide: 85%;
	}

	.oh-room__body {
		grid-template-columns: minmax(0, 1fr);
	}

	.oh-room-details {
		position: static;
	}
}

@media (max-width: 767px) {
	.oh-room__gallery,
	.oh-room__gallery.is-single {
		--oh-carousel-slide: 88%;
	}

	.oh-room__gallery.is-single .oh-room__photo {
		aspect-ratio: 4 / 3;
	}
}

@media (max-width: 400px) {
	.oh-room .oh-room-details__facts,
	.oh-room .oh-room-details__amenities {
		grid-template-columns: 1fr;
	}
}
