.shb-public-rooms {
	display: grid;
	grid-template-columns: repeat(var(--shb-columns, 3), minmax(0, 1fr));
	gap: clamp(20px, 3vw, 34px);
}

.shb-public-room-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(123, 99, 62, .18);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(27, 39, 34, .08);
}

.shb-public-room-image {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #e9e4dc;
}

.shb-public-room-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease;
}

.shb-public-room-card:hover .shb-public-room-image img { transform: scale(1.035); }

.shb-public-room-image > span {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 7px 10px;
	border-radius: 999px;
	background: #b08d57;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.shb-public-room-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 24px;
}

.shb-public-eyebrow {
	margin: 0 0 8px;
	color: #9a7744;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.shb-public-room-content h3 { margin: 0 0 9px; font: 500 clamp(22px, 2.2vw, 28px)/1.2 Georgia, serif; }
.shb-public-room-content h3 a { color: #16241f; text-decoration: none; }
.shb-public-room-meta { display: flex; flex-wrap: wrap; gap: 7px 14px; margin: 0 0 16px; color: #70675b; font-size: 13px; }
.shb-public-room-meta span + span::before { content: "·"; margin-right: 14px; color: #b08d57; }
.shb-public-room-excerpt { margin: 0 0 16px; color: #5f584f; font-size: 14px; line-height: 1.7; }
.shb-public-room-amenities { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 22px; padding: 0; list-style: none; }
.shb-public-room-amenities li { padding: 5px 8px; border-radius: 3px; background: #f5f1eb; color: #615748; font-size: 11px; }
.shb-public-room-footer { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-top: auto; padding-top: 18px; border-top: 1px solid #eee8df; }
.shb-public-room-footer p, .shb-public-price { margin: 0; }
.shb-public-room-footer small, .shb-public-price small, .shb-public-price span { display: block; color: #776e62; font-size: 11px; }
.shb-public-room-footer strong, .shb-public-price strong { display: block; color: #1b2c26; font: 500 22px/1.3 Georgia, serif; }
.shb-public-room-footer del, .shb-public-price del { display: block; color: #8d8377; font-size: 12px; }
.shb-public-room-footer em, .shb-public-price em { color: #98723d; font: 700 9px/1.3 Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.shb-public-price del { margin: 4px 0 1px; }

/* Promotion display for the Summerset companion theme, including older copies. */
.room-card-price del,
.room-card-price b,
.room-reserve-card .reserve-price del,
.more-room-before { display: block; }
.room-card-price del,
.room-reserve-card .reserve-price del,
.more-room-before { color: rgb(36 31 26 / 52%); font: 400 12px/1.4 Arial, sans-serif; }
.room-card-price small,
.room-reserve-card .reserve-price del small,
.room-reserve-card .reserve-price b em,
.more-room-card small { font: 700 9px/1.3 Arial, sans-serif; font-style: normal; letter-spacing: .1em; text-transform: uppercase; }
.room-reserve-card .reserve-price { display: grid; grid-template-columns: 1fr auto; align-items: end; }
.room-reserve-card .reserve-price > span { grid-row: 1 / span 2; align-self: center; }
.room-reserve-card .reserve-price del { color: rgb(246 240 231 / 48%); text-align: right; }
.room-reserve-card .reserve-price b { text-align: right; }
.more-room-before { margin-top: 8px; }

.shb-public-button,
.shb-promo-button {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border: 0;
	border-radius: 4px;
	background: #a88249;
	color: #fff !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	text-decoration: none !important;
	cursor: pointer;
}

.shb-public-button:hover { background: #896737; }
.shb-layout-list { grid-template-columns: 1fr; }
.shb-layout-list .shb-public-room-card { display: grid; grid-template-columns: minmax(230px, 36%) 1fr; }
.shb-layout-list .shb-public-room-image { height: 100%; aspect-ratio: auto; }
.shb-layout-carousel { display: flex; padding: 0 0 16px; overflow-x: auto; scroll-snap-type: x mandatory; }
.shb-layout-carousel .shb-public-room-card { min-width: min(82vw, 360px); scroll-snap-align: start; }

.shb-room-filters,
.shb-availability-search {
	display: grid;
	grid-template-columns: repeat(4, minmax(130px, 1fr)) auto;
	gap: 12px;
	align-items: end;
	margin: 0 0 28px;
	padding: 18px;
	border: 1px solid #e4ddd3;
	border-radius: 8px;
	background: #fff;
}

.shb-room-filters label > span,
.shb-availability-search label > span { display: block; margin-bottom: 6px; color: #5f574c; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.shb-room-filters input, .shb-room-filters select, .shb-availability-search input { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid #d8d0c5; border-radius: 3px; background: #fff; }
.shb-public-empty { grid-column: 1 / -1; padding: 24px; border-radius: 6px; background: #f7f4ef; text-align: center; }

.shb-room-details > header { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(240px, .6fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.shb-room-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.shb-room-gallery img { display: block; width: 100%; height: 180px; border-radius: 6px; object-fit: cover; }
.shb-room-gallery img:first-child { grid-column: 1 / -1; height: 330px; }
.shb-room-details h2 { margin: 0 0 14px; font: 500 clamp(34px, 5vw, 58px)/1.08 Georgia, serif; color: #172620; }
.shb-room-description { max-width: 760px; margin: 36px auto; color: #5f584f; line-height: 1.8; }
.shb-public-amenities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0; padding: 0; list-style: none; }
.shb-public-amenities li { display: flex; gap: 9px; padding: 14px; border: 1px solid #e8e1d7; border-radius: 5px; }
.shb-public-amenities span { color: #a88249; }
.shb-public-coupon-form { display: flex; max-width: 560px; gap: 10px; }
.shb-public-coupon-form label { flex: 1; }
.shb-public-coupon-form input { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #d8d0c5; }

.shb-public-calendar { display: grid; grid-template-columns: repeat(7, minmax(75px, 1fr)); gap: 8px; overflow-x: auto; }
.shb-public-calendar > span { display: grid; min-width: 75px; gap: 3px; padding: 12px 8px; border-radius: 5px; background: #eef5ef; text-align: center; }
.shb-public-calendar b { color: #1e3029; font-size: 12px; }
.shb-public-calendar small, .shb-public-calendar i { color: #6d756f; font-size: 10px; font-style: normal; }
.shb-public-calendar .is-limited { background: #fff4d7; }
.shb-public-calendar .is-closed { background: #f6e5e2; }
.shb-standalone-summary { max-width: 540px; padding: 28px; border: 1px solid #e2d8ca; border-top: 4px solid #b08d57; background: #fff; box-shadow: 0 12px 30px rgba(25, 39, 33, .08); }

.shb-promo-banner {
	position: relative;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	padding: 13px clamp(42px, 5vw, 80px);
	background: var(--shb-banner-bg);
	color: var(--shb-banner-text);
}

.shb-promo-copy { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: inherit; gap: 5px 12px; }
.shb-promo-copy small { width: 100%; color: var(--shb-banner-accent); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.shb-promo-copy strong { color: inherit; font: 500 18px/1.2 Georgia, serif; }
.shb-promo-copy span { color: inherit; font-size: 13px; opacity: .82; }
.shb-promo-button { flex: 0 0 auto; background: var(--shb-banner-accent); }
.shb-promo-image { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.shb-promo-dismiss { position: absolute; top: 50%; right: 12px; width: 34px; height: 34px; padding: 0; transform: translateY(-50%); border: 0; background: transparent; color: inherit; font-size: 24px; cursor: pointer; opacity: .72; }
.shb-placement-bottom { position: fixed; right: 0; bottom: 0; left: 0; }
.shb-placement-floating { position: fixed; right: 20px; bottom: 20px; width: min(390px, calc(100vw - 40px)); justify-content: flex-start; border-radius: 9px; box-shadow: 0 12px 40px rgba(0,0,0,.2); }
.shb-placement-floating .shb-promo-copy { justify-content: flex-start; }
.shb-placement-floating .shb-promo-image { display: none; }
.shb-placement-floating { flex-wrap: wrap; }

@media (min-width: 783px) { .shb-device-mobile { display: none; } }

@media (max-width: 900px) {
	.shb-public-rooms { grid-template-columns: repeat(min(2, var(--shb-columns, 3)), minmax(0, 1fr)); }
	.shb-room-filters, .shb-availability-search { grid-template-columns: repeat(2, minmax(130px, 1fr)); }
	.shb-room-details > header { grid-template-columns: 1fr; }
	.shb-public-amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.shb-device-desktop { display: none; }
}

@media (max-width: 600px) {
	.shb-public-rooms, .shb-layout-list .shb-public-room-card { grid-template-columns: 1fr; }
	.shb-room-filters, .shb-availability-search { grid-template-columns: 1fr; }
	.shb-layout-list .shb-public-room-image { aspect-ratio: 4 / 3; }
	.shb-public-amenities { grid-template-columns: 1fr; }
	.shb-promo-banner { align-items: flex-start; flex-wrap: wrap; justify-content: flex-start; gap: 10px; padding: 14px 48px 14px 16px; text-align: left !important; }
	.shb-promo-copy { justify-content: flex-start; }
	.shb-promo-button { min-height: 38px; padding: 8px 12px; }
}

@media (prefers-reduced-motion: reduce) { .shb-public-room-image img { transition: none; } }
