/* SOCIO demo — palette & type pulled from cafesocio.art */
:root {
  --cream: #EFE6D5;
  --cream-2: #F3EAD9;
  --paper: #F8F2E6;
  --card: #FBF7EF;
  --espresso: #261D17;
  --espresso-2: #2B221C;
  --bark: #4A3D33;
  --bark-2: #5A4D40;
  --taupe: #8A7D68;
  --taupe-2: #9C8F78;
  --sand: #B6A98F;
  --line: #D8CBB3;
  --line-2: #E4D9C5;
  --amber: #D49A4A;
  --amber-2: #E2AB5D;
  --amber-soft: #F1DDBB;
  --olive: #4C5234;
  --olive-2: #33381F;
  --olive-soft: #DCDDC6;
  --red: #A34A32;
  --red-soft: #F1D6CB;
  --green: #56703A;
  --green-soft: #DDE5CB;

  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-script: 'Caveat', 'Bradley Hand', cursive;

  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 1px 0 rgba(38, 29, 23, .04), 0 12px 32px -18px rgba(38, 29, 23, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--espresso);
  font-family: var(--f-body); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--amber-2); }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--taupe); }
.script { font-family: var(--f-script); font-size: 1.55rem; color: var(--amber); line-height: 1; }
.num-tab { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.35em; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: transform .15s var(--ease), background .2s, color .2s, border-color .2s, opacity .2s;
  white-space: nowrap;
}
.btn:active:not(:disabled) { transform: scale(.97); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn-amber { background: var(--amber); color: var(--espresso); }
.btn-amber:hover:not(:disabled) { background: var(--amber-2); }
.btn-dark { background: var(--espresso); color: var(--cream); }
.btn-dark:hover:not(:disabled) { background: var(--bark); }
.btn-line { border-color: var(--line); background: transparent; }
.btn-line:hover:not(:disabled) { border-color: var(--espresso); }
.btn-ghost-light { border-color: rgba(239, 230, 213, .45); color: var(--cream); background: rgba(38, 29, 23, .15); }
.btn-ghost-light:hover { border-color: var(--cream); }
.btn-danger { background: var(--red); color: #fff; }
.btn-sm { padding: .5em .95em; font-size: .85rem; }
.btn.block { width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--bark); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: .9rem; }

/* ---------- image boxes with graceful placeholders ---------- */
.imgbox { position: relative; overflow: hidden; background: var(--bark); }
.imgbox img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(239, 230, 213, .82);
  font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.01em;
  background: radial-gradient(120% 90% at 20% 10%, #6b5846 0%, #3a2e25 55%, #261D17 100%); }
.vhero .ph span, .hero .ph span, .mb .ph span { display: none; }
.ph-stage { background: radial-gradient(90% 80% at 50% 0%, #a86a2c 0%, #4a2c19 50%, #1d1410 100%); }
.ph-courtyard { background: radial-gradient(120% 90% at 20% 10%, #8c8f5a 0%, #4C5234 50%, #262a17 100%); }
.ph-room2 { background: radial-gradient(90% 80% at 70% 20%, #b0664a 0%, #5a2f25 55%, #2a1612 100%); }
.ph-founders { background: radial-gradient(120% 90% at 80% 10%, #9C8F78 0%, #5A4D40 55%, #2B221C 100%); }
.ph-roof { background: radial-gradient(120% 90% at 30% 0%, #e2ab5d 0%, #7a5530 45%, #2B221C 100%); }
.ph-exhibition { background: radial-gradient(120% 90% at 50% 10%, #C9BCA6 0%, #8A7D68 45%, #33381F 100%); }

/* ---------- customer: top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(239, 230, 213, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-2); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; }
.brand b { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; letter-spacing: .14em; }
.brand span { font-family: var(--f-script); color: var(--amber); font-size: 1.2rem; }
.nav { display: flex; align-items: center; gap: 22px; font-size: .93rem; }
.nav a { text-decoration: none; color: var(--bark); }
.nav a:hover { color: var(--espresso); }
.nav .owner { font-size: .8rem; padding: .35em .8em; border: 1px dashed var(--sand); border-radius: 999px; color: var(--taupe); }

/* ---------- hero ---------- */
.hero { position: relative; color: var(--cream); background: var(--espresso); overflow: hidden; }
.hero .imgbox { position: absolute; inset: 0; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(38, 29, 23, .92) 0%, rgba(38, 29, 23, .55) 55%, rgba(38, 29, 23, .2) 100%); }
.hero-in { position: relative; z-index: 1; padding: clamp(72px, 12vw, 150px) 0 clamp(64px, 10vw, 120px); }
.hero h1 { font-size: clamp(2.7rem, 7vw, 5.4rem); font-weight: 300; margin: .2em 0 .35em; }
.hero .lede { max-width: 34rem; font-size: 1.1rem; color: rgba(239, 230, 213, .82); }
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-note { position: absolute; right: 4%; bottom: 36px; z-index: 1; transform: rotate(-5deg); font-family: var(--f-script); font-size: 1.5rem; color: var(--amber-2); }

.section { padding: clamp(56px, 8vw, 96px) 0; }
.sec-head { margin-bottom: 36px; display: grid; gap: 8px; }
.sec-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.sec-head .muted { max-width: 38rem; }

/* ---------- venue cards ---------- */
.venue-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.vcard { background: var(--card); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2); cursor: pointer; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); text-decoration: none; }
.vcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.vcard .imgbox { aspect-ratio: 4 / 3; }
.vcard:hover .imgbox img { transform: scale(1.04); }
.vcard .imgbox img { transition: transform .8s var(--ease); }
.vtag { position: absolute; left: 14px; top: 14px; z-index: 1; background: rgba(38, 29, 23, .72); color: var(--cream); font-size: .75rem; padding: .3em .75em; border-radius: 999px; letter-spacing: .03em; backdrop-filter: blur(4px); }
.vbody { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.vbody h3 { font-size: 1.55rem; }
.vbody p { color: var(--bark-2); font-size: .95rem; flex: 1; }
.vmeta { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .85rem; color: var(--taupe); flex-wrap: wrap; }
.vmeta .price { color: var(--espresso); }
.vmeta b { font-weight: 700; }

/* ---------- packages ---------- */
.band { background: var(--espresso); color: var(--cream); }
.band .muted { color: var(--sand); }
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.pkg { border: 1px solid rgba(239, 230, 213, .14); border-radius: var(--r); padding: 22px; display: grid; gap: 8px; background: rgba(239, 230, 213, .03); }
.pkg h4 { font-size: 1.3rem; }
.pkg p { color: var(--sand); font-size: .92rem; }
.pkg .pp { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.pkg .pp b { font-family: var(--f-display); font-size: 1.8rem; font-weight: 400; color: var(--amber-2); }
.pkg s { color: var(--taupe-2); font-size: .9rem; }
.save { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .02em; padding: .2em .6em; border-radius: 999px; background: var(--olive); color: var(--cream); }

/* ---------- how it works ---------- */
.steps-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.how { display: grid; gap: 8px; }
.how .n { font-family: var(--f-display); font-style: italic; font-size: 2.6rem; color: var(--amber); line-height: 1; }
.how h4 { font-size: 1.3rem; }
.how p { color: var(--bark-2); font-size: .95rem; }

footer.foot { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--taupe); font-size: .88rem; }
footer.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- venue page ---------- */
.vhero { position: relative; color: var(--cream); min-height: 360px; display: flex; align-items: flex-end; background: var(--espresso); }
.vhero .imgbox { position: absolute; inset: 0; }
.vhero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(38, 29, 23, .92) 0%, rgba(38, 29, 23, .35) 60%, rgba(38, 29, 23, .15) 100%); }
.vhero-in { position: relative; z-index: 1; padding: 90px 0 40px; display: grid; gap: 8px; }
.vhero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 300; }
.vhero .lede { max-width: 40rem; color: rgba(239, 230, 213, .85); font-size: 1.08rem; }
.back { color: rgba(239, 230, 213, .8); text-decoration: none; font-size: .9rem; margin-bottom: 18px; }
.back:hover { color: var(--cream); }

.vlayout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; padding: 40px 0 80px; align-items: start; }
.about { display: grid; gap: 16px; margin-bottom: 28px; }
.about p { color: var(--bark); font-size: 1.02rem; max-width: 44rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: .83rem; padding: .35em .8em; border-radius: 999px; background: var(--cream-2); border: 1px solid var(--line-2); color: var(--bark); }
.chip.dark { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }

.step { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); padding: 22px; margin-bottom: 16px; transition: opacity .2s; }
.step.locked { opacity: .55; }
.step-h { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.step-h h3 { font-size: 1.35rem; }
.step-h .num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--espresso); color: var(--cream); font-size: .85rem; font-weight: 700; flex: none; }
.step-h .opt { font-family: var(--f-body); font-size: .8rem; color: var(--taupe); margin-left: 6px; }

/* calendar (customer) */
.cal { max-width: 460px; }
.cal-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cal-h b { font-family: var(--f-display); font-weight: 500; font-size: 1.15rem; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 1.1rem; display: grid; place-items: center; }
.icon-btn:hover:not(:disabled) { border-color: var(--espresso); }
.icon-btn:disabled { opacity: .3; cursor: default; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-dow span { text-align: center; font-size: .72rem; color: var(--taupe); text-transform: uppercase; letter-spacing: .06em; padding-bottom: 4px; }
.day { aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--line-2); background: var(--paper); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; position: relative; font-size: .95rem; padding: 0;
  transition: background .15s, border-color .15s, transform .12s var(--ease); }
.day:hover:not(:disabled) { border-color: var(--espresso); }
.day:active:not(:disabled) { transform: scale(.94); }
.day i { font-style: normal; font-size: .6rem; color: var(--amber); font-weight: 700; line-height: 1; }
.day.st-free::after, .day.st-partial::after { content: ''; position: absolute; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.day.st-partial::after { background: var(--amber); }
.day.st-free:has(i)::after, .day.st-partial:has(i)::after { display: none; }
.day.st-full { background: transparent; color: var(--sand); text-decoration: line-through; cursor: not-allowed; }
.day.st-closed { background: repeating-linear-gradient(135deg, transparent 0 5px, var(--line-2) 5px 6px); color: var(--sand); cursor: not-allowed; }
.day.st-past { background: transparent; border-color: transparent; color: var(--line); cursor: default; }
.day.inrange { background: var(--amber-soft); border-color: var(--amber); }
.day.sel { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.day.sel i { color: var(--amber-2); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; font-size: .78rem; color: var(--taupe); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

/* time chips */
.time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.tchip { padding: .7em .4em; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: .9rem; text-align: center; transition: all .15s; }
.tchip small { display: block; font-size: .7rem; color: var(--taupe); }
.tchip:hover:not(:disabled) { border-color: var(--espresso); }
.tchip:disabled { cursor: not-allowed; color: var(--sand); background: transparent; text-decoration: line-through; border-style: dashed; }
.tchip.inrange { background: var(--amber-soft); border-color: var(--amber); }
.tchip.sel { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.tchip.sel small { color: var(--sand); }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.slot { text-align: left; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; display: grid; gap: 2px; transition: all .15s; }
.slot b { font-family: var(--f-display); font-weight: 500; font-size: 1.15rem; }
.slot span { font-size: .88rem; color: var(--bark-2); }
.slot em { font-style: normal; font-size: .75rem; color: var(--green); font-weight: 600; margin-top: 6px; }
.slot:hover:not(:disabled) { border-color: var(--espresso); }
.slot:disabled { cursor: not-allowed; opacity: .55; }
.slot:disabled em { color: var(--red); }
.slot.sel { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.slot.sel span { color: var(--sand); }
.slot.sel em { color: var(--amber-2); }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.stepper button { width: 42px; height: 42px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; border-radius: 50%; }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper output { min-width: 76px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hint { font-size: .87rem; color: var(--taupe); }
.hint b { color: var(--espresso); }
.dur { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }

/* add-on cards */
.addon-list { display: grid; gap: 10px; }
.addon { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--paper); transition: all .15s; }
.addon:hover { border-color: var(--bark); }
.addon input { width: 20px; height: 20px; accent-color: var(--espresso); margin: 0; }
.addon h4 { font-size: 1.1rem; font-weight: 500; }
.addon p { font-size: .86rem; color: var(--bark-2); }
.addon .ap { text-align: right; white-space: nowrap; }
.addon .ap b { font-size: 1.05rem; }
.addon .ap s { color: var(--taupe); font-size: .82rem; display: block; }
.addon.on { border-color: var(--espresso); background: var(--card); box-shadow: inset 0 0 0 1px var(--espresso); }
.addon .calc { grid-column: 2 / -1; font-size: .85rem; color: var(--olive); font-weight: 600; }

/* summary */
.summary { position: sticky; top: 86px; }
.sum-card { background: var(--espresso); color: var(--cream); border-radius: var(--r); padding: 24px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.sum-card h4 { font-family: var(--f-script); color: var(--amber-2); font-size: 1.5rem; }
.sum-venue { font-family: var(--f-display); font-size: 1.6rem; line-height: 1.1; }
.sum-when { color: var(--sand); font-size: .92rem; }
.lines { display: grid; gap: 8px; font-size: .9rem; padding: 14px 0; border-top: 1px solid rgba(239, 230, 213, .14); border-bottom: 1px solid rgba(239, 230, 213, .14); }
.lines div { display: flex; justify-content: space-between; gap: 10px; }
.lines span:first-child { color: var(--sand); }
.total { display: flex; justify-content: space-between; align-items: baseline; }
.total b { font-family: var(--f-display); font-size: 1.8rem; font-weight: 400; }
.adv { background: rgba(212, 154, 74, .14); border: 1px solid rgba(212, 154, 74, .35); border-radius: 12px; padding: 12px 14px; font-size: .88rem; display: grid; gap: 4px; }
.adv div { display: flex; justify-content: space-between; }
.adv b { color: var(--amber-2); }
.saved { font-size: .82rem; color: var(--olive-soft); }
.sum-card .btn-amber { margin-top: 4px; }
.sum-card .hint { color: var(--sand); }

/* checkout */
.co { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; padding: 40px 0 80px; align-items: start; }
.co h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 6px; }
.card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); padding: 24px; }
.form { display: grid; gap: 16px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .82rem; font-weight: 600; color: var(--bark); letter-spacing: .01em; }
.field .req { color: var(--red); }
input[type=text], input[type=tel], input[type=email], input[type=number], input[type=password], input[type=date], select, textarea {
  font: inherit; font-size: .95rem; padding: .75em .9em; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); color: var(--espresso); width: 100%;
  transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--espresso); box-shadow: 0 0 0 3px rgba(212, 154, 74, .25); }
textarea { resize: vertical; min-height: 84px; }
.err { color: var(--red); font-size: .8rem; min-height: 0; }
.field.bad input { border-color: var(--red); }
.payopt { display: grid; gap: 10px; }
.po { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--paper); }
.po input { accent-color: var(--espresso); width: 18px; height: 18px; margin: 0; }
.po.on { border-color: var(--espresso); box-shadow: inset 0 0 0 1px var(--espresso); background: var(--card); }
.po b { font-size: 1.05rem; }
.po small { display: block; color: var(--taupe); font-size: .83rem; }
.policy { font-size: .85rem; color: var(--bark-2); background: var(--cream-2); border-radius: 12px; padding: 14px 16px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; }
.agree input { margin-top: 3px; accent-color: var(--espresso); }

/* payment gateway mock */
.gw-wrap { min-height: calc(100vh - 66px); display: grid; place-items: center; padding: 40px 16px; background: radial-gradient(80% 60% at 50% 0%, var(--cream-2), var(--cream)); }
.gw { width: min(440px, 100%); background: #fff; border-radius: 20px; box-shadow: 0 30px 80px -30px rgba(38, 29, 23, .5); overflow: hidden; }
.gw-top { background: var(--espresso); color: var(--cream); padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; }
.gw-top small { display: block; color: var(--sand); font-size: .78rem; }
.gw-top b { font-family: var(--f-display); font-size: 1.6rem; font-weight: 400; }
.gw-tabs { display: flex; border-bottom: 1px solid #eee; }
.gw-tabs button { flex: 1; padding: 14px; background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer; font-weight: 600; font-size: .9rem; color: #777; }
.gw-tabs button.on { color: var(--espresso); border-color: var(--amber); }
.gw-body { padding: 22px; display: grid; gap: 14px; }
.qr { width: 180px; height: 180px; margin: 0 auto; padding: 10px; border: 1px solid #eee; border-radius: 12px; }
.upi-apps { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.upi-apps span { font-size: .78rem; padding: .35em .8em; border: 1px solid #e5e5e5; border-radius: 999px; color: #555; }
.gw-foot { font-size: .75rem; color: #999; text-align: center; padding: 0 22px 18px; }
.demo-flag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); border: 1px solid var(--amber); padding: .15em .6em; border-radius: 6px; }
.processing { display: grid; place-items: center; gap: 16px; padding: 50px 22px; text-align: center; }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--amber); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.tick { width: 64px; height: 64px; border-radius: 50%; background: var(--green); display: grid; place-items: center; animation: pop .4s var(--ease); }
.tick svg { width: 30px; height: 30px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* confirmation ticket */
.done { padding: 50px 0 90px; display: grid; justify-items: center; gap: 26px; }
.ticket { width: min(620px, 100%); background: var(--card); border-radius: 22px; border: 1px solid var(--line-2); box-shadow: var(--shadow); overflow: hidden; }
.ticket-top { background: var(--espresso); color: var(--cream); padding: 28px; display: grid; gap: 6px; position: relative; }
.ticket-top h2 { font-size: 2rem; font-weight: 300; }
.ticket-top .bid { position: absolute; right: 24px; top: 24px; font-family: ui-monospace, Menlo, monospace; font-size: .85rem; background: rgba(239, 230, 213, .1); padding: .35em .7em; border-radius: 8px; letter-spacing: .06em; }
.ticket-cut { height: 22px; background: radial-gradient(circle at 0 50%, var(--cream) 10px, transparent 11px), radial-gradient(circle at 100% 50%, var(--cream) 10px, transparent 11px); border-bottom: 2px dashed var(--line); margin: 0 0 -1px; }
.ticket-body { padding: 24px 28px 28px; display: grid; gap: 18px; }
.kv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 24px; }
.kv div small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--taupe); }
.kv div span { font-weight: 600; }
.paid-row { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--green-soft); border-radius: 12px; font-size: .93rem; flex-wrap: wrap; }
.wa { width: min(620px, 100%); display: grid; gap: 10px; }
.wa-bubble { background: #DCF8C6; color: #111; border-radius: 12px 12px 12px 2px; padding: 12px 14px; font-size: .88rem; max-width: 420px; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); white-space: pre-line; }
.wa-h { font-size: .8rem; color: var(--taupe); display: flex; align-items: center; gap: 6px; }

/* my bookings */
.mylist { display: grid; gap: 12px; margin-top: 22px; }
.mb { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding: 14px; background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; }
.mb .imgbox { width: 96px; height: 76px; border-radius: 10px; }
.mb .ph span { display: none; }
.mb h4 { font-size: 1.15rem; }
.mb p { font-size: .87rem; color: var(--bark-2); }
.mb-r { display: grid; justify-items: end; gap: 6px; }

/* badges */
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 700; padding: .25em .65em; border-radius: 999px; letter-spacing: .02em; text-transform: capitalize; white-space: nowrap; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.b-confirmed { background: var(--green-soft); color: var(--green); }
.b-pending { background: var(--amber-soft); color: #8a5a17; }
.b-cancelled { background: var(--red-soft); color: var(--red); }
.b-completed { background: var(--line-2); color: var(--bark); }

/* modal & toast */
.modal-wrap { position: fixed; inset: 0; background: rgba(38, 29, 23, .45); display: grid; place-items: center; z-index: 100; padding: 16px; animation: fade .15s; }
.modal { background: var(--card); border-radius: 18px; padding: 24px; width: min(420px, 100%); display: grid; gap: 12px; box-shadow: var(--shadow); animation: rise .2s var(--ease); }
.modal h3 { font-size: 1.4rem; }
.modal p { color: var(--bark-2); font-size: .93rem; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(8px); opacity: 0; } }
#toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); background: var(--espresso); color: var(--cream); padding: .75em 1.2em; border-radius: 999px; font-size: .9rem; opacity: 0; pointer-events: none; transition: all .25s var(--ease); z-index: 120; box-shadow: var(--shadow); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

.fade-in { animation: rise .35s var(--ease); }

/* mobile bottom bar for booking */
.mbar { display: none; }

@media (max-width: 960px) {
  .vlayout, .co { grid-template-columns: 1fr; }
  .summary { position: static; }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--espresso); color: var(--cream); padding: 12px 16px; justify-content: space-between; align-items: center; gap: 12px; box-shadow: 0 -10px 30px -10px rgba(0, 0, 0, .4); }
  .mbar b { font-family: var(--f-display); font-size: 1.3rem; font-weight: 400; }
  .mbar small { display: block; color: var(--sand); font-size: .75rem; }
  body.has-mbar { padding-bottom: 76px; }
}
@media (max-width: 640px) {
  .nav a:not(.keep) { display: none; }
  .form-2, .kv { grid-template-columns: 1fr; }
  .mb { grid-template-columns: 64px 1fr; }
  .mb .imgbox { width: 64px; height: 64px; }
  .mb-r { grid-column: 1 / -1; justify-items: start; grid-auto-flow: column; justify-content: space-between; align-items: center; }
  .hero-note { display: none; }
  .step { padding: 18px 14px; }
  .ticket-top .bid { position: static; justify-self: start; }
}

/* =====================================================================
   ADMIN
   ===================================================================== */
body.admin { background: var(--cream-2); }
.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; background: var(--espresso); }
.login-card { width: min(380px, 100%); background: var(--cream); border-radius: 22px; padding: 32px; display: grid; gap: 16px; text-align: center; }
.login-card h1 { font-size: 2rem; }
.pin { font-size: 1.6rem !important; letter-spacing: .6em; text-align: center; }

.shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.side { background: var(--espresso); color: var(--cream); padding: 22px 16px; display: flex; flex-direction: column; gap: 6px; position: sticky; top: 0; height: 100vh; }
.side .brand { color: var(--cream); padding: 0 10px 18px; }
.side .brand span { font-size: 1.05rem; }
.side nav { display: grid; gap: 2px; }
.side nav a { display: flex; align-items: center; gap: 12px; padding: .7em .8em; border-radius: 10px; text-decoration: none; color: var(--sand); font-size: .93rem; transition: background .15s, color .15s; }
.side nav a svg { width: 18px; height: 18px; flex: none; }
.side nav a:hover { background: rgba(239, 230, 213, .06); color: var(--cream); }
.side nav a.on { background: rgba(212, 154, 74, .16); color: var(--amber-2); }
.side nav a .cnt { margin-left: auto; background: var(--amber); color: var(--espresso); font-size: .72rem; font-weight: 700; border-radius: 999px; padding: .05em .55em; }
.side-foot { margin-top: auto; display: grid; gap: 6px; font-size: .85rem; }
.side-foot a, .side-foot button { color: var(--sand); background: none; border: 0; text-align: left; padding: .5em .8em; cursor: pointer; text-decoration: none; border-radius: 8px; font-size: .85rem; }
.side-foot a:hover, .side-foot button:hover { color: var(--cream); background: rgba(239, 230, 213, .06); }

.adm-main { padding: 26px clamp(16px, 3vw, 36px) 60px; min-width: 0; }
.adm-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.adm-top h1 { font-size: 2.2rem; font-weight: 400; }
.adm-top p { color: var(--taupe); font-size: .92rem; margin-top: 4px; }
.adm-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 22px; }
.tile { background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; padding: 18px 20px; display: grid; gap: 4px; }
.tile small { font-size: .78rem; color: var(--taupe); text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }
.tile b { font-family: var(--f-display); font-size: 2rem; font-weight: 400; font-variant-numeric: tabular-nums; }
.tile span { font-size: .82rem; color: var(--bark-2); }
.tile.dark { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.tile.dark small, .tile.dark span { color: var(--sand); }
.tile.dark b { color: var(--amber-2); }

.grid-2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.panel { background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; padding: 20px; min-width: 0; }
.panel-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 10px; }
.panel-h h3 { font-size: 1.25rem; }
.empty { color: var(--taupe); font-size: .9rem; padding: 18px 0; text-align: center; }

.tl { display: grid; gap: 8px; }
.tl-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line-2); cursor: pointer; }
.tl-item:hover { border-color: var(--bark); }
.tl-item .t { font-weight: 700; font-size: .88rem; font-variant-numeric: tabular-nums; }
.tl-item .t small { display: block; font-weight: 400; color: var(--taupe); }
.tl-item h5 { margin: 0; font-size: .95rem; font-weight: 600; }
.tl-item p { font-size: .82rem; color: var(--taupe); }

.bars { display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 130px 1fr 80px; gap: 10px; align-items: center; font-size: .86rem; }
.bar-track { height: 10px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.bar-fill { height: 100%; background: var(--amber); border-radius: 99px; }
.bar-row .v { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }

.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.toolbar input, .toolbar select { width: auto; min-width: 150px; padding: .6em .8em; }
.toolbar .grow { flex: 1; min-width: 200px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--paper); }
.seg button { border: 0; background: none; padding: .45em .95em; border-radius: 999px; cursor: pointer; font-size: .85rem; color: var(--bark-2); }
.seg button.on { background: var(--espresso); color: var(--cream); }

.tbl-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 820px; }
.tbl th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--taupe); font-weight: 600; padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
.tbl td { padding: 13px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { cursor: pointer; transition: background .12s; }
.tbl tbody tr:hover { background: var(--paper); }
.tbl .id { font-family: ui-monospace, Menlo, monospace; font-size: .82rem; color: var(--bark-2); }
.tbl .r { text-align: right; font-variant-numeric: tabular-nums; }
.tbl small { display: block; color: var(--taupe); font-size: .8rem; }
.due { color: var(--red); font-weight: 600; }

/* drawer */
.drawer-wrap { position: fixed; inset: 0; z-index: 90; background: rgba(38, 29, 23, .35); animation: fade .15s; }
.drawer { position: absolute; right: 0; top: 0; bottom: 0; width: min(520px, 100%); background: var(--cream); overflow-y: auto; box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .4); animation: slide .25s var(--ease); display: flex; flex-direction: column; }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer-h { padding: 20px 24px; border-bottom: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; position: sticky; top: 0; background: var(--cream); z-index: 1; }
.drawer-h h3 { font-size: 1.5rem; }
.drawer-h p { font-size: .85rem; color: var(--taupe); margin-top: 2px; }
.drawer-b { padding: 22px 24px; display: grid; gap: 18px; flex: 1; align-content: start; }
.drawer-f { padding: 16px 24px; border-top: 1px solid var(--line-2); display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; position: sticky; bottom: 0; background: var(--cream); }
.close-x { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; font-size: 1.1rem; flex: none; }
.dl { display: grid; grid-template-columns: 120px 1fr; gap: 8px 14px; font-size: .92rem; }
.dl dt { color: var(--taupe); }
.dl dd { margin: 0; font-weight: 500; }
.money { background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; padding: 16px; display: grid; gap: 8px; font-size: .92rem; }
.money div { display: flex; justify-content: space-between; }
.money .tot { border-top: 1px dashed var(--line); padding-top: 8px; font-weight: 700; }
.sub-h { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--taupe); font-weight: 700; margin-bottom: -6px; }

/* admin calendar */
.cal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.acal-dow, .acal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.acal-dow span { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--taupe); padding: 0 6px 4px; }
.acell { min-height: 92px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper); padding: 8px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 3px; font-size: .78rem; position: relative; transition: border-color .12s, transform .12s; }
.acell:hover { border-color: var(--bark); }
.acell .d { font-weight: 700; font-size: .9rem; }
.acell .p { color: var(--taupe); font-variant-numeric: tabular-nums; }
.acell .p.sp { color: #8a5a17; font-weight: 700; }
.acell .bk { margin-top: auto; color: var(--bark); font-weight: 600; }
.acell .occ { height: 4px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.acell .occ i { display: block; height: 100%; background: var(--amber); }
.acell.closed { background: repeating-linear-gradient(135deg, var(--paper) 0 6px, var(--line-2) 6px 7px); }
.acell.closed .bk { color: var(--red); }
.acell.past { opacity: .45; }
.acell.today .d { background: var(--espresso); color: var(--cream); border-radius: 6px; padding: 0 6px; align-self: flex-start; }
.acell.sel { border-color: var(--espresso); box-shadow: inset 0 0 0 1px var(--espresso); }
.acell.blank { visibility: hidden; }
.acell .note-dot { position: absolute; top: 9px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--olive); }

.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: .92rem; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch .tr { width: 42px; height: 24px; border-radius: 99px; background: var(--sand); position: relative; transition: background .2s; flex: none; }
.switch .tr::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.switch input:checked + .tr { background: var(--green); }
.switch input:checked + .tr::after { transform: translateX(18px); }
.switch input:focus-visible + .tr { box-shadow: 0 0 0 3px rgba(212, 154, 74, .4); }

.hchips { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; }
.hchip { padding: .5em .3em; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); font-size: .78rem; cursor: pointer; text-align: center; }
.hchip.blocked { background: var(--red-soft); border-color: var(--red); color: var(--red); text-decoration: line-through; }
.hchip.booked { background: var(--amber-soft); border-color: var(--amber); color: #8a5a17; cursor: not-allowed; }

.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.vadm { background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.vadm .imgbox { aspect-ratio: 16 / 9; }
.vadm-b { padding: 16px 18px; display: grid; gap: 10px; flex: 1; }
.vadm-b h4 { font-size: 1.3rem; }
.vadm-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.vadm-f { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-top: 1px solid var(--line-2); }
.vadm.off { opacity: .6; }

.pkg-adm { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 16px 18px; background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; cursor: pointer; }
.pkg-adm:hover { border-color: var(--bark); }
.pkg-adm h4 { font-size: 1.15rem; }
.pkg-adm p { font-size: .85rem; color: var(--bark-2); }
.pkg-adm .pr { text-align: right; }
.pkg-adm .pr b { font-size: 1.1rem; }
.pkg-adm .pr s { color: var(--taupe); font-size: .82rem; margin-left: 6px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; gap: 6px; align-items: center; font-size: .85rem; padding: .4em .75em; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; background: var(--paper); }
.checks input { accent-color: var(--espresso); margin: 0; }
.checks label:has(input:checked) { border-color: var(--espresso); background: var(--card); }
.slot-edit { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 8px; align-items: center; }
.bulk { display: grid; gap: 10px; }
.bulk .row { gap: 8px; }
.bulk input, .bulk select { width: auto; flex: 1; min-width: 90px; }

.mobile-top { display: none; }
@media (max-width: 1100px) {
  .cal-layout, .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; bottom: 0; width: 250px; z-index: 80; transform: translateX(-100%); transition: transform .25s var(--ease); }
  .side.open { transform: none; }
  .mobile-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--espresso); color: var(--cream); position: sticky; top: 0; z-index: 60; }
  .mobile-top .brand { color: var(--cream); }
  .mobile-top button { background: none; border: 1px solid rgba(239, 230, 213, .3); color: var(--cream); border-radius: 8px; padding: .35em .7em; }
  .acell { min-height: 64px; padding: 5px; }
  .acell .p { display: none; }
  .bar-row { grid-template-columns: 96px 1fr 64px; }
  .dl { grid-template-columns: 100px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
