:root {
  --detail-bg: #f1f4fa;
  --detail-blue: #0e3fad;
  --detail-text: #101827;
  --detail-muted: #667084;
  --detail-line: #e4eaf3;
}

body.hotel-detail-page {
  background: var(--detail-bg);
  color: var(--detail-text);
}

.hotel-detail-main {
  padding: 24px 0 64px;
}

.hotel-detail-search {
  margin-bottom: 28px;
}

.hotel-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

.hotel-detail-content {
  min-width: 0;
}

.property-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.star-line {
  color: #ffb000;
  font-size: 15px;
  font-weight: 800;
}

.star-line span {
  color: #485266;
  font-size: 12px;
  font-weight: 500;
}

.property-heading h1 {
  margin: 10px 0 10px;
  font-size: clamp(1.75rem, 1.35rem + 1.2vw, 2.625rem);
  line-height: 1.05;
  font-weight: 700;
}

.property-heading p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #526074;
  font-size: 14px;
  font-weight: 600;
}

.property-heading p svg,
.text-link svg {
  width: 15px;
  height: 15px;
  color: var(--detail-blue);
}

.share-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dce5f2;
  color: #1a2435;
  flex: 0 0 auto;
}

.share-btn svg {
  width: 16px;
  height: 16px;
}

.property-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 24px;
}

.property-tags span {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--detail-blue);
  background: #002a811a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.property-tags span:last-child {
  color: #065f46;
  background: #d1fae5;
}

.property-gallery {
  display: grid;
  grid-template-columns: minmax(0, 2.35fr) minmax(220px, 0.75fr);
  gap: 14px;
}

.hotel-img {
  min-height: 180px;
  background-position: center;
  background-size: cover;
}

.hotel-img.pool,
.room-one {
  background-image: url("../images/hotel-result-pool.png");
}

.hotel-img.palace,
.room-two {
  background-image: url("../images/hotel-result-palace.png");
}

.hotel-img.villa {
  background-image:
    linear-gradient(180deg, rgba(10, 18, 34, 0.06), rgba(10, 18, 34, 0.35)),
    url("../images/hotel-result-villa.png");
}

.gallery-main {
  min-height: clamp(20rem, 14.5rem + 15vw, 26.875rem);
  border-radius: 32px;
}

.gallery-side {
  display: grid;
  gap: 14px;
}

.gallery-side .hotel-img {
  min-height: 0;
  border-radius: 28px;
}

.gallery-side .hotel-img:last-child {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.gallery-side .hotel-img:last-child::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.gallery-side button {
  min-height: 34px;
  padding: 8px 16px;
  border-radius: 999px;
  color: #fff;
  background: #ffffff33;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 800;
  border: 1px solid #ffffff4d;
}

.quick-facts {
  width: min(100%, 805px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0 36px;
  padding: 20px;
  border-radius: 48px;
  background: #dde8f5;
}

.quick-facts div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
}

.quick-facts p {
  margin: 0;
}

.quick-facts svg {
  width: 17px;
  height: 17px;
  color: var(--detail-blue);
}

.quick-facts span {
  display: block;
  color: #444653;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-facts strong {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}

.detail-block {
  margin-top: 34px;
}

.detail-block h2,
.booking-card h2,
.side-card h2,
.review-score h2,
.section-head h2,
.write-review h2 {
  margin: 0 0 16px;
  color: var(--detail-blue);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
}

.detail-block p {
  max-width: 690px;
  margin: 0;
  color: #444653;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 500;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  padding: 0;
  color: var(--detail-blue);
  background: transparent;
  font-size: 16px;
  font-weight: 700;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 18px;
}

.amenities-grid span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
}

.amenities-grid svg,
.side-card svg,
.support-line svg {
  width: 18px;
  height: 18px;
  color: var(--detail-blue);
}

.room-list {
  display: grid;
  gap: 18px;
}

.room-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 132px;
  gap: 22px;
  align-items: stretch;
  overflow: hidden;
  min-height: 170px;
  border-radius: 14px;
  background: #fff;
}

.room-photo {
  position: relative;
  background-position: center;
  background-size: cover;
}

.room-photo span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(14, 23, 42, 0.64);
  font-size: 9px;
  font-weight: 800;
}

.room-info {
  padding: 22px 0;
}

.room-info h3 {
  margin: 0 0 10px;
  color: var(--detail-blue);
  font-size: 18px;
  font-weight: 700;
}

.room-info p {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 34px;
  color: #444653;
  font-size: 12px;
  font-weight: 600;
  align-items: center;
}

.room-info svg {
  width: 14px;
  height: 14px;
}

.room-info b {
  color: #0a9c69;
  font-weight: 700;
}

.room-info del {
  display: block;
  color: #7a8798;
  font-size: 11px;
  font-weight: 700;
}

.room-info strong {
  display: block;
  color: var(--detail-blue);
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
}

.room-info small {
  color: #5b6678;
  font-size: 11px;
}

.room-info em {
  display: block;
  margin-top: 4px;
  color: #ba1a1a;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.room-card > button {
  align-self: end;
  justify-self: end;
  width: 116px;
  height: 40px;
  margin: 0 22px 22px 0;
  border-radius: 7px;
  color: #fff;
  background: var(--detail-blue);
  font-size: 14px;
  font-weight: 600;
}

.hotel-detail-sidebar {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 28px;
}

.booking-card,
.side-card {
  border-radius: 16px;
  background: #fff;
}

.booking-card {
  padding: 28px 26px;
}

.booking-card > span {
  color: #444653;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.booking-card h2 {
  margin: 4px 0 18px;
  color: var(--detail-blue);
  font-size: 28px;
}

.booking-card h2 small {
  color: #111827;
  font-size: 12px;
  font-weight: 700;
}

.booking-field {
  position: relative;
  display: grid;
  gap: 4px;
  min-height: 54px;
  margin-bottom: 10px;
  padding: 10px 44px 8px 14px;
  border-radius: 10px;
  background: #eaf0fb;
}

.booking-field span {
  color: #6c7788;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.booking-field strong {
  font-size: 12px;
  font-weight: 800;
}

.booking-field svg {
  position: absolute;
  right: 14px;
  top: 18px;
  width: 17px;
  height: 17px;
  color: var(--detail-blue);
}

.price-lines {
  display: grid;
  gap: 12px;
  margin: 26px 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #edf1f6;
}

.price-lines p,
.total-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.price-lines span {
  color: #687386;
}

.price-lines b {
  color: #111827;
}

.price-lines .discount,
.price-lines .discount b {
  position: static;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  letter-spacing: 0;
  text-transform: none;
  color: #0a9c69;
}

.total-line {
  color: var(--detail-blue);
  font-size: 15px;
  align-items: center;
}

.total-line strong {
  font-size: 21px;
}

.reserve-btn,
.car-card button,
.review-actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 20px;
  margin: 22px 0 12px;
  border-radius: 7px;
  color: #fff;
  background: var(--detail-blue);
  font-size: 16px;
  font-weight: 500;
}

.booking-card > small {
  display: block;
  margin-bottom: 22px;
  color: #7c8798;
  font-size: 8px;
  text-align: center;
  text-transform: uppercase;
}

.support-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 13px;
  color: #1f2937;
  font-size: 11px;
  font-weight: 700;
}

.support-line:first-of-type svg {
  color: #08a36c;
}

.side-card {
  padding: 24px 22px;
}

.side-card h2 {
  font-size: 18px;
}

.side-card p {
  display: flex;
  gap: 14px;
  margin: 18px 0 0;
}

.side-card p span,
.side-card p strong {
  display: block;
}

.side-card p span {
  color: #667084;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 700;
}

.side-card p strong {
  margin-bottom: 2px;
  color: #101827;
  font-size: 12px;
  font-weight: 700;
}

.policy-card {
  background: transparent;
  padding: 0;
}

.policy-card article {
  margin-top: 12px;
  padding: 20px;
  border-radius: 14px;
  background: #fff;
}

.policy-card article strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.policy-card article p {
  margin: 10px 0 0;
  color: #667084;
  font-size: 11px;
  line-height: 1.6;
}

.review-band {
  margin-top: 48px;
  padding: 26px 0 34px;
  background: #eef2f8;
}

.review-layout {
  display: grid;
  grid-template-columns: 170px 430px minmax(620px, 1fr);
  gap: 30px;
  align-items: end;
}

.review-score {
  min-width: 0;
}

.review-score h2 {
  margin: 0 0 28px;
  color: var(--detail-blue);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
}

.review-score strong {
  display: block;
  color: var(--detail-blue);
  font-size: 56px;
  line-height: 1;
  font-weight: 900;
}

.review-score div {
  margin-top: 9px;
  color: #ffb000;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0;
}

.review-score span {
  display: block;
  margin-top: 7px;
  color: #3e4858;
  font-size: 11px;
  font-weight: 800;
}

.review-bars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  padding-bottom: 28px;
}

.review-bars p {
  display: grid;
  grid-template-columns: 76px minmax(86px, 1fr) 18px;
  gap: 6px;
  align-items: center;
  margin: 0;
  font-size: 9px;
  font-weight: 700;
}

.review-bars span {
  color: #111827;
  line-height: 1;
}

.review-bars i {
  display: block;
  height: 6px;
  overflow: hidden;
  background: #c4c5d533;
}

.review-bars b {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--detail-blue);
}

.review-bars em {
  color: #1d2433;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.review-card-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.review-card {
  min-height: 142px;
  padding: 21px 22px 18px;
  border-radius: 12px;
  background: #fff;
}

.review-card span {
  float: left;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin: 0 12px 10px 0;
  border-radius: 50%;
  color: var(--detail-blue);
  background: #dce8ff;
  font-size: 12px;
  font-weight: 900;
}

.review-card h3 {
  margin: 2px 0 0;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
}

.review-card small {
  display: block;
  margin-top: 2px;
  color: #7a8798;
  font-size: 9px;
  font-weight: 600;
}

.review-card p {
  clear: both;
  margin: 4px 0 0;
  color: #4e5a6d;
  font-size: 11px;
  line-height: 1.65;
}

.flights-to-goa {
  padding-top: 48px;
}

.car-section,
.write-review {
  margin-top: 76px;
}

.car-section .section-head h2,
.write-review .section-head h2 {
  margin-bottom: 6px;
  color: #20242c;
  font-size: 22px;
}

.car-section .section-head p,
.write-review .section-head p {
  margin: 0;
  color: #5f6b7e;
  font-size: 12px;
  font-weight: 500;
}

.car-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.car-card {
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
}

.car-img {
  position: relative;
  min-height: 220px;
  background-position: center;
  background-size: cover;
}

.car-a {
  background-image: url("https://images.unsplash.com/photo-1542362567-b07e54358753?auto=format&fit=crop&w=700&q=80");
}

.car-b {
  background-image: url("https://images.unsplash.com/photo-1533473359331-0135ef1b58bf?auto=format&fit=crop&w=700&q=80");
}

.car-c {
  background-image: url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=700&q=80");
}

.car-d {
  background-image: url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=700&q=80");
}

.car-img span,
.car-img b {
  position: absolute;
  top: 12px;
  min-height: 18px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 8px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid #ffffff66;
}

.car-img span {
  left: 18px;
  color: var(--detail-blue);
  background: #fff;
}

.car-img b {
  left: 104px;
  color: #fff;
  background: #f59e0be5;
}

.car-img em {
  position: absolute;
  left: 22px;
  bottom: 14px;
  min-width: 104px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 10px;
  border-radius: 999px;
  color: #111827;
  background: rgba(232, 234, 238, 0.94);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.car-img em svg {
  width: 11px;
  height: 11px;
  color: #ffb000;
  fill: #ffb000;
}

.car-img em small {
  display: block;
  color: #667084;
  font-size: 8px;
  line-height: 1.05;
  font-weight: 700;
}

.car-copy {
  padding: 19px 20px 18px;
}

.car-copy > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.car-card h3 {
  margin: 0;
  color: #111827;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
}

.car-copy > div small {
  margin-top: 2px;
  color: #9aa7ba;
  font-size: 10px;
  font-weight: 800;
}

.car-card p {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 10px 0 0;
  color: #657084;
  font-size: 11px;
  font-weight: 700;
}

.car-card p svg {
  width: 12px;
  height: 12px;
  color: #667084;
}

.car-card button {
  width: 100%;
  font-size: 12px;
}

.car-card button strong {
  font-size: 13px;
}

.write-review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: start;
}

.review-form {
  min-height: 380px;
  padding: 18px 18px 20px;
  border-radius: 10px;
  background: #fff;
}

.review-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
}

.review-form-head h3 {
  margin: 0;
  color: #111827;
  font-size: 18px;
  font-weight: 700;
}

.review-form-head button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #0056d6;
}

.review-form-head svg {
  width: 18px;
  height: 18px;
}

.rating-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 60px;
  padding: 18px 16px;
  border-radius: 8px;
  background: #e8eef9;
}

.rating-grid label,
.overall,
.word-box {
  color: #233044;
  font-size: 14px;
  font-weight: 500;
}

.rating-grid span,
.overall span {
  float: right;
  color: #b4bdd0;
  font-size: 17px;
  letter-spacing: 1px;
}

.overall,
.word-box {
  display: block;
  margin-top: 30px;
}

.word-box textarea {
  width: 100%;
  min-height: 120px;
  margin-top: 10px;
  padding: 15px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  resize: vertical;
  font: inherit;
  font-size: 11px;
  line-height: 1.45;
}

.review-tips {
  overflow: hidden;
  border-radius: 10px;
  background: #dfe9fa;
}

.tips-img {
  min-height: 190px;
  display: flex;
  align-items: end;
  padding: 0 14px 12px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.62)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=900&q=80")
      center/cover;
  font-size: 14px;
  line-height: 1.15;
  font-weight: 500;
}

.review-tips h3 {
  margin: 22px 22px 16px;
  color: var(--detail-blue);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.review-tips p {
  display: flex;
  gap: 13px;
  margin: 0 22px 17px;
  color: #536074;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 500;
}

.review-tips svg {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  color: var(--detail-blue);
  flex: 0 0 auto;
}

.review-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}

.review-actions button {
  width: 164px;
}

.review-actions .ghost {
  width: 84px;
  color: #334155;
  background: transparent;
  border: 1px solid #94a3b8;
}

body.hotel-modal-open {
  overflow: hidden;
}

.review-photo-modal,
.hotel-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

.review-photo-modal.is-open,
.hotel-gallery-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.review-photo-backdrop,
.hotel-gallery-backdrop {
  position: absolute;
  inset: 0;
}

.review-photo-backdrop {
  background: rgba(10, 12, 18, 0.72);
}

.review-photo-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 530px);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  padding: 19px 18px 20px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
  scrollbar-width: none;
}

.review-photo-dialog::-webkit-scrollbar {
  display: none;
}

.review-photo-dialog h2 {
  margin: 0 0 14px;
  color: #111827;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
}

.review-dropzone {
  position: relative;
  min-height: 192px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px dashed #9dabca;
  border-radius: 8px;
  background: #eef4ff;
  color: #1f2937;
  text-align: center;
  cursor: pointer;
}

.review-dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.review-dropzone svg {
  width: 38px;
  height: 38px;
  color: #005bd8;
  stroke-width: 2.2;
}

.review-dropzone strong {
  color: #202938;
  font-size: 13px;
  font-weight: 500;
}

.review-dropzone span {
  color: #7a8497;
  font-size: 12px;
  font-weight: 400;
}

.review-dropzone b {
  min-width: 100px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  border: 1px solid #005bd8;
  border-radius: 999px;
  color: #005bd8;
  background: #fff;
  font-size: 12px;
  font-weight: 500;
}

.review-upload-previews {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.review-upload-previews span {
  position: relative;
  overflow: hidden;
  min-height: 86px;
  padding: 28px 7px 7px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0 35%, transparent 35%),
    linear-gradient(145deg, #a5db9f, #65b967);
  color: #fff;
}

.review-upload-previews b,
.review-upload-previews strong,
.review-upload-previews em {
  display: block;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
}

.review-upload-previews b {
  font-size: 5px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.review-upload-previews strong {
  margin-top: 2px;
  font-size: 16px;
  line-height: 0.9;
  font-weight: 900;
}

.review-upload-previews em {
  color: rgba(255, 255, 255, 0.35);
  font-size: 18px;
  line-height: 0.9;
  font-style: normal;
  font-weight: 900;
}

.review-upload-previews i {
  position: absolute;
  right: 9px;
  bottom: 16px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: #4a9c50;
  background: #ecf7dd;
  box-shadow: 0 6px 12px rgba(33, 90, 40, 0.2);
  font-size: 5px;
  line-height: 1;
  font-style: normal;
  font-weight: 900;
  text-align: center;
  transform: rotate(14deg);
}

.review-photo-actions {
  display: flex;
  gap: 13px;
  margin-top: 23px;
}

.review-photo-actions button {
  min-width: 116px;
  min-height: 40px;
  border-radius: 999px;
  color: #fff;
  background: #005bd8;
  box-shadow: 0 10px 22px rgba(0, 91, 216, 0.28);
  font-size: 12px;
  font-weight: 500;
}

.review-photo-actions .ghost {
  min-width: 88px;
  color: #303847;
  background: #fff;
  border: 1px solid #7d8798;
  box-shadow: none;
}

.hotel-gallery-backdrop {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: none;
}

.hotel-gallery-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  min-height: min(74vh, 620px);
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 64px;
}

.gallery-stage {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.gallery-stage img {
  display: block;
  width: min(100%, 794px);
  aspect-ratio: 794 / 360;
  object-fit: cover;
  border-radius: 16px;
  user-select: none;
}

.gallery-nav,
.gallery-close {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #111827;
  background: #fff;
  padding: 0;
}

.gallery-nav {
  width: 23px;
  height: 23px;
  justify-self: center;
}

.gallery-nav svg {
  width: 14px;
  height: 14px;
}

.gallery-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  opacity: 0.9;
}

.gallery-close svg {
  width: 18px;
  height: 18px;
}

.gallery-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.gallery-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  background: #fff;
}

.gallery-dots button.is-active {
  background: #2d7dff;
}

@media (max-width: 1320px) {
  .review-layout {
    grid-template-columns: 160px minmax(0, 1fr);
    align-items: start;
  }

  .review-score h2 {
    margin-bottom: 18px;
  }

  .review-bars {
    padding-bottom: 0;
  }

  .review-card-row {
    grid-column: 1 / -1;
    gap: 18px;
  }
}

@media (max-width: 1180px) {
  .hotel-detail-layout,
  .write-review-layout {
    grid-template-columns: 1fr;
  }

  .hotel-detail-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-card {
    grid-row: span 2;
  }

  .review-card {
    min-height: 0;
  }

  .car-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .car-img {
    min-height: 190px;
  }
}

@media (max-width: 1024px) {
  .hotel-detail-search {
    display: none;
  }
}

@media (max-width: 900px) {
  .property-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-side .hotel-img {
    min-height: 210px;
  }

  .quick-facts,
  .amenities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .room-card {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .room-card > button {
    grid-column: 2;
    margin-top: -18px;
  }

  .hotel-detail-sidebar,
  .review-layout {
    grid-template-columns: 1fr;
  }

  .review-layout {
    gap: 20px;
  }

  .review-score {
    display: block;
  }

  .review-score h2 {
    margin-bottom: 10px;
  }

  .review-score div,
  .review-score span {
    margin-top: 7px;
  }

  .review-bars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
  }

  .review-bars p {
    grid-template-columns: 76px minmax(0, 1fr) 18px;
  }

  .review-card-row {
    grid-template-columns: 1fr;
  }

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

  .hotel-gallery-dialog {
    width: 100%;
    min-height: min(70vh, 520px);
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    gap: 14px;
  }

  .gallery-stage img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
  }
}

@media (max-width: 640px) {
  .hotel-detail-main {
    padding-top: 16px;
  }

  .hotel-results-container {
    width: min(100% - 28px, 1440px);
  }

  .property-heading {
    align-items: flex-start;
  }

  .property-tags {
    gap: 8px;
    margin-bottom: 18px;
  }

  .property-tags span {
    padding: 0 10px;
    font-size: 9px;
  }

  .gallery-main {
    min-height: 280px;
    border-radius: 20px;
  }

  .gallery-side {
    gap: 10px;
  }

  .gallery-side .hotel-img {
    min-height: 150px;
    border-radius: 18px;
  }

  .quick-facts,
  .amenities-grid,
  .rating-grid,
  .car-grid {
    grid-template-columns: 1fr;
  }

  .quick-facts {
    margin-bottom: 26px;
    padding: 12px;
    border-radius: 18px;
  }

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

  .room-photo {
    min-height: 220px;
  }

  .room-info {
    padding: 18px;
  }

  .room-info p {
    margin-bottom: 22px;
  }

  .room-card > button {
    grid-column: auto;
    justify-self: stretch;
    width: auto;
    margin: 0 18px 18px;
  }

  .review-bars {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .review-bars p {
    grid-template-columns: 84px minmax(0, 1fr) 18px;
  }

  .review-card {
    padding: 18px 16px;
  }

  .review-card p {
    font-size: 10px;
  }

  .flights-to-goa,
  .car-section,
  .write-review {
    margin-top: 42px;
  }

  .car-section .section-head h2,
  .write-review .section-head h2 {
    font-size: 18px;
  }

  .car-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .car-img {
    min-height: 170px;
  }

  .write-review-layout {
    gap: 18px;
  }

  .review-form {
    min-height: 0;
    padding: 16px;
  }

  .review-form-head {
    margin-bottom: 18px;
  }

  .rating-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rating-grid label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }

  .overall span {
    display: block;
    float: none;
    margin-top: 6px;
  }

  .review-actions {
    flex-direction: column;
  }

  .review-actions button {
    width: 100%;
    margin: 0;
  }

  .review-actions .ghost {
    width: 100%;
    margin: 0;
  }

  .review-photo-modal {
    place-items: end center;
    padding: 0;
  }

  .review-photo-dialog {
    width: 100%;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 18px 16px 22px;
    border-radius: 18px 18px 0 0;
    transform: translateY(22px);
    transition: transform 0.22s ease;
  }

  .review-photo-modal.is-open .review-photo-dialog {
    transform: translateY(0);
  }

  .review-dropzone {
    min-height: 168px;
  }

  .review-upload-previews {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .review-upload-previews span {
    min-height: 76px;
  }

  .review-photo-actions {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
  }

  .review-photo-actions button,
  .review-photo-actions .ghost {
    width: 100%;
    min-width: 0;
  }

  .hotel-gallery-modal {
    padding: 14px;
  }

  .hotel-gallery-dialog {
    min-height: 56vh;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gallery-stage {
    gap: 14px;
  }

  .gallery-stage img {
    width: 100%;
    aspect-ratio: 1 / 0.78;
  }

  .gallery-nav {
    position: absolute;
    top: 50%;
    width: 28px;
    height: 28px;
    transform: translateY(-50%);
  }

  .gallery-prev {
    left: 4px;
  }

  .gallery-next {
    right: 4px;
  }

  .gallery-close {
    top: 10px;
    right: 10px;
  }
}
