/* AmarSofor listing details — dark landing chrome (matches search) */
:root {
  --primary: #ff5a00;
  --as-orange: #ff5a00;
  --as-orange-dark: #e04e00;
  --as-ink: #f7f7f5;
  --as-muted: #a8a8aa;
  --as-line: rgba(255, 255, 255, 0.11);
  --as-soft: #101010;
  --as-card: #141414;
  --as-panel2: #1a1a1a;
  --as-shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
  --as-font: "Instrument Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  --as-display: "Helvetica Neue", Arial, sans-serif;
  --as-max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.as-listing-page {
  margin: 0;
  font-family: var(--as-font);
  color: var(--as-ink);
  background: #0a0a0b;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.top {
  height: 34px;
  padding: 0 max(4vw, 24px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #0a0a0b, #0a0a0b 56%, #17100d);
  color: #d0d0d0;
  font-size: 12px;
  font-weight: 750;
  border-bottom: 1px solid var(--as-line);
}

body.as-listing-page > header {
  height: 82px;
  padding: 0 max(4vw, 24px);
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(10, 10, 11, 0.94);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--as-line);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
  transition: gap 0.2s ease;
}

body.as-listing-page > header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  flex: none;
}

body.as-listing-page > header .logo i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, #fb520c, #ea580c 55%, #c2410c);
  color: #fff;
  font: 800 21px Georgia, serif;
  font-style: normal;
  box-shadow: 0 10px 24px rgba(251, 82, 12, 0.3);
}

body.as-listing-page > header .logo b {
  font-size: 24px;
  letter-spacing: -1px;
  font-weight: 800;
}

body.as-listing-page > header .logo b span {
  color: var(--primary);
}

body.as-listing-page > header nav {
  margin-right: auto;
  flex: none;
}

body.as-listing-page > header .exploreBtn,
body.as-listing-page > header .headerActions .headerLink,
body.as-listing-page > header .headerActions .listBtn,
body.as-listing-page > header .headerActions .signup {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #d4d8e0;
  border: 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

body.as-listing-page > header .exploreBtn:hover,
body.as-listing-page > header .headerActions .headerLink:hover,
body.as-listing-page > header .headerActions .listBtn:hover,
body.as-listing-page > header .headerActions .signup:hover {
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
}

body.as-listing-page > header .headerActions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
  margin-left: auto;
}

body.as-listing-page > header .headerActions .signin {
  display: inline-flex;
  align-items: center;
  background: #ff5a00;
  color: #fff;
  border: 0;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(255, 90, 0, 0.24);
}

body.as-listing-page > header .headerActions .signin:hover {
  background: #ff6a1a;
  color: #fff;
}

body.as-listing-page > header .headerActions [hidden] {
  display: none !important;
}

/* Compact search lives inside the sticky header — always centered */
.as-header-search {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(720px, calc(100% - 420px));
  min-width: 0;
  z-index: 1;
  pointer-events: auto;
}

.as-header-search[hidden] {
  display: none !important;
}

body.as-listing-page > header.is-search-visible .as-header-search {
  display: block;
}

/* Only tuck Explore — right menus (List / Support / auth) stay visible */
body.as-listing-page > header.is-search-visible nav {
  visibility: hidden;
  pointer-events: none;
}

body.as-listing-page > header.is-search-visible .headerActions {
  margin-left: auto;
  position: relative;
  z-index: 2;
}

body.as-listing-page > header.is-search-visible .logo {
  position: relative;
  z-index: 2;
}

.as-header-search-inner {
  height: 52px;
  display: grid;
  grid-template-columns: 84px minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 0.95fr) 92px;
  align-items: center;
  border: 1px solid var(--as-line);
  border-radius: 14px;
  background: #111;
  overflow: hidden;
}

.as-header-search-inner button {
  height: 100%;
  border: 0;
  border-right: 1px solid var(--as-line);
  background: #111;
  color: #fff;
  cursor: pointer;
  font: inherit;
}

.as-header-search-inner button:last-child {
  border-right: 0;
}

.as-return-service {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 8px;
  font-weight: 850;
  color: #ff8a3a !important;
  font-size: 13px;
}

.as-return-field {
  min-width: 0;
  padding: 0 12px;
  text-align: left;
}

.as-return-field small,
.as-return-field b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.as-return-field small {
  font-size: 9px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #9ca3af;
  font-weight: 800;
}

.as-return-field b {
  font-size: 12px;
  color: #f8fafc;
  font-weight: 750;
}

.as-return-go {
  margin: 5px;
  height: 42px !important;
  border: 0 !important;
  border-radius: 10px;
  background: linear-gradient(135deg, #fb520c, #ea580c) !important;
  color: #fff !important;
  font-weight: 900;
  font-size: 13px;
  box-shadow: 0 8px 18px rgba(251, 82, 12, 0.3);
}

/* Keep full search engine mounted for field option logic; not shown as a sheet */
.as-header-search-engine {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  pointer-events: none;
}

/* Header field popovers (appended to body) */
body.as-listing-page .fieldPopover.is-fixed {
  position: fixed !important;
  z-index: 120;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #121212;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
}

body.as-listing-page .fieldPopover.is-fixed::-webkit-scrollbar {
  width: 8px;
}

body.as-listing-page .fieldPopover.is-fixed::-webkit-scrollbar-track {
  background: transparent;
}

body.as-listing-page .fieldPopover.is-fixed::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

body.as-listing-page .fieldPopover.is-fixed .locationOption {
  appearance: none;
  -webkit-appearance: none;
  border: 0 !important;
  border-radius: 10px;
  box-shadow: none;
  outline: none;
  background: transparent;
}

body.as-listing-page .fieldPopover.is-fixed .locationOption:hover,
body.as-listing-page .fieldPopover.is-fixed .locationOption:focus-visible {
  background: rgba(255, 90, 0, 0.12);
  color: #ffb089;
  outline: none;
}

.as-shell {
  max-width: var(--as-max);
  margin: 0 auto;
  padding: 1.25rem max(4vw, 24px) 3rem;
}

.as-loading {
  color: var(--as-muted);
  padding: 2.5rem 0;
  text-align: center;
}

.as-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  color: var(--as-muted);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.as-crumb a {
  color: var(--as-orange);
  font-weight: 600;
}

.as-status {
  background: var(--as-card);
  border: 1px solid var(--as-line);
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--as-shadow);
}

.as-status.error {
  border-color: rgba(248, 113, 113, 0.45);
  color: #fecaca;
}

.as-status a {
  color: var(--as-orange);
  font-weight: 700;
}

.as-availability {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) repeat(3, minmax(120px, 1fr)) auto;
  gap: 0.65rem;
  align-items: stretch;
  margin: 0 0 1.1rem;
  padding: 0.75rem;
  border: 1px solid var(--as-line);
  border-radius: 16px;
  background: #171717;
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
}

.as-availability-field {
  min-width: 0;
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 10px;
  background: #202020;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.as-availability-field:hover,
.as-availability-field:focus-visible {
  border-color: rgba(255,90,0,.65);
  outline: none;
}

.as-availability-field small,
.as-availability-field strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.as-availability-field small {
  margin-bottom: 0.2rem;
  color: var(--as-muted);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.as-availability-field strong {
  font-size: 0.9rem;
}

.as-availability-cta {
  min-width: 174px;
  padding: 0.8rem 1.1rem;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #ff6a12, #ff4e00);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(255,90,0,.22);
}

.as-availability-cta:hover {
  filter: brightness(1.06);
}

/* Photo mosaic */
.as-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.4rem;
  height: min(52vw, 420px);
  border-radius: 18px;
  overflow: hidden;
  background: #0f0f10;
}

.as-gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  cursor: pointer;
  border: 0;
  padding: 0;
  background: #1a1a1a;
}

.as-gallery-item:first-child {
  grid-row: 1 / span 2;
}

.as-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.as-gallery-item:hover img {
  transform: scale(1.04);
}

.as-gallery-more {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.78);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
}

.as-gallery-more:hover {
  background: rgba(10, 10, 11, 0.92);
}

.as-gallery-fallback {
  height: min(42vw, 280px);
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--as-muted);
  font-weight: 600;
  background:
    linear-gradient(135deg, rgba(255, 90, 0, 0.28), transparent 55%),
    linear-gradient(160deg, #1a1a1a, #0a0a0b);
}

/* Sticky section tabs */
.as-tabs-wrap {
  position: sticky;
  top: 82px;
  z-index: 40;
  margin: 0.9rem 0 0;
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--as-line);
}

.as-tabs {
  display: flex;
  gap: 0.15rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.15rem 0;
}

.as-tabs::-webkit-scrollbar {
  display: none;
}

.as-tabs a {
  flex: 0 0 auto;
  padding: 0.85rem 1rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--as-muted);
  border-bottom: 2px solid transparent;
}

.as-tabs a:hover,
.as-tabs a.is-active {
  color: #fff;
  border-bottom-color: var(--as-orange);
}

/* Layout: content + sticky book */
.as-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.25rem;
}

.as-main > section {
  scroll-margin-top: 160px;
}

.as-panel {
  background: var(--as-card);
  border: 1px solid var(--as-line);
  border-radius: 14px;
  padding: 1.35rem 1.4rem;
  box-shadow: var(--as-shadow);
  margin-bottom: 1rem;
}

.as-title {
  margin: 0;
  font-family: var(--as-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}

.as-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
  margin-top: 0.75rem;
}

.as-stars {
  color: var(--as-orange);
  letter-spacing: 0.05em;
  font-size: 0.95rem;
}

.as-dest {
  color: var(--as-muted);
  font-size: 0.95rem;
}

.as-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
}

.as-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.55rem;
  border-radius: 10px;
  background: #166534;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}

.as-score-label {
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
}

.as-score-sub {
  color: var(--as-muted);
  font-size: 0.88rem;
}

.as-section-title {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.as-amenity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.as-amenity-grid li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.35;
  color: #e8e8e6;
}

.as-amenity-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  margin-top: 0.1rem;
  color: var(--as-orange);
}

.as-amenity-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.as-amenity-extra[hidden] {
  display: none !important;
}

.as-prose {
  color: #c8c8c6;
  line-height: 1.65;
  font-size: 0.98rem;
  white-space: pre-wrap;
}

.as-prose.clamp {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.as-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.85rem;
  border: 0;
  background: none;
  color: var(--as-orange);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  padding: 0;
}

.as-link-btn:hover {
  color: #ff7a33;
  text-decoration: underline;
}

.as-link-btn:disabled {
  color: var(--as-muted);
  cursor: default;
  text-decoration: none;
}

.as-room-list {
  display: grid;
  gap: 0.85rem;
}

.as-room-card {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--as-line);
  border-radius: 12px;
  padding: 0.85rem;
  background: var(--as-soft);
}

.as-room-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: #fff;
}

.as-room-card p {
  margin: 0;
  color: var(--as-muted);
  font-size: 0.88rem;
}

.as-room-price {
  font-weight: 800;
  font-size: 1.1rem;
  white-space: nowrap;
  color: #fff;
}

.as-policy-list {
  display: grid;
  gap: 0.65rem;
}

.as-policy-item {
  border: 1px solid var(--as-line);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  background: var(--as-soft);
}

.as-policy-item strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #fff;
}

.as-policy-item span {
  color: var(--as-muted);
  font-size: 0.92rem;
}

.as-place-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.as-place-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--as-line);
  color: #e0e0de;
}

.as-place-list li:last-child {
  border-bottom: 0;
}

.as-map-card {
  border: 1px solid var(--as-line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--as-soft);
}

.as-map-visual {
  height: 140px;
  background:
    radial-gradient(circle at 55% 48%, var(--as-orange) 0 8px, transparent 9px),
    linear-gradient(180deg, #1f1814, #12100e);
  position: relative;
}

.as-map-visual::after {
  content: "";
  position: absolute;
  inset: 18% 12%;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 40% 60% 55% 45%;
}

.as-map-body {
  padding: 0.85rem 1rem 1rem;
  background: var(--as-card);
}

.as-map-body p {
  margin: 0 0 0.45rem;
  font-size: 0.9rem;
  color: var(--as-muted);
}

/* Sticky booking card */
.as-book {
  position: sticky;
  top: 160px;
  background: #202020;
  border: 1px solid rgba(255, 90, 0, 0.32);
  border-radius: 18px;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255,255,255,.04);
}

.as-book > * {
  position: relative;
  z-index: 1;
}

.as-book-kicker {
  display: block;
  clear: both;
  margin: 0 0 0.55rem;
  color: #ff8a3a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.as-book-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
  min-height: 2.8rem;
}

.as-book-price strong {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.as-book-price span {
  color: var(--as-muted);
  font-size: 0.9rem;
}

.as-book-strike {
  color: var(--as-muted);
  text-decoration: line-through;
  font-size: 0.95rem;
}

.as-fields {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.as-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--as-muted);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.as-field input,
.as-field select,
.as-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  background: #0f0f10;
  color: var(--as-ink);
  color-scheme: dark;
}

.as-field input:focus,
.as-field select:focus,
.as-field textarea:focus {
  outline: 2px solid rgba(255, 90, 0, 0.35);
  border-color: var(--as-orange);
}

.as-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.as-book-cta {
  width: 100%;
  min-height: 52px;
  margin-top: 1rem;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff6a12, #ff4e00);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.9rem 1rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(255, 90, 0, 0.24);
}

.as-book-cta:hover {
  background: #ff6a1a;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(255, 90, 0, 0.3);
}

.as-book-reassurance {
  margin: 0.7rem 0 0;
  color: #c9c9c7;
  font-size: 0.78rem;
  line-height: 1.4;
  text-align: center;
}

.as-book-cta-secondary {
  display: block;
  width: 100%;
  margin-top: 0.65rem;
  border-radius: 12px;
  background: transparent;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.82rem 1rem;
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.as-book-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
}

.as-book-cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.as-quote {
  margin-top: 0.85rem;
  border-top: 1px solid var(--as-line);
  padding-top: 0.85rem;
  font-size: 0.9rem;
  color: #c8c8c6;
  display: grid;
  gap: 0.35rem;
}

.as-quote strong {
  color: #fff;
}

.as-quote .err {
  color: #fca5a5;
}

.as-vendor {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  color: var(--as-muted);
}

/* Lightbox */
.as-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.as-lightbox.is-open {
  display: flex;
}

.as-lightbox img {
  max-width: min(1100px, 100%);
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
}

.as-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  font-size: 1.4rem;
  cursor: pointer;
}

.as-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  font-size: 1.4rem;
  cursor: pointer;
}

.as-lightbox-nav.prev {
  left: 1rem;
}

.as-lightbox-nav.next {
  right: 1rem;
}

.as-footer {
  border-top: 1px solid var(--as-line);
  background: #080808;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 2rem;
  padding: 2.5rem max(4vw, 24px) 1.25rem;
}

.as-footer-inner {
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.as-footer h4 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.as-footer a {
  display: block;
  margin: 0.4rem 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.as-footer a:hover {
  color: #fff;
}

.as-footer-copy {
  max-width: none;
  margin: 1.75rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
}

@media (max-width: 1100px) {
  .as-header-search-inner {
    grid-template-columns: 78px minmax(0, 1.4fr) minmax(0, 1fr) 88px;
  }

  .as-return-field[data-return-field="guests"] {
    display: none;
  }
}

@media (max-width: 960px) {
  .as-availability {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .as-availability-cta {
    grid-column: 1 / -1;
  }

  .as-layout {
    grid-template-columns: 1fr;
  }

  .as-book {
    position: static;
    order: -1;
  }

  .as-gallery {
    height: 280px;
  }

  .as-room-card {
    grid-template-columns: 1fr;
  }

  .as-footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body.as-listing-page > header .logo b {
    display: none;
  }

  body.as-listing-page > header .headerActions .headerLink:not(#headerMyTrips),
  body.as-listing-page > header .headerActions .listBtn {
    display: none;
  }

  body.as-listing-page > header .exploreBtn {
    display: none;
  }

  body.as-listing-page > header.is-search-visible {
    gap: 10px;
  }

  .as-header-search {
    width: min(480px, calc(100% - 200px));
  }

  .as-header-search-inner {
    height: 46px;
    display: flex;
    border-radius: 12px;
  }

  .as-return-service,
  .as-return-field:nth-of-type(n + 2) {
    display: none;
  }

  .as-return-field {
    flex: 1;
    border: 0;
    padding-left: 14px;
  }

  .as-return-field small {
    display: none;
  }

  .as-return-field b {
    font-size: 13px;
  }

  .as-return-go {
    flex: 0 0 auto;
    min-width: 84px;
    height: 36px !important;
    margin: 5px;
  }
}

@media (max-width: 640px) {
  .as-availability {
    grid-template-columns: 1fr;
  }

  .as-availability-cta {
    grid-column: auto;
    min-height: 50px;
  }

  .as-gallery {
    grid-template-columns: 1fr 1fr;
    height: 240px;
  }

  .as-gallery-item:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .as-gallery-item:nth-child(n + 4) {
    display: none;
  }

  .as-amenity-grid {
    grid-template-columns: 1fr;
  }

  .as-dates {
    grid-template-columns: 1fr;
  }
}
