/* Public booking site -------------------------------------------------------
   Hospitality-first: a dark cinematic hero, a floating search card that
   overlaps the fold, generous cards, and a deep footer. Deliberately separate
   from the staff PWA — different audience, different visual weight.
------------------------------------------------------------------------- */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
	--ink: #000000;
	--ink-2: #171717;
	--bg: #ffffff;
	--soft: #fafafa;
	--line: #e5e5e5;
	--text: #0a0a0a;
	--muted: #525252;
	--accent: #f5c400;
	--accent-dark: #c9a000;
	--accent-soft: #fff6c2;
	--gold: #f5c400;
	--danger: #dc2626;
	--ok: #16a34a;
	--r-sm: 10px;
	--r: 16px;
	--r-lg: 22px;
	--shadow-sm: 0 1px 2px rgba(10, 22, 40, .05);
	--shadow: 0 4px 6px rgba(10, 22, 40, .04), 0 12px 32px rgba(10, 22, 40, .08);
	--shadow-lg: 0 20px 60px rgba(10, 22, 40, .18);
	--wrap: 1160px;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 16px/1.65 "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont,
	      "Segoe UI", Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
	letter-spacing: -0.011em;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
main { padding: 0; }

/* ------------------------------------------------------------------ header */
.site-head {
	position: sticky; top: 0; z-index: 40;
	background: #000000;
	backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid #1a1a1a;
}
.site-head .inner {
	max-width: var(--wrap); margin: 0 auto; padding: 14px 22px;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
	display: flex; align-items: center; gap: 11px;
	font-weight: 800; font-size: 18px; color: #f5c400; text-decoration: none;
	letter-spacing: -0.02em;
}
.brand-mark {
	width: 36px; height: 36px; border-radius: 11px;
	background: #f5c400;
	color: #000; display: grid; place-items: center; font-size: 18px;
	box-shadow: 0 6px 16px rgba(245, 196, 0, .32);
}
.site-nav { display: flex; align-items: center; gap: 8px; }
.link-btn {
	background: none; border: 0; color: #f5f5f5; font: inherit;
	font-weight: 600; cursor: pointer; padding: 9px 14px; border-radius: 10px;
	font-size: 14.5px;
}
.link-btn:hover { background: #1a1a1a; color: #f5c400; }
.link-btn.solid {
	background: #f5c400; color: #000;
}
.link-btn.solid:hover { background: #ffd21a; color: #000; }

/* -------------------------------------------------------------------- hero */
.hero {
	position: relative;
	background:
		radial-gradient(900px 420px at 12% -10%, rgba(245, 196, 0, .28), transparent 60%),
		radial-gradient(760px 420px at 92% 8%, rgba(245, 196, 0, .12), transparent 62%),
		linear-gradient(168deg, #000000 0%, #111111 55%, #0a0a0a 100%);
	color: #fff;
	padding: 82px 0 132px;
	overflow: hidden;
}
.hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image:
		linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 100%);
}
.hero .wrap { position: relative; z-index: 2; text-align: center; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 12.5px; font-weight: 700; letter-spacing: .12em;
	text-transform: uppercase; color: #f5c400;
	background: rgba(245, 196, 0, .12); border: 1px solid rgba(245, 196, 0, .35);
	padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 {
	font-size: clamp(32px, 5.6vw, 58px); line-height: 1.08; margin: 0 0 16px;
	font-weight: 800; letter-spacing: -0.03em;
}
.hero h1 em { font-style: normal; color: #f5c400; }
.hero p.lede {
	color: #b6c6da; font-size: clamp(16px, 2vw, 19px); margin: 0 auto 8px;
	max-width: 620px;
}
.hero-stats {
	display: flex; gap: 30px; justify-content: center; flex-wrap: wrap;
	margin-top: 30px; color: #9fb3cc; font-size: 14px;
}
.hero-stats b { display: block; color: #fff; font-size: 24px; font-weight: 800;
                letter-spacing: -0.02em; }

/* --------------------------------------------------------------- searchbar */
.search-shell { margin-top: -74px; position: relative; z-index: 5; }
.searchbar {
	background: #fff; border-radius: var(--r-lg); padding: 18px;
	box-shadow: var(--shadow-lg); display: grid; gap: 14px;
	grid-template-columns: 1fr; text-align: left;
	border: 1px solid rgba(255,255,255,.6);
}
@media (min-width: 820px) {
	.searchbar { grid-template-columns: 1.05fr 1.05fr .85fr 1.25fr auto;
	             align-items: end; gap: 8px; padding: 14px 14px 14px 20px; }
	.searchbar > div { padding-right: 16px; border-right: 1px solid var(--line); }
	.searchbar > div:nth-last-child(2) { border-right: 0; }
}
.searchbar label {
	display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .07em;
	text-transform: uppercase; color: var(--muted); margin-bottom: 3px;
}
.searchbar input, .searchbar select {
	width: 100%; padding: 8px 0; border: 0; border-bottom: 1px solid transparent;
	font: inherit; font-weight: 600; font-size: 15px; background: transparent;
	color: var(--text);
}
@media (max-width: 819px) {
	.searchbar input, .searchbar select {
		border: 1px solid var(--line); border-radius: var(--r-sm); padding: 11px 12px;
	}
}
.searchbar input:focus, .searchbar select:focus { outline: none; color: var(--accent-dark); }

/* ----------------------------------------------------------------- buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 24px; border-radius: 12px; border: 1px solid var(--line);
	background: #fff; color: var(--text); font: inherit; font-weight: 700;
	font-size: 15px; cursor: pointer; transition: transform .1s, box-shadow .15s,
	background .15s;
	letter-spacing: -0.01em;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.primary {
	background: #f5c400;
	border-color: transparent; color: #000;
	box-shadow: 0 6px 18px rgba(245, 196, 0, .32);
}
.btn.primary:hover { box-shadow: 0 10px 26px rgba(245, 196, 0, .40); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.block { width: 100%; }
.btn.lg { padding: 15px 30px; font-size: 16px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn.ghost { background: transparent; }

/* --------------------------------------------------------------- sections */
section.band { padding: 70px 0; }
section.band.tint { background: var(--soft); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 38px; }
.section-head h2 {
	font-size: clamp(24px, 3.4vw, 34px); margin: 0 0 10px; font-weight: 800;
	letter-spacing: -0.025em;
}
.section-head p { color: var(--muted); margin: 0; font-size: 16.5px; }

.results-head {
	display: flex; align-items: flex-end; justify-content: space-between;
	gap: 14px; margin: 0 0 24px; flex-wrap: wrap;
}
.results-head h2 { margin: 0; font-size: 25px; font-weight: 800; letter-spacing: -0.025em; }
.results-head .muted { color: var(--muted); font-size: 14.5px; }

/* ------------------------------------------------------------------- cards */
.cards { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.card {
	border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
	background: #fff; box-shadow: var(--shadow-sm);
	display: flex; flex-direction: column; text-decoration: none; color: inherit;
	transition: transform .16s ease, box-shadow .16s ease, border-color .16s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow);
              border-color: #d7e0ec; }
.card .photo {
	aspect-ratio: 16 / 11; background: var(--soft) center/cover no-repeat;
	position: relative;
}
.card .photo::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(10,22,40,.28) 0%, transparent 38%,
	                            transparent 62%, rgba(10,22,40,.32) 100%);
}
.chip {
	position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 5px;
	font-size: 11.5px; font-weight: 700; letter-spacing: .03em;
	padding: 5px 11px; border-radius: 999px;
}
.chip.type { top: 12px; left: 12px; background: rgba(255,255,255,.94); color: var(--ink); }
.chip.count { bottom: 12px; right: 12px; background: rgba(10,22,40,.72); color: #fff; }
.chip.gold { top: 12px; right: 12px; background: var(--gold); color: #fff; }

.card .body { padding: 17px 18px 19px; display: flex; flex-direction: column;
              gap: 8px; flex: 1; }
.card h3 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.card .where { color: var(--muted); font-size: 14px; display: flex;
               align-items: center; gap: 5px; }
.card .stats {
	display: flex; gap: 14px; flex-wrap: wrap; padding: 11px 0;
	border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
	margin: 4px 0 2px; color: var(--muted); font-size: 13.5px;
}
.card .stats span { display: inline-flex; align-items: center; gap: 5px; }
.card .price { margin-top: auto; padding-top: 10px; display: flex;
               align-items: flex-end; justify-content: space-between; gap: 8px; }
.card .price .total { font-size: 21px; font-weight: 800; letter-spacing: -0.025em; }
.card .price .per { color: var(--muted); font-size: 13px; }

/* ----------------------------------------------------------------- feature */
.features { display: grid; gap: 24px;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.feature { text-align: center; padding: 8px; }
.feature .ic {
	width: 58px; height: 58px; border-radius: 18px; margin: 0 auto 14px;
	display: grid; place-items: center; font-size: 25px;
	background: linear-gradient(140deg, var(--accent-soft), #e0f2fe);
	color: var(--accent-dark);
}
.feature h4 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }

.places { display: grid; gap: 18px;
          grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.place {
	position: relative; border-radius: var(--r); overflow: hidden; min-height: 150px;
	background: linear-gradient(150deg, var(--ink-2), var(--accent-dark));
	color: #fff; padding: 20px; display: flex; flex-direction: column;
	justify-content: flex-end; cursor: pointer; border: 0; text-align: left;
	font: inherit;
}
.place:hover { filter: brightness(1.08); }
.place b { font-size: 18px; font-weight: 700; }
.place span { color: rgba(255,255,255,.78); font-size: 13.5px; }

/* --------------------------------------------------------------------- cta */
.cta {
	background:
		radial-gradient(600px 260px at 20% 0%, rgba(94, 234, 212, .22), transparent 60%),
		linear-gradient(140deg, var(--accent-dark), #0b3b57);
	color: #fff; border-radius: var(--r-lg); padding: 48px 32px; text-align: center;
}
.cta h2 { margin: 0 0 8px; font-size: clamp(23px, 3vw, 31px); font-weight: 800;
          letter-spacing: -0.025em; }
.cta p { margin: 0 0 22px; color: rgba(255,255,255,.82); }

/* ------------------------------------------------------------------ footer */
.site-foot { background: var(--ink); color: #93a7c0; margin-top: 76px;
             padding: 56px 0 0; font-size: 14.5px; }
.foot-grid { display: grid; gap: 34px; grid-template-columns: 1fr;
             padding-bottom: 40px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }
.site-foot h5 { color: #fff; font-size: 14px; font-weight: 700; margin: 0 0 14px;
                letter-spacing: .04em; text-transform: uppercase; }
.site-foot .brand { color: #fff; margin-bottom: 14px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: #5eead4; }
.foot-contact { display: grid; gap: 9px; }
.foot-contact div { display: flex; gap: 9px; align-items: flex-start; }
.foot-bar { border-top: 1px solid rgba(255,255,255,.09); padding: 18px 0;
            display: flex; justify-content: space-between; gap: 12px;
            flex-wrap: wrap; font-size: 13px; }

/* ------------------------------------------------------------------ detail */
.detail-hero { background: var(--soft); border-bottom: 1px solid var(--line);
               padding: 26px 0 0; }
.crumb { display: inline-flex; align-items: center; gap: 6px; color: var(--muted);
         font-size: 14px; font-weight: 600; text-decoration: none; margin-bottom: 14px; }
.crumb:hover { color: var(--accent-dark); }
.detail-head { display: flex; align-items: flex-start; justify-content: space-between;
               gap: 18px; margin-bottom: 18px; flex-wrap: wrap; }
.detail-head h1 { margin: 0 0 6px; font-size: clamp(26px, 3.6vw, 36px);
                  font-weight: 800; letter-spacing: -0.03em; }
.detail-head .where { color: var(--muted); display: flex; align-items: center; gap: 6px; }

.gallery { display: grid; gap: 10px; grid-template-columns: 2fr 1fr 1fr;
           border-radius: var(--r-lg); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3;
               cursor: zoom-in; transition: transform .25s; }
.gallery img:hover { transform: scale(1.03); }
.gallery img:first-child { grid-row: span 2; aspect-ratio: 1; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; }
                            .gallery img:first-child { grid-column: span 2; grid-row: auto; } }

.detail-grid { display: grid; gap: 40px; margin-top: 34px; }
@media (min-width: 940px) { .detail-grid { grid-template-columns: 1.65fr 1fr;
                                           align-items: start; } }

.spec-row { display: flex; gap: 26px; flex-wrap: wrap; padding: 18px 0;
            border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
            margin-bottom: 26px; }
.spec { display: flex; align-items: center; gap: 10px; }
.spec .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--soft);
            display: grid; place-items: center; font-size: 17px; }
.spec b { display: block; font-size: 15px; }
.spec span { color: var(--muted); font-size: 13px; }

.amenities { display: grid; gap: 12px;
             grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.amenity { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.amenity .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--soft);
               display: grid; place-items: center; font-size: 15px; }

.booking-box {
	border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px;
	box-shadow: var(--shadow); position: sticky; top: 92px; background: #fff;
}
.booking-box .headline { display: flex; align-items: baseline; gap: 8px;
                         margin-bottom: 4px; }
.booking-box .headline b { font-size: 27px; font-weight: 800; letter-spacing: -0.03em; }
.booking-box .headline span { color: var(--muted); font-size: 14px; }
.price-line { display: flex; justify-content: space-between; gap: 10px;
              padding: 8px 0; font-size: 14.5px; color: var(--muted); }
.price-line.total { border-top: 1px solid var(--line); margin-top: 8px;
                    padding-top: 14px; color: var(--text); font-weight: 800;
                    font-size: 18px; }
.hold-note { color: var(--muted); font-size: 12.5px; text-align: center;
             margin-top: 12px; }

.section-title { font-size: 20px; margin: 30px 0 12px; font-weight: 700;
                 letter-spacing: -0.02em; }
.rules { color: var(--muted); font-size: 15px; }

/* -------------------------------------------------------------- calendar */
.cal-head { display: flex; align-items: center; justify-content: space-between;
            gap: 12px; margin-bottom: 14px; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line);
                  background: #fff; cursor: pointer; font: inherit; color: var(--text); }
.cal-nav button:disabled { opacity: .35; cursor: not-allowed; }

.cal-months { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .cal-months { grid-template-columns: 1fr 1fr; } }

.cal-month h4 { margin: 0 0 10px; font-size: 15px; font-weight: 700; text-align: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-dow { font-size: 11px; font-weight: 700; color: var(--muted); text-align: center;
           padding-bottom: 5px; text-transform: uppercase; letter-spacing: .04em; }

.cal-day {
	aspect-ratio: 1; border: 0; background: transparent; border-radius: 9px;
	font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
	color: var(--text); display: grid; place-items: center; position: relative;
	padding: 0;
}
.cal-day:hover:not(:disabled) { background: var(--accent-soft); }
.cal-day.blank { visibility: hidden; }
.cal-day:disabled {
	color: var(--muted); cursor: not-allowed; opacity: .45;
	text-decoration: line-through;
}
.cal-day.taken { background: repeating-linear-gradient(135deg,
	var(--soft), var(--soft) 4px, #fff 4px, #fff 8px); }
.cal-day.in-range { background: var(--accent-soft); border-radius: 0; }
.cal-day.start, .cal-day.end {
	background: var(--accent); color: #fff;
}
.cal-day.start { border-radius: 9px 0 0 9px; }
.cal-day.end { border-radius: 0 9px 9px 0; }
.cal-day.start.end { border-radius: 9px; }

.cal-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px;
              font-size: 12.5px; color: var(--muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-key { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--line); }

.cal-hint { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.cal-hint b { color: var(--text); }

.date-pick {
	display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px;
}
.date-pick button {
	border: 1px solid var(--line); border-radius: var(--r-sm); padding: 9px 11px;
	background: #fff; text-align: left; cursor: pointer; font: inherit;
}
.date-pick button:hover { border-color: var(--accent); }
.date-pick .lbl { display: block; font-size: 10.5px; font-weight: 700;
                  letter-spacing: .06em; text-transform: uppercase;
                  color: var(--muted); margin-bottom: 2px; }
.date-pick .val { font-weight: 700; font-size: 14.5px; }

[data-theme="midnight"] .cal-nav button,
[data-theme="midnight"] .date-pick button { background: var(--soft); color: var(--text); }
[data-theme="midnight"] .cal-day.taken {
	background: repeating-linear-gradient(135deg, var(--soft), var(--soft) 4px,
	            var(--bg) 4px, var(--bg) 8px);
}

/* ------------------------------------------------------- policy & terms */
.policy-box { background: var(--soft); border: 1px solid var(--line);
              border-radius: var(--r); padding: 18px; }
.policy-box.compact { padding: 14px 16px; margin-bottom: 4px; }
.policy-name { margin-bottom: 12px; font-size: 15px; }
.policy-lines { display: grid; gap: 8px; }
.policy-line { display: flex; align-items: center; justify-content: space-between;
               gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.policy-line:last-child { border-bottom: 0; }
.policy-when { font-size: 14.5px; }

.policy-mini { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
               font-size: 13px; color: var(--muted); }
.policy-mini b { display: block; color: var(--text); font-size: 13.5px;
                 margin-bottom: 2px; }
.policy-mini a { display: inline-block; margin-top: 6px; color: var(--accent);
                 font-weight: 600; text-decoration: none; }
.policy-mini a:hover { text-decoration: underline; }

.accept-row {
	display: flex; align-items: flex-start; gap: 11px; padding: 14px;
	border: 1px solid var(--line); border-radius: var(--r-sm);
	background: var(--soft); font-size: 14px; line-height: 1.5; cursor: pointer;
	margin-top: 4px;
}
.accept-row input[type=checkbox] { width: 20px; height: 20px; flex: none; margin: 1px 0 0; }
.accept-row a { color: var(--accent); font-weight: 600; }

.legal { font-size: 15.5px; line-height: 1.75; color: var(--text); }
.legal h4 { font-size: 16.5px; margin: 26px 0 8px; font-weight: 700;
            letter-spacing: -.015em; }
.legal p { margin: 0 0 12px; color: var(--muted); }

[data-theme="midnight"] .policy-box,
[data-theme="midnight"] .accept-row { background: var(--soft); }

/* ------------------------------------------------------------------ fields */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 700;
               color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
	width: 100%; padding: 12px 13px; border: 1px solid var(--line);
	border-radius: var(--r-sm); font: inherit; background: #fff;
}
.field input:focus, .field textarea:focus, .field select:focus {
	outline: 2px solid var(--accent-soft); border-color: var(--accent);
}
.field-row { display: flex; gap: 12px; }
.field-row .field { flex: 1; }

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px;
         border-radius: 999px; font-size: 12.5px; font-weight: 700;
         background: var(--soft); color: var(--muted); border: 1px solid var(--line); }
.badge.ok { background: #dcfce7; color: #15803d; border-color: #bbf7d0; }
.badge.warn { background: #fef3c7; color: #b45309; border-color: #fde68a; }
.badge.danger { background: #fee2e2; color: #b91c1c; border-color: #fecaca; }

.hold-timer { font-weight: 800; color: var(--danger); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ modal, toast */
.modal-host { position: fixed; inset: 0; background: rgba(10,22,40,.62); z-index: 60;
              display: flex; align-items: center; justify-content: center; padding: 18px;
              backdrop-filter: blur(3px); }
.modal-host[hidden] { display: none; }
.modal { background: #fff; border-radius: var(--r-lg); padding: 26px;
         width: min(560px, 100%); max-height: 90vh; overflow-y: auto;
         box-shadow: var(--shadow-lg); }
.modal h3 { margin: 0 0 6px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.modal .sub { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.modal-actions { display: flex; gap: 10px; margin-top: 20px; }
.modal-actions .btn { flex: 1; }
.lightbox img { width: 100%; border-radius: var(--r); }

.toast-host { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
              z-index: 80; display: flex; flex-direction: column; gap: 8px;
              width: min(460px, calc(100vw - 28px)); }
.toast { background: var(--ink); color: #fff; padding: 13px 16px;
         border-radius: 12px; font-size: 14.5px; font-weight: 500;
         box-shadow: var(--shadow-lg); }
.toast.ok { background: #15803d; }
.toast.err { background: #b91c1c; }

.loading { text-align: center; padding: 80px 0; color: var(--muted); }
.spinner { width: 30px; height: 30px; margin: 0 auto 14px;
           border: 3px solid var(--line); border-top-color: var(--accent);
           border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.empty { text-align: center; padding: 64px 20px; color: var(--muted); }
.empty .big { font-size: 46px; margin-bottom: 12px; }
.empty h3 { color: var(--text); margin: 0 0 6px; font-size: 20px; }

.notice { background: var(--soft); border: 1px solid var(--line);
          border-radius: var(--r); padding: 16px; color: var(--muted);
          font-size: 14.5px; }

.confirm-wrap { max-width: 620px; margin: 44px auto 0; }
.confirm-hero { text-align: center; margin-bottom: 26px; }
.confirm-hero .big { font-size: 52px; margin-bottom: 10px; }
.confirm-hero h1 { margin: 0 0 6px; font-size: 30px; font-weight: 800;
                   letter-spacing: -0.03em; }


/* ============================================================== themes =====
   The operator picks the palette in Settings; guests never choose. Each theme
   only moves the accent family and the hero, so the layout stays identical.
------------------------------------------------------------------------- */

[data-theme="ocean"] {
	--accent: #0284c7; --accent-dark: #0369a1; --accent-soft: #e0f2fe;
	--ink: #082032; --ink-2: #0e3a5c;
}
[data-theme="indigo"] {
	--accent: #4f46e5; --accent-dark: #4338ca; --accent-soft: #e0e7ff;
	--ink: #141334; --ink-2: #211f57;
}
[data-theme="emerald"] {
	--accent: #059669; --accent-dark: #047857; --accent-soft: #d1fae5;
	--ink: #06231a; --ink-2: #0a3d2c;
}
[data-theme="amber"] {
	--accent: #d97706; --accent-dark: #b45309; --accent-soft: #fef3c7;
	--ink: #29190a; --ink-2: #452a0d; --gold: #0d9488;
}
[data-theme="plum"] {
	--accent: #9333ea; --accent-dark: #7e22ce; --accent-soft: #f3e8ff;
	--ink: #1e1033; --ink-2: #35195c;
}
[data-theme="slate"] {
	--accent: #475569; --accent-dark: #334155; --accent-soft: #e2e8f0;
	--ink: #0f172a; --ink-2: #1e293b;
}

/* A dark public site: guests get the same layout on a night palette. */
[data-theme="midnight"] {
	--bg: #0b1220; --soft: #131c2e; --line: #24324c;
	--text: #e6edf7; --muted: #93a5bd;
	--accent: #2dd4bf; --accent-dark: #14b8a6; --accent-soft: #134e4a;
	--ink: #060c17; --ink-2: #101c30;
	--shadow-sm: 0 1px 2px rgba(0,0,0,.4);
	--shadow: 0 4px 10px rgba(0,0,0,.35), 0 14px 34px rgba(0,0,0,.3);
	--shadow-lg: 0 24px 64px rgba(0,0,0,.55);
}
[data-theme="midnight"] .site-head { background: rgba(11, 18, 32, .88); }
[data-theme="midnight"] .brand,
[data-theme="midnight"] .link-btn { color: var(--text); }
[data-theme="midnight"] .link-btn.solid { background: var(--accent); color: #05201c; }
[data-theme="midnight"] .searchbar { background: var(--soft);
	border-color: var(--line); }
[data-theme="midnight"] .searchbar input,
[data-theme="midnight"] .searchbar select,
[data-theme="midnight"] .field input,
[data-theme="midnight"] .field select,
[data-theme="midnight"] .field textarea {
	background: var(--soft); color: var(--text); border-color: var(--line);
}
[data-theme="midnight"] input[type="date"]::-webkit-calendar-picker-indicator {
	filter: invert(1) opacity(.7);
}
[data-theme="midnight"] .card,
[data-theme="midnight"] .modal,
[data-theme="midnight"] .booking-box { background: var(--soft); }
[data-theme="midnight"] .btn { background: var(--soft); color: var(--text);
	border-color: var(--line); }
[data-theme="midnight"] .btn.primary { color: #05201c; }
[data-theme="midnight"] .chip.type { background: rgba(19, 28, 46, .94);
	color: var(--text); }
[data-theme="midnight"] .site-foot { background: #060c17; }

/* ---------------------------------------------------- polish: empty states */
.card .photo.no-photo {
	background: radial-gradient(120% 90% at 20% 0%, #2b2410 0%, #0d0d0d 60%);
}
.card .photo.no-photo::after { background: none; }
.card .photo .ph {
	position: absolute; inset: 0; display: flex; flex-direction: column;
	align-items: center; justify-content: center; gap: 8px;
	color: rgba(255,255,255,.62); font-size: 13px; letter-spacing: .04em;
}
.card .photo .ph-ic { font-size: 34px; filter: grayscale(.2) opacity(.8); }
.place small { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 700;
               letter-spacing: .09em; text-transform: uppercase; color: var(--gold, #f5c518); }
.place { transition: transform .16s ease, box-shadow .16s ease; }
.place:hover { filter: none; transform: translateY(-3px);
               box-shadow: 0 14px 30px rgba(0,0,0,.22); }

/* ------------------------------------------------- dropdown + my bookings */
select { accent-color: var(--gold); color-scheme: light; }
select option, select optgroup {
	background: #fff; color: #111; font-weight: 500; padding: 10px 12px;
}
select option:checked { background: #fff3bf; color: #000; font-weight: 700; }
select option:hover { background: #fff3bf; color: #000; }
.searchbar select { cursor: pointer; appearance: none; -webkit-appearance: none;
	padding-right: 22px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23b8860b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 2px center no-repeat; }
.mb-list { margin-top: 14px; display: flex; flex-direction: column; gap: 10px;
           max-height: 46vh; overflow: auto; }
.mb-item { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; }
.mb-item.click { cursor: pointer; }
.mb-item.click:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.mb-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mb-sub { color: var(--muted); font-size: 13.5px; margin-top: 3px; }

/* hero photo backdrop */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
	position: absolute; inset: 0; background-size: cover; background-position: center;
	opacity: 0; transition: opacity 1.4s ease;
}
.hero-slide.on { opacity: 1; }
.hero.has-photos::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.78) 100%);
}
.hero.has-photos::after { z-index: 1; }
.hero.has-photos p.lede, .hero.has-photos .hero-stats { color: #e8e8e8; }

/* rating */
.rate-card { max-width: 520px; margin: 0 auto; text-align: center; background: #fff;
	border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.stars { display: flex; justify-content: center; gap: 6px; margin: 0 0 16px; }
.star { background: none; border: 0; font-size: 40px; line-height: 1; cursor: pointer;
	color: #d4d4d4; padding: 2px; transition: transform .1s, color .1s; }
.star:hover { transform: scale(1.12); }
.star.on { color: #f5c400; }
.rate-card .field { text-align: left; }
.rate-done { padding: 14px 0; }

#rate-fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px;
	border-radius: 50%; border: 0; background: #f5c400; color: #fff; font-size: 30px; line-height: 1;
	cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.28); animation: fabpulse 2.6s ease-in-out infinite; }
#rate-fab:hover { transform: scale(1.08); }
@keyframes fabpulse { 0%,100% { box-shadow: 0 6px 18px rgba(0,0,0,.28), 0 0 0 0 rgba(245,196,0,.5); }
	50% { box-shadow: 0 6px 18px rgba(0,0,0,.28), 0 0 0 12px rgba(245,196,0,0); } }
.modal.rate-modal { padding: 0; background: transparent; box-shadow: none; max-width: 520px; }
.rate-card { position: relative; }
.rate-x { position: absolute; top: 8px; right: 12px; background: none; border: 0; font-size: 28px;
	line-height: 1; cursor: pointer; color: #888; }

/* ---- Sunny light theme, matching the staff app ---- */
:root { --bg: #fffdf5; --soft: #fef9e7; --line: #f0e6b8; --accent: #eab308; --accent-dark: #ca8a04;
	--accent-soft: #fef9c3; --ink: #fef9e7; }
body { background: #fffdf5; }
.site-head { background: #facc15; border-bottom: 1px solid #eab308; backdrop-filter: none; }
.brand { color: #1a1a1a; }
.brand-logo { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.link-btn { color: #1a1a1a; }
.link-btn:hover { background: rgba(0,0,0,.08); color: #1a1a1a; }
.link-btn.solid { background: #1a1a1a; color: #facc15; }
.link-btn.solid:hover { background: #000; color: #facc15; }
.hero { color: #1a1a1a;
	background: radial-gradient(900px 420px at 12% -10%, rgba(255,255,255,.55), transparent 60%),
		linear-gradient(165deg, #facc15 0%, #fde68a 58%, #fffdf5 100%); }
.hero::after { background-image: linear-gradient(rgba(0,0,0,.035) 1px, transparent 1px),
	linear-gradient(90deg, rgba(0,0,0,.035) 1px, transparent 1px); }
.hero h1 { color: #1a1a1a; }
.hero h1 em { color: #854d0e; }
.hero p.lede, .hero-stats { color: #3f3f46; }
.hero-stats b { color: #1a1a1a; }
.eyebrow { color: #1a1a1a; background: rgba(255,255,255,.6); border-color: rgba(0,0,0,.14); }
.hero.has-photos h1 { color: #fff; }
.hero.has-photos h1 em { color: #facc15; }
.hero.has-photos .hero-stats b { color: #fff; }
.hero.has-photos .eyebrow { color: #facc15; background: rgba(0,0,0,.35); border-color: rgba(250,204,21,.5); }
.site-foot { background: #fef9e7; color: #52525b; border-top: 1px solid #f0e6b8; }
.site-foot h5, .site-foot .brand { color: #1a1a1a; }
.site-foot a:hover { color: #a16207; }
.foot-bar { border-top-color: rgba(0,0,0,.09); }
.btn.primary { background: #eab308; border-color: #eab308; color: #1a1a1a; }
.btn.primary:hover { background: #facc15; }
