:root {
  color-scheme: light;
  --paper: #fbf9f5;
  --white: #fff;
  --ink: #18332e;
  --muted: #52645e;
  --teal: #007a70;
  --deep: #114940;
  --orange: #f49a49;
  --orange-hover: #ffab5d;
  --line: #e6e4dc;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; line-height: 1.55; }
button, select, input { font: inherit; }
button, select { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; width: 100%; object-fit: cover; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #157e74; outline-offset: 4px; }
.container { width: min(calc(100% - 96px), 1240px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; left: 16px; top: 12px; transform: translateY(-160%); background: white; border-radius: 8px; padding: 10px 14px; }
.skip-link:focus { transform: none; }
[data-icon] { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; }
[data-icon] svg { display: block; width: 1.2em; height: 1.2em; }
.site-header { background: var(--white); position: relative; z-index: 2; }
.header-inner { min-height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; width: max-content; }
.brand-header { gap: 5px; padding-right: 6px; }
.brand-mark, .brand-type, .brand-footer { background-image: url("images/bookchek-logo.png"); background-repeat: no-repeat; mix-blend-mode: multiply; }
.brand-mark { width: 49px; height: 37px; background-size: 181px auto; background-position: -66px -23px; }
.brand-type { width: 113px; height: 16px; background-size: 294px auto; background-position: -90px -94px; }
.header-inner nav { display: flex; align-items: center; gap: clamp(20px, 3.3vw, 46px); font-weight: 700; font-size: .92rem; }
.header-inner nav a { padding-block: 13px; }
.header-inner nav a:hover, .footer a:hover, .footer button:hover { color: var(--teal); }
.header-actions { justify-self: end; display: flex; gap: 12px; align-items: center; }
.button { min-height: 46px; border: 1px solid transparent; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 800; padding: 11px 19px; white-space: nowrap; transition: background .18s, color .18s, border-color .18s; }
.button.small { min-height: 41px; font-size: .875rem; padding: 9px 15px; }
.button-dark { color: white; background: var(--deep); }
.button-dark:hover { background: #016b61; }
.button-orange { background: var(--orange); color: #2e2117; }
.button-orange:hover { background: var(--orange-hover); }
.button-outline { background: transparent; border-color: #c9d1c9; font-size: .9rem; color: var(--deep); }
.button-outline:hover { border-color: var(--teal); background: #eaf5f0; }
.button-cream { background: #fff7e9; color: var(--deep); }
.button-cream:hover { background: #ffe6c6; }
.icon-button { border: 0; background: white; display: grid; place-items: center; border-radius: 50%; width: 42px; height: 42px; position: relative; font-size: 1.04rem; }
.icon-button:hover { background: #eaf5f0; }
#saved-count { position: absolute; top: -1px; right: -2px; background: var(--orange); border-radius: 20px; min-width: 18px; padding: 1px 4px; color: #372312; font-size: .68rem; font-weight: 800; }
.hero { min-height: clamp(460px, 43vw, 610px); position: relative; display: flex; align-items: stretch; isolation: isolate; color: #fffdf6; background: #285452; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-image { object-position: center 51%; }
.hero-shade { background: linear-gradient(90deg, rgba(10,35,30,.83) 0%, rgba(12,38,33,.63) 30%, rgba(13,42,34,.25) 59%, transparent 84%), linear-gradient(0deg, rgba(16,42,35,.31), transparent 42%); }
.hero-content { position: relative; align-self: center; padding-block: 56px 94px; }
.hero-eyebrow, .eyebrow { display: flex; align-items: center; gap: 10px; color: var(--teal); font-size: .79rem; letter-spacing: .13em; font-weight: 800; margin: 0 0 14px; }
.hero-eyebrow { color: #fff6e9; margin-bottom: 17px; }
.hero-eyebrow span { width: 24px; height: 2px; background: #ffc180; }
h1, h2 { font-family: var(--serif); font-weight: 600; line-height: 1.06; letter-spacing: -.045em; margin: 0; }
h1 { font-size: clamp(4.15rem, 7.65vw, 7.4rem); }
h1 em { color: #ffc88e; font-weight: 500; }
h2 { font-size: clamp(2.4rem, 4.2vw, 4.1rem); }
h2 em { color: var(--teal); font-weight: 500; }
.hero-intro { font-size: clamp(1.04rem, 1.4vw, 1.24rem); max-width: 405px; margin: 23px 0 0; line-height: 1.55; color: #fffdf7; }
.hero-location { position: absolute; right: 0; bottom: 28px; font-size: .85rem; font-weight: 700; background: rgba(20,47,38,.76); border: 1px solid rgba(255,255,255,.5); border-radius: 30px; padding: 8px 13px; display: inline-flex; align-items: center; gap: 7px; }
.search-wrap { position: relative; margin-top: -38px; }
.search-bar { display: grid; grid-template-columns: 1.6fr 1.05fr 1.05fr .9fr auto; align-items: center; background: white; padding: 15px; border: 1px solid #eeeae1; border-radius: 15px; box-shadow: 0 11px 40px #26383215; }
.search-field { display: flex; align-items: center; gap: 11px; min-width: 0; min-height: 52px; padding: 0 15px; border-right: 1px solid var(--line); }
.search-field:nth-of-type(4) { border: 0; }
.search-field > [data-icon] { color: var(--teal); font-size: 1.13rem; }
.search-field > span:last-child { min-width: 0; flex: 1; }
.search-field strong { display: block; font-size: .84rem; white-space: nowrap; }
.search-field input, .search-field select { display: block; min-width: 0; width: 100%; border: 0; padding: 2px 0; color: #42564f; background: transparent; font-size: .875rem; border-radius: 2px; }
.search-field input::placeholder { color: #607068; opacity: 1; }
.search-field select { appearance: none; padding-right: 15px; background: linear-gradient(45deg, transparent 50%, #527268 50%) right 5px top 10px / 5px 5px no-repeat, linear-gradient(135deg, #527268 50%, transparent 50%) right top 10px / 5px 5px no-repeat; }
.search-button { min-height: 55px; padding-inline: clamp(13px, 2.2vw, 29px); }
.section { padding-block: 68px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 29px; }
.section-heading p:not(.eyebrow), .how > div:first-child > p:last-child { margin: 13px 0 0; color: var(--muted); }
.property-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 15px; }
.property-filters > span { color: var(--muted); font-size: .875rem; font-weight: 800; }
.property-options { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid #d8dfd5; border-radius: 10px; background: #edf4ee; }
.property-options button { min-height: 36px; border: 1px solid transparent; border-radius: 7px; background: transparent; padding: 5px 13px; font-size: .875rem; font-weight: 800; }
.property-options button:hover { color: var(--teal); }
.property-options button[aria-pressed="true"] { color: var(--deep); background: white; border-color: #dce4db; box-shadow: 0 1px 3px #15332a12; }
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 12px; }
.filter { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #dedfd4; background: transparent; border-radius: 40px; font-size: .875rem; font-weight: 700; padding: 8px 15px; min-height: 41px; }
.filter:hover { background: #eaf5f0; }
.filter[aria-pressed="true"] { background: var(--deep); color: white; border-color: var(--deep); }
.results-summary { color: var(--muted); font-size: .85rem; margin: 0 0 13px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; align-items: start; }
.card { position: relative; overflow: hidden; border-radius: 15px; border: 1px solid #e7e6db; background: white; min-width: 0; box-shadow: 0 5px 12px #24352906; }
.card-image-wrap { aspect-ratio: 1.62; position: relative; overflow: hidden; background: #dce8db; }
.card-image-wrap img { height: 100%; object-position: center var(--crop, 50%); transition: transform .35s; }
.card:hover img { transform: scale(1.035); }
.card .favorite { position: absolute; right: 13px; top: 13px; z-index: 1; box-shadow: 0 2px 10px #2223; }
.favorite[aria-pressed="true"] { color: #a74728; }
.favorite[aria-pressed="true"] svg { fill: #f6bca7; }
.card-tag { position: absolute; left: 13px; top: 13px; border-radius: 20px; padding: 5px 10px; background: #fff9ed; color: #344d41; font-size: .79rem; font-weight: 800; }
.card-body { padding: 17px 18px 16px; }
.card-place { margin: 0 0 6px; display: flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: .06em; font-size: .77rem; font-weight: 800; color: var(--teal); }
.card h3 { font-family: var(--serif); color: var(--ink); margin: 0; font-size: clamp(1.32rem, 2.25vw, 1.72rem); font-weight: 700; line-height: 1.2; letter-spacing: -.027em; }
.card h3 button { border: 0; background: none; text-align: left; padding: 0; font: inherit; }
.card h3 button:hover { color: var(--teal); }
.card-description { color: var(--muted); margin: 8px 0 13px; min-height: 3.1em; font-size: .95rem; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.card-bottom p { margin: 0; color: var(--muted); font-size: .86rem; white-space: nowrap; }
.card-bottom strong { color: var(--ink); font-size: 1.15rem; }
.text-button { border: none; background: none; padding: 6px 0; color: var(--teal); font-weight: 800; text-align: left; }
.text-button:hover { text-decoration: underline; }
.experience-section { background: #edf4ee; }
.experience-section .section { padding-block: 61px 68px; }
.experience-section .card-image-wrap { aspect-ratio: 1.67; }
.how { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 9vw, 130px); align-items: center; }
.how > div:first-child > p:last-child { max-width: 365px; }
.feature-list { display: grid; gap: 17px; }
.feature-list > div { display: flex; gap: 15px; align-items: flex-start; border-bottom: 1px solid var(--line); padding-bottom: 15px; }
.feature-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.feature-icon { width: 45px; height: 45px; border-radius: 12px; background: #e5f1eb; color: var(--teal); font-size: 1.1rem; }
.feature-list h3 { margin: 0 0 3px; font-weight: 800; font-size: 1rem; }
.feature-list p { color: var(--muted); margin: 0; }
.help-wrap { padding-bottom: 65px; }
.help-banner { display: flex; gap: 21px; align-items: center; border-radius: 16px; background: var(--deep); color: white; padding: 28px clamp(18px, 4vw, 49px); }
.help-banner > [data-icon] { color: #ffc88e; font-size: 2.05rem; }
.help-banner h2 { font-size: clamp(1.65rem, 3vw, 2.23rem); }
.help-banner p { margin: 5px 0 0; color: #e3ece5; }
.help-banner button { margin-left: auto; }
.footer { background: #f3f2eb; border-top: 1px solid var(--line); }
.footer-content { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-block: 32px 23px; }
.brand-footer { width: 137px; height: 91px; background-size: 350px auto; background-position: -106px -48px; }
.footer-content p { margin: 7px 0 0; color: var(--muted); }
.footer-links { display: flex; align-items: center; gap: 23px; flex-wrap: wrap; font-size: .9rem; font-weight: 700; }
.footer-links button { border: 0; background: none; padding: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; padding-block: 17px; border-top: 1px solid #ddded4; color: var(--muted); font-size: .82rem; }
.empty { grid-column: 1 / -1; border: 1px dashed #b7c5bc; border-radius: 12px; text-align: center; padding: 24px 12px; color: var(--muted); }
.empty h3 { color: var(--ink); margin: 0 0 6px; }
.empty p { margin: 0 0 14px; }
dialog { width: min(634px, calc(100% - 24px)); max-height: min(88vh, 890px); border: 1px solid #dbe5dc; padding: 0; border-radius: 17px; color: var(--ink); background: var(--white); box-shadow: 0 24px 90px #08281e60; }
dialog::backdrop { background: #102922ba; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-close { position: sticky; top: 13px; float: right; margin: 13px 13px -55px 0; z-index: 2; box-shadow: 0 2px 12px #2223; }
.panel-cover { aspect-ratio: 2.3; max-height: 265px; }
.panel-body { padding: 27px; }
.panel-body h2 { font-size: clamp(1.9rem, 6vw, 2.85rem); padding-right: 28px; }
.panel-body > p { color: var(--muted); }
.panel-body .card-place { color: var(--teal); }
.panel-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.panel-form { display: grid; gap: 13px; }
.panel-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.panel-form label { display: grid; gap: 5px; font-weight: 800; }
.panel-form input, .panel-form select { width: 100%; min-width: 0; border-radius: 9px; border: 1px solid #c9d1c9; padding: 10px; background: white; color: var(--ink); font-weight: 600; }
.panel-form output { color: var(--deep); font-weight: 800; }
.panel-body details { border-bottom: 1px solid var(--line); padding-block: 12px; }
.panel-body summary { cursor: pointer; font-weight: 800; }
.panel-body details p { color: var(--muted); margin: 8px 0 0; }
.panel-body ul { padding-left: 20px; }
.panel-body li { margin-bottom: 6px; }
.panel-body li a { color: var(--teal); text-decoration: underline; }
.mini-list { display: grid; gap: 11px; margin-top: 16px; }
.mini-item { border: 1px solid var(--line); border-radius: 10px; padding: 11px; display: flex; align-items: center; gap: 11px; }
.mini-item img { width: 70px; height: 60px; border-radius: 7px; }
.mini-item div { flex: 1; min-width: 0; }
.mini-item h3, .mini-item p { margin: 0; }
.mini-item h3 { font-size: 1rem; }
.mini-item p { color: var(--muted); font-size: .85rem; }
#toast { position: fixed; z-index: 10; inset: auto 18px 20px auto; background: var(--deep); color: white; border-radius: 9px; padding: 11px 15px; box-shadow: 0 8px 24px #142b2250; max-width: calc(100vw - 36px); }
#toast:empty { display: none; }
@media (max-width: 980px) {
  .container { width: calc(100% - 48px); }
  .search-field { padding-inline: 9px; gap: 7px; }
  .search-bar { padding: 11px; }
  .card-grid { gap: 14px; }
  .card-body { padding-inline: 13px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 32px); }
  .header-inner { min-height: 64px; grid-template-columns: 1fr auto; gap: 1px 12px; }
  .header-inner nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; min-height: 40px; border-top: 1px solid #f1f1ea; gap: 28px; }
  .header-inner nav a { padding-block: 8px; }
  .header-actions { grid-row: 1; grid-column: 2; margin-block: 8px; }
  .brand-mark { width: 45px; }
  .brand-header { gap: 1px; }
  .hero { min-height: 460px; }
  .hero-content { padding-block: 48px 88px; }
  .hero-location { bottom: 13px; }
  .hero-shade { background: linear-gradient(90deg, #0d2c26d9, #0d2c2663 65%, #0d2c2624), linear-gradient(0deg, #18382650, transparent 62%); }
  .search-wrap { margin-top: -25px; }
  .search-bar { grid-template-columns: 1fr 1fr; gap: 5px 0; }
  .search-field { min-height: 51px; }
  .search-field.destination { grid-column: 1 / -1; border: 0; border-bottom: 1px solid var(--line); }
  .search-field:nth-of-type(3) { border: 0; }
  .search-field:nth-of-type(4) { border-top: 1px solid var(--line); }
  .search-button { min-height: 48px; }
  .section { padding-block: 47px; }
  .section-heading { align-items: flex-start; flex-wrap: wrap; margin-bottom: 22px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .how { grid-template-columns: 1fr; gap: 28px; }
  .help-banner { align-items: flex-start; flex-wrap: wrap; gap: 12px; }
  .help-banner div { flex: 1; }
  .help-banner button { margin: 5px 0 0; }
  .help-wrap { padding-bottom: 47px; }
  .footer-content { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 490px) {
  .hero h1 { font-size: clamp(3.55rem, 14vw, 4.6rem); }
  .hero { min-height: 422px; }
  .hero-location { font-size: .77rem; }
  .hero-image { object-position: 60% 48%; }
  .header-actions { gap: 4px; }
  .header-actions .button { padding-inline: 10px; }
  .card-grid { grid-template-columns: minmax(0,1fr); }
  .card-description { min-height: 0; }
  .card-body { padding-inline: 16px; }
  .footer-links { column-gap: 14px; }
  .footer-bottom { flex-direction: column; gap: 3px; }
  .panel-body { padding: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
.ui-icon { display: inline-block; flex-shrink: 0; width: 1.2em; height: 1.2em; }

.header-inner nav { gap: clamp(13px, 2.25vw, 32px); }
.host-link { border: 0; padding: 9px 0; background: none; color: var(--teal); font-weight: 800; white-space: nowrap; }
.host-link:hover { text-decoration: underline; }
.host-form textarea { width: 100%; min-width: 0; resize: vertical; border: 1px solid #c9d1c9; border-radius: 9px; padding: 10px; font: inherit; font-weight: 500; color: var(--ink); }
.host-form input, .host-form select, .host-form textarea { font-size: 1rem; }
.host-form button:disabled, .host-item-actions button:disabled { cursor: wait; opacity: .58; }
.host-feedback, .host-notice { padding: 10px 12px; border: 1px solid #d7e8df; border-radius: 8px; margin: 0; background: #edf5ef; }
.panel-body .host-feedback { margin: 8px 0; color: #812d1b; border-color: #efd8d0; background: #fff2ee; }
.panel-body .host-notice { margin: 12px 0; color: var(--deep); }
.host-back { justify-self: start; }
.host-empty { color: var(--muted); }
.host-property-item { flex-wrap: wrap; }
.host-property-item div:first-child { overflow-wrap: anywhere; }
.host-status { color: var(--deep); border-radius: 20px; background: #eaf2eb; padding: 4px 9px; font-size: .8rem; font-weight: 800; white-space: nowrap; }
.host-property-item .host-item-actions { flex: 0 0 auto; display: flex; gap: 10px; }
.listing-placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(145deg, #e8f1ea, #cce4d8); color: #237669; font-size: 3rem; }
.listing-placeholder.panel-cover { height: auto; }
.listing-placeholder.mini-thumb { width: 70px; height: 60px; border-radius: 7px; flex: 0 0 70px; font-size: 1.5rem; }
.listing-placeholder ~ .card-tag { background: #fffdf6; }
.card:has(.listing-placeholder) .card-description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.card:has(.listing-placeholder) h3, .panel-body p, .panel-body h2, .mini-item h3 { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .header-inner nav { gap: 4px 17px; flex-wrap: wrap; font-size: .84rem; }
}
@media (max-width: 395px) {
  .header-inner nav { gap: 0 10px; }
  .property-options { flex-wrap: wrap; }
  .property-options button { padding-inline: 9px; }
}

.hero-image.hero-morocco { object-position: center 51%; }
.popular-destinations { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.popular-destinations > span { color: var(--muted); font-weight: 800; font-size: .88rem; margin-right: 8px; }
.popular-destinations button { background: #f4f1e9; border: 1px solid #e7e1d6; color: var(--deep); border-radius: 22px; padding: 7px 13px; font-size: .86rem; font-weight: 800; }
.popular-destinations button:hover { background: #dfefe6; border-color: #c8ded2; }
.property-options { flex-wrap: wrap; }
@media (max-width: 760px) {
  .popular-destinations { justify-content: flex-start; }
  .popular-destinations > span { flex-basis: 100%; }
}
@media (max-width: 490px) {
  .hero-image.hero-morocco { object-position: 58% 51%; }
}

.panel-body .market-note { font-size: .875rem; margin: 0 0 .3rem; }
.market-detail { border: 1px solid var(--line); border-radius: 13px; padding: 15px; overflow-wrap: anywhere; }
.market-detail h3 { margin: .45rem 0 .35rem; }
.market-detail p { margin: .35rem 0; color: var(--muted); }
.market-detail + .panel-form { margin-top: .85rem; }
.market-detail .panel-actions { margin-top: .65rem; }
.host-status[data-status="pending"] { background: #fff1d9; color: #704900; }
.host-status[data-status="confirmed"] { background: #dff2e5; color: #185438; }
.host-status[data-status="declined"], .host-status[data-status="cancelled"] { background: #f9e8e1; color: #782d21; }
#switch-host-account { margin-top: .65rem; }
#market-quote { font-weight: 750; }
.market-filter { display: inline-flex; align-items: center; gap: 8px; margin: 1rem 0 .6rem; font-weight: 750; }
.market-filter input { width: 1rem; height: 1rem; accent-color: #187c68; }


.arrival-details { white-space: pre-line; }

#account-signout { margin-top: .55rem; }
#account-signout .text-button { justify-self: start; }
.header-actions .header-account { white-space: nowrap; }
@media (max-width: 1050px) {
  .header-actions .header-trips-label { display: none; }
}
@media (max-width: 420px) {
  .header-actions .header-account { padding-inline: 7px; }
  .header-actions .header-trips { padding-inline: 7px; }
}

.admin-tabs { display: flex; flex-wrap: wrap; gap: 9px; margin-block: 1.1rem; }
.admin-tabs button[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: white; }
.admin-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.admin-summary div { border: 1px solid var(--line); border-radius: 12px; padding: .7rem; }
.admin-summary dt { color: var(--muted); font-size: .9rem; }
.admin-summary dd { margin: .25rem 0 0; font-size: 1.4rem; font-weight: 750; }
