/* ==================================================================
   experiences.css — paid experiences marketplace (2026-10-26)
   Pages: browse_experiences.php, experience.php, create_experience.php,
   experience_bookings.php. Builds on the tokens in fcs-modern.css.
   ================================================================== */

.xp { background: #fff; }
.xp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; background: var(--forest); color: #fff;
  font: 700 .95rem var(--font); padding: 12px 22px; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.xp-btn:hover { background: var(--forest-dark); color: #fff; }
.xp-btn.is-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.xp-btn.is-ghost:hover { border-color: var(--ink); color: var(--ink); }
.xp-btn.is-light { background: #fff; color: var(--forest); }
.xp-btn.is-light:hover { background: var(--moss); color: var(--forest-dark); }
.xp-btn.is-danger { background: #fff; color: #B42318; border: 1px solid #F1C9C5; }
.xp-btn.is-danger:hover { border-color: #B42318; color: #B42318; }
.xp-btn.is-small { padding: 8px 14px; font-size: .86rem; }
.xp-btn:disabled { opacity: .6; cursor: default; }

/* ── Marketplace ────────────────────────────────────────────────── */
.xp-hero { padding: 48px 0 24px; }
.xp-crumbs { font-size: .86rem; color: var(--ink-3); margin-bottom: 10px; }
.xp-crumbs a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.xp-h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.025em; margin: 0 0 14px; color: var(--ink); max-width: 16em; }
.xp-lede { font-size: 1.08rem; color: var(--ink-2); line-height: 1.6; max-width: 38em; margin: 0 0 24px; }
.xp-search { max-width: 620px; }

.xp-rail { position: sticky; top: 61px; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.xp-rail-inner { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 0 0; }
.xp-rail-inner::-webkit-scrollbar { display: none; }
.xp-cat {
  flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 84px; padding: 4px 8px 10px; color: var(--ink-3); font-size: .78rem; font-weight: 600;
  border-bottom: 2px solid transparent; text-align: center;
}
.xp-cat i { font-size: 1.2rem; color: var(--ink-2); }
.xp-cat span { white-space: nowrap; }
.xp-cat:hover { color: var(--ink); border-bottom-color: var(--line); }
.xp-cat.active { color: var(--ink); border-bottom-color: var(--ink); }
.xp-cat.active i { color: var(--forest); }

.xp-results { padding: 26px 0 56px; }
.xp-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.xp-count { margin: 0; color: var(--ink-2); font-weight: 600; }
.xp-sort { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--ink-3); }
.xp-sort select { border: 1px solid var(--line); border-radius: 999px; padding: 7px 30px 7px 14px; font: 600 .88rem var(--font); color: var(--ink); background: #fff; }
.xp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 20px; }
@media (max-width: 1100px) { .xp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px)  { .xp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; } .xc-dur { display: block; margin-left: 0; } .xc-dur::before { content: none; } }

/* Experience card */
.xc { position: relative; min-width: 0; }
.xc-media { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: var(--moss); }
.xc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.xc:hover .xc-media img { transform: scale(1.03); }
.xc-media.is-empty { display: flex; align-items: center; justify-content: center; }
.xc-media.is-empty > i { font-size: 2.4rem; color: var(--forest); opacity: .45; }
.xc-cat {
  position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.94); color: var(--ink); font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.xc-cat i { color: var(--forest); font-size: .72rem; }
.xc-body { padding-top: 10px; }
.xc-meta { display: flex; gap: 8px; align-items: center; font-size: .84rem; color: var(--ink-3); margin: 0 0 3px; min-width: 0; }
.xc-meta > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xc-rating { color: var(--ink); font-weight: 700; display: inline-flex; gap: 4px; align-items: center; flex-shrink: 0; }
.xc-rating i { color: var(--amber); font-size: .75rem; }
.xc-rating span { color: var(--ink-3); font-weight: 500; }
.xc-new { color: var(--forest); font-weight: 700; flex-shrink: 0; }
.xc-title { font-family: var(--font); font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.35; margin: 0 0 4px; }
.xc-title a { color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xc-title a::after { content: ""; position: absolute; inset: 0; }
.xc-price { margin: 0; font-size: .9rem; color: var(--ink-2); }
.xc-price b { color: var(--ink); font-weight: 700; }
.xc-dur { color: var(--ink-3); margin-left: 6px; }
.xc-dur::before { content: "· "; }

.xp-host-tile {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; aspect-ratio: 1 / 1;
  border: 1.5px dashed #BFCBC3; border-radius: 14px; padding: 18px; color: var(--ink-2);
}
.xp-host-tile i { width: 40px; height: 40px; border-radius: 50%; background: var(--moss); color: var(--forest); display: flex; align-items: center; justify-content: center; margin-bottom: auto; }
.xp-host-tile b { color: var(--ink); font-size: 1.05rem; }
.xp-host-tile span { font-size: .88rem; line-height: 1.45; }
.xp-host-tile:hover { border-color: var(--forest); color: var(--ink-2); }

.xp-empty { text-align: center; padding: 56px 16px; border: 1px solid var(--line); border-radius: 18px; }
.xp-empty > i { font-size: 2.4rem; color: var(--forest); opacity: .6; }
.xp-empty h2 { font-size: 1.5rem; margin: 14px 0 6px; }
.xp-empty p { color: var(--ink-2); margin: 0 0 20px; }
.xp-empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.xp-hostband { background: var(--forest); color: #fff; padding: 64px 0; }
.xp-hostband-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.xp-hostband h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; line-height: 1.05; margin: 0 0 12px; }
.xp-hostband p { color: rgba(255,255,255,.85); font-size: 1.04rem; line-height: 1.6; margin: 0 0 24px; max-width: 30em; }
.xp-hostpoints { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.xp-hostpoints li { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.18); }
.xp-hostpoints li:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.xp-hostpoints i { width: 22px; text-align: center; margin-top: 3px; color: #A7E3C4; }
.xp-hostpoints b { display: block; font-size: 1rem; }
.xp-hostpoints span { display: block; font-size: .9rem; color: rgba(255,255,255,.78); line-height: 1.5; }

.xp-cities { padding: 56px 0 12px; }
.xp-cities h2 { font-size: 1.5rem; font-weight: 800; margin: 0 0 16px; }
.xp-chip-n { color: var(--ink-3); font-weight: 500; margin-left: 4px; }

@media (max-width: 800px) {
  .xp-hero { padding: 28px 0 18px; }
  .xp-rail { top: 55px; }
  .xp-hostband { padding: 48px 0; }
  .xp-hostband-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ── Detail page ────────────────────────────────────────────────── */
.xd { padding: 26px 0 72px; }
.xd-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; margin: 6px 0 10px; max-width: 22em; }
.xd-sub { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; color: var(--ink-2); font-size: .95rem; margin-bottom: 20px; }
.xd-sub .xc-rating { font-size: .95rem; }
.xd-sub a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

.xd-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: min(52vw, 460px); border-radius: 18px; overflow: hidden; margin-bottom: 36px; }
.xd-gallery a { display: block; background: var(--moss); overflow: hidden; }
.xd-gallery img { width: 100%; height: 100%; object-fit: cover; }
.xd-gallery a:first-child { grid-row: 1 / 3; }
.xd-gallery.n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.xd-gallery.n2 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr; }
.xd-gallery.n2 a:first-child, .xd-gallery.n1 a:first-child { grid-row: auto; }
.xd-gallery.n3 { grid-template-columns: 2fr 1fr; }
.xd-gallery.n4 a:nth-child(4) { grid-column: 2 / 4; }
.xd-gallery.is-empty { display: flex; align-items: center; justify-content: center; background: var(--moss); height: 260px; }
.xd-gallery.is-empty i { font-size: 3rem; color: var(--forest); opacity: .5; }

.xd-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; }
.xd-section { padding: 28px 0; border-top: 1px solid var(--line); }
.xd-section:first-child { border-top: 0; padding-top: 0; }
.xd-section h2 { font-size: 1.4rem; font-weight: 800; margin: 0 0 14px; }
.xd-host { display: flex; gap: 14px; align-items: center; }
.xd-host img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.xd-host b { display: block; font-size: 1.08rem; }
.xd-host span { color: var(--ink-3); font-size: .9rem; }
.xd-host a { color: var(--ink); }
.xd-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; list-style: none; margin: 0; padding: 0; }
.xd-facts li { display: flex; gap: 12px; align-items: flex-start; }
.xd-facts i { color: var(--forest); width: 20px; text-align: center; margin-top: 3px; }
.xd-facts b { display: block; font-size: .95rem; }
.xd-facts span { color: var(--ink-3); font-size: .88rem; }
.xd-text { color: var(--ink-2); line-height: 1.75; white-space: pre-line; max-width: 68ch; margin: 0; }
.xd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.xd-list li { display: flex; gap: 10px; color: var(--ink-2); line-height: 1.5; }
.xd-list li i { color: var(--forest); margin-top: 4px; font-size: .85rem; }
.xd-meet { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.xd-meet i { color: var(--forest); margin-top: 4px; }
.xd-meet a { color: var(--forest); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.xd-policy { color: var(--ink-2); margin: 0; }
.xd-policy b { color: var(--ink); }

.xd-review { padding: 18px 0; border-top: 1px solid var(--line); }
.xd-review:first-of-type { border-top: 0; padding-top: 4px; }
.xd-review-head { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.xd-review-head img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.xd-review-head b { display: block; font-size: .95rem; }
.xd-review-head span { font-size: .82rem; color: var(--ink-3); }
.xd-stars { color: var(--amber); font-size: .78rem; letter-spacing: 1px; }
.xd-review p { margin: 0; color: var(--ink-2); line-height: 1.65; }
.xd-noreviews { color: var(--ink-3); margin: 0; }

/* Booking card */
.xd-book { position: sticky; top: 84px; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: 0 12px 36px rgba(19,36,27,.08); background: #fff; }
.xd-book-price { font-size: 1.05rem; color: var(--ink-2); margin: 0 0 18px; }
.xd-book-price b { font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); letter-spacing: -0.02em; }
.xd-field { display: block; margin-bottom: 12px; }
.xd-field > span { display: block; font-size: .8rem; font-weight: 700; margin-bottom: 5px; color: var(--ink); }
.xd-field select, .xd-field textarea, .xd-field input {
  width: 100%; border: 1px solid #CDD6D0; border-radius: 10px; padding: 10px 12px; background: #fff;
  font: 500 .95rem var(--font); color: var(--ink);
}
.xd-field textarea { resize: vertical; min-height: 84px; }
.xd-field select:focus, .xd-field textarea:focus, .xd-field input:focus { outline: 0; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(14,107,74,.16); }
.xd-dates { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.xd-dates::-webkit-scrollbar { display: none; }
.xd-date { flex-shrink: 0; width: 64px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 4px; text-align: center; cursor: pointer; background: #fff; font: inherit; color: var(--ink); }
.xd-date small { display: block; font-size: .7rem; color: var(--ink-3); font-weight: 600; }
.xd-date b { display: block; font-size: 1.15rem; line-height: 1.2; }
.xd-date:hover { border-color: var(--ink); }
.xd-date[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.xd-date[aria-pressed="true"] small { color: rgba(255,255,255,.75); }
.xd-times { display: flex; gap: 8px; flex-wrap: wrap; }
.xd-time { border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; background: #fff; font: 600 .88rem var(--font); color: var(--ink); cursor: pointer; }
.xd-time[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.xd-stepper { display: flex; align-items: center; justify-content: space-between; border: 1px solid #CDD6D0; border-radius: 10px; padding: 6px 8px 6px 12px; }
.xd-stepper button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.1rem; line-height: 1; color: var(--ink); cursor: pointer; }
.xd-stepper button:disabled { opacity: .35; cursor: default; }
.xd-stepper output { font-weight: 700; }
.xd-total { display: flex; justify-content: space-between; padding: 14px 0 4px; margin-top: 6px; border-top: 1px solid var(--line); font-weight: 700; }
.xd-book .xp-btn { width: 100%; margin-top: 14px; padding: 14px; font-size: 1rem; }
.xd-book-note { font-size: .82rem; color: var(--ink-3); text-align: center; margin: 10px 0 0; line-height: 1.45; }
.xd-book-alt { display: block; text-align: center; margin-top: 12px; font-size: .9rem; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.xd-error { background: #FEF3F2; color: #B42318; border-radius: 10px; padding: 10px 12px; font-size: .88rem; font-weight: 600; margin-bottom: 12px; }
.xd-owner { background: var(--sage); border-radius: 14px; padding: 14px; font-size: .9rem; color: var(--ink-2); }
.xd-owner a { color: var(--forest); font-weight: 700; }
.xd-paused { background: #FFF7E6; color: #8A5300; border-radius: 12px; padding: 12px 14px; margin-bottom: 18px; font-weight: 600; }

/* Mobile booking bar */
.xd-mbar { display: none; }
@media (max-width: 960px) {
  .xd-grid { grid-template-columns: 1fr; gap: 0; }
  .xd-book { position: static; box-shadow: none; margin-top: 8px; scroll-margin-top: 80px; }
  .xd-gallery { grid-template-columns: 1fr; grid-template-rows: none; height: auto; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 0; margin: 0 -16px 24px; gap: 0; }
  .xd-gallery a { flex: 0 0 100%; aspect-ratio: 4 / 3; scroll-snap-align: start; }
  .xd-gallery a:first-child { grid-row: auto; }
  .xd-mbar:not([hidden]) {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035;
    background: #fff; border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  }
  .xd-mbar b { font-size: 1.1rem; }
  .xd-mbar span { display: block; font-size: .8rem; color: var(--ink-3); }
  body.has-xd-mbar .fx-joinbar { display: none !important; }
  body.has-xd-mbar #app-download-fab { display: none !important; }
  body:has(.mobile-bottom-nav) .xd-mbar { bottom: 62px; }
  .xd-facts { grid-template-columns: 1fr; }
}

/* ── Host wizard ────────────────────────────────────────────────── */
.xw { padding: 32px 0 80px; background: var(--sage); min-height: 70vh; }
.xw .fx-wrap { max-width: 980px; }
.xw-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.xw-head h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; margin: 0; }
.xw-head p { margin: 6px 0 0; color: var(--ink-2); }
.xw-card { background: #fff; border-radius: 20px; padding: 28px; box-shadow: 0 1px 0 var(--line); }
.xw-steps { display: flex; gap: 6px; margin-bottom: 26px; list-style: none; padding: 0; }
.xw-steps li { flex: 1; }
.xw-steps button { width: 100%; text-align: left; border: 0; background: none; padding: 0; cursor: pointer; font: 600 .82rem var(--font); color: var(--ink-3); }
.xw-steps button::before { content: ""; display: block; height: 4px; border-radius: 4px; background: var(--line); margin-bottom: 8px; }
.xw-steps li.done button::before, .xw-steps li.current button::before { background: var(--forest); }
.xw-steps li.current button { color: var(--ink); }
.xw-step { display: none; }
.xw-step.current { display: block; }
.xw-step h2 { font-size: 1.45rem; font-weight: 800; margin: 0 0 4px; }
.xw-step > p.xw-hint { color: var(--ink-3); margin: 0 0 22px; }
.xw-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.xw-row.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.xw-field { display: block; margin-bottom: 18px; }
.xw-field > span { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.xw-field > small { display: block; color: var(--ink-3); font-size: .8rem; margin-top: 5px; }
.xw-field input[type=text], .xw-field input[type=number], .xw-field select, .xw-field textarea {
  width: 100%; border: 1px solid #CDD6D0; border-radius: 12px; padding: 12px 14px; background: #fff;
  font: 500 1rem var(--font); color: var(--ink);
}
.xw-field textarea { resize: vertical; line-height: 1.55; }
.xw-field input:focus, .xw-field select:focus, .xw-field textarea:focus { outline: 0; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(14,107,74,.16); }
.xw-count { float: right; font-weight: 500; color: var(--ink-3); font-size: .78rem; }
.xw-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.xw-cats label { margin: 0; }
.xw-cats input { position: absolute; opacity: 0; pointer-events: none; }
.xw-cats span {
  display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 12px;
  font-size: .86rem; font-weight: 600; color: var(--ink-2); cursor: pointer; height: 100%;
}
.xw-cats span i { color: var(--ink-3); font-size: 1.1rem; }
.xw-cats input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.xw-cats input:checked + span i { color: var(--forest); }
.xw-cats input:focus-visible + span { outline: 3px solid rgba(14,107,74,.45); }
.xw-days { display: flex; gap: 6px; flex-wrap: wrap; }
.xw-days input, .xw-pol input { position: absolute; opacity: 0; pointer-events: none; }
.xw-days span { display: inline-flex; width: 52px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; font-weight: 700; font-size: .88rem; cursor: pointer; color: var(--ink-2); }
.xw-days input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.xw-days input:focus-visible + span, .xw-pol input:focus-visible + span { outline: 3px solid rgba(14,107,74,.45); }
.xw-pol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.xw-pol label { margin: 0; }
.xw-pol span { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; font-size: .82rem; color: var(--ink-3); height: 100%; }
.xw-pol span b { display: block; color: var(--ink); font-size: .92rem; margin-bottom: 2px; }
.xw-pol input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.xw-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 640px; }
.xw-photo { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--sage); border: 1.5px dashed #BFCBC3; display: flex; align-items: center; justify-content: center; color: var(--ink-3); cursor: pointer; }
.xw-photo:first-child { grid-column: span 2; grid-row: span 2; }
.xw-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xw-photo input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.xw-photo .xw-photo-label { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; text-align: center; padding: 6px; }
.xw-photo.has-img { border-style: solid; border-color: transparent; }
.xw-photo.has-img .xw-photo-label { display: none; }
.xw-photo-rm { position: absolute; right: 6px; top: 6px; z-index: 2; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--ink); cursor: pointer; display: none; }
.xw-photo.has-img .xw-photo-rm { display: block; }
.xw-photo-cover { position: absolute; left: 8px; bottom: 8px; z-index: 2; background: rgba(255,255,255,.95); font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; color: var(--ink); display: none; }
.xw-photo:first-child.has-img .xw-photo-cover { display: block; }
.xw-preview { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; }
.xw-preview .xc { pointer-events: none; }
.xw-summary { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--ink-2); font-size: .94rem; }
.xw-summary b { color: var(--ink); }
.xw-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.xw-msg { font-size: .9rem; font-weight: 600; }
.xw-msg.is-err { color: #B42318; }
.xw-msg.is-ok { color: var(--forest); }

/* Host dashboard (my listings) */
.xh-list { display: grid; gap: 12px; margin-bottom: 28px; }
.xh-item { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 16px; align-items: center; background: #fff; border-radius: 16px; padding: 12px; box-shadow: 0 1px 0 var(--line); }
.xh-thumb { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; background: var(--moss); display: flex; align-items: center; justify-content: center; color: var(--forest); }
.xh-item h3 { font-family: var(--font); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin: 0 0 4px; }
.xh-item h3 a { color: var(--ink); }
.xh-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .84rem; color: var(--ink-3); }
.xh-status { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.xh-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #16A34A; }
.xh-status.is-paused { color: #8A5300; }
.xh-status.is-paused::before { background: var(--amber); }
.xh-pending { color: #B0175A; font-weight: 700; }
.xh-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.xh-empty { background: #fff; border-radius: 20px; padding: 32px; text-align: center; color: var(--ink-2); }

@media (max-width: 700px) {
  .xw-card { padding: 20px 16px; border-radius: 16px; }
  .xw-row, .xw-row.is-3 { grid-template-columns: 1fr; }
  .xw-pol { grid-template-columns: 1fr; }
  .xw-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .xw-preview { grid-template-columns: 1fr; }
  .xw-steps button { font-size: 0; }
  .xh-item { grid-template-columns: 64px minmax(0, 1fr); }
  .xh-thumb { width: 64px; height: 64px; }
  .xh-actions { grid-column: 1 / -1; justify-content: flex-start; }
}

/* ── Bookings page ──────────────────────────────────────────────── */
.xb { padding: 32px 0 80px; background: var(--sage); min-height: 70vh; }
.xb .fx-wrap { max-width: 920px; }
.xb h1 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 800; margin: 0 0 16px; }
.xb-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.xb-tab { border: 1px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: .9rem; }
.xb-tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.xb-tab .xb-n { background: #B0175A; color: #fff; border-radius: 999px; font-size: .72rem; padding: 1px 7px; margin-left: 6px; }
.xb-flash { background: #fff; border-left: 4px solid var(--forest); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; color: var(--ink-2); }
.xb-flash b { color: var(--ink); }
.xb-item { background: #fff; border-radius: 18px; padding: 16px; margin-bottom: 12px; box-shadow: 0 1px 0 var(--line); display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
.xb-thumb { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; background: var(--moss); }
.xb-item h2 { font-family: var(--font); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; margin: 0 0 4px; }
.xb-item h2 a { color: var(--ink); }
.xb-when { font-weight: 600; color: var(--ink); margin: 0 0 4px; }
.xb-who { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--ink-2); margin: 0 0 8px; }
.xb-who img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.xb-who a { color: var(--ink); font-weight: 700; }
.xb-msg { background: var(--sage); border-radius: 10px; padding: 10px 12px; font-size: .9rem; color: var(--ink-2); margin: 0 0 10px; white-space: pre-line; }
.xb-status { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.xb-status.is-pending { background: #FFF7E6; color: #8A5300; }
.xb-status.is-accepted { background: var(--moss); color: var(--forest-dark); }
.xb-status.is-declined, .xb-status.is-cancelled { background: #F2F4F3; color: var(--ink-3); }
.xb-status.is-done { background: #EEF2FF; color: #3730A3; }
.xb-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.xb-actions form { margin: 0; }
.xb-review { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.xb-stars { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.xb-stars input { position: absolute; opacity: 0; }
.xb-stars label { font-size: 1.5rem; color: #D3DAD5; cursor: pointer; line-height: 1; }
.xb-stars input:checked ~ label, .xb-stars label:hover, .xb-stars label:hover ~ label { color: var(--amber); }
.xb-stars input:focus-visible + label { outline: 2px solid var(--forest); border-radius: 4px; }
.xb-review textarea { width: 100%; border: 1px solid #CDD6D0; border-radius: 10px; padding: 10px 12px; font: 500 .95rem var(--font); margin: 8px 0; min-height: 80px; }
.xb-empty { background: #fff; border-radius: 18px; padding: 36px 20px; text-align: center; color: var(--ink-2); }
.xb-empty .xp-btn { margin-top: 14px; }
@media (max-width: 600px) {
  .xb-item { grid-template-columns: 64px minmax(0, 1fr); }
  .xb-thumb { width: 64px; height: 64px; }
}

@media (prefers-reduced-motion: reduce) { .xc-media img { transition: none; } .xc:hover .xc-media img { transform: none; } }
.xd-grid > *, .xw-preview > *, .xb-item > * { min-width: 0; }
@media (max-width: 700px) { .xw-row { row-gap: 8px; } .xd-section .xw-row { row-gap: 28px; } }
@media (max-width: 700px) { .xw-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } .xw-cats span { flex-direction: row; align-items: center; gap: 8px; padding: 9px 10px; font-size: .82rem; } .xw-cats span i { width: 18px; text-align: center; font-size: .95rem; } }
