/* Oshom Bali Offers — demo replica
   Source reference: booking.oshombali.com/en/offers?hotel=OSHB
*/

:root {
  --bg: #ffffff;
  --cream: #f3efe6;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e5e5e5;
  --blue: #2f6fed;
  --accent: #c45c2a;
  --urgency: #d32f2f;
  --footer: #000000;
  --footer-text: #e8e3d3;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  --max: 1120px;
  --font: "DM Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.btn:hover {
  opacity: 0.9;
}

.btn--dark {
  background: #000;
  color: #fff;
}

.btn--outline {
  background: #fff;
  color: var(--blue);
  border-color: var(--blue);
}

.btn--cream {
  background: var(--footer-text);
  color: #000;
  border-radius: 4px;
  padding: 0.65rem 1.25rem;
}

.btn--block {
  width: 100%;
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
}

/* —— Promo banner —— */
.promo-banner {
  background: #000;
  color: #fff;
  font-size: 0.8125rem;
}

.promo-banner__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.promo-banner__label {
  font-weight: 600;
  white-space: nowrap;
}

.promo-banner__text {
  margin: 0;
  flex: 1;
  min-width: 200px;
  opacity: 0.95;
}

.promo-banner__text em {
  font-style: italic;
}

.promo-banner__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.promo-banner__cta {
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  padding-left: 0.75rem;
  font-weight: 600;
}

.promo-banner__close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0 0.25rem;
}

/* —— Top nav —— */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  background: #fff;
}

.top-nav__back {
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 500;
}

.top-nav__right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-nav__select {
  background: none;
  border: none;
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.25rem;
}

.top-nav__divider {
  width: 1px;
  height: 1.5rem;
  background: var(--line);
}

/* —— Hotel header —— */
.hotel-header {
  background: var(--cream);
}

.hotel-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 1.75rem;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  align-items: start;
}

.hotel-header__logo img {
  width: 140px;
  height: auto;
  margin: 0 auto;
}

.hotel-header__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.75rem;
}

.hotel-header__title-row h1 {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 700;
  line-height: 1.25;
}

.stars {
  color: #d4a017;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  line-height: 1.6;
}

.hotel-header__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border: 1px solid #333;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.tag--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.hotel-header__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.meta-item {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
}

.meta-item a {
  color: var(--ink);
}

.hotel-details-link {
  color: var(--blue);
  font-weight: 500;
  grid-column: 1 / -1;
}

/* —— Main —— */
.main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.25rem 4rem;
  position: relative;
}

/* —— Gallery —— */
.gallery {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  min-height: 340px;
}

.gallery__primary,
.gallery__cell {
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
}

.gallery__primary {
  min-height: 340px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.5rem;
}

.gallery__cell--last {
  position: relative;
}

.gallery__show-all {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
  background: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  box-shadow: var(--shadow);
}

.gallery__grid-icon {
  width: 12px;
  height: 12px;
  background:
    linear-gradient(#000, #000) 0 0 / 4px 4px no-repeat,
    linear-gradient(#000, #000) 6px 0 / 4px 4px no-repeat,
    linear-gradient(#000, #000) 0 6px / 4px 4px no-repeat,
    linear-gradient(#000, #000) 6px 6px / 4px 4px no-repeat;
}

/* —— Category tabs —— */
.category-tabs {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

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

.category-tabs__item {
  flex: 0 0 auto;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--muted);
  min-width: 100px;
}

.category-tabs__item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 0.7;
}

.category-tabs__item.is-active {
  color: var(--ink);
  border-bottom-color: #000;
}

.category-tabs__item.is-active img {
  opacity: 1;
}

/* —— Search bar —— */
.search-bar {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 1fr auto;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  overflow: hidden;
  background: #fff;
}

.search-bar__field {
  padding: 0.75rem 1rem;
  border-right: 1px solid var(--line);
  min-width: 0;
}

.search-bar__field label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.search-bar__value {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  flex-wrap: wrap;
}

.muted {
  color: var(--muted);
  font-weight: 400;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.pill--blue {
  border: 1px solid var(--blue);
  color: var(--blue);
}

.chevron {
  color: var(--muted);
  margin-left: auto;
}

.search-bar__submit {
  margin: 0.65rem;
  border-radius: var(--radius-sm);
  align-self: center;
  padding: 0.7rem 1.5rem;
}

/* —— Results bar —— */
.results-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.results-bar__summary {
  margin: 0;
  font-size: 0.875rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
}

.results-bar__summary span {
  color: var(--muted);
}

.results-bar__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  background: #f5f5f5;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.85rem;
  font-size: 0.8rem;
  color: var(--ink);
}

/* —— Room cards —— */
.room-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  background: #fff;
}

.room-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.85rem;
  margin-bottom: 1rem;
}

.room-card__header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.room-card__tagline {
  font-size: 0.8rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
}

.room-card__body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.room-card__carousel {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #eee;
}

.room-card__carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-card__dots {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.3rem;
}

.room-card__dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.room-card__dots span.is-active {
  background: #fff;
  width: 16px;
  border-radius: 999px;
}

.room-card__specs,
.room-card__amenities {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.room-card__specs li,
.room-card__amenities li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
}

.room-card__amenities img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.room-card__details-link {
  display: inline-block;
  margin-top: 0.65rem;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 500;
}

/* —— Rates —— */
.room-card__rates {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.rate {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem;
  background: #fafafa;
}

.rate__timer {
  font-size: 0.75rem;
  color: var(--urgency);
  margin-bottom: 0.35rem;
}

.rate__name {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.badge {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.badge--offer {
  background: #fff3e0;
  color: var(--accent);
}

.rate__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.rate__benefits {
  font-size: 0.8rem;
}

.rate__benefits summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 500;
}

.rate__benefits ol {
  margin-top: 0.4rem;
  padding-left: 1.1rem;
  list-style: decimal;
  color: var(--muted);
}

.rate__right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.rate__details-link {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  text-align: right;
}

.rate__label {
  margin: 0;
  font-size: 0.7rem;
  color: var(--muted);
}

.rate__discount {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.rate__discount .off {
  color: var(--urgency);
  font-weight: 700;
  margin-right: 0.25rem;
}

.rate__discount s {
  opacity: 0.7;
}

.rate__price {
  margin: 0.15rem 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.rate__tax {
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  color: var(--muted);
}

.rate__urgency {
  margin: 0.45rem 0 0;
  font-size: 0.75rem;
  color: var(--urgency);
  font-weight: 600;
  text-align: center;
}

.rate--unavailable {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  color: var(--muted);
  font-size: 0.9rem;
  grid-template-columns: 1fr;
}

.room-card--unavailable {
  opacity: 0.92;
}

/* —— OTA price comparison (inline accordion) —— */
.ota-compare {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: visible;
}

.ota-compare__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #f7f7f7;
  border: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  min-height: 44px;
  transition: background 0.15s ease;
}

.ota-compare__toggle:hover {
  background: #efefef;
}

.ota-compare__toggle:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

.ota-compare__toggle-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.ota-compare__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--blue);
  flex-shrink: 0;
}

.ota-compare__chevron {
  color: var(--muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.ota-compare.is-open .ota-compare__chevron {
  transform: rotate(180deg);
}

.ota-compare.is-open .ota-compare__toggle {
  background: #f0f0f0;
  border-bottom: 1px solid var(--line);
}

.ota-compare__panel {
  padding: 0.85rem 1rem 1rem;
}

.ota-compare__panel[hidden] {
  display: none;
}

.ota-compare__save {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  color: #1b7a3d;
  background: #eaf7ef;
  border-radius: 6px;
  padding: 0.55rem 0.75rem;
}

.ota-compare__save--warn {
  color: #8a5a00;
  background: #fff6e5;
}

.ota-compare__list {
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.ota-best {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.9rem;
  margin-bottom: 0.85rem;
  background: var(--cream);
  border: 2px solid #1a1a1a;
  border-radius: var(--radius-sm);
  box-sizing: border-box;
}

.ota-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--line);
  min-height: 64px;
}

.ota-compare__list .ota-row:last-child {
  border-bottom: none;
}

.ota-row__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1;
}

.ota-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.ota-logo--direct {
  background: #000;
  font-size: 0.85rem;
}

.ota-row__name {
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.ota-pill {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: #1a1a1a;
  color: #fff;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.ota-row__note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.ota-row__action {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.ota-row__price {
  font-size: 0.9rem;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.ota-row__delta {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--urgency);
  margin-top: 0.1rem;
}

.ota-row__btn {
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
  border-radius: 999px;
  white-space: nowrap;
}

.btn--outline-gray {
  background: #fff;
  color: var(--ink);
  border: 1px solid #cfcfcf;
}

.btn--outline-gray:hover {
  border-color: #999;
  opacity: 1;
}

.ota-compare__footnote {
  margin: 0.65rem 0 0;
  font-size: 0.7rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .ota-compare__chevron {
    transition: none;
  }
}

/* —— Notification FAB —— */
.notif-fab {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.notif-fab img {
  width: 22px;
  height: 22px;
}

.notif-fab__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--urgency);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* —— Footer —— */
.site-footer {
  background: var(--footer);
  color: var(--footer-text);
  padding: 3rem 1.25rem 2rem;
}

.site-footer a {
  color: var(--footer-text);
}

.site-footer__newsletter {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1.5rem 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(232, 227, 211, 0.2);
}

.site-footer__newsletter-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.site-footer__form {
  display: flex;
  flex: 1;
  gap: 0.75rem;
  align-items: flex-end;
  min-width: 240px;
}

.site-footer__form input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(232, 227, 211, 0.5);
  color: var(--footer-text);
  padding: 0.5rem 0;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
}

.site-footer__form input::placeholder {
  color: rgba(232, 227, 211, 0.55);
}

.site-footer__grid {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.site-footer h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
}

.site-footer h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
}

.site-footer__contact li,
.site-footer__grid ul li {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  opacity: 0.9;
}

.site-footer__bottom {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(232, 227, 211, 0.2);
}

.site-footer__logo {
  width: 64px;
  height: auto;
  filter: brightness(0) invert(0.9);
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.site-footer__copy {
  max-width: var(--max);
  margin: 1.25rem auto 0;
  font-size: 0.75rem;
  opacity: 0.65;
  text-align: center;
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .hotel-header__inner {
    grid-template-columns: 120px 1fr;
    gap: 1.25rem;
  }

  .gallery {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .gallery__primary {
    min-height: 220px;
  }

  .gallery__grid {
    min-height: 220px;
  }

  .search-bar {
    grid-template-columns: 1fr 1fr;
  }

  .search-bar__field--promo {
    grid-column: 1 / -1;
    border-right: none;
    border-top: 1px solid var(--line);
  }

  .search-bar__submit {
    grid-column: 1 / -1;
    margin: 0.75rem;
  }

  .room-card__body {
    grid-template-columns: 220px 1fr;
  }

  .rate {
    grid-template-columns: 1fr 180px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .promo-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .promo-banner__actions {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }

  .top-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-nav__right .btn--outline {
    display: none;
  }

  .hotel-header__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hotel-header__logo img {
    width: 100px;
  }

  .hotel-header__title-row {
    justify-content: center;
  }

  .hotel-header__tags {
    justify-content: center;
  }

  .hotel-header__meta {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    min-height: 180px;
  }

  .search-bar {
    grid-template-columns: 1fr;
  }

  .search-bar__field {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

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

  .room-card__carousel {
    aspect-ratio: 16 / 10;
  }

  .rate {
    grid-template-columns: 1fr;
  }

  .rate__right {
    text-align: left;
    border-top: 1px solid var(--line);
    padding-top: 0.85rem;
  }

  .rate__details-link {
    text-align: left;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .results-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .ota-best,
  .ota-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .ota-row__action {
    justify-content: space-between;
    width: 100%;
  }

  .ota-row__price {
    text-align: left;
  }

  .ota-row__note {
    max-width: none;
    white-space: normal;
  }

  .ota-compare__list {
    max-height: 260px;
  }
}

@media (max-width: 480px) {
  .main {
    padding: 1rem 0.85rem 3.5rem;
  }

  .room-card {
    padding: 1rem;
  }

  .category-tabs__item {
    min-width: 88px;
    padding: 0.65rem 0.65rem;
    font-size: 0.62rem;
  }
}
