/* ==========================================================================
   Riad Elegance Refresh
   Visual-only layer for home services/rooms/nearby, rooms.php, and room details.
   ========================================================================== */

:root {
  --riad-ink: #092747;
  --riad-ink-soft: #1d3857;
  --riad-gold: #c89252;
  --riad-gold-soft: #ead6b9;
  --riad-paper: #fffaf2;
  --riad-paper-2: #f7efe4;
  --riad-line: rgba(177, 130, 76, 0.24);
  --riad-shadow: 0 18px 42px rgba(31, 27, 21, 0.11);
}

.riad-elegance-page,
.rooms-list-page,
.room-details-page,
.home-modern {
  background:
    radial-gradient(circle at 12% 0%, rgba(200, 146, 82, 0.12), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(9, 39, 71, 0.07), transparent 26%),
    linear-gradient(180deg, #fffaf4 0%, #f7efe4 100%);
}

.home-modern .section-title span,
.rooms-list-page .breadcrumb-text::before,
.room-details-page .breadcrumb-text::before {
  display: block;
  margin-bottom: 8px;
  color: var(--riad-gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.home-modern .section-title h2,
.rooms-list-page .breadcrumb-text h2,
.room-details-page .breadcrumb-text h2 {
  color: var(--riad-ink);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.home-modern .section-title p,
.rooms-list-page .breadcrumb-text .bt-option,
.room-details-page .breadcrumb-text .bt-option {
  color: #516070;
}

/* Home about */
.home-modern .home-about-refined {
  position: relative;
  overflow: hidden;
  padding: 72px 0 82px;
  background:
    linear-gradient(90deg, rgba(255, 250, 244, 0.96), rgba(255, 250, 244, 0.82)),
    radial-gradient(circle at 90% 8%, rgba(200, 146, 82, 0.12), transparent 34%);
}

.home-modern .home-about-refined::before,
.home-modern .home-about-refined::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(220px, 22vw);
  opacity: 0.34;
  background:
    linear-gradient(135deg, transparent 46%, rgba(200, 146, 82, 0.28) 47%, transparent 48%),
    linear-gradient(45deg, transparent 46%, rgba(200, 146, 82, 0.24) 47%, transparent 48%);
  background-size: 28px 28px;
  pointer-events: none;
}

.home-modern .home-about-refined::before {
  left: 0;
}

.home-modern .home-about-refined::after {
  right: 0;
  transform: scaleX(-1);
}

.home-modern .home-about-refined .about-text {
  max-width: 540px;
  margin: 0;
  text-align: left;
}

.home-modern .home-about-refined .section-title h2 {
  font-size: clamp(3.2rem, 6.4vw, 5.7rem);
  line-height: 0.94;
}

.home-modern .home-about-refined .section-title h2::after {
  content: "";
  display: block;
  width: 250px;
  height: 12px;
  margin: 22px 0 0 110px;
  background:
    linear-gradient(90deg, transparent, var(--riad-gold), transparent),
    radial-gradient(circle at center, var(--riad-gold) 0 4px, transparent 5px);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 1px, 18px 12px;
}

.home-modern .home-about-copy {
  max-width: 430px;
  color: #394655;
  font-size: 1rem;
  line-height: 1.75;
}

.home-modern .about-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  margin: 22px 0 28px;
  padding: 15px 34px;
  border: 1px solid rgba(200, 146, 82, 0.68);
  border-radius: 8px;
  background: var(--riad-ink);
  color: #fff;
  box-shadow: 0 14px 26px rgba(9, 39, 71, 0.24);
}

.home-about-pill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.home-about-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 76px;
  padding: 14px;
  border: 1px solid var(--riad-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  color: #394655;
  box-shadow: 0 8px 20px rgba(31, 27, 21, 0.05);
}

.home-about-pill i,
.home-about-amenities i {
  color: var(--riad-gold);
  font-size: 1.55rem;
}

.home-about-pill span {
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.15;
}

.home-about-amenities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 520px;
  padding-top: 20px;
  border-top: 1px solid var(--riad-line);
  border-bottom: 1px solid var(--riad-line);
}

.home-about-amenities span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 70px;
  padding: 8px;
  color: #394655;
  font-weight: 700;
  text-align: center;
  border-right: 1px solid var(--riad-line);
}

.home-about-amenities span:last-child {
  border-right: 0;
}

.home-about-collage {
  position: relative;
  min-height: 560px;
  margin-left: 24px;
}

.home-about-collage .about-image-card {
  overflow: hidden;
  border: 5px solid rgba(255, 250, 242, 0.95);
  background: #fff;
  box-shadow: 0 18px 40px rgba(31, 27, 21, 0.16);
}

.home-about-collage .about-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-card-main {
  width: 68%;
  height: 500px;
  border-radius: 18px;
}

.about-image-card-side {
  position: absolute;
  right: 0;
  width: 42%;
  height: 190px;
  border-radius: 16px;
}

.about-image-card-side-top {
  top: 76px;
}

.about-image-card-side-bottom {
  top: 286px;
}

.home-about-quote-card {
  position: absolute;
  left: -18px;
  right: 36px;
  bottom: 0;
  display: grid;
  grid-template-columns: 74px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px 26px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(31, 27, 21, 0.12);
}

.home-about-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--riad-ink);
  color: var(--riad-gold);
  font-size: 1.45rem;
}

.home-about-quote-card p {
  margin: 0;
  color: #4e5967;
  font-style: italic;
  line-height: 1.55;
}

.home-about-quote-card strong {
  color: var(--riad-ink);
  white-space: nowrap;
}

.home-about-quote-card strong i {
  color: #dda43f;
  margin-right: 2px;
}

/* Home services */
.home-modern .services-section,
.services-section {
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.96), rgba(247, 239, 228, 0.96)),
    radial-gradient(circle at top, rgba(200, 146, 82, 0.08), transparent 38%);
  padding-top: 64px;
  padding-bottom: 64px;
}

.service-showcase {
  max-width: 1120px;
  margin-top: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.service-showcase-tabs {
  width: min(860px, 100%);
  margin: 0 auto 18px;
  padding: 8px;
  gap: 8px;
  border: 1px solid rgba(9, 39, 71, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(31, 27, 21, 0.06);
}

.service-showcase-tabs button {
  min-width: 132px;
  min-height: 42px;
  padding: 8px 16px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #263446;
  font-size: 0.86rem;
  box-shadow: none;
}

.service-showcase-tabs button::before {
  font-family: FontAwesome;
  margin-right: 8px;
  color: currentColor;
}

.service-showcase-tabs button[data-service-tab="guest-care"]::before { content: "\f007"; }
.service-showcase-tabs button[data-service-tab="transportation"]::before { content: "\f1b9"; }
.service-showcase-tabs button[data-service-tab="activities"]::before { content: "\f1e5"; }
.service-showcase-tabs button[data-service-tab="food"]::before { content: "\f0f5"; }
.service-showcase-tabs button[data-service-tab="riad-images"]::before { content: "\f03e"; }

.service-showcase-tabs button.is-active {
  border: 1px solid rgba(200, 146, 82, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(244, 229, 207, 0.92));
  color: var(--riad-ink);
  box-shadow: 0 10px 20px rgba(200, 146, 82, 0.13);
}

.service-showcase-panel {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 18px;
  align-items: stretch;
}

.service-showcase-panel.is-active {
  animation-duration: 140ms;
}

.service-showcase-feature {
  order: 2;
  min-height: 220px;
  padding: 34px 38px;
  border: 1px solid rgba(9, 39, 71, 0.07);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 28px rgba(31, 27, 21, 0.06);
}

.service-showcase-feature-media {
  display: none;
}

.service-showcase-kicker {
  margin-bottom: 8px;
  color: var(--riad-gold);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.service-showcase-feature h3 {
  margin-bottom: 12px;
  color: var(--riad-ink);
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
}

.service-showcase-feature p {
  max-width: 520px;
  margin-bottom: 18px;
  color: #465365;
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-showcase-chips {
  gap: 8px;
  margin-bottom: 18px;
}

.service-showcase-chips span {
  padding: 7px 11px;
  border-color: var(--riad-line);
  border-radius: 8px;
  background: rgba(255, 249, 240, 0.76);
  color: #526072;
  font-size: 0.76rem;
}

.service-showcase-chips i {
  color: var(--riad-gold);
}

.service-showcase-cta {
  min-height: 38px;
  padding: 9px 18px;
  border: 1px solid var(--riad-ink);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--riad-ink);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: none;
}

.service-showcase-cta:hover {
  background: var(--riad-ink);
  color: #fff;
  filter: none;
}

.service-showcase-list {
  order: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.service-showcase-card,
.service-showcase-image-card {
  border: 1px solid rgba(9, 39, 71, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 12px 26px rgba(31, 27, 21, 0.08);
}

.service-showcase-panel:not([data-service-panel="transportation"]) .service-showcase-card:first-child {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: 0;
}

.service-showcase-panel:not([data-service-panel="transportation"]) .service-showcase-card:first-child .service-showcase-card-visual:not(.is-icon) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  box-shadow: none;
}

.service-showcase-panel:not([data-service-panel="transportation"]) .service-showcase-card:first-child > div {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
}

.service-showcase-panel:not([data-service-panel="transportation"]) .service-showcase-card:first-child p {
  display: none;
}

.service-showcase-card {
  align-items: center;
  padding: 16px;
}

.service-showcase-card h4 {
  color: var(--riad-ink);
  font-size: 1.05rem;
}

.service-showcase-card p {
  color: #586475;
}

.service-showcase-list.is-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-modern .service-showcase,
.services-modern-page .service-showcase {
  max-width: 1040px;
}

.home-modern .service-showcase-panel,
.services-modern-page .service-showcase-panel {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.9fr);
  padding: 14px;
  border: 1px solid rgba(9, 39, 71, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 16px 36px rgba(31, 27, 21, 0.08);
}

.home-modern .service-showcase-feature,
.services-modern-page .service-showcase-feature {
  display: flex;
  flex-direction: column;
  justify-content: center;
  order: 2;
  padding: 26px 30px;
  border: 0;
  background: rgba(255, 250, 244, 0.8);
  box-shadow: none;
}

.home-modern .service-showcase-feature-media,
.services-modern-page .service-showcase-feature-media {
  display: none;
}

.home-modern .service-showcase-list,
.services-modern-page .service-showcase-list {
  order: 1;
  min-height: 240px;
}

.home-modern .service-showcase-panel:not([data-service-panel="transportation"]) .service-showcase-card:first-child,
.services-modern-page .service-showcase-panel:not([data-service-panel="transportation"]) .service-showcase-card:first-child {
  min-height: 240px;
  border-radius: 10px;
}

.home-modern .service-showcase-panel[data-service-panel="transportation"] .service-showcase-card:first-child,
.services-modern-page .service-showcase-panel[data-service-panel="transportation"] .service-showcase-card:first-child {
  min-height: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 12px 26px rgba(31, 27, 21, 0.08);
}

.home-modern .service-showcase-panel[data-service-panel="transportation"] .service-showcase-card:first-child .service-showcase-card-visual,
.services-modern-page .service-showcase-panel[data-service-panel="transportation"] .service-showcase-card:first-child .service-showcase-card-visual {
  display: none;
}

.home-modern .service-showcase-panel:not([data-service-panel="transportation"]) .service-showcase-card:not(:first-child),
.services-modern-page .service-showcase-panel:not([data-service-panel="transportation"]) .service-showcase-card:not(:first-child) {
  display: none;
}

.home-modern .service-showcase-card-visual:not(.is-icon),
.home-modern .service-showcase-image-card img,
.services-modern-page .service-showcase-card-visual:not(.is-icon),
.services-modern-page .service-showcase-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-modern .service-showcase-list.is-gallery,
.services-modern-page .service-showcase-list.is-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-modern .service-showcase-list.is-gallery .service-showcase-image-card,
.services-modern-page .service-showcase-list.is-gallery .service-showcase-image-card {
  min-height: 118px;
  overflow: hidden;
  border-radius: 10px;
}

.home-modern .service-showcase-list.is-gallery .service-showcase-image-card img,
.services-modern-page .service-showcase-list.is-gallery .service-showcase-image-card img {
  height: 100%;
}

.home-modern .service-showcase-list.is-gallery .service-showcase-image-card figcaption,
.services-modern-page .service-showcase-list.is-gallery .service-showcase-image-card figcaption {
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.82);
}

/* Home rooms and nearby */
.home-modern .home-rooms {
  padding: 56px 0 64px;
  background:
    linear-gradient(180deg, rgba(247, 239, 228, 0.82), rgba(255, 250, 244, 0.96));
}

.home-modern .hp-room-items {
  position: relative;
}

.home-modern .home-room-card {
  border-radius: 10px;
  border: 1px solid rgba(9, 39, 71, 0.12);
  background: rgba(255, 252, 247, 0.92);
  box-shadow: 0 12px 24px rgba(31, 27, 21, 0.08);
}

.home-modern .home-room-image {
  height: 170px;
}

.home-modern .home-room-card-body {
  padding: 14px;
}

.home-modern .home-room-card-head {
  display: block;
  margin-bottom: 8px;
}

.home-modern .home-room-card-head h3 {
  color: var(--riad-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.home-modern .home-room-price {
  margin-top: 10px;
  color: var(--riad-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.home-modern .home-room-meta {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.72rem;
}

.home-modern .home-room-meta li {
  gap: 5px;
  line-height: 1.25;
}

.home-modern .home-room-card .primary-btn,
.home-modern .home-rooms-cta {
  min-height: 38px;
  border-radius: 4px;
  background: var(--riad-ink);
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.home-modern .places-section.home-nearby {
  position: relative;
  padding: 52px 0 56px;
}

.home-modern .nearby-grid.row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.home-modern .nearby-grid .nearby-col {
  width: auto;
  max-width: none;
  padding: 0;
  margin-bottom: 0 !important;
}

.home-modern .nearby-card {
  min-height: 128px;
  border-radius: 8px;
  border: 1px solid rgba(9, 39, 71, 0.08);
  box-shadow: 0 10px 22px rgba(31, 27, 21, 0.08);
}

.home-modern .nearby-card img {
  min-height: 128px;
}

.home-modern .place-item::after,
.home-modern .nearby-popup::before {
  display: none;
}

.home-modern .place-info {
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 7px 9px;
  border-radius: 6px;
}

.home-modern .place-info h4,
.home-modern .place-info span {
  font-size: 0.76rem;
}

.home-modern .places-section.home-nearby::before,
.home-modern .places-section.home-nearby::after {
  content: "\f104";
  position: absolute;
  top: 58%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(200, 146, 82, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: var(--riad-gold);
  font-family: FontAwesome;
  box-shadow: 0 8px 18px rgba(31, 27, 21, 0.08);
}

.home-modern .places-section.home-nearby::before {
  left: -14px;
}

.home-modern .places-section.home-nearby::after {
  content: "\f105";
  right: -14px;
}

/* Rooms listing page */
.rooms-list-page .breadcrumb-section,
.room-details-page .breadcrumb-section {
  position: relative;
  overflow: hidden;
  padding: 52px 0 34px;
  background:
    radial-gradient(ellipse at center top, rgba(255, 255, 255, 0.95), rgba(255, 250, 243, 0.82) 62%, rgba(247, 239, 228, 0.7)),
    linear-gradient(135deg, transparent 38%, rgba(200, 146, 82, 0.1) 39%, transparent 40%),
    linear-gradient(45deg, transparent 38%, rgba(200, 146, 82, 0.09) 39%, transparent 40%);
}

.rooms-list-page .breadcrumb-text::before,
.room-details-page .breadcrumb-text::before {
  content: "Stay in Elegance";
  font-family: "Allura", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: none;
}

.rooms-list-page .breadcrumb-text h2,
.room-details-page .breadcrumb-text h2 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.rooms-list-page .breadcrumb-text h2::after,
.room-details-page .breadcrumb-text h2::after,
.room-booking-sidebar .booking-form h2::after {
  content: "";
  display: block;
  width: 84px;
  height: 10px;
  margin: 12px auto 0;
  background:
    linear-gradient(90deg, transparent, var(--riad-gold), transparent),
    radial-gradient(circle at center, var(--riad-gold) 0 3px, transparent 4px);
  background-size: 100% 1px, 10px 10px;
  background-position: center, center;
  background-repeat: no-repeat;
}

.rooms-page-section {
  padding-top: 28px;
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.94), rgba(247, 239, 228, 0.98));
}

.rooms-view-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
  padding: 14px 18px;
  border: 1px solid rgba(9, 39, 71, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 10px 24px rgba(31, 27, 21, 0.06);
}

.rooms-toolbar-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.rooms-toolbar-label {
  margin-right: 8px;
  color: #6d7480;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rooms-toolbar-pill {
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #39465a;
  font-size: 0.78rem;
  font-weight: 800;
}

.rooms-toolbar-pill.is-active {
  background: #fff;
  border-color: rgba(200, 146, 82, 0.28);
  color: var(--riad-ink);
}

.rooms-sort-shell {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.rooms-sort-select {
  min-height: 36px;
  min-width: 172px;
  padding: 7px 30px 7px 12px;
  border: 1px solid rgba(9, 39, 71, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--riad-ink);
  font-size: 0.78rem;
  font-weight: 800;
  appearance: none;
  cursor: pointer;
}

.rooms-sort-shell .fa {
  position: absolute;
  right: 12px;
  color: var(--riad-ink);
  pointer-events: none;
}

.rooms-grid {
  gap: 18px;
}

.room-card {
  border-radius: 10px;
  background: rgba(255, 252, 247, 0.92);
  border-color: rgba(9, 39, 71, 0.12);
  box-shadow: 0 12px 26px rgba(31, 27, 21, 0.08);
}

.room-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(31, 27, 21, 0.12);
}

.room-card-image {
  height: 230px;
}

.room-price-badge {
  top: 12px;
  left: 12px;
  padding: 10px 12px;
  border-radius: 999px;
}

.room-price-value {
  color: var(--riad-ink);
  font-size: 1rem;
}

.room-price-unit {
  font-size: 0.68rem;
}

.room-card-body {
  padding: 18px 18px 16px;
}

.room-card-title {
  margin-bottom: 10px;
  color: var(--riad-ink);
  text-align: center;
  font-size: 1.25rem;
}

.room-card-title::after {
  content: "";
  display: block;
  width: 46px;
  height: 1px;
  margin: 9px auto 0;
  background: var(--riad-gold);
}

.room-card-copy {
  min-height: 76px;
  color: #515d6d;
  text-align: center;
  font-size: 0.84rem;
  line-height: 1.65;
}

.room-features {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.room-features li {
  gap: 6px;
  color: #4e5967;
  font-size: 0.72rem;
  line-height: 1.28;
}

.room-features li:nth-child(3) {
  display: none;
}

.room-features i {
  color: var(--riad-gold);
}

.room-card-actions {
  gap: 8px;
}

.room-btn {
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 900;
}

.room-btn-primary {
  border-color: var(--riad-ink);
  background: var(--riad-ink);
}

.room-btn-secondary {
  color: var(--riad-ink);
  border-color: rgba(9, 39, 71, 0.18);
}

/* Room detail page */
.room-details-page .room-details-section.spad {
  padding-top: 26px;
}

.room-details-page .room-details-section::before,
.room-details-page .room-details-section::after {
  display: none;
}

.room-gallery-card,
.room-content-card,
.room-booking-sidebar .booking-form,
.host-section,
.surroundings-section,
.rules-section,
.faq-section {
  border: 1px solid rgba(9, 39, 71, 0.08);
  border-radius: 12px;
  background: rgba(255, 252, 247, 0.86);
  box-shadow: 0 12px 28px rgba(31, 27, 21, 0.08);
}

.room-gallery-card {
  padding: 10px;
  border-radius: 14px;
}

.room-gallery-stage,
.room-hero-image {
  border-radius: 10px;
}

.room-hero-image {
  height: clamp(330px, 42vw, 540px) !important;
}

.room-gallery-count {
  background: rgba(0, 0, 0, 0.58);
}

.room-gallery-arrow,
.room-gallery-expand {
  color: var(--riad-ink);
  background: rgba(255, 255, 255, 0.92);
}

.room-summary-strip {
  border-radius: 10px;
  border-color: rgba(9, 39, 71, 0.08);
  box-shadow: 0 10px 24px rgba(31, 27, 21, 0.07);
}

.room-summary-item {
  min-height: 88px;
  padding: 1rem;
}

.room-summary-icon {
  color: var(--riad-gold);
  background: rgba(200, 146, 82, 0.12);
}

.room-summary-item strong,
.room-modern-title,
.room-booking-sidebar .booking-form h2,
.host-section h2,
.surroundings-section h2,
.rules-section h2 {
  color: var(--riad-ink);
  font-family: Georgia, "Times New Roman", serif;
}

.room-content-card {
  padding: 2rem;
}

.room-modern-price {
  color: var(--riad-gold);
}

.room-amenity-badge {
  border-color: var(--riad-line);
  color: #3f4b5b;
}

.room-amenity-badge i {
  color: var(--riad-gold);
}

.room-booking-sidebar {
  position: sticky;
  top: 90px;
}

.room-booking-sidebar .booking-form {
  padding: 28px;
}

.room-booking-sidebar .booking-form h2 {
  text-align: center;
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
}

.room-booking-sidebar .booking-form label {
  color: var(--riad-ink);
  font-weight: 800;
}

.room-booking-sidebar .booking-form input,
.room-booking-sidebar .booking-form select {
  min-height: 44px;
  border: 1px solid rgba(9, 39, 71, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
}

.room-booking-sidebar .booking-form button[type="submit"] {
  min-height: 48px;
  border-radius: 6px;
  background: var(--riad-ink);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.host-section,
.surroundings-section,
.rules-section,
.faq-section {
  margin-top: 20px;
  padding: 24px !important;
}

.surroundings-section .alert {
  border-color: var(--riad-line);
  border-radius: 10px;
  background: rgba(255, 250, 242, 0.76) !important;
}

.surroundings-section {
  position: relative;
}

.surroundings-section h2 {
  display: block !important;
  margin-bottom: 4px;
  text-align: center;
}

.surroundings-section > p.text-muted {
  margin-bottom: 18px;
  text-align: center;
}

.surroundings-section > p.text-muted strong {
  display: inline-block;
  margin-left: 8px;
  padding: 5px 14px;
  border-radius: 7px;
  background: var(--riad-ink);
  color: #fff;
  font-size: 0.78rem;
}

.surroundings-book-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 18px;
  border: 1px solid var(--riad-ink);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.7) !important;
  color: var(--riad-ink) !important;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: none;
}

.surroundings-book-btn:hover {
  background: var(--riad-ink) !important;
  color: #fff !important;
}

.surroundings-location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 18px;
  margin-bottom: 18px;
}

.surroundings-location-grid .alert {
  margin-bottom: 0;
  padding: 24px;
}

.surroundings-map-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 154px;
  overflow: hidden;
  border: 1px solid var(--riad-line);
  border-radius: 10px;
  background:
    linear-gradient(30deg, transparent 48%, rgba(200, 146, 82, 0.22) 49%, transparent 50%),
    linear-gradient(150deg, transparent 48%, rgba(9, 39, 71, 0.09) 49%, transparent 50%),
    #f6ecdc;
  background-size: 56px 56px;
  color: var(--riad-gold);
}

.surroundings-map-panel i {
  position: absolute;
  top: 42%;
  left: 48%;
  font-size: 2.2rem;
  text-shadow: 0 8px 18px rgba(31, 27, 21, 0.18);
}

.surroundings-map-panel span {
  margin-left: 76px;
  color: var(--riad-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.25;
}

.surroundings-section .row > [class*="col-"] {
  padding: 18px;
  border-left: 1px solid rgba(9, 39, 71, 0.08);
  background: rgba(255, 255, 255, 0.35);
}

.surroundings-section .row > [class*="col-"]:first-child {
  border-left: 0;
}

.surroundings-section .category-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--riad-ink);
  font-size: 0.92rem;
}

.surroundings-section .category-title .icon,
.surroundings-section .category-title i {
  color: var(--riad-gold);
  font-size: 1.2rem;
}

.surroundings-section .category-content li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
  color: #526072;
  border-bottom: 1px dotted rgba(9, 39, 71, 0.18);
}

.rules-section .card,
.faq-section .card,
.faq-header,
.faq-body {
  border-color: rgba(9, 39, 71, 0.08);
  background: rgba(255, 255, 255, 0.56);
}

.faq-title {
  min-height: 100%;
  border-radius: 10px;
  background: var(--riad-ink);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  text-align: center;
}

@media (max-width: 1199.98px) {
  .service-showcase-tabs {
    width: 100%;
  }
}

@media (max-width: 991.98px) {
  .home-modern .home-about-refined .about-text {
    max-width: none;
    margin-bottom: 34px;
    text-align: center;
  }

  .home-modern .home-about-refined .section-title h2::after {
    margin-left: auto;
    margin-right: auto;
  }

  .home-about-collage {
    min-height: 520px;
    margin-left: 0;
  }

  .home-modern .service-showcase-panel,
  .service-showcase-panel,
  .service-showcase-panel.is-active {
    display: block;
  }

  .service-showcase-list {
    margin-bottom: 14px;
  }

  .home-modern .service-showcase-list {
    min-height: 220px;
  }

  .service-showcase-feature {
    min-height: 0;
    padding: 24px;
  }

  .home-modern .nearby-grid.row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .surroundings-location-grid {
    grid-template-columns: 1fr;
  }

  .room-booking-sidebar {
    position: static;
  }

  .surroundings-section .row > [class*="col-"] {
    border-left: 0;
    border-top: 1px solid rgba(9, 39, 71, 0.08);
  }

  .surroundings-section .row > [class*="col-"]:first-child {
    border-top: 0;
  }
}

@media (max-width: 767.98px) {
  .home-modern .home-about-refined {
    padding: 48px 0 54px;
  }

  .home-about-pill-grid,
  .home-about-amenities {
    grid-template-columns: 1fr;
  }

  .home-about-amenities span {
    border-right: 0;
    border-bottom: 1px solid var(--riad-line);
  }

  .home-about-amenities span:last-child {
    border-bottom: 0;
  }

  .home-about-collage {
    min-height: auto;
  }

  .about-image-card-main,
  .about-image-card-side {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: 250px;
    margin-bottom: 12px;
  }

  .home-about-quote-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home-about-seal {
    margin: 0 auto;
  }

  .home-modern .services-section,
  .home-modern .home-rooms,
  .home-modern .places-section.home-nearby {
    padding-top: 42px;
    padding-bottom: 44px;
  }

  .service-showcase-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 7px;
  }

  .service-showcase-tabs button {
    flex: 0 0 auto;
  }

  .home-modern .service-showcase-panel {
    padding: 10px;
  }

  .service-showcase-list.is-gallery,
  .room-features,
  .home-modern .home-room-meta {
    grid-template-columns: 1fr;
  }

  .home-modern .nearby-grid.row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-modern .places-section.home-nearby::before,
  .home-modern .places-section.home-nearby::after {
    display: none;
  }

  .rooms-view-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .rooms-toolbar-group {
    width: 100%;
  }

  .rooms-sort-shell,
  .rooms-sort-select {
    width: 100%;
  }

  .rooms-grid {
    gap: 16px;
  }

  .room-card-image {
    height: 220px;
  }

  .room-card-copy {
    min-height: 0;
  }

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

  .room-hero-image {
    height: clamp(260px, 72vw, 360px) !important;
  }

  .room-content-card,
  .room-booking-sidebar .booking-form,
  .host-section,
  .surroundings-section,
  .rules-section,
  .faq-section {
    padding: 18px !important;
  }

  .surroundings-book-btn {
    position: static;
    width: 100%;
    margin-bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .room-card,
  .home-modern .home-room-image,
  .service-showcase-panel.is-active {
    transition: none;
    animation: none;
  }
}

/* Keep the shared services showcase content-led on tablets and phones. */
@media (max-width: 991.98px) {
  .home-modern .service-showcase-panel:not(.is-active),
  .services-modern-page .service-showcase-panel:not(.is-active) {
    display: none;
  }

  .home-modern .service-showcase-panel.is-active,
  .services-modern-page .service-showcase-panel.is-active {
    display: flex;
    flex-direction: column;
  }

  .home-modern .service-showcase-feature,
  .services-modern-page .service-showcase-feature {
    order: 1;
    min-height: 0;
  }

  .home-modern .service-showcase-list,
  .services-modern-page .service-showcase-list {
    order: 2;
    min-height: 0;
    margin: 14px 0 0;
  }
}

@media (max-width: 767.98px) {
  .services-modern-page .services-section {
    padding-top: 46px;
    padding-bottom: 50px;
  }

  .home-modern .service-showcase,
  .services-modern-page .service-showcase {
    width: 100%;
    margin-top: 20px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .home-modern .service-showcase-tabs,
  .services-modern-page .service-showcase-tabs {
    width: 100%;
    justify-content: flex-start;
    gap: 6px;
    margin: 0 0 12px;
    padding: 6px;
    border-radius: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .home-modern .service-showcase-tabs::-webkit-scrollbar,
  .services-modern-page .service-showcase-tabs::-webkit-scrollbar {
    display: none;
  }

  .home-modern .service-showcase-tabs button,
  .services-modern-page .service-showcase-tabs button {
    min-width: max-content;
    min-height: 40px;
    padding: 7px 12px;
    font-size: 0.78rem;
    scroll-snap-align: center;
  }

  .home-modern .service-showcase-panel.is-active,
  .services-modern-page .service-showcase-panel.is-active {
    gap: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .home-modern .service-showcase-feature,
  .services-modern-page .service-showcase-feature {
    width: 100%;
    margin: 0;
    padding: 22px 20px;
    border: 1px solid rgba(9, 39, 71, 0.08);
    border-radius: 14px;
    background: rgba(255, 250, 244, 0.88);
    box-shadow: 0 12px 26px rgba(31, 27, 21, 0.07);
  }

  .home-modern .service-showcase-feature h3,
  .services-modern-page .service-showcase-feature h3 {
    font-size: clamp(1.55rem, 8vw, 2rem);
  }

  .home-modern .service-showcase-feature p,
  .services-modern-page .service-showcase-feature p {
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .home-modern .service-showcase-chips,
  .services-modern-page .service-showcase-chips {
    margin-bottom: 16px;
  }

  .home-modern .service-showcase-list,
  .services-modern-page .service-showcase-list,
  .home-modern .service-showcase-list.is-gallery,
  .services-modern-page .service-showcase-list.is-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
    margin-top: 12px;
    margin-bottom: 0;
  }

  .home-modern .service-showcase-panel .service-showcase-card,
  .services-modern-page .service-showcase-panel .service-showcase-card,
  .home-modern .service-showcase-panel:not([data-service-panel="transportation"]) .service-showcase-card:not(:first-child),
  .services-modern-page .service-showcase-panel:not([data-service-panel="transportation"]) .service-showcase-card:not(:first-child) {
    position: relative;
    display: flex !important;
    min-height: 0;
    align-items: center;
    gap: 12px;
    padding: 14px;
    overflow: visible;
    border-radius: 12px;
  }

  .home-modern .service-showcase-panel:not([data-service-panel="transportation"]) .service-showcase-card:first-child .service-showcase-card-visual:not(.is-icon),
  .services-modern-page .service-showcase-panel:not([data-service-panel="transportation"]) .service-showcase-card:first-child .service-showcase-card-visual:not(.is-icon),
  .home-modern .service-showcase-card-visual,
  .services-modern-page .service-showcase-card-visual {
    position: static;
    inset: auto;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    object-fit: cover;
  }

  .home-modern .service-showcase-panel:not([data-service-panel="transportation"]) .service-showcase-card:first-child > div,
  .services-modern-page .service-showcase-panel:not([data-service-panel="transportation"]) .service-showcase-card:first-child > div {
    position: static;
    padding: 0;
    background: transparent;
  }

  .home-modern .service-showcase-panel:not([data-service-panel="transportation"]) .service-showcase-card:first-child p,
  .services-modern-page .service-showcase-panel:not([data-service-panel="transportation"]) .service-showcase-card:first-child p {
    display: block;
  }

  .home-modern .service-showcase-card h4,
  .services-modern-page .service-showcase-card h4 {
    margin: 0 0 4px;
    font-size: 1rem;
  }

  .home-modern .service-showcase-card p,
  .services-modern-page .service-showcase-card p {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .home-modern .service-showcase-list.is-gallery .service-showcase-image-card,
  .services-modern-page .service-showcase-list.is-gallery .service-showcase-image-card {
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
  }
}

/* Image services become tappable story cards on phones. */
@media (max-width: 767.98px) {
  .home-modern .service-showcase-panel .service-showcase-card.has-image,
  .services-modern-page .service-showcase-panel .service-showcase-card.has-image {
    position: relative;
    display: block !important;
    width: 100%;
    min-height: 250px;
    aspect-ratio: 4 / 3;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 14px;
    background: #182a3d;
    isolation: isolate;
  }

  .home-modern .service-showcase-panel .service-showcase-card.has-image::after,
  .services-modern-page .service-showcase-panel .service-showcase-card.has-image::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 18, 30, 0.02) 30%, rgba(6, 18, 30, 0.84) 100%);
    pointer-events: none;
  }

  .home-modern .service-showcase-panel .service-showcase-card.has-image .service-showcase-card-visual:not(.is-icon),
  .services-modern-page .service-showcase-panel .service-showcase-card.has-image .service-showcase-card-visual:not(.is-icon) {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    flex: none !important;
    border-radius: 0 !important;
    object-fit: cover;
    transition: transform 260ms ease, filter 260ms ease;
  }

  .home-modern .service-showcase-panel .service-showcase-card.has-image .service-showcase-card-copy,
  .services-modern-page .service-showcase-panel .service-showcase-card.has-image .service-showcase-card-copy,
  .home-modern .service-showcase-panel:not([data-service-panel="transportation"]) .service-showcase-card.has-image:first-child > .service-showcase-card-copy,
  .services-modern-page .service-showcase-panel:not([data-service-panel="transportation"]) .service-showcase-card.has-image:first-child > .service-showcase-card-copy {
    position: absolute;
    z-index: 3;
    right: 14px;
    bottom: 13px;
    left: 14px;
    max-height: calc(100% - 26px);
    padding: 12px 13px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background: rgba(7, 25, 42, 0.68);
    color: #fff;
    box-shadow: 0 10px 25px rgba(2, 12, 22, 0.18);
    backdrop-filter: blur(8px);
    pointer-events: none;
    transition: background-color 220ms ease, transform 220ms ease;
  }

  .home-modern .service-showcase-card.has-image .service-showcase-card-copy h4,
  .services-modern-page .service-showcase-card.has-image .service-showcase-card-copy h4 {
    margin: 0;
    color: #fff;
    font-size: 1.08rem;
    line-height: 1.25;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  }

  .home-modern .service-showcase-card.has-image .service-showcase-card-copy p,
  .services-modern-page .service-showcase-card.has-image .service-showcase-card-copy p {
    display: block;
    margin: 6px 0 0;
    overflow: auto;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.82rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
    scrollbar-width: thin;
  }

  .service-showcase-interactive .home-modern .service-showcase-card.has-image .service-showcase-card-copy p,
  .service-showcase-interactive .services-modern-page .service-showcase-card.has-image .service-showcase-card-copy p {
    display: none !important;
    max-height: 0;
    margin-top: 0;
    opacity: 0;
    transform: translateY(6px);
  }

  .service-showcase-interactive .home-modern .service-showcase-card.has-image.is-revealed .service-showcase-card-copy p,
  .service-showcase-interactive .services-modern-page .service-showcase-card.has-image.is-revealed .service-showcase-card-copy p {
    display: block !important;
    max-height: 160px;
    margin-top: 6px;
    opacity: 1;
    transform: translateY(0);
  }

  .home-modern .service-showcase-card.has-image.is-revealed .service-showcase-card-visual,
  .services-modern-page .service-showcase-card.has-image.is-revealed .service-showcase-card-visual {
    filter: brightness(0.76) saturate(0.92);
    transform: scale(1.035);
  }

  .home-modern .service-showcase-card.has-image.is-revealed .service-showcase-card-copy,
  .services-modern-page .service-showcase-card.has-image.is-revealed .service-showcase-card-copy {
    background: rgba(7, 25, 42, 0.88);
  }

  .service-showcase-interactive .home-modern .service-showcase-card.has-image .service-showcase-card-prompt,
  .service-showcase-interactive .services-modern-page .service-showcase-card.has-image .service-showcase-card-prompt {
    position: absolute;
    z-index: 4;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 9px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(7, 25, 42, 0.7);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
    pointer-events: none;
    transition: opacity 160ms ease;
  }

  .service-showcase-interactive .home-modern .service-showcase-card.has-image.is-revealed .service-showcase-card-prompt,
  .service-showcase-interactive .services-modern-page .service-showcase-card.has-image.is-revealed .service-showcase-card-prompt {
    display: none !important;
  }

  .service-showcase-interactive .home-modern .service-showcase-card.has-image .service-showcase-card-toggle,
  .service-showcase-interactive .services-modern-page .service-showcase-card.has-image .service-showcase-card-toggle {
    position: absolute;
    z-index: 5;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: inherit;
    outline: 0;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .home-modern .service-showcase-card.has-image:focus-within,
  .services-modern-page .service-showcase-card.has-image:focus-within {
    box-shadow: 0 0 0 3px rgba(200, 146, 82, 0.34), 0 12px 26px rgba(31, 27, 21, 0.12);
  }

  .home-modern .service-showcase-panel .service-showcase-card.has-icon,
  .services-modern-page .service-showcase-panel .service-showcase-card.has-icon {
    display: flex !important;
    width: 100%;
    min-height: 0;
    align-items: center;
    gap: 12px;
    padding: 14px;
    overflow: hidden;
  }

  .home-modern .service-showcase-panel .service-showcase-card.has-icon .service-showcase-card-visual,
  .services-modern-page .service-showcase-panel .service-showcase-card.has-icon .service-showcase-card-visual {
    position: static !important;
    inset: auto !important;
    display: inline-flex !important;
    width: 54px !important;
    height: 54px !important;
    flex: 0 0 54px !important;
    border-radius: 12px !important;
  }

  .home-modern .service-showcase-panel .service-showcase-card.has-icon .service-showcase-card-copy,
  .services-modern-page .service-showcase-panel .service-showcase-card.has-icon .service-showcase-card-copy {
    position: static !important;
    min-width: 0;
    padding: 0 !important;
    background: transparent !important;
  }

  .home-modern .service-showcase-card.has-icon .service-showcase-card-copy p,
  .services-modern-page .service-showcase-card.has-icon .service-showcase-card-copy p {
    overflow-wrap: anywhere;
  }
}
