/**
 * Zemen Booking — readability fixes (light cards + dark-mode theme mismatch)
 */

/* Light pages: ensure body copy is never white-on-white */
html:not(.dark-mode) main,
html:not(.dark-mode) .modal-body {
  color: #747579;
}

html:not(.dark-mode) .card .card-title,
html:not(.dark-mode) .card h1,
html:not(.dark-mode) .card h2,
html:not(.dark-mode) .card h3,
html:not(.dark-mode) .card h4,
html:not(.dark-mode) .card h5,
html:not(.dark-mode) .card h6 {
  color: #0b0a12;
}

html:not(.dark-mode) .card p,
html:not(.dark-mode) .card small,
html:not(.dark-mode) .card .nav-item,
html:not(.dark-mode) .lead {
  color: #747579;
}

/* Dark mode ON but card surface is still white — force dark readable text */
html.dark-mode .card:not(.bg-dark):not(.bg-primary):not(.text-white) .card-body,
html.dark-mode .card:not(.bg-dark):not(.bg-primary):not(.text-white) {
  color: #747579 !important;
}

html.dark-mode .card:not(.bg-dark):not(.bg-primary):not(.text-white) .card-title,
html.dark-mode .card:not(.bg-dark):not(.bg-primary):not(.text-white) h1,
html.dark-mode .card:not(.bg-dark):not(.bg-primary):not(.text-white) h2,
html.dark-mode .card:not(.bg-dark):not(.bg-primary):not(.text-white) h3,
html.dark-mode .card:not(.bg-dark):not(.bg-primary):not(.text-white) h4,
html.dark-mode .card:not(.bg-dark):not(.bg-primary):not(.text-white) h5,
html.dark-mode .card:not(.bg-dark):not(.bg-primary):not(.text-white) h6 {
  color: #0b0a12 !important;
}

html.dark-mode .card:not(.bg-dark):not(.bg-primary):not(.text-white) p,
html.dark-mode .card:not(.bg-dark):not(.bg-primary):not(.text-white) small {
  color: #747579 !important;
}

html.dark-mode .modal-content .modal-body {
  color: #747579;
}

html.dark-mode .modal-content .modal-body .modal-title,
html.dark-mode .modal-content .modal-body h4,
html.dark-mode .modal-content .modal-body h5,
html.dark-mode .modal-content .modal-body h6 {
  color: #0b0a12;
}

/* bg-mode overlays on offer cards */
html.dark-mode .bg-mode.shadow {
  color: #747579;
}

html.dark-mode .bg-mode.shadow .card-title a {
  color: #0b0a12 !important;
}

html.dark-mode .bg-mode.shadow small {
  color: #747579 !important;
}

/* Sidebar promo / deal widgets */
.zb-readable-card,
.zb-readable-card .card-title,
.zb-readable-card p,
.zb-readable-card small {
  color: #747579 !important;
}

.zb-readable-card .card-title a {
  color: #0b0a12 !important;
}

/* Footer payment partner badges */
.payment-partner-logos .payment-logo {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 0.35rem;
}
.payment-logo-debopay { background: linear-gradient(135deg, #1e3a8a, #2563eb); color: #fff; }
.payment-logo-chapa { background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; }
.payment-logo-cbe { background: linear-gradient(135deg, #065f46, #059669); color: #fff; }
.payment-logo-awash { background: linear-gradient(135deg, #b45309, #d97706); color: #fff; }
.payment-logo-dashen { background: linear-gradient(135deg, #0369a1, #0ea5e9); color: #fff; }
.payment-logo-abyssinia { background: linear-gradient(135deg, #be123c, #e11d48); color: #fff; }
.payment-logo-telebirr { background: linear-gradient(135deg, #0f766e, #14b8a6); color: #fff; }

/* Auth pages — readable labels on bg-mode cards */
html:not(.dark-mode) .auth-page .bg-mode,
html.dark-mode .auth-page .bg-mode {
  color: #747579;
}
html:not(.dark-mode) .auth-page .bg-mode h1,
html:not(.dark-mode) .auth-page .bg-mode .form-label,
html.dark-mode .auth-page .bg-mode h1,
html.dark-mode .auth-page .bg-mode .form-label {
  color: #0b0a12 !important;
}

/* Hotel register hero: override global h1 gray with white */
.register-hero,
.register-hero h1,
.register-hero h1 i,
.register-hero p,
.register-hero .lead {
  color: #fff !important;
}

/* ── Mobile header: one row (logo | bell + user + togglers) ── */
@media (max-width: 1199.98px) {
  header.header-sticky .navbar > .container {
    flex-wrap: wrap;
    align-items: center;
  }

  header.header-sticky .navbar .navbar-brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 10.75rem);
    margin-right: 0.25rem;
  }

  header.header-sticky .navbar .navbar-brand-text {
    font-size: 1rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  header.header-sticky .navbar .zb-header-actions {
    flex: 0 0 auto;
    order: 2;
    margin-left: auto !important;
    gap: 0.1rem;
  }

  header.header-sticky .navbar #navbarCollapse,
  header.header-sticky .navbar #navbarCategoryCollapse {
    order: 10;
    flex-basis: 100%;
  }

  header.header-sticky .navbar .zb-header-utilities {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
  }

  header.header-sticky .navbar .zb-header-utilities > .nav-item {
    position: relative;
    margin: 0 !important;
  }

  header.header-sticky .navbar .zb-header-utilities .notif-badge {
    top: 0.15rem;
    right: 0.15rem;
  }

  /* Dark mode row inside mobile menu, below languages */
  header.header-sticky .navbar .zb-nav-darkmode {
    border-top: 1px solid var(--bs-border-color);
    margin-top: 0.35rem;
    padding-top: 0.15rem;
    width: 100%;
  }

  header.header-sticky .navbar .zb-nav-darkmode .modeswitch-mini-item {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  /* Header notification & profile dropdowns — keep inside viewport on mobile/tablet */
  header.header-sticky .navbar > .container {
    overflow: visible;
  }

  header.header-sticky .navbar .zb-header-utilities {
    overflow: visible;
    position: relative;
    z-index: 1040;
  }

  header.header-sticky .navbar .zb-header-utilities > .nav-item.dropdown {
    position: relative;
  }

  header.header-sticky .navbar .zb-header-utilities .zb-header-dropdown-menu,
  header.header-sticky .navbar .zb-header-utilities .zb-header-dropdown-menu.show,
  header.header-sticky .navbar .zb-header-utilities .dropdown-menu.dropdown-menu-end.show {
    position: fixed !important;
    top: var(--zb-header-dropdown-top, 4.25rem) !important;
    right: 0.75rem !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 !important;
    max-width: calc(100vw - 1.5rem);
    min-width: min(17rem, calc(100vw - 1.5rem));
    z-index: 1055;
  }

  header.header-sticky .navbar .zb-header-utilities .dropdown-menu-size-md {
    margin-right: 0 !important;
  }
}

/* ── Booking / Trip style dynamic hotel cards ── */
.zb-hotel-card {
  transition: transform .2s ease, box-shadow .2s ease;
  border-radius: 12px;
}
.zb-hotel-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, .1) !important;
}
.zb-hotel-card-wrap {
  display: flex;
}
.zb-hotel-card-wrap .zb-hotel-card--grid {
  height: 100% !important;
  width: 100%;
  display: flex !important;
  flex-direction: column !important;
}
.zb-hotel-card-wrap .zb-hotel-card--compact {
  height: 100% !important;
}
.zb-hotel-card--grid .card-body,
.zb-hotel-card__body {
  padding: .65rem .75rem .7rem !important;
  gap: .35rem !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
}
.zb-hotel-card--grid .zb-price-block {
  margin-top: auto !important;
  margin-bottom: 0 !important;
}
.zb-hotel-card--grid .zb-hotel-card__desc {
  min-height: 0;
  margin: .1rem 0 0 !important;
  line-height: 1.3 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.zb-hotel-card--grid .zb-hotel-card__amenities {
  min-height: 0;
  margin: 0 !important;
  line-height: 1.25;
}
.zb-hotel-card--grid .zb-card-perks {
  min-height: 2.4rem;
  margin: 0 !important;
}
.zb-hotel-card--compact .card-body {
  flex: 1 1 auto !important;
}
.zb-hotel-card--grid .card-title {
  font-size: .98rem !important;
  line-height: 1.25 !important;
  margin-bottom: .1rem !important;
}
.zb-hotel-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2e8f0;
  flex: 0 0 auto;
}
.home-hotel-section .row {
  --bs-gutter-y: 1rem !important;
}
.zb-score-meta {
  line-height: 1.15 !important;
}
.zb-score-meta .small {
  font-size: .72rem !important;
}
.zb-price-block small {
  line-height: 1.2;
}
.zb-property-types {
  display: flex;
  flex-wrap: nowrap;
  gap: .85rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: .35rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.zb-best-rated-scroll {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: .25rem .15rem .65rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  /* Hide scrollbar; keep swipe / drag scroll */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.zb-best-rated-scroll.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.zb-best-rated-scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.zb-best-rated-scroll > .zb-hotel-card-wrap {
  flex: 0 0 min(248px, 72vw);
  max-width: min(248px, 72vw);
  scroll-snap-align: start;
  display: flex;
  align-self: stretch;
}
.zb-best-rated-scroll .zb-hotel-card,
.zb-best-rated-scroll .zb-hotel-card--compact {
  width: 100%;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
/* Equal image height across Best rated cards */
.zb-best-rated-scroll .zb-hotel-card__media {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  overflow: hidden;
  background: #e8edf3;
}
.zb-best-rated-scroll .zb-hotel-card__media .zb-hotel-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.zb-best-rated-scroll .zb-hotel-card--compact .card-body,
.zb-best-rated-scroll .zb-hotel-card__body {
  flex: 1 1 auto !important;
  gap: .35rem !important;
}
.zb-best-rated-scroll .zb-price-block {
  margin-top: auto !important;
}
.zb-best-rated-scroll .zb-card-perks {
  min-height: 2.4rem;
  margin: 0 !important;
}
.zb-best-rated-scroll .zb-score-meta {
  min-height: 3.1rem;
}
.zb-hscroll-wrap {
  position: relative;
}
.zb-hscroll-fade--end {
  pointer-events: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: .65rem;
  width: 48px;
  background: linear-gradient(90deg, rgba(255,255,255,0), #fff 85%);
  z-index: 1;
}
.zb-hscroll-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: .92;
}
.zb-hscroll-btn:hover { opacity: 1; }
.zb-hscroll-btn.is-disabled,
.zb-hscroll-btn:disabled {
  opacity: .35;
  cursor: default;
  pointer-events: none;
}
.zb-hscroll-btn--prev { left: .25rem; }
.zb-hscroll-btn--next { right: .25rem; }
.zb-hscroll-hint { opacity: .75; }
@media (max-width: 575.98px) {
  .zb-hscroll-btn { display: none; }
}
.zb-property-types.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.zb-property-types::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.zb-property-type {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .45rem;
  padding: .9rem .95rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, box-shadow .2s, background .2s;
  min-width: 148px;
  max-width: 168px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-height: 108px;
  cursor: pointer;
  user-select: none;
}
.zb-property-type.is-active {
  border-color: #6777ef;
  box-shadow: 0 0 0 2px rgba(103,119,239,.2);
  background: #f8f9ff;
}
.zb-property-type__img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  background: #f1f5f9;
}
.zb-property-type__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #475569;
  font-size: 1.15rem;
}
.zb-hotel-card--grid .card-title {
  font-size: .98rem;
  line-height: 1.25;
  margin-bottom: .1rem !important;
}
.zb-hotel-card--grid .zb-hotel-card__desc {
  margin: .1rem 0 0 !important;
  margin-bottom: 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}
.zb-hotel-card--grid .zb-card-perks {
  margin-top: .15rem !important;
}
.zb-hotel-card--grid .zb-card-perks li {
  line-height: 1.3;
  margin: 0;
}
.zb-hotel-card--grid .zb-price-block {
  margin-top: auto !important;
  padding-top: 0 !important;
}
.zb-hotel-card--compact .zb-price-block {
  margin-top: auto !important;
}
.zb-hotel-card__media {
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  aspect-ratio: 16 / 10;
  background: #e8edf3;
}
.zb-hotel-card__media .zb-hotel-card__img,
.zb-hotel-card--grid .zb-hotel-card__img {
  height: 100% !important;
  width: 100%;
  object-fit: cover;
}
.zb-hotel-card__img {
  display: block;
  background: #e8edf3;
  transition: opacity .35s ease, transform .35s ease;
}
.zb-hotel-card:hover .zb-hotel-card__img {
  transform: scale(1.04);
}
.zb-lazy-img.is-loading {
  opacity: .55;
  filter: blur(6px);
}
.zb-lazy-img.is-loaded {
  opacity: 1;
  filter: none;
}
.zb-hotel-card__ribbon {
  position: absolute;
  top: .65rem;
  left: .65rem;
  z-index: 2;
}
.zb-hotel-card__city {
  position: absolute;
  left: .65rem;
  bottom: .65rem;
  z-index: 2;
}
.zb-hotel-card__wish {
  position: absolute;
  top: .65rem;
  right: .65rem;
  z-index: 3;
  width: 2.1rem;
  height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.zb-hotel-card__stars {
  font-size: .72rem;
  letter-spacing: .02em;
  color: #f6b100;
}
.zb-hotel-card__score .badge {
  font-size: .95rem;
  min-width: 2.25rem;
}
.zb-score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.3rem;
  height: 2.05rem;
  padding: 0 .45rem;
  background: #003b95;
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  border-radius: .5rem .5rem .5rem 0;
}
.zb-score-meta {
  line-height: 1.15;
}
.zb-hotel-card__desc {
  line-height: 1.35;
}
.zb-card-perks li {
  line-height: 1.4;
}
.zb-hotel-card__amenities {
  font-weight: 500;
  line-height: 1.35;
}
.zb-scarce {
  color: #b45309 !important;
  font-weight: 600;
}
.zb-price-display .zb-price-original {
  color: #6c757d;
  text-decoration: line-through;
  font-size: .78rem;
  margin-right: .3rem;
  font-weight: 500;
}
.zb-price-display .zb-price-deal {
  font-weight: 800;
  font-size: 1.05rem;
  color: #008009;
  letter-spacing: -.01em;
}
.zb-price-block {
  margin-top: auto;
  padding: .55rem .65rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  text-align: right;
}
.zb-price-block__row {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .25rem .4rem;
}
.zb-price-block__label {
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #64748b;
}
.zb-price-block__unit {
  display: block;
  margin-top: .1rem;
  font-size: .68rem;
  color: #94a3b8;
  line-height: 1.2;
}
.zb-score-badge--empty {
  background: #64748b !important;
}
.zb-score-meta {
  min-height: 3.1rem;
}
.zb-card-perks li {
  line-height: 1.3;
  margin: 0;
}
.zb-card-perks--empty {
  min-height: 2.4rem;
}
.zb-hotel-card--horizontal .zb-hotel-card__img {
  border-radius: .5rem;
}
.zb-property-type:hover {
  border-color: #003b95;
  box-shadow: 0 10px 24px rgba(15,23,42,.08);
  transform: translateY(-2px);
  color: inherit;
}
.zb-property-type i {
  font-size: 1.45rem;
  color: #003b95;
}
.zb-property-type strong {
  font-size: .95rem;
}
.zb-property-type span {
  font-size: .8rem;
  color: #64748b;
}
.zb-promo-card .zb-promo-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e8edf3;
}
.zb-promo-card .zb-promo-media img,
.zb-promo-card .zb-lazy-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.zb-promo-card .zb-promo-body {
  padding: .85rem 1rem 1rem;
}
.zb-promo-card .card-title {
  font-size: 1rem;
  margin-bottom: .25rem !important;
}

/* Override theme bug: .text-muted was near-white and washed out UI */
.text-muted,
.zb-hotel-card .text-muted,
.zb-readable-card .text-muted {
  color: #6c757d !important;
}
.zb-hotel-card {
  border-radius: 14px !important;
  transition: transform .18s ease, box-shadow .18s ease;
}
.zb-hotel-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .1) !important;
}
.zb-hotel-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef2f7;
}
.zb-hotel-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Amenity chips — homepage/search cards */
.zb-amenities-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: .45rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  padding: .35rem .15rem .55rem;
  margin: .15rem -.15rem 0;
  max-width: 100%;
  min-width: 0;
}
.zb-amenities-scroll::-webkit-scrollbar {
  height: 5px;
}
.zb-amenities-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.zb-amenities-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.zb-amenities-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
  margin: 0;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
}
.zb-amenities-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: .35rem;
  margin: 0;
  max-width: 100%;
  min-width: 0;
  min-height: 1.85rem;
  overflow: hidden;
}
.zb-amenities-row--empty {
  visibility: hidden;
}
.zb-amenities-row .zb-amenity-chip {
  max-width: calc(50% - .5rem);
  min-width: 0;
}
.zb-amenities-row .zb-amenity-chip__label {
  max-width: 5.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zb-amenities-wrap .zb-amenity-chip {
  padding: .2rem .45rem;
  font-size: .68rem;
}
.zb-amenities-wrap .zb-amenity-chip--tile {
  padding: .25rem .45rem .25rem .25rem;
  border-radius: 10px;
}
.zb-amenities-wrap .zb-amenity-chip__img {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 7px;
}
.zb-amenities-wrap .zb-amenity-chip__label {
  max-width: 5.5rem;
  font-size: .68rem;
}
.zb-amenity-more {
  font-size: .72rem;
  font-weight: 700;
  color: #0d6efd;
  text-decoration: none;
  white-space: nowrap;
  flex: 0 0 auto;
}
.zb-amenity-more:hover {
  text-decoration: underline;
}

/* Let amenity row stay tidy; keep image crop on media only */
.zb-hotel-card--grid.overflow-hidden,
.zb-hotel-card.overflow-hidden {
  overflow: visible !important;
}
.zb-hotel-card--grid .zb-hotel-card__media,
.zb-hotel-card .zb-hotel-card__media {
  overflow: hidden;
}
.zb-hotel-card--grid .card-body,
.zb-hotel-card .card-body {
  overflow: visible;
  min-width: 0;
}
.zb-hotel-card--grid .zb-amenities-scroll,
.zb-hotel-card .zb-amenities-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
}
.zb-hotel-card--grid .zb-amenities-wrap,
.zb-hotel-card .zb-amenities-wrap,
.zb-hotel-card--grid .zb-amenities-row,
.zb-hotel-card .zb-amenities-row {
  overflow: hidden;
  max-height: none;
}
.zb-amenity-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  flex: 0 0 auto;
  padding: .28rem .55rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: .72rem;
  font-weight: 600;
  white-space: nowrap;
}
.zb-amenity-chip--tile {
  border-radius: 12px;
  padding: .4rem .65rem .4rem .4rem;
  background: #fff;
  border: 1px solid #e8eef5;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.zb-amenity-chip__img {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #ecfdf5;
  color: #0f766e;
}
.zb-amenity-chip__img i {
  font-size: .78rem;
  color: inherit;
}
.zb-amenity-chip__label {
  font-size: .72rem;
  font-weight: 600;
  color: #1e293b;
  max-width: 7.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zb-amenity-chip i {
  font-size: .7rem;
  color: #0f766e;
}

/* Hotel detail amenities — horizontal scroll (~6 visible) */
.hotel-amenities-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: .65rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding: .35rem .25rem .55rem;
  margin: 0;
}
.hotel-amenities-scroll::-webkit-scrollbar {
  height: 4px;
}
.hotel-amenities-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.hotel-amenities-scroll .amenity-tile {
  flex: 0 0 calc((100% - 3.25rem) / 6);
  min-width: 118px;
  max-width: 168px;
  padding: .65rem .75rem !important;
  gap: .45rem !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #eef2f7;
  border-radius: 14px;
  background: #fff;
}
.hotel-amenities-scroll .amenity-badge,
.hotel-amenities-scroll .amenity-badge--img {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hotel-amenities-scroll .amenity-label {
  font-size: .8rem !important;
  font-weight: 600;
  line-height: 1.25;
  color: #1e293b;
}
@media (max-width: 991.98px) {
  .hotel-amenities-scroll .amenity-tile {
    flex-basis: calc((100% - 1.95rem) / 4);
  }
}
@media (max-width: 575.98px) {
  .hotel-amenities-scroll .amenity-tile {
    flex-basis: calc((100% - .65rem) / 2);
  }
}

/* Booking payment amenity tiles */
.amenity-grid-horizontal .amenity-tile,
.amenity-tile-compact {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .55rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  min-height: 44px;
}
.amenity-grid-horizontal .amenity-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.amenity-grid-horizontal .amenity-label {
  font-size: .85rem;
  font-weight: 600;
  color: #0f172a;
}

/* FB-style scroll loader dots */
.zb-scroll-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.zb-scroll-dots {
  display: inline-flex;
  gap: .28rem;
  align-items: center;
}
.zb-scroll-dots span {
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: #6777ef;
  opacity: .35;
  animation: zbScrollDot 1s ease-in-out infinite;
}
.zb-scroll-dots span:nth-child(2) { animation-delay: .15s; }
.zb-scroll-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes zbScrollDot {
  0%, 80%, 100% { opacity: .3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

/* Hotel detail — map / street / wishlist / share actions */
.hotel-detail-page .hotel-detail-titlebar {
  width: 100%;
}
.hotel-detail-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: .55rem;
  flex-shrink: 0;
}
.hotel-detail-actions__maps {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: .4rem;
  min-width: 0;
}
.hotel-detail-actions__social {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: .4rem;
}
.hotel-detail-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  margin: 0;
  padding: .55rem .9rem;
  border: 0;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: .82rem;
  font-weight: 650;
  line-height: 1.1;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .18);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.hotel-detail-chip:hover,
.hotel-detail-chip:focus-visible {
  background: #1e293b;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, .22);
}
.hotel-detail-chip--ghost {
  background: #fff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
}
.hotel-detail-chip--ghost:hover,
.hotel-detail-chip--ghost:focus-visible {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
}
.hotel-detail-chip i {
  font-size: .95rem;
  line-height: 1;
}
.hotel-detail-chip__short {
  display: none;
}
.hotel-detail-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
  text-decoration: none !important;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.hotel-detail-icon-btn:hover,
.hotel-detail-icon-btn:focus-visible {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}
.hotel-detail-icon-btn .fa-heart.text-danger,
.hotel-detail-icon-btn .fa-solid.fa-heart {
  color: #e11d48 !important;
}

@media (max-width: 991.98px) {
  .hotel-detail-page .hotel-detail-titlebar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .85rem;
  }
  .hotel-detail-page .hotel-detail-titlebar__info h1 {
    font-size: 1.45rem !important;
    line-height: 1.25;
  }
  .hotel-detail-actions {
    width: 100%;
    justify-content: space-between;
    gap: .5rem;
  }
  .hotel-detail-actions__maps {
    flex: 1 1 auto;
    min-width: 0;
  }
  .hotel-detail-chip {
    flex: 1 1 0;
    min-width: 0;
    padding: .62rem .55rem;
    font-size: .78rem;
    border-radius: 12px;
    box-shadow: none;
  }
  .hotel-detail-chip--ghost {
    box-shadow: none;
  }
  .hotel-detail-chip__full {
    display: none;
  }
  .hotel-detail-chip__short {
    display: inline;
  }
  .hotel-detail-actions__social {
    flex: 0 0 auto;
  }
  .hotel-detail-icon-btn {
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 12px;
  }
}

@media (max-width: 380px) {
  .hotel-detail-chip {
    padding: .58rem .4rem;
    gap: .28rem;
    font-size: .72rem;
  }
  .hotel-detail-icon-btn {
    width: 2.35rem;
    height: 2.35rem;
  }
}
