/* PX Booking demo – home (kit px-booking/stay-demo/home, copied to templates/px_stay/css/custom.css) */
:root {
  --pxbd-ink: var(--color-dark, #0e1129);
  --pxbd-sage: #c3cb97;
  --pxbd-sage-2: #e7ebd2;
  --pxbd-olive: #5c6634;
  --pxbd-cream: #f6f3ee;
  --pxbd-text: #4a4f5c;
}

/* header logo: the wide "PX BOOKING" SVG was squeezed to its square mark by the flex row */
.px-header :has(> a > svg[data-px-logo]) { flex: none; }
.px-header svg[data-px-logo] { width: 168px; max-width: none; height: auto; }
/* "Admin demo" is in the main menu too: the header keeps only "Get PX Booking" where space is short */
@media (max-width: 1599.98px) { .px-header-cta__phone { display: none !important; } }
/* seven menu items + logo + button: tighter between 1200 and 1400 px */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .px-header .navbar-nav.level0 > li > .nav-link { padding-left: 7px; padding-right: 7px; letter-spacing: 0; }
  .px-header svg[data-px-logo] { width: 140px; }
}
@media (min-width: 1200px) and (max-width: 1299.98px) {
  .px-header .navbar-nav.level0 > li > .nav-link { padding-left: 5px; padding-right: 5px; font-size: 13px; }
}

/* ---------- hero ---------- */
.pxbh {
  position: relative;
  color: #fff;
  background: var(--pxbd-ink) var(--pxbh-bg) center 40% / cover no-repeat;
  padding: clamp(56px, 8vw, 110px) 0 clamp(120px, 12vw, 150px);
  overflow: hidden;
}
.pxbh::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(14, 17, 41, .94) 0%, rgba(14, 17, 41, .82) 42%, rgba(14, 17, 41, .38) 100%);
}
.pxbh-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pxbh-live {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 99px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
}
.pxbh-live i { width: 9px; height: 9px; border-radius: 50%; background: #7bd88f; box-shadow: 0 0 0 0 rgba(123, 216, 143, .7); animation: pxbh-pulse 2s infinite; }
@keyframes pxbh-pulse { 70% { box-shadow: 0 0 0 10px rgba(123, 216, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(123, 216, 143, 0); } }
.pxbh h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 4rem); line-height: 1.04; letter-spacing: -.02em; margin: 22px 0 20px; }
.pxbh h1 em { font-style: normal; color: var(--pxbd-sage); }
.pxbh-lead { font-size: 1.12rem; line-height: 1.6; color: rgba(255, 255, 255, .82); max-width: 560px; margin: 0 0 28px; }
.pxbh-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.pxbh-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 26px;
  font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.pxbh-btn:hover { transform: translateY(-2px); text-decoration: none; }
.pxbh-btn--main { background: var(--pxbd-sage); color: var(--pxbd-ink); }
.pxbh-btn--main:hover { background: #fff; color: var(--pxbd-ink); }
.pxbh-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.pxbh-btn--ghost:hover { background: #fff; color: var(--pxbd-ink); border-color: #fff; }
.pxbh-btn--ghost span { font-weight: 500; text-transform: none; letter-spacing: 0; opacity: .75; }
.pxbh-btn--line { color: var(--pxbd-ink); border-color: var(--pxbd-ink); }
.pxbh-btn--line:hover { background: var(--pxbd-ink); color: #fff; }
.pxbh-proof { list-style: none; margin: 40px 0 0; padding: 26px 0 0; display: flex; flex-wrap: wrap; gap: 18px 36px; border-top: 1px solid rgba(255, 255, 255, .16); }
.pxbh-proof li { display: flex; align-items: center; gap: 12px; }
.pxbh-proof b { font-size: 2.2rem; line-height: 1; color: var(--pxbd-sage); font-weight: 700; }
.pxbh-proof span { font-size: 13px; line-height: 1.35; color: rgba(255, 255, 255, .72); }

.pxbh-roles {
  background: rgba(255, 255, 255, .97); color: var(--pxbd-ink);
  border-radius: 20px; padding: 26px 22px 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.pxbh-roles__title { margin: 0 4px 14px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pxbd-olive); }
.pxbh-role {
  display: grid; grid-template-columns: 46px 1fr; gap: 4px 14px; align-items: start;
  padding: 14px; border-radius: 14px; color: inherit; text-decoration: none;
  border: 1px solid transparent; transition: background .2s, border-color .2s, transform .2s;
}
.pxbh-role + .pxbh-role { margin-top: 6px; }
.pxbh-role:hover { background: var(--pxbd-cream); border-color: #e4dfd3; transform: translateX(3px); text-decoration: none; color: inherit; }
.pxbh-role__ico { grid-row: span 2; width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--pxbd-sage-2); color: var(--pxbd-olive); font-size: 18px; }
.pxbh-role--admin .pxbh-role__ico { background: var(--pxbd-ink); color: var(--pxbd-sage); }
.pxbh-role__txt b { display: block; font-size: 1.02rem; }
.pxbh-role__txt small { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--pxbd-text); }
.pxbh-role__go { grid-column: 2; margin-top: 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pxbd-ink); }
.pxbh-role__go i { margin-left: 6px; transition: transform .2s; }
.pxbh-role:hover .pxbh-role__go i { transform: translateX(4px); }
.pxbh-roles__pw { margin: 12px 4px 0; padding-top: 14px; border-top: 1px solid #ebe7de; font-size: 13px; line-height: 1.5; color: var(--pxbd-text); }
.pxbh-roles__pw code { color: var(--pxbd-ink); background: var(--pxbd-cream); padding: 1px 6px; border-radius: 4px; font-size: 12.5px; }

/* the template's availability bar sits over the bottom of the hero */
.pxbh + .px-stay-search, .t4-section:has(.pxbh) + .t4-section .px-stay-search { position: relative; z-index: 2; }

/* ---------- shared heads ---------- */
.pxb-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.pxb-kicker { display: inline-block; margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pxbd-olive); }
.pxb-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.1; letter-spacing: -.015em; margin: 0 0 14px; }
.pxb-head p { font-size: 1.08rem; color: var(--pxbd-text); margin: 0; }
.pxb-head--dark h2 { color: #fff; }
.pxb-head--dark .pxb-kicker { color: var(--pxbd-sage); }
.pxb-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pxbd-ink); text-decoration: none; border-bottom: 2px solid var(--pxbd-sage); padding-bottom: 4px; }
.pxb-link:hover { color: var(--pxbd-olive); text-decoration: none; }
.pxb-link i { transition: transform .2s; }
.pxb-link:hover i { transform: translateX(4px); }

/* ---------- two booking models ---------- */
.pxbm { padding: clamp(64px, 8vw, 110px) 0; background: var(--pxbd-cream); }
.pxbm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pxbm-panel { position: relative; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 20px 50px rgba(14, 17, 41, .08); }
.pxbm-photo { height: 340px; background: var(--img) center / cover no-repeat; position: relative; }
.pxbm-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 17, 41, 0) 55%, rgba(14, 17, 41, .25)); }
.pxbm-float {
  position: absolute; top: 34px; right: 28px; width: 46%; max-width: 270px; margin: 0;
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(14, 17, 41, .32); transform: rotate(1.5deg); transition: transform .35s;
}
.pxbm-panel:hover .pxbm-float { transform: rotate(0) translateY(-6px); }
.pxbm-float figcaption { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--pxbd-ink); }
.pxbm-float figcaption i { width: 8px; height: 8px; border-radius: 50%; background: #7bd88f; }
.pxbm-float img { display: block; width: 100%; height: auto; }
.pxbm-body { padding: 30px 34px 34px; max-width: 52%; }
.pxbm-tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 99px; background: var(--pxbd-sage-2); color: var(--pxbd-olive); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pxbm-body h3 { font-size: 1.7rem; margin: 14px 0 14px; }
.pxbm-body ul { list-style: none; margin: 0 0 24px; padding: 0; }
.pxbm-body li { position: relative; padding: 0 0 0 26px; margin: 0 0 9px; font-size: .98rem; color: var(--pxbd-text); line-height: 1.45; }
.pxbm-body li::before { content: "\f00c"; font-family: "Font Awesome 5 Free", "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 1px; font-size: 13px; color: var(--pxbd-olive); }

/* ---------- values ---------- */
.pxbv { padding: clamp(64px, 8vw, 100px) 0; background: var(--pxbd-ink); color: rgba(255, 255, 255, .78); }
.pxbv-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pxbv-grid li { padding: 28px 24px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); transition: background .25s, transform .25s; }
.pxbv-grid li:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.pxbv-ico { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--pxbd-sage); color: var(--pxbd-ink); font-size: 20px; margin-bottom: 18px; }
.pxbv h3 { color: #fff; font-size: 1.2rem; margin: 0 0 10px; }
.pxbv p { margin: 0; font-size: .96rem; line-height: 1.55; }
.pxbv .pxbv-foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 28px; margin-top: 40px; font-size: 1.02rem; text-align: center; }
.pxbv-foot b { color: #fff; font-size: 1.3rem; }
.pxbv-foot a { color: var(--pxbd-sage); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.pxbv-foot a:hover { color: #fff; }

/* ---------- tour ---------- */
.pxbt { padding: clamp(64px, 8vw, 110px) 0; background: #fff; }
.pxbt-ui { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; }
.pxbt-tabs { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 110px; }
.pxbt-group { margin: 14px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pxbd-olive); }
.pxbt-group:first-child { margin-top: 0; }
.pxbt-group i { margin-right: 6px; }
.pxbt-tab {
  all: unset; box-sizing: border-box; cursor: pointer; display: block; padding: 12px 16px; border-radius: 12px;
  border: 1px solid transparent; transition: background .2s, border-color .2s;
}
.pxbt-tab b { display: block; font-size: 1rem; color: var(--pxbd-ink); }
.pxbt-tab small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: var(--pxbd-text); }
.pxbt-tab:hover { background: var(--pxbd-cream); }
.pxbt-tab[aria-selected="true"] { background: var(--pxbd-cream); border-color: #e1dccf; box-shadow: inset 3px 0 0 var(--pxbd-olive); }
.pxbt-tab:focus-visible { outline: 2px solid var(--pxbd-ink); outline-offset: 2px; }
.pxbt-panel { margin: 0; }
.pxbt-frame { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid #e3e0d8; box-shadow: 0 30px 70px rgba(14, 17, 41, .14); }
.pxbt-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #f1efea; border-bottom: 1px solid #e3e0d8; }
.pxbt-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9d5cb; }
.pxbt-bar span { margin-left: 10px; flex: 1; padding: 4px 12px; border-radius: 6px; background: #fff; font-size: 12px; color: #8a8f98; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pxbt-frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.pxbt-panel figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 18px; }
.pxbt-panel figcaption p { margin: 0; max-width: 620px; color: var(--pxbd-text); }

/* ---------- smaller screens ---------- */
@media (max-width: 1199.98px) {
  .pxbm-body { max-width: none; }
  .pxbm-photo { height: 300px; }
  .pxbm-float { top: 150px; width: 52%; }
  .pxbm-body { padding-right: 58%; }
  .pxbv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991.98px) {
  .pxbh-in { grid-template-columns: 1fr; }
  .pxbh-roles { max-width: 560px; }
  .pxbm-grid { grid-template-columns: 1fr; }
  .pxbm-float { top: 120px; width: 40%; }
  .pxbm-body { padding-right: 46%; }
  .pxbt-ui { grid-template-columns: 1fr; }
  .pxbt-tabs { position: static; flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: thin; }
  .pxbt-group { display: none; }
  .pxbt-tab { flex: none; border: 1px solid #e1dccf; padding: 10px 14px; }
  .pxbt-tab small { display: none; }
  .pxbt-tab[aria-selected="true"] { box-shadow: none; background: var(--pxbd-ink); border-color: var(--pxbd-ink); }
  .pxbt-tab[aria-selected="true"] b { color: #fff; }
}
@media (max-width: 575.98px) {
  .pxbh-proof { gap: 16px 24px; }
  .pxbh-proof b { font-size: 1.8rem; }
  .pxbh-roles { padding: 18px 12px 14px; }
  .pxbh-role { grid-template-columns: 40px 1fr; padding: 12px 10px; }
  .pxbh-role__ico { width: 40px; height: 40px; font-size: 16px; }
  .pxbm-photo { height: 220px; }
  .pxbm-float { position: relative; top: auto; right: auto; width: auto; max-width: 250px; margin: -100px auto 0; transform: none; }
  .pxbm-panel:hover .pxbm-float { transform: none; }
  .pxbm-body { padding: 24px 22px 28px; }
  .pxbv-grid { grid-template-columns: 1fr; }
  .pxbt-bar span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pxbh-live i { animation: none; }
  .pxbh-btn, .pxbh-role, .pxbm-float, .pxbv-grid li { transition: none; }
}
