/* =========================================================

CNWS HOTEL FRONTEND

========================================================= */

.cnwshotel_theme_container {

	width: 100%;

	max-width: 1400px;

	margin: 0 auto;

	padding: 0 20px;

	box-sizing: border-box;

}

.cnwshotel_room_template_main {

	padding: 40px 0 80px;

}

/* =========================================================

ROOM PAGE LAYOUT

========================================================= */

.cnwshotel_room_page {

	width: 100%;

}

.cnwshotel_single_room {

	max-width: 1300px;

	margin: 0 auto;

}

.cnwshotel_room_title {

	margin: 0 0 22px;

	font-size: clamp(30px, 4vw, 46px);

	line-height: 1.08;

	color: #0f172a;

	letter-spacing: -0.03em;

}

.cnwshotel_room_topbar {

	display: flex;

	justify-content: space-between;

	align-items: center;

	gap: 16px;

	flex-wrap: wrap;

	margin: 0 0 28px;

	padding: 14px 18px;

	border: 1px solid #e5e7eb;

	border-radius: 16px;

	background: #fff;

	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);

}

.cnwshotel_room_anchor_menu {

	display: flex;

	gap: 14px;

	flex-wrap: wrap;

}

.cnwshotel_room_anchor_menu a,

.cnwshotel_room_side_tab {

	color: #334155;

	text-decoration: none;

	font-weight: 600;

	font-size: 14px;

}

.cnwshotel_room_anchor_menu a:hover,

.cnwshotel_room_side_tab:hover {

	color: #111827;

}

.cnwshotel_room_grid {

	display: grid;

	grid-template-columns: minmax(0, 1.6fr) minmax(320px, 430px);

	gap: 34px;

	align-items: start;

}

.cnwshotel_room_left,

.cnwshotel_room_right {

	min-width: 0;

}

.cnwshotel_room_section {

	background: #fff;

	border: 1px solid #e5e7eb;

	border-radius: 20px;

	padding: 24px;

	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);

	margin-bottom: 22px;

}

/* =========================================================

GALLERY

========================================================= */

.cnwshotel_room_gallery {

	margin-bottom: 24px;

}

.cnwshotel_room_main {

	margin-bottom: 14px;

	overflow: hidden;

	border-radius: 18px;

	background: #f8fafc;

}

.cnwshotel_room_main img {

	display: block;

	width: 100%;

	height: auto;

	aspect-ratio: 16 / 10;

	object-fit: cover;

}

.cnwshotel_room_thumbs {

	display: grid;

	grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));

	gap: 10px;

}

.cnwshotel_room_thumbs img {

	width: 100%;

	height: 82px;

	object-fit: cover;

	border-radius: 12px;

	cursor: pointer;

	border: 1px solid #e5e7eb;

	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;

}

.cnwshotel_room_thumbs img:hover {

	transform: translateY(-1px);

	border-color: #cbd5e1;

	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);

}

/* =========================================================

ROOM CONTENT

========================================================= */

.cnwshotel_room_intro {

	margin-bottom: 20px;

}

.cnwshotel_room_intro p {

	margin: 0;

	font-size: 16px;

	line-height: 1.7;

	color: #475569;

}

.cnwshotel_room_description {

	color: #334155;

	line-height: 1.75;

}

.cnwshotel_room_description p:last-child {

	margin-bottom: 0;

}

.cnwshotel_room_amenities h3 {

	margin: 0 0 16px;

	font-size: 20px;

	color: #0f172a;

}

.cnwshotel_amenities_grid {

	display: grid;

	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

	gap: 12px;

}

.cnwshotel_facility {

	display: flex;

	align-items: center;

	gap: 10px;

	min-height: 48px;

	padding: 12px 14px;

	border: 1px solid #e5e7eb;

	border-radius: 14px;

	background: #f8fafc;

	color: #334155;

	font-weight: 500;

}

.cnwshotel_facility_icon {

	color: #0f172a;

	font-weight: 700;

}

/* =========================================================

BOOK BOX

========================================================= */

.cnwshotel_room_bookbox {

	position: sticky;

	top: 24px;

	padding: 24px;

	border-radius: 20px;

	background: #ffffff;

	border: 1px solid #e5e7eb;

	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);

}

.cnwshotel_room_bookbox form p {

	margin: 0 0 16px;

}

.cnwshotel_room_bookbox label {

	display: block;

	margin: 0 0 8px;

	font-size: 14px;

	font-weight: 600;

	color: #334155;

}

.cnwshotel_room_bookbox input[type="date"],

.cnwshotel_room_bookbox input[type="number"],

.cnwshotel_room_bookbox input[type="text"],

.cnwshotel_room_bookbox textarea,

.cnwshotel_room_bookbox select {

	width: 100%;

	min-height: 48px;

	padding: 12px 14px;

	border: 1px solid #d0d7de;

	border-radius: 12px;

	background: #fff;

	font-size: 15px;

	color: #111827;

	box-sizing: border-box;

	transition: border-color .2s ease, box-shadow .2s ease;

}

.cnwshotel_room_bookbox textarea {

	min-height: 96px;

	resize: vertical;

}

.cnwshotel_room_bookbox input:focus,

.cnwshotel_room_bookbox textarea:focus,

.cnwshotel_room_bookbox select:focus {

	outline: none;

	border-color: #94a3b8;

	box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.18);

}

.cnwshotel_private_option {

	margin-top: 4px;

}

.cnwshotel_book_btn {

	width: 100%;

	min-height: 52px;

	margin-top: 6px;

	border: 0;

	border-radius: 14px;

	background: #111827;

	color: #fff;

	font-size: 15px;

	font-weight: 700;

	cursor: pointer;

	transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;

	box-shadow: 0 10px 24px rgba(17, 24, 39, 0.18);

}

.cnwshotel_book_btn:hover {

	transform: translateY(-1px);

	opacity: .96;

}

.cnwshotel_room_facts {

	display: grid;

	grid-template-columns: repeat(2, minmax(0, 1fr));

	gap: 10px;

	margin-top: 18px;

}

.cnwshotel_fact {

	padding: 12px 14px;

	border-radius: 14px;

	background: #f8fafc;

	border: 1px solid #e5e7eb;

	color: #334155;

	font-weight: 600;

	text-align: center;

}

/* =========================================================

ROOM ADD-ONS

========================================================= */

.cnwshotel_room_addons {

	margin: 20px 0 18px;

	padding-top: 8px;

}

.cnwshotel_room_addons h3 {

	margin: 0 0 10px;

	font-size: 17px;

	line-height: 1.25;

	color: #0f172a;

}

.cnwshotel_addon_item {

	margin-bottom: 8px;

	padding: 10px 12px;

	border: 1px solid #e5e7eb;

	border-radius: 12px;

	background: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);

	transition: border-color .2s ease, box-shadow .2s ease;

}

.cnwshotel_addon_item:hover {

	border-color: #cbd5e1;

	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);

}

.cnwshotel_addon_content {

	display: flex;

	flex-direction: column;

	gap: 2px;

	margin-top: -8px;

}

.cnwshotel_addon_toggle {

	display: flex;

	flex-direction: column;

	gap: 4px;

	cursor: pointer;

	position: relative;

}

.cnwshotel_addon_toggle input[type="checkbox"] {

	position: absolute;

	opacity: 0;

	pointer-events: none;

}

.cnwshotel_addon_head {

	display: flex;

	align-items: center;

	gap: 8px;

}

.cnwshotel_addon_check {

	width: 14px;

	height: 14px;

	min-width: 14px;

	border: 1.5px solid #94a3b8;

	border-radius: 4px;

	background: #fff;

	display: block;

}

.cnwshotel_addon_toggle input[type="checkbox"]:checked + .cnwshotel_addon_head .cnwshotel_addon_check {

	background: #111827;

	border-color: #111827;

	box-shadow: inset 0 0 0 3px #fff;

}

.cnwshotel_addon_title {

	font-size: 14px;

	font-weight: 600;

	color: #0f172a;

	line-height: 1.15;

	margin: 0;

}

.cnwshotel_addon_subline {

	display: flex;

	align-items: center;

	gap: 8px;

	padding-left: 22px;

	flex-wrap: wrap;

}

.cnwshotel_addon_price {

	font-size: 13px;

	font-weight: 400;

	color: #111827;

	line-height: 1.2;

}

.cnwshotel_addon_mode {

	font-size: 13px;

	color: #64748b;

	line-height: 1.2;

}

.cnwshotel_booking_tax_note {

	margin: 12px 0;

	padding: 10px 12px;

	border: 1px solid #dbeafe;

	border-radius: 8px;

	background: #eff6ff;

	color: #1e3a8a;

	font-size: 13px;

	line-height: 1.5;

}

.cnwshotel_addon_input_wrap {

	margin-top: 12px;

	padding-top: 12px;

	border-top: 1px solid #eef2f7;

}

.cnwshotel_addon_input_wrap label {

	display: block;

	margin: 0 0 8px;

	font-size: 13px;

	font-weight: 600;

	color: #475569;

}

.cnwshotel_addon_content .cnwshotel_addon_price,

.cnwshotel_addon_content .cnwshotel_addon_mode {

	vertical-align: middle;

}

.cnwshotel_addon_input_wrap input,

.cnwshotel_addon_input_wrap textarea {

	width: 100%;

	border: 1px solid #d0d7de;

	border-radius: 10px;

	padding: 10px 12px;

	box-sizing: border-box;

	background: #fff;

	font-size: 14px;

}

/* =========================================================

ROOM GRID / CARDS

========================================================= */

.cnwshotel_room_grid_list,

.cnwshotel_room_list,

.cnwshotel_room_archive_grid,

.cnwshotel_room_grid_wrapper {

	display: grid;

	grid-template-columns: repeat(3, minmax(0, 1fr));

	gap: 28px;

}

.cnwshotel_no_rooms {

	grid-column: 1 / -1;

	margin: 18px 0 0;

	padding: 18px 20px;

	border: 1px solid #d8e0ea;

	border-left: 4px solid #2563eb;

	border-radius: 8px;

	background: #f8fafc;

	color: #1f2937;

	font-weight: 600;

}

.cnwshotel_room_card {

	position: relative;

	overflow: hidden;

	border-radius: 22px;

	background: #fff;

	border: 1px solid #e5e7eb;

	box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);

	transition: transform .2s ease, box-shadow .2s ease;

}

.cnwshotel_room_card:hover {

	transform: translateY(-3px);

	box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);

}

.cnwshotel_room_link {

	display: block;

	color: inherit;

	text-decoration: none;

}

.cnwshotel_room_image {

	position: relative;

	overflow: hidden;

	aspect-ratio: 4 / 5;

	background: #f8fafc;

}

.cnwshotel_room_image img {

	width: 100%;

	height: 100%;

	object-fit: cover;

	transition: transform .35s ease;

}

.cnwshotel_room_card:hover .cnwshotel_room_image img {

	transform: scale(1.04);

}

.cnwshotel_room_image_placeholder {

	width: 100%;

	height: 100%;

	background: linear-gradient(135deg, #f1f5f9, #e2e8f0);

}

.cnwshotel_room_overlay {

	position: absolute;

	inset: 0;

	background: linear-gradient(180deg, rgba(15,23,42,0.06) 0%, rgba(15,23,42,0.62) 100%);

}

.cnwshotel_room_overlay_content {

	position: absolute;

	inset: 0;

	display: flex;

	flex-direction: column;

	justify-content: flex-end;

	padding: 20px;

	color: #fff;

}

.cnwshotel_room_topline {

	margin-bottom: 8px;

}

.cnwshotel_room_top_price {

	display: inline-flex;

	padding: 6px 10px;

	border-radius: 999px;

	background: rgba(255,255,255,0.16);

	backdrop-filter: blur(8px);

	font-weight: 700;

	font-size: 13px;

}

.cnwshotel_room_title {

	margin-bottom: 10px;

}

.cnwshotel_room_hover_content {

	display: flex;

	flex-direction: column;

	gap: 8px;

}

.cnwshotel_room_meta,

.cnwshotel_room_availability {

	font-size: 13px;

	line-height: 1.45;

}

.cnwshotel_available {

	color: #dcfce7;

	font-weight: 700;

}

.cnwshotel_soldout {

	color: #fee2e2;

	font-weight: 700;

}

.cnwshotel_room_cta {

	margin-top: 8px;

}

.cnwshotel_room_button {

	display: inline-flex;

	align-items: center;

	justify-content: center;

	min-height: 40px;

	padding: 0 14px;

	border-radius: 12px;

	background: rgba(255,255,255,0.14);

	color: #fff;

	font-weight: 700;

	font-size: 14px;

	backdrop-filter: blur(8px);

}

/* =========================================================

SEARCH

========================================================= */

.cnwshotel_search {

	margin: 0 0 26px;

}

.cnwshotel_search_grid {

	display: grid;

	grid-template-columns: repeat(5, minmax(0, 1fr));

	gap: 14px;

	align-items: end;

	padding: 18px;

	border: 1px solid #e5e7eb;

	border-radius: 18px;

	background: #fff;

	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);

}

.cnwshotel_field label {

	display: block;

	margin: 0 0 8px;

	font-size: 13px;

	font-weight: 600;

	color: #475569;

}

.cnwshotel_field input,

.cnwshotel_field select {

	width: 100%;

	min-height: 48px;

	padding: 12px 14px;

	border: 1px solid #d0d7de;

	border-radius: 12px;

	background: #fff;

	box-sizing: border-box;

}

.cnwshotel_field_help {

	margin: 6px 0 0;

	font-size: 12px;

	line-height: 1.35;

	color: #64748b;

}

.cnwshotel_search_btn {

	width: 100%;

	min-height: 48px;

	border: 0;

	border-radius: 12px;

	background: #111827;

	color: #fff;

	font-weight: 700;

	cursor: pointer;

}

/* =========================================================

CHECKOUT / CART META POLISH

========================================================= */

.woocommerce-checkout-review-order-table .product-name dl.variation,

.woocommerce-cart .product-name dl.variation {

	margin-top: 8px;

}

.woocommerce-checkout-review-order-table .product-name dl.variation dt,

.woocommerce-cart .product-name dl.variation dt {

	display: block;

	float: none;

	clear: both;

	width: 100%;

	margin: 0 0 2px;

	font-size: 13px;

	font-weight: 600;

	color: #111827;

}

.woocommerce-checkout-review-order-table .product-name dl.variation dd,

.woocommerce-cart .product-name dl.variation dd {

	display: block;

	float: none;

	clear: both;

	width: 100%;

	margin: 0 0 7px;

	font-size: 13px;

	color: #475569;

}

.woocommerce-checkout-review-order-table .product-name dl.variation dd p,

.woocommerce-cart .product-name dl.variation dd p {

	margin: 0;

}

.woocommerce-checkout-review-order-table .product-total,

.woocommerce-cart .product-total {

	font-size: 18px;

	font-weight: 700;

	color: #0f172a;

}

.woocommerce-checkout-review-order-table .product-name strong,

.woocommerce-cart .product-name strong {

	color: #111827;

}

/* =========================================================

RESPONSIVE

========================================================= */

@media (max-width: 1100px) {

	.cnwshotel_room_grid {

		grid-template-columns: 1fr;

	}

	.cnwshotel_room_bookbox {

		position: static;

	}

	.cnwshotel_room_grid_list,

	.cnwshotel_room_list,

	.cnwshotel_room_archive_grid,

	.cnwshotel_room_grid_wrapper {

		grid-template-columns: repeat(2, minmax(0, 1fr));

	}

	.cnwshotel_search_grid {

		grid-template-columns: repeat(2, minmax(0, 1fr));

	}

}

@media (max-width: 767px) {

	.cnwshotel_theme_container {

		padding: 0 14px;

	}

	.cnwshotel_room_template_main {

		padding: 24px 0 60px;

	}

	.cnwshotel_room_topbar {

		padding: 14px;

	}

	.cnwshotel_room_section,

	.cnwshotel_room_bookbox {

		padding: 18px;

		border-radius: 18px;

	}

	.cnwshotel_room_grid_list,

	.cnwshotel_room_list,

	.cnwshotel_room_archive_grid,

	.cnwshotel_room_grid_wrapper,

	.cnwshotel_search_grid,

	.cnwshotel_room_facts,

	.cnwshotel_amenities_grid {

		grid-template-columns: 1fr;

	}

	.cnwshotel_room_title {

		font-size: 30px;

	}

}
/* Batch 5: single-room layout polish */
.cnwshotel_room_topbar_back_only {
	justify-content: flex-end;
	padding: 12px 18px;
}

.cnwshotel_room_topbar_back_only .cnwshotel_room_side_tab {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
}

.cnwshotel_room_bookbox,
.cnwshotel_room_booking_box {
	position: sticky;
	top: 24px;
	padding: 28px;
	border-radius: 20px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.cnwshotel_room_bookbox h2,
.cnwshotel_room_booking_box h2 {
	margin-top: 0;
	margin-bottom: 18px;
}

.cnwshotel_booking_summary_mini {
	display: grid;
	gap: 10px;
	margin: 18px 0 20px;
}

.cnwshotel_summary_row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 14px;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	background: #f8fafc;
}

.cnwshotel_summary_row span {
	color: #64748b;
	font-size: 14px;
	font-weight: 600;
}

.cnwshotel_summary_row strong {
	color: #0f172a;
	font-size: 15px;
	font-weight: 800;
	text-align: right;
}

.cnwshotel_summary_total {
	background: #ffffff;
}

.cnwshotel_summary_total strong {
	font-size: 17px;
}

@media (max-width: 720px) {
	.cnwshotel_room_topbar_back_only {
		justify-content: flex-start;
	}

	.cnwshotel_room_bookbox,
	.cnwshotel_room_booking_box {
		position: static;
		padding: 22px;
	}

	.cnwshotel_summary_row {
		align-items: flex-start;
		flex-direction: column;
		gap: 4px;
	}

	.cnwshotel_summary_row strong {
		text-align: left;
	}
}
