.tb { --tb-ink:#2b2733; --tb-gold:#b1802f; --tb-gold-dark:#8a6323; --tb-cream:#f6f2ea; --tb-line:#e7e1d6; --tb-muted:#8a8578; box-sizing:border-box; color:var(--tb-ink); font-family:'Urbanist', sans-serif; }
.tb *, .tb *::before, .tb *::after { box-sizing:inherit; }
.tb h1, .tb h2, .tb h3 { font-family:'Marcellus', sans-serif; font-weight:400; }
.tb a { color:inherit; }
.tb .tb-ico { flex-shrink:0; vertical-align:-3px; }

/* Buttons */
.tb-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; background:var(--tb-gold); color:#fff; border:none; padding:14px 22px; font-size:15px; letter-spacing:.03em; text-transform:uppercase; cursor:pointer; border-radius:2px; text-decoration:none; transition:background .15s ease; }
.tb-btn:hover { background:var(--tb-gold-dark); color:#fff; }
.tb-btn:disabled { opacity:.6; cursor:default; }
.tb-btn-block { width:100%; }

/* Notices */
.tb-notice { padding:16px 18px; border-radius:4px; margin:20px 0; }
.tb-notice-error { background:#fbeeee; color:#8a2f2f; border:1px solid #f0d3d3; }
.tb-form-error { color:#b3382f; font-size:13.5px; min-height:1px; margin:6px 0 0; }

/* ---------------- Search bar ---------------- */
.tb-searchbar { display:flex; flex-wrap:wrap; align-items:end; background:#fff; box-shadow:0 6px 24px rgba(0,0,0,.08); border-radius:2px; overflow:hidden; }
.tb-sf { flex:1 1 140px; padding:10px 14px; border-right:1px solid var(--tb-line); }
.tb-sf:last-of-type { border-right:none; }
.tb-sf label { display:block; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--tb-muted); margin-bottom:2px; }
.tb-sf select, .tb-sf input { width:100%; border:0 !important; padding:0; margin:0; font-size:15px; color:var(--tb-ink); background:transparent; outline:0; box-shadow:none !important; -webkit-appearance:none; -moz-appearance:none; appearance:none; border-radius:0 !important; }
.tb-sf select:focus, .tb-sf input:focus, .tb-sf select:hover, .tb-sf input:hover, .tb-sf select:active, .tb-sf input:active { outline:0; box-shadow:none !important; border:0 !important; }
.tb-sf-control { display:flex; align-items:center; gap:6px; }
.tb-sf-control input, .tb-sf-control select { flex:1 1 auto; min-width:0; }
.tb-sf-control svg { color:var(--tb-gold); }
.tb-search-btn { flex:0 0 auto; background:var(--tb-gold); color:#fff; border:none; padding:0 26px; display:flex; align-items:center; gap:8px; cursor:pointer; align-self:stretch; font-size:14px; text-transform:uppercase; letter-spacing:.05em; }
.tb-search-btn:hover { background:var(--tb-gold-dark); }

@media (max-width:600px) {
	.tb-searchbar { flex-direction:column; border-radius:14px !important; box-shadow:0 16px 40px rgba(43,39,51,.14) !important; padding:18px 20px 14px !important; }
	.tb-sf { width:100%; border:0 !important; padding:5px 0 !important; }
	.tb-sf select, .tb-sf input { border-bottom:1px solid var(--tb-line) !important; padding-bottom:6px !important; }
	.tb-search-btn { width:100%; justify-content:center; margin-top:4px; padding:15px !important; border-radius:8px !important; }
	.tb-search-btn span { display:none; }
}

/* ---------------- Search Box widget (standalone Elementor element) ---------------- */
.tb-searchbox-widget .tb-searchbar { color:var(--tb-ink); }
@media (max-width:820px) {
	.tb-searchbox-widget .tb-searchbar { flex-direction:column; }
	.tb-searchbox-widget .tb-sf { width:100%; border-right:none; border-bottom:1px solid var(--tb-line); }
	.tb-searchbox-widget .tb-search-btn { padding:16px; justify-content:center; }
}

/* ---------------- Hero search widget (Elementor) ---------------- */
.tb-hero { position:relative; width:100vw; margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw); margin-bottom:70px; color:#fff; overflow:hidden; background:#2b2733; }
.tb-hero-media { position:absolute; inset:0; background-size:cover; background-position:center; }
.tb-hero-overlay { position:absolute; inset:0; background:#000; }
.tb-hero-inner { position:relative; max-width:1240px; margin:0 auto; padding:100px 16px 120px; text-align:center; }
.tb-hero-inner h1 { color:#fff; font-size:46px; margin:0 0 14px; }
.tb-hero-inner p { font-size:17px; margin:0; opacity:.92; }
.tb-hero-searchbar-wrap { position:relative; max-width:1160px; margin:0 auto; padding:0 16px; transform:translateY(50%); }
.tb-hero-searchbar-wrap .tb-searchbar { color:var(--tb-ink); }
@media (max-width:820px) {
	.tb-hero-inner { padding:60px 16px 30px; }
	.tb-hero-inner h1 { font-size:30px; }
	.tb-hero-searchbar-wrap { transform:none; margin-top:20px; }
	.tb-hero-searchbar-wrap .tb-searchbar { flex-direction:column; }
	.tb-hero-searchbar-wrap .tb-sf { width:100%; border-right:none; border-bottom:1px solid var(--tb-line); }
	.tb-hero-searchbar-wrap .tb-search-btn { padding:16px; justify-content:center; }
}

/* ---------------- Location page ---------------- */
.tb-location-page { padding-top:0; }
.tb-location-hero { position:relative; width:100vw; margin-top:0; margin-bottom:24px; margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw); padding:70px 24px; text-align:center; background:var(--tb-ink) center/cover no-repeat; border-radius:0; }
.tb-location-hero-plain { background:linear-gradient(135deg, var(--tb-ink), var(--tb-gold-dark)); }
.tb-location-hero-inner { max-width:720px; margin:0 auto; }
.tb-breadcrumb { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px; margin:0 0 14px; font-size:13px; letter-spacing:.03em; text-transform:uppercase; }
.tb-breadcrumb a { color:#fff; opacity:.75; text-decoration:none; transition:opacity .15s ease; }
.tb-breadcrumb a:hover { opacity:1; color:var(--tb-gold); }
.tb-breadcrumb-sep { color:#fff; opacity:.45; }
.tb-breadcrumb-current { color:var(--tb-gold); opacity:1; }
.tb-location-title { color:#fff; font-size:34px; margin:0 0 10px; }
.tb-location-desc { color:#fff; opacity:.9; font-size:15px; line-height:1.5; margin:0; }
@media (max-width:600px) { .tb-location-hero { padding:44px 18px; } .tb-location-title { font-size:26px; } }

/* Location page side gutters. The theme zeroes the wrapper's horizontal padding, so the gutter is
   applied to each direct child instead (the hero is excluded so it stays full-bleed). */
.tb-location-page { padding-left:0 !important; padding-right:0 !important; }
.tb-location-page > :not(.tb-location-hero) { margin-left:24px !important; margin-right:24px !important; }
@media (max-width:760px) { .tb-location-page > :not(.tb-location-hero) { margin-left:16px !important; margin-right:16px !important; } }

/* ---------------- Rooms listing ---------------- */
.tb-rooms-page { max-width:1240px; margin:0 auto; padding:24px 16px 60px; }
.tb-rooms-toolbar { display:flex; justify-content:space-between; align-items:center; margin:28px 0 18px; flex-wrap:wrap; gap:10px; }
.tb-rooms-count { font-size:15px; color:var(--tb-muted); }
.tb-sort { display:flex; align-items:center; gap:8px; font-size:14px; }
.tb-sort select { padding:6px 10px; border:1px solid var(--tb-line); border-radius:3px; }

.tb-room-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:10px; }
.tb-room-card { display:flex; flex-direction:column; text-decoration:none; color:inherit; background:#fff; box-shadow:0 6px 24px rgba(43,39,51,.18) !important; transition:box-shadow .15s ease; position:relative; }
.tb-room-card:hover { box-shadow:0 6px 24px rgba(43,39,51,.24), inset 0 0 0 1px var(--tb-line) !important; z-index:1; }
.tb-room-card:hover .tb-room-thumb-inner img { transform:scale(1.04); }

.tb-room-thumb { position:relative; flex:0 0 auto; }
.tb-room-thumb-inner { aspect-ratio:4/3; background:var(--tb-cream); overflow:hidden; }
.tb-room-thumb-inner img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s ease; }
.tb-thumb-fallback { width:100%; height:100%; background:linear-gradient(135deg,#ece6d8,#d9d0ba); }

.tb-badge { position:absolute; top:14px; left:14px; background:#332f52; color:#fff; font-size:11px; text-transform:uppercase; letter-spacing:.07em; padding:6px 12px; border-radius:4px; z-index:1; }

.tb-room-gallery-badge { position:absolute; right:16px; bottom:-18px; width:38px; height:38px; background:#fff; border-radius:9px; box-shadow:0 4px 14px rgba(43,39,51,.18); display:flex; align-items:center; justify-content:center; z-index:2; color:var(--tb-ink); }
.tb-room-gallery-count { position:absolute; top:-8px; right:-8px; min-width:18px; height:18px; padding:0 4px; border-radius:50%; background:var(--tb-gold); color:#fff; font-size:10.5px; font-weight:600; display:flex; align-items:center; justify-content:center; line-height:1; }

.tb-room-body { flex:1 1 auto; display:flex; flex-direction:column; padding:26px 20px 22px; }
.tb-room-rating { display:flex; align-items:center; gap:8px; font-size:14px; color:var(--tb-muted); margin-bottom:10px; }
.tb-room-title { margin:0 0 12px; font-size:19px; line-height:1.3; }
.tb-room-price { color:var(--tb-gold-dark); font-size:17px; font-weight:600; margin-bottom:16px; }
.tb-room-price span { font-weight:400; color:var(--tb-muted); font-size:13px; }

.tb-room-facts-box { display:flex; justify-content:space-between; align-items:center; gap:16px; background:var(--tb-cream); border-radius:4px; padding:14px 18px; margin-top:auto; }
.tb-room-fact { font-size:13.5px; color:var(--tb-muted); white-space:nowrap; }
.tb-fact-value { color:var(--tb-ink); font-weight:500; }

.tb-stars { position:relative; display:inline-block; vertical-align:middle; width:108px; height:19px; font-size:19px; line-height:19px; letter-spacing:3px; color:#ddd; top:-1px; }
.tb-stars::before { content:"★★★★★"; }
.tb-stars i { position:absolute; top:0; left:0; overflow:hidden; white-space:nowrap; color:var(--tb-gold); font-style:normal; display:block; }
.tb-stars i::before { content:"★★★★★"; }

@media (max-width:640px) {
	.tb-room-grid { grid-template-columns:1fr; }
}

.tb-pagination { display:flex; gap:6px; justify-content:center; margin-top:36px; }
.tb-pagination .page-numbers { display:inline-flex; align-items:center; justify-content:center; min-width:36px; height:36px; border:1px solid var(--tb-line); border-radius:3px; text-decoration:none; color:var(--tb-ink); }
.tb-pagination .page-numbers.current { background:var(--tb-gold); color:#fff; border-color:var(--tb-gold); }
.tb-no-results { text-align:center; color:var(--tb-muted); padding:60px 0; }

/* ---------------- Single room ---------------- */
.tb-room-single { max-width:1240px; margin:0 auto; padding:24px 16px 60px; }
.tb-gallery-carousel { position:relative; margin-bottom:48px; width:100vw; margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw); }
.tb-gallery-track { display:flex; gap:6px; height:55vh; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; scroll-behavior:smooth; -ms-overflow-style:none; scrollbar-width:none; }
.tb-gallery-track::-webkit-scrollbar { display:none; }
.tb-gallery-slide { flex:0 0 calc(25% - 4.5px); height:100%; scroll-snap-align:start; overflow:hidden; background:var(--tb-cream); display:flex; align-items:center; justify-content:center; }
.tb-gallery-slide img { width:100%; height:100%; object-fit:cover; display:block; }
.tb-gal-arrow { position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; border-radius:50%; border:none; display:flex; align-items:center; justify-content:center; cursor:pointer; z-index:2; color:#2b2733; }
.tb-gal-prev { left:10px; background:rgba(255,255,255,.55); backdrop-filter:blur(2px); }
.tb-gal-prev:hover { background:rgba(255,255,255,.85); }
.tb-gal-next { right:10px; background:var(--tb-gold); color:#fff; }
.tb-gal-next:hover { background:var(--tb-gold-dark); }
.tb-gal-arrow[disabled] { opacity:.35; cursor:default; }
.tb-gal-count { position:absolute; right:14px; bottom:14px; background:rgba(0,0,0,.55); color:#fff; font-size:12.5px; padding:5px 11px; border-radius:16px; display:flex; align-items:center; gap:6px; z-index:2; }
@media (max-width:900px) { .tb-gallery-slide { flex-basis:calc(50% - 3px); } .tb-gallery-track { height:42vh; } }
@media (max-width:520px) { .tb-gallery-slide { flex-basis:100%; } .tb-gallery-track { height:46vh; gap:0; } }
@media (max-width:760px) {
	/* Full-bleed breakout can overshoot the real viewport on some mobile theme layouts,
	   widening the whole page and cropping everything else — so on small screens keep
	   the gallery contained instead of edge-to-edge. */
	.tb-gallery-carousel, .tb-hero, .tb-location-hero { width:100%; margin-left:0; margin-right:0; }
}

.tb-room-header { display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap; padding-bottom:28px; margin-bottom:48px; border-bottom:1px solid var(--tb-line); }
.tb-room-header-main { min-width:0; }
.tb-room-header h1 { font-size:30px; margin:0 0 8px; }
.tb-room-header-price-row { display:flex; align-items:center; gap:16px; }
.tb-room-header-price { font-size:16px; color:var(--tb-muted); white-space:nowrap; margin-top:6px; }
.tb-room-header-price strong { color:var(--tb-gold-dark); font-size:24px; font-weight:600; margin:0 3px; }
.tb-room-rating { display:flex; align-items:center; gap:8px; font-size:14px; color:var(--tb-muted); }
.tb-book-now-mobile { display:none !important; }

.tb-room-facts { display:flex; align-items:center; gap:34px; flex-wrap:wrap; }
.tb-fact { display:flex; align-items:center; gap:12px; }
a.tb-fact-link { text-decoration:none; cursor:pointer; }
a.tb-fact-link:not([href]) { cursor:default; }
.tb-fact-ico { flex-shrink:0; width:46px; height:46px; border-radius:50%; background:var(--tb-cream); color:var(--tb-gold); display:flex; align-items:center; justify-content:center; }
.tb-fact-ico .tb-ico { width:20px; height:20px; }
.tb-fact-text { display:flex; flex-direction:column; line-height:1.35; white-space:nowrap; }
.tb-fact-text strong { font-size:15px; font-weight:600; color:var(--tb-ink); }
.tb-fact-text em { font-size:13.5px; font-style:normal; color:var(--tb-muted); }
@media (max-width:700px) { .tb-room-facts { gap:20px; } .tb-fact-text strong { white-space:normal; } }

/* ---- Mobile room header: matches the app-style "Book Now" header card ---- */
@media (max-width:900px) {
	.tb-room-header { flex-direction:column; align-items:stretch; gap:0; padding-bottom:0; margin-bottom:30px; border-bottom:none; }
	.tb-room-header-main { width:100%; }
	.tb-room-header h1 { font-size:24px; margin:0 0 10px; line-height:1.3; }
	.tb-room-rating { margin-bottom:2px; }
	.tb-room-header-price-row {
		justify-content:space-between;
		gap:14px;
		margin-top:14px;
		padding:16px 0;
		border-top:1px solid var(--tb-line);
		border-bottom:1px solid var(--tb-line);
	}
	.tb-room-header-price { margin-top:0; font-size:15px; }
	.tb-room-header-price strong { font-size:21px; }
	.tb-book-now-mobile {
		display:inline-flex !important;
		flex:0 0 auto;
		padding:13px 20px;
		font-size:12.5px;
	}
	.tb-room-facts {
		width:100%;
		display:grid;
		grid-template-columns:1fr 1fr;
		align-items:start;
		padding:20px 0;
		gap:18px 16px;
		border-bottom:1px solid var(--tb-line);
	}
	.tb-fact-link { grid-column:1 / -1; }
	.tb-fact-text { white-space:normal; }
}


.tb-room-layout { display:grid; grid-template-columns:1fr 340px; gap:44px; align-items:start; }
@media (max-width:900px) { .tb-room-layout { grid-template-columns:1fr; } }

.tb-section { margin-bottom:64px; padding-bottom:64px; border-bottom:1px solid var(--tb-line); }
.tb-section:last-child { border-bottom:none; padding-bottom:0; margin-bottom:0; }
.tb-section h2 { font-size:22px; margin:0 0 16px; }
.tb-prose { line-height:1.75; color:#443f4d; }
.tb-prose p { margin:0 0 14px; }

.tb-amenities { display:grid; grid-template-columns:repeat(3,1fr); gap:22px 18px; }
.tb-amenity { display:flex; align-items:center; gap:14px; font-size:14.5px; color:#443f4d; }
.tb-amenity .tb-ico { color:var(--tb-gold); }
.tb-amenity-ico { flex:0 0 auto; width:50px; height:50px; border-radius:50%; background:var(--tb-cream); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.tb-amenity-ico .tb-amenity-img { width:100%; height:100%; object-fit:cover; }
.tb-amenity-ico .tb-ico { width:22px; height:22px; }
@media (max-width:780px) { .tb-amenities { grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px) { .tb-amenities { grid-template-columns:1fr; } }

.tb-rules-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.tb-rules-grid h3 { font-size:15px; text-transform:uppercase; letter-spacing:.04em; color:var(--tb-muted); margin:0 0 10px; }
.tb-rules-grid ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.tb-rules-grid li { display:flex; align-items:flex-start; gap:8px; font-size:14.5px; }
.tb-rules-grid .tb-ico { color:#3f9b5f; margin-top:2px; }
@media (max-width:600px) { .tb-rules-grid { grid-template-columns:1fr; } }

/* Calendar */
.tb-calendar { max-width:100%; }
.tb-calendar .tb-cal-month { max-width:100%; border:1px solid var(--tb-line); border-radius:6px; overflow-x:auto; overflow-y:hidden; -webkit-overflow-scrolling:touch; }
.tb-cal-dow-row { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); background:var(--tb-cream); min-width:340px; }
.tb-cal-dow { min-width:0; text-align:center; font-size:13px; font-weight:600; color:var(--tb-ink); padding:12px 0; }
.tb-cal-head { display:flex; align-items:center; justify-content:space-between; padding:12px 18px; background:var(--tb-ink); color:#fff; }
.tb-cal-head strong { font-weight:600; letter-spacing:.02em; }
.tb-cal-head button { background:none; border:none; color:#fff; width:26px; height:26px; cursor:pointer; font-size:20px; line-height:1; display:flex; align-items:center; justify-content:center; }
.tb-cal-head button:disabled { opacity:.35; cursor:default; }
.tb-cal-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); min-width:340px; }
.tb-cal-cell { min-width:0; min-height:64px; border-right:1px solid #f0ece2; border-bottom:1px solid #f0ece2; padding:10px 12px; font-size:13px; color:#443f4d; text-align:right; overflow:hidden; }
.tb-cal-cell .d { font-weight:600; }
.tb-cal-cell .p { color:var(--tb-gold-dark); margin-top:4px; font-size:12.5px; white-space:nowrap; }
.tb-cal-cell.is-unavail { background:#f7f7f7; color:#bbb; }
.tb-cal-cell.is-unavail .p { color:#bbb; }
.tb-cal-cell.is-other-month { background:var(--tb-cream); }
.tb-cal-cell.is-day { cursor:pointer; transition:background .12s ease; }
.tb-cal-cell.is-day:hover { background:#efe7d6; }
.tb-cal-cell.is-selected, .tb-cal-cell.is-selected:hover { background:var(--tb-ink); color:#fff; }
.tb-cal-cell.is-selected .d { color:#fff; }
.tb-cal-cell.is-selected .p { color:var(--tb-gold); }

@media (max-width:420px) {
	.tb-cal-dow-row, .tb-cal-grid { min-width:300px; }
	.tb-cal-cell { padding:8px 8px; font-size:12px; }
	.tb-cal-cell .p { font-size:11.5px; }
}

/* Booking sidebar box — gold "ribbon" header over a cream card, like the reference design */
.tb-booking-box { position:sticky; top:20px; overflow:hidden; border-radius:6px; padding:0; background:var(--tb-cream); box-shadow:0 10px 30px rgba(0,0,0,.08); }

.tb-booking-header { position:relative; background:var(--tb-gold); padding:22px 26px 24px; }
.tb-booking-header h3 { margin:0; font-size:22px; font-weight:400; color:#fff; }
.tb-booking-header::after {
	content:"";
	position:absolute; left:0; top:100%;
	width:48px; height:16px;
	background:var(--tb-gold-dark);
	clip-path:polygon(0 0, 100% 0, 0 100%);
}

.tb-booking-body { padding:30px 26px 26px; }

.tb-sheet-handle, .tb-sheet-close { display:none !important; }
.tb-sheet-backdrop { display:none; }

/* ---- Mobile: booking box becomes a bottom sheet, opened by the "Book Now" button ---- */
@media (max-width:900px) {
	.tb-sheet-backdrop {
		position:fixed; inset:0; background:rgba(43,39,51,.5); z-index:9998;
		opacity:0; pointer-events:none; transition:opacity .25s ease;
	}
	.tb-sheet-backdrop.is-open { display:block; opacity:1; pointer-events:auto; }

	.tb-room-sidebar { position:static; }
	.tb-booking-box {
		position:fixed; left:0; right:0; bottom:0; top:auto; z-index:9999;
		max-height:88vh; overflow-x:hidden; overflow-y:auto;
		border-radius:16px 16px 0 0;
		box-shadow:0 -10px 40px rgba(0,0,0,.18);
		transform:translateY(105%); transition:transform .3s ease;
	}
	.tb-booking-box.is-open { transform:translateY(0); }
	/* Handle floats over the gold header (no cream strip above it) */
	.tb-sheet-handle { display:block !important; position:absolute; top:8px; left:50%; transform:translateX(-50%); width:40px; height:4px; border-radius:2px; background:rgba(255,255,255,.55); margin:0; z-index:3; }
	.tb-booking-header { padding-top:30px; }
	.tb-sheet-close {
		display:flex !important; align-items:center; justify-content:center;
		position:absolute; top:16px; right:16px; width:32px; height:32px;
		border-radius:50%; border:none; background:rgba(255,255,255,.25); color:#fff;
		cursor:pointer; padding:0;
	}
}

.tb-field { margin-bottom:18px; }
.tb-field label { display:block; font-size:12px; text-transform:uppercase; letter-spacing:.05em; color:var(--tb-muted); margin-bottom:5px; }
.tb-field input, .tb-field select { width:100%; padding:11px 12px; border:1px solid var(--tb-line); border-radius:4px; font-size:14.5px; background:#fff; }
.tb-field input:focus, .tb-field select:focus { outline:2px solid #e3d2ac; border-color:var(--tb-gold); }

.tb-booking-box .tb-field label { text-transform:none; letter-spacing:0; font-size:15px; font-weight:500; color:var(--tb-ink); margin-bottom:9px; }
.tb-booking-box .tb-field label::after { content:":"; }
.tb-booking-box .tb-field input,
.tb-booking-box .tb-field select { border:1px solid transparent; padding:13px 16px; }
.tb-booking-box .tb-field input:focus,
.tb-booking-box .tb-field select:focus { outline:none; border-color:var(--tb-gold); }
.tb-field-input { position:relative; }
.tb-field-input input { padding-right:44px; }
.tb-field-ico { position:absolute; right:14px; top:50%; transform:translateY(-50%); color:var(--tb-gold); pointer-events:none; }
.tb-guests-hint { margin:0; font-size:14.5px; font-style:italic; color:var(--tb-muted); }
.tb-guests-select[hidden], .tb-guests-hint[hidden] { display:none; }

.tb-booking-divider { border-top:1px solid var(--tb-line); margin:6px 0 18px; }

.tb-total-row { margin-bottom:20px; }
.tb-total-label { display:block; font-size:15px; font-weight:500; color:var(--tb-ink); margin-bottom:4px; }
.tb-total-label::after { content:":"; }
.tb-quote { min-height:0; }
.tb-quote-hint { color:var(--tb-muted); font-size:13.5px; margin:0; }
.tb-quote-row { display:flex; justify-content:space-between; font-size:14px; padding:5px 0; color:#443f4d; }
.tb-quote-total { border-top:1px solid var(--tb-line); margin-top:6px; padding-top:10px; font-weight:700; font-size:16px; color:var(--tb-ink); }
.tb-booking-body .tb-btn { text-transform:uppercase; padding:16px 22px; }

/* Date picker popover */
.tb-dp { z-index:10000; background:#fff; border:1px solid var(--tb-line); box-shadow:0 14px 34px rgba(0,0,0,.16); border-radius:8px; padding:12px; width:280px; font-size:13.5px; }
.tb-dp-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; font-weight:600; }
.tb-dp-head button { background:none; border:none; font-size:18px; cursor:pointer; width:28px; height:28px; border-radius:4px; }
.tb-dp-head button:hover { background:var(--tb-cream); }
.tb-dp-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:2px; }
.tb-dp-dow { text-align:center; color:var(--tb-muted); font-size:11px; padding:4px 0; }
.tb-dp-day { border:none; background:none; padding:8px 0; border-radius:4px; cursor:pointer; }
.tb-dp-day:hover:not(:disabled) { background:var(--tb-cream); }
.tb-dp-day.is-selected { background:var(--tb-gold); color:#fff; }
.tb-dp-day.is-today:not(.is-selected) { border:1px solid var(--tb-gold); }
.tb-dp-day.is-disabled { color:#ccc; cursor:not-allowed; text-decoration:line-through; }

/* ---------------- Checkout ---------------- */
.tb-checkout-page { max-width:1080px; margin:0 auto; padding:30px 16px 70px; }
.tb-checkout-page h1 { text-align:center; font-size:34px; margin-bottom:34px; }
.tb-checkout-grid { display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:start; }
@media (max-width:820px) { .tb-checkout-grid { grid-template-columns:1fr; } }
.tb-checkout-summary h2, .tb-checkout-form h2 { font-size:19px; margin:0 0 16px; }
.tb-summary-card { display:flex; gap:16px; padding:16px; border:1px solid var(--tb-line); border-radius:6px; margin-bottom:18px; }
.tb-summary-card img { width:120px; height:90px; object-fit:cover; border-radius:4px; flex-shrink:0; }
.tb-summary-card h3 { margin:0 0 8px; font-size:17px; }
.tb-summary-card p { margin:0 0 6px; font-size:13.5px; color:#443f4d; }
.tb-summary-totals { background:var(--tb-cream); border-radius:6px; padding:16px 18px; }
.tb-summary-totals > div { display:flex; justify-content:space-between; padding:5px 0; font-size:14px; }
.tb-total-row { border-top:1px solid #e2d9c4; margin-top:6px; padding-top:12px !important; font-weight:700; font-size:17px; }
.tb-change-dates { margin-top:14px; font-size:13.5px; }
.tb-change-dates a { color:var(--tb-gold-dark); text-decoration:none; }

.tb-checkout-form .tb-field input.is-invalid { border-color:#c0392b; background:#fdf3f2; }
.tb-err { display:block; color:#c0392b; font-size:12.5px; margin-top:4px; min-height:1px; }
.tb-secure-note { text-align:center; font-size:12.5px; color:var(--tb-muted); margin-top:12px; display:flex; align-items:center; justify-content:center; gap:6px; }
.tb-pay-later-divider { display:flex; align-items:center; gap:12px; margin:18px 0 14px; color:var(--tb-muted); font-size:12px; text-transform:uppercase; letter-spacing:.08em; }
.tb-pay-later-divider::before, .tb-pay-later-divider::after { content:''; flex:1; height:1px; background:var(--tb-line); }
.tb-btn-pay-later { background:#fff; color:var(--tb-ink); border:1.5px solid var(--tb-ink); }
.tb-btn-pay-later:hover { background:var(--tb-ink); color:#fff; }
.req { color:#c0392b; }

/* ---------------- Confirmation ---------------- */
.tb-confirmation-page { max-width:640px; margin:0 auto; padding:60px 16px; text-align:center; }
.tb-confirm-icon { width:78px; height:78px; border-radius:50%; background:#e9f7ee; color:#2e8b52; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; }
.tb-confirmation-page h1 { font-size:30px; margin:0 0 10px; }
.tb-confirm-sub { color:var(--tb-muted); margin-bottom:28px; }
.tb-confirm-card { text-align:left; }
.tb-confirm-actions { margin-top:26px; }

/* ==================================================================== */
/* Reviews — Property Highlights / comment list / Add a Comment form     */
/* ==================================================================== */

.tb-highlights,
.tb-reviews-list,
.tb-add-comment { margin-top:44px; }
.tb-highlights:first-child { margin-top:0; }
.tb-highlights h2,
.tb-reviews-list h2,
.tb-add-comment h2 { font-size:24px; margin:0 0 20px; }

/* ---- Property Highlights ---- */
.tb-highlights-box { display:flex; border:1px solid var(--tb-line); border-radius:4px; overflow:hidden; }
.tb-highlights-score { flex:0 0 270px; border-right:1px solid var(--tb-line); display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:30px 20px; }
.tb-score-big { font-family:'Marcellus', sans-serif; font-size:52px; line-height:1; color:var(--tb-ink); }
.tb-score-big span { font-size:20px; color:var(--tb-muted); font-family:'Urbanist', sans-serif; }
.tb-score-label { color:var(--tb-gold); font-size:18px; margin-top:8px; }
.tb-score-sub { color:var(--tb-muted); font-size:13.5px; margin-top:4px; }

.tb-highlights-bars { flex:1; padding:26px 34px; display:flex; flex-direction:column; gap:18px; }
.tb-hbar-row:last-child { margin-bottom:0; }
.tb-hbar-top { display:flex; justify-content:space-between; font-size:14.5px; color:var(--tb-ink); margin-bottom:6px; }
.tb-hbar-top span:first-child { color:#2b2733; font-weight:500; }
.tb-hbar-top span:last-child { color:var(--tb-muted); }
.tb-hbar-track { height:5px; background:var(--tb-cream); border-radius:3px; overflow:hidden; }
.tb-hbar-fill { height:100%; background:var(--tb-gold); border-radius:3px; }

@media (max-width:640px) {
	.tb-highlights-box { flex-direction:column; }
	.tb-highlights-score { border-right:none; border-bottom:1px solid var(--tb-line); width:100%; padding:26px 20px; }
	.tb-highlights-bars { padding:22px 20px; }
}

/* ---- Comment list ---- */
.tb-comment-list { list-style:none; margin:0; padding:0; }
.tb-comment { display:flex; gap:16px; padding:26px 0; border-bottom:1px solid var(--tb-line); }
.tb-comment:first-child { padding-top:0; }
.tb-comment-avatar img { border-radius:50%; display:block; }
.tb-comment-body { flex:1; min-width:0; }
.tb-comment-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.tb-comment-author { font-size:16px; font-weight:600; }
.tb-comment-date { font-size:13px; color:var(--tb-muted); }
.tb-comment-date a { text-decoration:none; color:inherit; }
.tb-comment-actions { display:flex; gap:14px; font-size:13px; white-space:nowrap; }
.tb-comment-actions a { text-decoration:none; color:var(--tb-gold-dark); }
.tb-comment-actions a:hover { text-decoration:underline; }

.tb-comment-cats { display:flex; flex-wrap:wrap; gap:22px; margin:14px 0; }
.tb-comment-cat { display:flex; flex-direction:column; gap:4px; }
.tb-comment-cat-label { font-size:12.5px; color:var(--tb-gold-dark); font-weight:500; }
.tb-star-icons { display:inline-flex; gap:2px; font-size:16px; line-height:1; letter-spacing:0; }
.tb-star-icons .is-filled { color:var(--tb-gold); }
.tb-star-icons .is-empty { color:#e2ddd0; }

.tb-comment-text { font-size:15px; line-height:1.7; color:#443f4d; }
.tb-comment-text p:last-child { margin-bottom:0; }
.tb-comments-closed { color:var(--tb-muted); font-size:14.5px; }

@media (max-width:520px) {
	.tb-comment { gap:12px; }
	.tb-comment-avatar img { width:44px; height:44px; }
	.tb-comment-cats { gap:16px; row-gap:10px; }
}

/* ---- Add a Comment form ---- */
.tb-comment-notes { font-size:14px; color:var(--tb-muted); margin:0 0 24px; }
.tb-comment-notes a { color:var(--tb-gold-dark); text-decoration:underline; }

.tb-rating-grid {
	display:grid;
	grid-template-columns:repeat(3, 1fr) 190px;
	grid-template-rows:auto auto;
	column-gap:34px;
	row-gap:22px;
	align-items:stretch;
	margin-bottom:24px;
}
.tb-rating-col { display:flex; flex-direction:column; align-items:flex-start; gap:8px; }
.tb-rating-col label { font-size:14.5px; color:#2b2733; }
.tb-rating-col-quality   { grid-column:1; grid-row:1; }
.tb-rating-col-location  { grid-column:2; grid-row:1; }
.tb-rating-col-amenities { grid-column:3; grid-row:1; }
.tb-rating-col-services  { grid-column:1; grid-row:2; }
.tb-rating-col-price     { grid-column:2; grid-row:2; }

.tb-avg-box { grid-column:4; grid-row:1 / 3; background:var(--tb-cream); border-radius:2px; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:18px; text-align:center; }
.tb-avg-num { font-family:'Marcellus', sans-serif; font-size:30px; color:var(--tb-gold-dark); line-height:1; }
.tb-avg-label { font-size:12.5px; color:var(--tb-muted); margin-top:6px; }

.tb-star-input { display:inline-flex; flex-direction:row-reverse; gap:3px; }
.tb-star-input input { position:absolute; opacity:0; width:0; height:0; }
.tb-star-input label { cursor:pointer; font-size:22px; line-height:1; color:#ddd; transition:color .1s ease; }
.tb-star-input label span { pointer-events:none; }
.tb-star-input label:hover,
.tb-star-input label:hover ~ label,
.tb-star-input input:checked ~ label { color:var(--tb-gold); }

.tb-comment-textarea { width:100%; min-height:140px; border:1px solid var(--tb-line); background:var(--tb-cream); border-radius:2px; padding:16px 18px; font-family:inherit; font-size:15px; color:var(--tb-ink); resize:vertical; }
.tb-comment-textarea:focus { outline:none; border-color:var(--tb-gold); }
.tb-comment-textarea::placeholder { color:var(--tb-muted); }

.tb-guest-fields { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:16px; }
.tb-guest-fields input { width:100%; border:1px solid var(--tb-line); padding:12px 14px; font-size:14.5px; border-radius:2px; background:#fff; }
.tb-guest-fields input:focus { outline:none; border-color:var(--tb-gold); }

.tb-review-form .form-submit { margin-top:18px; }

@media (max-width:720px) {
	.tb-rating-grid { grid-template-columns:1fr 1fr; grid-template-rows:auto auto auto; }
	.tb-rating-col-quality   { grid-column:1; grid-row:1; }
	.tb-rating-col-location  { grid-column:2; grid-row:1; }
	.tb-rating-col-amenities { grid-column:1; grid-row:2; }
	.tb-rating-col-services  { grid-column:2; grid-row:2; }
	.tb-rating-col-price     { grid-column:1; grid-row:3; }
	.tb-avg-box { grid-column:2; grid-row:3; }
	.tb-guest-fields { grid-template-columns:1fr; }
}

/* Rotating spinner shown inside buttons while a payment/booking is processing */
.tb .is-busy{display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:wait}
.tb-spinner{display:inline-block;width:16px;height:16px;flex:0 0 16px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:tb-spin .7s linear infinite;vertical-align:-3px}
@keyframes tb-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.tb-spinner{animation-duration:1.6s}}
