/* Firstlight booking flow — shared styles (used with site.css brand vars) */

.booking-hero { position: relative; height: 220px; display: flex; align-items: flex-end; padding: 26px 5vw; color: #fff; isolation: isolate; }
.booking-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.booking-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,20,14,0.1), rgba(10,20,14,0.55)); }
.booking-hero h1 { font-size: clamp(30px, 4vw, 44px); color: #fff; }
.booking-hero p { margin: 4px 0 0; opacity: 0.92; font-size: 16px; }

.booking-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 34px 5vw 80px; display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
@media (max-width: 900px) { .booking-wrap { grid-template-columns: 1fr; } aside.summary { position: static !important; order: -1; } }

/* Progress */
.progress { display: flex; align-items: center; gap: 20px; padding: 0 4px 18px; flex-wrap: wrap; }
.progress .step { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--muted); }
.progress .step .n { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; background: #fff; color: var(--muted); border: 1.5px solid var(--line); }
.progress .step.current { color: var(--ink); font-weight: 700; }
.progress .step.current .n { background: var(--accent); border-color: var(--accent); color: #fff; }
.progress .step.done .n { background: var(--ok, #2E6B3E); border-color: var(--ok, #2E6B3E); color: #fff; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 34px; display: flex; flex-direction: column; gap: 22px; }
.panel h2 { font-size: 27px; }
.panel .sub { margin: 4px 0 0; font-size: 15px; color: var(--muted); }

/* Calendar */
.cal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cal-nav { width: 38px; height: 38px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-size: 16px; cursor: pointer; color: var(--ink); font-family: inherit; flex: 0 0 auto; }
.cal-nav:hover:not(:disabled) { border-color: var(--ink); }
.cal-nav:disabled { opacity: 0.35; cursor: default; }
.cal-legend { display: flex; gap: 16px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; justify-content: center; }
.cal-legend .sw { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
.cal-legend .sw.sel { background: var(--accent); }
.cal-legend .sw.bkd { background: repeating-linear-gradient(45deg, var(--soft, #EFE9DB), var(--soft, #EFE9DB) 3px, #fff 3px, #fff 6px); border: 1px solid var(--line); }
.cal-legend .note { opacity: 0.75; }
.cal-months { display: grid; grid-template-columns: 1fr; gap: 26px; }
.cal-months.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .cal-months.two { grid-template-columns: 1fr; } }
.cal-month-block { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cal-month { font-family: var(--display-font); font-size: 18px; font-weight: 700; text-align: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-grid.wd { font-size: 12px; font-weight: 700; color: var(--muted); text-align: center; margin-bottom: 2px; }
.cal-grid.days { row-gap: 3px; }
.cal-cell { height: 52px; user-select: none; cursor: pointer; padding: 0; background: transparent; position: relative; }
.cal-cell:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 10px; }
.cal-cell .in { width: 100%; height: 100%; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; box-sizing: border-box; }
.cal-cell .d { font-size: 14.5px; font-weight: 600; line-height: 1; }
.cal-cell .p { font-size: 10.5px; color: var(--muted); line-height: 1; }
.cal-cell:hover:not(.booked):not(.empty):not(.endpoint):not(.range) .in { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cal-cell.empty { cursor: default; }
.cal-cell.booked { cursor: not-allowed; }
.cal-cell.booked .in { background: repeating-linear-gradient(45deg, var(--soft, #EFE9DB), var(--soft, #EFE9DB) 3px, transparent 3px, transparent 7px); }
.cal-cell.booked .d { color: var(--muted); text-decoration: line-through; font-weight: 400; }
/* continuous band: range cells fill edge to edge, endpoints fade to their half */
.cal-cell.range, .cal-cell.preview { background: var(--accent-tint, #F3DDD2); }
.cal-cell.range .in, .cal-cell.preview .in { border-radius: 0; }
.cal-cell.endpoint.start.has-range { background: linear-gradient(to right, transparent 50%, var(--accent-tint, #F3DDD2) 50%); }
.cal-cell.endpoint.end { background: linear-gradient(to left, transparent 50%, var(--accent-tint, #F3DDD2) 50%); }
.cal-cell.preview-end { background: linear-gradient(to left, transparent 50%, var(--accent-tint, #F3DDD2) 50%); }
.cal-cell.preview-end .in { box-shadow: inset 0 0 0 1.5px var(--accent); border-radius: 10px; background: var(--paper); }
.cal-cell.endpoint .in { background: var(--accent); }
.cal-cell.endpoint .d { color: #fff; font-weight: 800; }
.cal-cell.endpoint .p { color: rgba(255,255,255,0.85); }

.guest-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 20px; flex-wrap: wrap; }
.guest-row .ctrl { display: flex; align-items: center; gap: 14px; }
.guest-row .pm { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; user-select: none; background: #fff; }
.guest-row .hint { font-size: 15px; color: var(--muted); }

.cta-btn { border-radius: 12px; padding: 16px; text-align: center; font-size: 16px; font-weight: 700; color: #fff; background: var(--accent); cursor: pointer; user-select: none; border: none; width: 100%; font-family: inherit; }
.cta-btn:disabled { background: var(--line); cursor: not-allowed; }
.back-link { font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; background: none; border: none; padding: 0; font-family: inherit; }
.row-nav { display: flex; align-items: center; gap: 18px; }

/* Site / extra cards */
.pick-card { display: flex; align-items: center; gap: 18px; border-radius: 14px; padding: 14px 16px; cursor: pointer; border: 1.5px solid var(--line); background: #fff; }
.pick-card.selected { border-color: var(--accent); background: var(--accent-wash, #FBF1EB); }
.pick-card img { width: 96px; height: 68px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; }
.pick-card .info { flex: 1; min-width: 0; }
.pick-card .info .name { font-weight: 700; font-size: 17px; }
.pick-card .info .desc { font-size: 14px; color: var(--muted); }
.pick-card .info .cap { font-size: 12.5px; color: var(--muted); opacity: 0.8; }
.pick-card .price { text-align: right; white-space: nowrap; }
.pick-card .price .amt { font-family: var(--display-font); font-weight: 700; font-size: 19px; }
.pick-card .price .per { font-size: 12.5px; color: var(--muted); }
.pick-card .radio { width: 21px; height: 21px; border-radius: 50%; border: 2px solid var(--line); flex: 0 0 auto; background: #fff; }
.pick-card.selected .radio { border: 6.5px solid var(--accent); }
.pick-card .addbtn { border-radius: 999px; padding: 8px 20px; font-size: 14px; font-weight: 700; white-space: nowrap; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); }
.pick-card.selected .addbtn { background: var(--ink); color: var(--paper); }

/* Payment */
.field-label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input.txt { font-family: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; outline: none; width: 100%; }
input.txt:focus { border-color: var(--accent); }
.plan-card { border-radius: 14px; padding: 15px 18px; cursor: pointer; border: 1.5px solid var(--line); background: #fff; }
.plan-card.selected { border-color: var(--accent); background: var(--accent-wash, #FBF1EB); }
.plan-card .t { font-size: 15px; font-weight: 700; }
.plan-card .d { font-size: 13px; color: var(--muted); }
.member-row { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--line); border-radius: 14px; padding: 15px 18px; cursor: pointer; user-select: none; }
.member-row .box { width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--line); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; background: #fff; }
.member-row.on .box { background: var(--ok, #2E6B3E); border-color: var(--ok, #2E6B3E); }
.member-row .box i { width: 10px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); margin-top: -2px; display: none; }
.member-row.on .box i { display: block; }
.member-row .amt { font-size: 15px; font-weight: 700; color: var(--ok, #2E6B3E); white-space: nowrap; }
.applepay { background: #1B1B1B; color: #fff; border-radius: 12px; padding: 13px; display: flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; user-select: none; font-size: 17px; font-weight: 700; }
.pay-sep { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; }
.pay-sep i { flex: 1; height: 1px; background: var(--line); }
.cancel-note { text-align: center; font-size: 13px; color: var(--muted); }
.secure-row { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 13px; color: var(--muted); }
.cc { display: inline-flex; align-items: center; }
.cc i { width: 15px; height: 15px; border-radius: 50%; display: inline-block; }
.cc i.mc1 { background: #EB001B; } .cc i.mc2 { background: #F79E1B; margin-left: -6px; opacity: 0.92; }
.visa { font-size: 13px; font-weight: 800; font-style: italic; color: #1A1F71; letter-spacing: -0.4px; }

/* Confirmed */
.confirm-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 46px 34px; display: flex; flex-direction: column; align-items: center; gap: 13px; text-align: center; animation: fadeUp 0.5s ease both; }
.confirm-card .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--ok, #2E6B3E); display: flex; align-items: center; justify-content: center; }
.confirm-card .tick i { width: 24px; height: 13px; border-left: 5px solid #fff; border-bottom: 5px solid #fff; transform: rotate(-45deg); margin-top: -7px; }
.confirm-card h2 { font-size: 34px; }
.backstage { background: var(--deep); color: var(--deep-ink); border-radius: 18px; padding: 28px 34px; display: flex; flex-direction: column; gap: 15px; margin-top: 20px; }
.backstage .head { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.8; }
.backstage .head i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-soft, #E8926B); }
.backstage .item { display: flex; align-items: center; gap: 14px; font-size: 15px; opacity: 0; animation: fadeUp 0.5s ease both; }
.backstage .item .box { width: 24px; height: 24px; border-radius: 7px; background: var(--ok, #2E6B3E); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.backstage .item .box i { width: 10px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); margin-top: -2px; }
.backstage .note { font-size: 13px; opacity: 0.65; padding-top: 4px; }

/* Summary aside */
aside.summary { position: sticky; top: 86px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; display: flex; flex-direction: column; gap: 13px; }
aside.summary .head { padding-bottom: 12px; border-bottom: 2px dashed var(--line); }
aside.summary .head .t { font-weight: 700; font-size: 19px; font-family: var(--display-font); }
aside.summary .head .d { font-size: 13px; color: var(--muted); }
aside.summary .line { display: flex; justify-content: space-between; font-size: 14px; gap: 12px; }
aside.summary .line span:first-child { color: var(--muted); }
aside.summary .line strong { font-weight: 700; text-align: right; }
aside.summary .totals { display: flex; flex-direction: column; gap: 10px; border-top: 2px dashed var(--line); padding-top: 14px; }
aside.summary .total-row { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 12px; }
aside.summary .total-row .amt { font-family: var(--display-font); font-weight: 800; font-size: 25px; }
aside.summary .due { display: flex; justify-content: space-between; font-size: 14px; background: var(--soft, #F7F3E9); border-radius: 10px; padding: 10px 14px; }
aside.summary .due strong { color: var(--accent); }
aside.summary .placeholder { border-top: 2px dashed var(--line); padding-top: 14px; font-size: 13px; color: var(--muted); }
.disc { color: var(--ok, #2E6B3E) !important; font-weight: 700; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
