/* ============================================================
   GloboMondo — App pages (directorio, ficha, widget de reserva)
   ============================================================ */

/* ---------- shared page scaffolding ---------- */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted-foreground); padding: 18px 0 2px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb svg { width: 14px; height: 14px; }

/* segmented control */
.seg { display: inline-flex; background: var(--muted); border: 1px solid var(--border); border-radius: var(--radius); padding: 3px; gap: 2px; }
.seg button { padding: 7px 13px; border-radius: 7px; font-size: 13.5px; font-weight: 550; color: var(--muted-foreground); transition: all 0.15s ease; }
.seg button.on { background: var(--card); color: var(--foreground); box-shadow: var(--shadow-xs); }

/* select control (styled native) */
.sel-wrap { position: relative; display: inline-flex; }
.sel-wrap svg { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted-foreground); pointer-events: none; }
select.sel {
  appearance: none; background: var(--card); border: 1px solid var(--border-strong);
  border-radius: var(--radius); padding: 0 38px 0 14px; height: 44px; font-size: 14.5px; font-weight: 500;
  color: var(--foreground); cursor: pointer; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
select.sel:hover { border-color: var(--primary); }

/* text input */
.inp {
  width: 100%; height: 44px; padding: 0 14px; border-radius: var(--radius);
  border: 1px solid var(--border-strong); background: var(--card); color: var(--foreground);
  font-size: 14.5px; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.inp::placeholder { color: var(--muted-foreground); }
.inp:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px oklch(0.5 0.16 262 / 0.12); }
.inp-ic { position: relative; }
.inp-ic svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted-foreground); }
.inp-ic .inp { padding-left: 40px; }

/* instant/availability badge — solid so it reads over any photo */
.badge-instant { background: var(--success); color: #fff; border: none; font-weight: 600; box-shadow: 0 2px 10px rgba(0,0,0,0.28); }
.badge-instant svg { color: #fff; }

/* notification list items (shared: account notifications + dashboard bell) */
.np-list { max-height: 380px; overflow-y: auto; }
.np-item { display: flex; gap: 11px; padding: 14px 16px; border-bottom: 1px solid var(--border); transition: background 0.12s ease; }
.np-item:last-child { border-bottom: none; }
.np-item.unread { background: oklch(0.5 0.16 262 / 0.05); }
.np-item .ni { width: 36px; height: 36px; border-radius: 10px; flex: none; display: inline-flex; align-items: center; justify-content: center; }
.np-item .ni svg { width: 17px; height: 17px; }
.np-item .nt { font-size: 13.5px; line-height: 1.45; }
.np-item .nt b { font-weight: 650; }
.np-item .nd { font-size: 11.5px; color: var(--muted-foreground); margin-top: 3px; font-family: var(--ff-mono); }
.np-item .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); flex: none; margin-top: 7px; }

/* product card hardening (no overlap, graceful stacking) */
.product { min-width: 0; }
.product .p-right { flex: none; }
@media (max-width: 440px) {
  .product { flex-wrap: wrap; }
  .product .p-thumb { width: 56px; height: 56px; }
  .product .p-right { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 2px; }
}

/* category hero */
.cat-hero { position: relative; overflow: hidden; color: #fff; padding: 40px 0 36px; background: var(--cat-grad, var(--grad)); }
.cat-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 85% 15%, rgba(255,255,255,0.16), transparent 45%), radial-gradient(circle at 10% 100%, rgba(255,255,255,0.1), transparent 45%); pointer-events: none; }
.cat-hero .wrap { position: relative; z-index: 1; }
.cat-hero .breadcrumb { color: rgba(255,255,255,0.8); padding-top: 0; }
.cat-hero .breadcrumb a:hover { color: #fff; }
.cat-hero .ch-top { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.cat-hero .ch-ic { width: 60px; height: 60px; border-radius: var(--radius-lg); background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.25); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cat-hero .ch-ic svg { width: 30px; height: 30px; }
.cat-hero h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -0.025em; }
.cat-hero .ch-sub { color: rgba(255,255,255,0.9); font-size: 16px; margin-top: 6px; max-width: 54ch; }
.cat-hero .ch-stats { display: flex; gap: 26px; margin-top: 20px; flex-wrap: wrap; }
.cat-hero .ch-stat .v { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.cat-hero .ch-stat .l { font-size: 12.5px; color: rgba(255,255,255,0.8); }
.cat-hero .city-chips { display: flex; gap: 8px; margin-top: 22px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.cat-hero .city-chips::-webkit-scrollbar { display: none; }
.cat-hero .city-chip { flex: none; padding: 8px 15px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.22); color: #fff; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.15s ease; }
.cat-hero .city-chip:hover { background: rgba(255,255,255,0.24); }
.cat-hero .city-chip.on { background: #fff; color: var(--primary); border-color: transparent; }

/* =========================================================
   DIRECTORY (/buscar)
   ========================================================= */
.dir-hero { background: var(--muted); border-bottom: 1px solid var(--border); padding: 28px 0; position: relative; overflow: hidden; }
[data-theme="dark"] .dir-hero { background: #18181a; }
.dir-hero h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -0.02em; }
.dir-hero .sub { color: var(--muted-foreground); margin-top: 4px; font-size: 15px; }
.dir-searchbar {
  margin-top: 18px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 7px; display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 6px;
}
.dir-searchbar .field { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: var(--radius); }
.dir-searchbar .field svg { width: 17px; height: 17px; color: var(--muted-foreground); flex: none; }
.dir-searchbar .field input, .dir-searchbar .field select { border: none; background: none; outline: none; font-size: 14.5px; font-weight: 500; color: var(--foreground); width: 100%; }
.dir-searchbar .field + .field { border-left: 1px solid var(--border); }
@media (max-width: 620px) { .dir-searchbar { grid-template-columns: 1fr; } .dir-searchbar .field + .field { border-left: none; border-top: 1px solid var(--border); } }

.cat-scroller { display: flex; gap: 9px; margin-top: 16px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.cat-scroller::-webkit-scrollbar { display: none; }
.cat-scroller .chip { flex: none; }

.dir-layout { display: grid; grid-template-columns: 264px 1fr; gap: 28px; padding: 28px 0 80px; align-items: start; }
@media (max-width: 940px) { .dir-layout { grid-template-columns: 1fr; } }

.filters { position: sticky; top: 88px; }
@media (max-width: 940px) { .filters { display: none; } }
.filter-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; }
.filter-group + .filter-group { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.filter-group h4 { font-size: 13.5px; font-weight: 650; margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; }
.filter-opt { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; font-size: 14px; color: var(--subtle-foreground); }
.filter-opt:hover { color: var(--foreground); }
.filter-opt .box { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--border-strong); display: inline-flex; align-items: center; justify-content: center; transition: all 0.15s ease; flex: none; }
.filter-opt .box svg { width: 12px; height: 12px; color: #fff; opacity: 0; }
.filter-opt input { display: none; }
.filter-opt input:checked + .box { background: var(--primary); border-color: var(--primary); }
.filter-opt input:checked + .box svg { opacity: 1; }
.filter-opt .count { margin-left: auto; font-size: 12px; color: var(--muted-foreground); font-family: var(--ff-mono); }
.filter-radio .box { border-radius: 50%; }
.range-row { display: flex; align-items: center; gap: 10px; }
.clear-link { font-size: 12.5px; color: var(--primary); font-weight: 500; cursor: pointer; }

.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.results-bar .rc { font-size: 14px; color: var(--muted-foreground); }
.results-bar .rc b { color: var(--foreground); font-weight: 650; }
.results-actions { display: flex; align-items: center; gap: 10px; }
.filter-mobile-btn { display: none; }
@media (max-width: 940px) { .filter-mobile-btn { display: inline-flex; } }

.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.results-grid .biz-row > div { min-width: 0; }
.results-grid .biz-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.results-grid .biz-rate { flex: none; white-space: nowrap; }
@media (max-width: 1180px) { .results-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .results-grid { grid-template-columns: 1fr; } }

/* skeleton */
.sk { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.sk .sk-img { height: 168px; }
.sk .sk-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.sk-line { height: 12px; border-radius: 6px; background: var(--muted-2); }
.shimmer { position: relative; overflow: hidden; }
.shimmer::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--card) 60%, transparent), transparent); animation: shimmer 1.3s infinite; }
@keyframes shimmer { 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .shimmer::after { animation: none; } }

/* pagination */
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pager button { width: 40px; height: 40px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); font-weight: 550; font-size: 14px; color: var(--subtle-foreground); transition: all 0.15s ease; }
.pager button:hover { border-color: var(--primary); color: var(--primary); }
.pager button.on { background: var(--primary); color: var(--primary-foreground); border-color: transparent; }

/* mobile filter sheet */
.filter-sheet { position: fixed; inset: 0; z-index: 80; display: none; }
.filter-sheet.open { display: block; }
.filter-sheet .fs-bg { position: absolute; inset: 0; background: rgba(0,0,0,0.45); }
.filter-sheet .fs-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 86%; overflow: auto; background: var(--background); border-radius: var(--radius-2xl) var(--radius-2xl) 0 0; padding: 20px; transform: translateY(100%); transition: transform 0.3s cubic-bezier(0.2,0.7,0.3,1); }
.filter-sheet.open .fs-panel { transform: none; }
.fs-handle { width: 40px; height: 4px; border-radius: 99px; background: var(--border-strong); margin: 0 auto 16px; }

/* =========================================================
   BUSINESS DETAIL (/negocio/[slug])
   ========================================================= */
.neg-layout { display: grid; grid-template-columns: 1fr 380px; gap: 36px; padding: 8px 0 100px; align-items: start; }
.neg-layout > * { min-width: 0; }
@media (max-width: 980px) { .neg-layout { grid-template-columns: 1fr; gap: 28px; } }

/* gallery */
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; border-radius: var(--radius-xl); overflow: hidden; height: 360px; }
@media (max-width: 620px) { .gallery { grid-template-columns: 1fr; height: 260px; } .gallery .g-side { display: none; } }
.gallery .g-main { position: relative; height: 100%; }
.gallery .g-side { display: grid; grid-template-rows: 1fr 1fr; gap: 10px; }
.gallery .ph { width: 100%; height: 100%; }
.gallery .g-more { position: absolute; right: 14px; bottom: 14px; }

.neg-head { display: flex; align-items: flex-start; gap: 18px; margin-top: 22px; }
.neg-logo { width: 72px; height: 72px; border-radius: var(--radius-lg); border: 1px solid var(--border); flex: none; }
.neg-titles { flex: 1; min-width: 0; }
.neg-titles h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -0.022em; }
.neg-sub { display: flex; align-items: center; gap: 14px; margin-top: 8px; flex-wrap: wrap; color: var(--muted-foreground); font-size: 14px; }
.neg-sub .item { display: inline-flex; align-items: center; gap: 5px; }
.neg-sub .item svg { width: 15px; height: 15px; }
.neg-sub .rate { color: var(--foreground); font-weight: 600; }
.neg-actions { display: flex; gap: 8px; }

.neg-tabs { display: flex; gap: 4px; margin-top: 26px; border-bottom: 1px solid var(--border); position: sticky; top: 68px; background: color-mix(in srgb, var(--background) 90%, transparent); backdrop-filter: blur(8px); z-index: 20; overflow-x: auto; scrollbar-width: none; }
.neg-tabs::-webkit-scrollbar { display: none; }
.neg-tabs a { padding: 13px 14px; font-size: 14.5px; font-weight: 550; color: var(--muted-foreground); border-bottom: 2px solid transparent; transition: color 0.15s ease, border-color 0.15s ease; margin-bottom: -1px; white-space: nowrap; }
.neg-tabs a:hover { color: var(--foreground); }
.neg-tabs a.on { color: var(--primary); border-bottom-color: var(--primary); }

.neg-section { padding: 28px 0; border-bottom: 1px solid var(--border); }
.neg-section h2 { font-size: 20px; font-weight: 650; letter-spacing: -0.015em; margin-bottom: 14px; }
.neg-section p.body { color: var(--subtle-foreground); font-size: 15px; line-height: 1.65; max-width: 64ch; }

.amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 22px; margin-top: 16px; }
@media (max-width: 520px) { .amenities { grid-template-columns: 1fr; } }
.amenity { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--subtle-foreground); }
.amenity svg { width: 18px; height: 18px; color: var(--teal-strong); flex: none; }

/* products */
.product { display: flex; gap: 16px; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-lg); transition: border-color 0.18s ease, box-shadow 0.2s ease; }
.product + .product { margin-top: 12px; }
.product:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.product.sel { border-color: var(--primary); box-shadow: 0 0 0 3px oklch(0.5 0.16 262 / 0.12); }
.product .p-thumb { width: 92px; height: 92px; border-radius: var(--radius); flex: none; }
@media (max-width: 520px) { .product .p-thumb { width: 64px; height: 64px; } }
.product .p-info { flex: 1; min-width: 0; }
.product .p-name { font-size: 15.5px; font-weight: 650; }
.product .p-desc { font-size: 13.5px; color: var(--muted-foreground); margin-top: 3px; }
.product .p-meta { display: flex; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.product .p-meta span { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted-foreground); white-space: nowrap; }
.product .p-meta svg { width: 14px; height: 14px; }
.product .p-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; }
.product .p-price { font-size: 18px; font-weight: 700; white-space: nowrap; }
.product .p-price small { font-size: 12px; font-weight: 500; color: var(--muted-foreground); }

/* reviews */
.rev-summary { display: flex; gap: 28px; align-items: center; margin-bottom: 22px; flex-wrap: wrap; }
.rev-score { text-align: center; }
.rev-score .big { font-size: 46px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.rev-score .stars { margin-top: 6px; }
.rev-score .cnt { font-size: 12.5px; color: var(--muted-foreground); margin-top: 4px; }
.rev-bars { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 7px; }
.rev-bar { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted-foreground); }
.rev-bar .track { flex: 1; height: 7px; border-radius: 99px; background: var(--muted-2); overflow: hidden; }
.rev-bar .fill { height: 100%; border-radius: 99px; background: var(--warning); width: 0; transition: width 0.8s cubic-bezier(0.2,0.7,0.3,1); }
.review { padding: 18px 0; border-top: 1px solid var(--border); }
.review .r-head { display: flex; align-items: center; gap: 11px; }
.review .av { width: 40px; height: 40px; border-radius: 50%; background: var(--grad-soft); display: inline-flex; align-items: center; justify-content: center; font-weight: 650; color: var(--primary); font-size: 14px; }
.review .r-name { font-size: 14px; font-weight: 600; }
.review .r-date { font-size: 12.5px; color: var(--muted-foreground); }
.review .r-text { font-size: 14.5px; color: var(--subtle-foreground); margin-top: 10px; line-height: 1.6; }
.review .r-reply { margin-top: 12px; margin-left: 18px; padding: 12px 14px; background: var(--muted); border-radius: var(--radius); border-left: 3px solid var(--primary); }
.review .r-reply .rr-head { font-size: 12.5px; font-weight: 600; color: var(--primary); margin-bottom: 4px; }
.review .r-reply p { font-size: 13.5px; color: var(--subtle-foreground); }

/* map placeholder */
.map-ph { height: 220px; border-radius: var(--radius-lg); border: 1px solid var(--border); position: relative; overflow: hidden;
  background:
    linear-gradient(0deg, var(--muted-2) 1px, transparent 1px) 0 0 / 100% 28px,
    linear-gradient(90deg, var(--muted-2) 1px, transparent 1px) 0 0 / 28px 100%,
    var(--muted);
}
.map-ph .pin { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -100%); color: var(--primary); }
.map-ph .pin svg { width: 36px; height: 36px; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2)); }

/* =========================================================
   BOOKING WIDGET
   ========================================================= */
.booking { position: sticky; top: 88px; }
@media (max-width: 980px) { .booking { position: static; } }
.book-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); overflow: hidden; }
.book-head { padding: 18px 20px; border-bottom: 1px solid var(--border); }
.book-head .bh-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.book-head .price { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.book-head .price small { font-size: 13px; font-weight: 500; color: var(--muted-foreground); }
.book-head .rate { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; }
.book-head .pname { font-size: 13px; color: var(--muted-foreground); margin-top: 2px; }
.book-body { padding: 18px 20px; }

/* stepper progress */
.book-steps { display: flex; align-items: center; gap: 0; padding: 14px 20px; background: var(--muted); border-bottom: 1px solid var(--border); }
.book-steps .st { flex: 1; display: flex; align-items: center; gap: 8px; }
.book-steps .st:last-child { flex: none; }
.book-steps .st .dot { width: 24px; height: 24px; border-radius: 50%; background: var(--card); border: 1.5px solid var(--border-strong); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: var(--muted-foreground); flex: none; transition: all 0.25s ease; }
.book-steps .st .dot svg { width: 13px; height: 13px; }
.book-steps .st .line { flex: 1; height: 2px; background: var(--border-strong); }
.book-steps .st.done .dot { background: var(--teal); border-color: transparent; color: #fff; }
.book-steps .st.active .dot { background: var(--primary); border-color: transparent; color: #fff; box-shadow: 0 0 0 4px oklch(0.5 0.16 262 / 0.16); }
.book-steps .st.done .line { background: var(--teal); }

/* step panel transitions (transform-only so a paused compositor never hides it) */
.step-panel { display: none; }
.step-panel.on { display: block; animation: stepIn 0.32s cubic-bezier(0.16,0.84,0.34,1); }
@keyframes stepIn { from { transform: translateX(12px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .step-panel { animation: none; } }
.step-title { font-size: 15px; font-weight: 650; margin-bottom: 12px; }

/* calendar */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head .mon { font-size: 14px; font-weight: 600; text-transform: capitalize; }
.cal-nav { display: flex; gap: 4px; }
.cal-nav button { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; color: var(--subtle-foreground); transition: all 0.15s ease; }
.cal-nav button:hover { border-color: var(--primary); color: var(--primary); }
.cal-nav button svg { width: 16px; height: 16px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: 11px; font-weight: 600; color: var(--muted-foreground); padding: 4px 0; text-transform: uppercase; }
.cal-day { aspect-ratio: 1; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-size: 13.5px; font-weight: 500; color: var(--foreground); cursor: pointer; border: 1px solid transparent; transition: all 0.14s ease; position: relative; }
.cal-day:hover:not(.disabled):not(.sel) { background: var(--muted); }
.cal-day.muted { color: var(--muted-foreground); opacity: 0.4; pointer-events: none; }
.cal-day.disabled { color: var(--muted-foreground); opacity: 0.35; cursor: not-allowed; text-decoration: line-through; pointer-events: none; }
.cal-day.sel { background: var(--primary); color: var(--primary-foreground); font-weight: 650; }
.cal-day.today::after { content: ""; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--teal); }
.cal-day.sel.today::after { background: #fff; }

/* slots */
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot { padding: 12px 6px; border-radius: var(--radius); border: 1px solid var(--border-strong); background: var(--card); cursor: pointer; text-align: center; transition: all 0.15s ease; }
.slot .t { font-size: 14px; font-weight: 600; font-family: var(--ff-mono); }
.slot .a { font-size: 11px; color: var(--muted-foreground); margin-top: 2px; }
.slot:hover:not(.full):not(.sel) { border-color: var(--primary); transform: translateY(-1px); }
.slot.sel { border-color: var(--primary); background: oklch(0.5 0.16 262 / 0.1); }
.slot.sel .t { color: var(--primary); }
.slot.low .a { color: var(--warning); }
.slot.full { cursor: not-allowed; opacity: 0.6; background: var(--muted); }
.slot.full .t { text-decoration: line-through; }
.slot.wait { border-style: dashed; }
.slot.wait .a { color: var(--teal-strong); }

/* people stepper */
.stepper { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 8px 10px; }
.stepper .lbl { font-size: 14px; font-weight: 550; }
.stepper .ctrl { display: flex; align-items: center; gap: 14px; }
.stepper button { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border-strong); display: inline-flex; align-items: center; justify-content: center; color: var(--foreground); transition: all 0.15s ease; }
.stepper button:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.stepper button:disabled { opacity: 0.4; cursor: not-allowed; }
.stepper .val { font-size: 16px; font-weight: 650; min-width: 22px; text-align: center; }

/* form fields */
.field-row { margin-bottom: 12px; }
.field-row label { display: block; font-size: 12.5px; font-weight: 600; color: var(--subtle-foreground); margin-bottom: 6px; }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* summary */
.summary { background: var(--muted); border-radius: var(--radius); padding: 14px; margin-top: 14px; }
.summary .sr { display: flex; justify-content: space-between; font-size: 13.5px; padding: 4px 0; color: var(--subtle-foreground); }
.summary .sr.total { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 10px; font-size: 16px; font-weight: 700; color: var(--foreground); }
.summary .sr .disc { color: var(--success); }

/* discount input */
.disc-row { display: flex; gap: 8px; }
.disc-row .inp { flex: 1; }

/* payment mock */
.pay-card { border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 14px; }
.stripe-note { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted-foreground); margin-top: 12px; justify-content: center; }
.stripe-note svg { width: 14px; height: 14px; }

/* success + QR */
.success { text-align: center; padding: 8px 0; }
.success .check { width: 64px; height: 64px; border-radius: 50%; background: oklch(0.62 0.14 152 / 0.14); color: var(--success); display: inline-flex; align-items: center; justify-content: center; margin: 0 auto 14px; animation: pop 0.5s cubic-bezier(0.2,0.9,0.3,1.3); }
.success .check svg { width: 32px; height: 32px; }
@keyframes pop { from { transform: scale(0.5); } to { transform: scale(1); } }
.success h3 { font-size: 19px; font-weight: 700; }
.success p { font-size: 14px; color: var(--muted-foreground); margin-top: 6px; }
.qr-box { margin: 18px auto; width: 168px; padding: 14px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.qr { display: grid; grid-template-columns: repeat(21, 1fr); width: 140px; height: 140px; }
.qr i { background: transparent; }
.qr i.on { background: #111; }
.qr-code { font-family: var(--ff-mono); font-size: 12px; color: var(--muted-foreground); letter-spacing: 0.1em; }

/* mobile booking bar */
.book-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; display: none; background: color-mix(in srgb, var(--background) 92%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--border); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 12px; }
.book-bar .bb-price b { font-size: 18px; font-weight: 700; }
.book-bar .bb-price small { font-size: 12px; color: var(--muted-foreground); display: block; }
@media (max-width: 980px) { .book-bar { display: flex; } }

/* booking modal (mobile) */
.book-modal { position: fixed; inset: 0; z-index: 90; display: none; }
.book-modal.open { display: block; }
.book-modal .bm-bg { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.book-modal .bm-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 92%; overflow: auto; background: var(--background); border-radius: var(--radius-2xl) var(--radius-2xl) 0 0; transform: translateY(100%); transition: transform 0.32s cubic-bezier(0.2,0.7,0.3,1); }
.book-modal.open .bm-panel { transform: none; }
