:root {
  --ink: #06252e;
  --deep: #0a3a45;
  --sea: #12667a;
  --lagoon: #1a8fa3;
  --foam: #d7eef2;
  --pearl: #f3fafb;
  --sand: #c9b18a;
  --gold: #b8944f;
  --mist: rgba(6, 37, 46, 0.55);
  --line: rgba(6, 37, 46, 0.12);
  --card: rgba(255, 255, 255, 0.72);
  --shadow: 0 24px 60px rgba(6, 37, 46, 0.12);
  --radius: 18px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(26, 143, 163, 0.28), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(184, 148, 79, 0.16), transparent 45%),
    linear-gradient(165deg, #eaf6f8 0%, #f7fcfd 42%, #e7f3f6 100%);
  line-height: 1.5;
}

.ambient {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent 70%);
  opacity: 0.35;
  z-index: 0;
}

.topbar,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.5rem;
  position: sticky;
  top: 0;
  backdrop-filter: blur(16px);
  background: rgba(243, 250, 251, 0.78);
  border-bottom: 1px solid var(--line);
  z-index: 20;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(8, 52, 62, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-mark:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(8, 52, 62, 0.28);
}

.brand-logo {
  width: 52px;
  height: 52px;
  display: block;
  object-fit: contain;
  background: transparent;
  border-radius: 14px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.1;
}

.brand-word {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--lagoon);
  max-width: 12rem;
}

.brand-sub {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lagoon);
}

.top-nav {
  display: flex;
  gap: 1rem;
  margin-left: 0.5rem;
}

.top-nav a {
  color: var(--mist);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.top-nav a:hover,
.top-nav a.is-active {
  color: var(--deep);
}

.currency-switch {
  margin-left: auto;
  display: inline-flex;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem;
  gap: 0.15rem;
}

.currency-switch button {
  border: 0;
  background: transparent;
  color: var(--mist);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
}

.currency-switch button.is-active {
  background: var(--deep);
  color: white;
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 4rem;
}

.hero {
  min-height: min(72vh, 640px);
  display: grid;
  align-content: end;
  gap: 1rem;
  padding: 3.5rem 2rem 2.75rem;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  color: white;
  background:
    radial-gradient(ellipse 80% 55% at 70% 20%, rgba(120, 210, 220, 0.45), transparent 55%),
    radial-gradient(ellipse 60% 40% at 15% 70%, rgba(184, 148, 79, 0.22), transparent 50%),
    linear-gradient(160deg, #1a8fa3 0%, #0a3a45 48%, #06252e 100%);
  box-shadow: var(--shadow);
  animation: fade-rise 0.9s ease both;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      rgba(255, 255, 255, 0.03) 18px,
      rgba(255, 255, 255, 0.03) 19px
    );
  opacity: 0.9;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(10, 58, 69, 0.35));
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
  max-width: 34rem;
}

.hero-kicker {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.4rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.hero p {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: white;
  color: var(--deep);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.stat {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  animation: fade-rise 0.7s ease both;
}

.stat:nth-child(2) { animation-delay: 0.08s; }
.stat:nth-child(3) { animation-delay: 0.16s; }
.stat:nth-child(4) { animation-delay: 0.24s; }

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--deep);
}

.stat span {
  font-size: 0.82rem;
  color: var(--mist);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 2.5rem 0 1.25rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--deep);
  line-height: 1;
}

.section-head p {
  margin: 0.35rem 0 0;
  color: var(--mist);
  max-width: 36rem;
}

.filters {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--mist);
}

.field input,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  font: inherit;
  color: var(--ink);
  outline: none;
}

.field input:focus,
.field select:focus {
  border-color: var(--lagoon);
  box-shadow: 0 0 0 3px rgba(26, 143, 163, 0.18);
}

.hotel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.hotel-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  animation: fade-rise 0.55s ease both;
}

.hotel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(26, 143, 163, 0.35);
}

.hotel-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--deep);
  line-height: 1.15;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(18, 102, 122, 0.1);
  color: var(--sea);
  font-size: 0.75rem;
  font-weight: 600;
}

.chip.gold {
  background: rgba(184, 148, 79, 0.16);
  color: #8a6a2d;
}

.chip.soft {
  background: rgba(6, 37, 46, 0.06);
  color: var(--mist);
}

.hotel-card .seasons {
  margin: 0;
  font-size: 0.86rem;
  color: var(--mist);
}

.hotel-card .cta {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lagoon);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--mist);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 1rem;
}

.back-link:hover {
  color: var(--deep);
}

.detail-hero {
  padding: 2rem;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 70% 80% at 90% 10%, rgba(26, 143, 163, 0.55), transparent 50%),
    linear-gradient(135deg, #0a3a45 0%, #12667a 100%);
  color: white;
  box-shadow: var(--shadow);
  animation: fade-rise 0.6s ease both;
}

.detail-hero h1 {
  margin: 0.4rem 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  font-weight: 600;
}

.detail-hero p {
  margin: 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.85);
}

.panel {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  animation: fade-rise 0.55s ease both;
}

.panel h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--deep);
}

.season-list,
.note-list {
  display: grid;
  gap: 0.65rem;
}

.season-item,
.note-item,
.tariff-item {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(243, 250, 251, 0.9);
  border: 1px solid var(--line);
}

.note-item p,
.tariff-item p {
  margin: 0.35rem 0 0;
  color: var(--mist);
  font-size: 0.92rem;
}

.tariff-item strong {
  color: var(--deep);
}

.table-wrap {
  overflow: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  font-size: 0.9rem;
}

th,
td {
  padding: 0.75rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  position: sticky;
  top: 0;
  background: #e7f3f6;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
}

tbody tr:hover {
  background: rgba(26, 143, 163, 0.05);
}

.price {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--deep);
  white-space: nowrap;
}

.muted {
  color: var(--mist);
}

.empty {
  padding: 2rem;
  text-align: center;
  color: var(--mist);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
}

.loading {
  min-height: 50vh;
  display: grid;
  place-items: center;
  color: var(--mist);
  font-size: 1.05rem;
}

.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--mist);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0.2rem 0;
}

.rate-filters {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.7fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .topbar {
    flex-wrap: wrap;
  }

  .currency-switch {
    margin-left: 0;
    width: 100%;
    justify-content: stretch;
  }

  .currency-switch button {
    flex: 1;
  }

  .filters,
  .rate-filters,
  .stats-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .top-nav {
    width: 100%;
    order: 3;
  }

  .brand-tagline {
    display: none;
  }

  .filters,
  .rate-filters,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 68vh;
    padding: 2.5rem 1.25rem 1.75rem;
  }
}

/* Quote finder */
.quote-panel {
  margin-top: 0;
}

.quote-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.field-span {
  grid-column: 1 / -1;
}

.child-ages-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.child-ages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  gap: 0.65rem;
}

.child-age-field {
  display: grid;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: var(--mist);
}

.child-age-field input {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: var(--ink);
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.quote-auto {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.quote-auto pre,
.quote-audit {
  margin: 0.35rem 0 0;
  white-space: pre-wrap;
  font-family: var(--font-body);
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--deep);
}

.quote-audit {
  margin-top: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(6, 37, 46, 0.06);
  border: 1px dashed var(--line);
}

.quote-candidate-audit {
  margin-top: 1rem;
}

.quote-candidate-audit h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.quote-offer {
  margin: 0.15rem 0 0.45rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--sea);
}

.quote-warn {
  margin: 0.6rem 0 0;
  color: #8a4b00;
  font-size: 0.9rem;
  font-weight: 600;
}

.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  font: inherit;
  color: var(--ink);
  outline: none;
  resize: vertical;
  min-height: 6rem;
}

.field textarea:focus {
  border-color: var(--lagoon);
  box-shadow: 0 0 0 3px rgba(26, 143, 163, 0.18);
}

/* Searchable select (Hotel / Room Type) */
.ss-host {
  position: relative;
  width: 100%;
}

.ss-control {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
}

.ss-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  font: inherit;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ss-control.has-clear .ss-trigger {
  padding-right: 2.35rem;
}

.ss-control.has-clear .ss-chevron {
  display: none;
}

.ss-clear-value {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.55rem;
  height: 1.55rem;
  border: 0;
  border-radius: 999px;
  background: rgba(18, 102, 122, 0.1);
  color: var(--deep);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
}

.ss-clear-value:hover {
  background: rgba(18, 102, 122, 0.18);
}

.ss-trigger:hover:not(:disabled) {
  border-color: rgba(18, 102, 122, 0.35);
  background: #fff;
}

.ss-trigger:focus-visible,
.ss-trigger.is-open,
.ss-control.is-open .ss-trigger {
  border-color: var(--lagoon);
  box-shadow: 0 0 0 3px rgba(26, 143, 163, 0.18);
}

.ss-trigger.is-placeholder .ss-trigger-text {
  color: rgba(6, 37, 46, 0.42);
  font-weight: 400;
}

.ss-trigger.is-disabled,
.ss-trigger:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  background: rgba(243, 250, 251, 0.9);
}

.ss-trigger-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 500;
}

.ss-chevron {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--sea);
  border-bottom: 2px solid var(--sea);
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-top: -0.2rem;
  opacity: 0.7;
  transition: transform 0.18s ease;
}

.ss-trigger.is-open .ss-chevron {
  transform: rotate(225deg);
  margin-top: 0.15rem;
}

.ss-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 37, 46, 0.38);
  backdrop-filter: blur(6px);
  z-index: 80;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.ss-backdrop.is-visible {
  opacity: 1;
}

.ss-panel {
  position: fixed;
  z-index: 90;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(18, 102, 122, 0.12);
  border-radius: 18px;
  box-shadow:
    0 18px 48px rgba(6, 37, 46, 0.14),
    0 2px 8px rgba(6, 37, 46, 0.06);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.16s ease, transform 0.16s ease;
  max-height: 420px;
}

.ss-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ss-panel--sheet {
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: auto !important;
  width: 100% !important;
  max-height: min(78vh, 560px) !important;
  border-radius: 22px 22px 0 0;
  transform: translateY(18px);
}

.ss-panel--sheet.is-open {
  transform: translateY(0);
}

.ss-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem 0.35rem;
}

.ss-sheet-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--deep);
}

.ss-sheet-cancel {
  border: 0;
  background: transparent;
  color: var(--sea);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0.35rem 0.25rem;
}

.ss-search {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.75rem 0.75rem 0.35rem;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  background: rgba(215, 238, 242, 0.55);
  border: 1px solid rgba(18, 102, 122, 0.1);
}

.ss-search-icon {
  display: inline-flex;
  color: var(--sea);
  opacity: 0.85;
  flex-shrink: 0;
}

.ss-search-input {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
}

.ss-search-input::placeholder {
  color: rgba(6, 37, 46, 0.4);
}

.ss-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.ss-search-clear {
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  border: 0;
  border-radius: 999px;
  background: rgba(18, 102, 122, 0.12);
  color: var(--deep);
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.ss-search-clear:hover {
  background: rgba(18, 102, 122, 0.2);
}

.quote-clear-row {
  display: flex;
  justify-content: flex-end;
  margin: 0.65rem 0 0;
}

.btn-text {
  border: 0;
  background: transparent;
  color: var(--sea);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.35rem 0.15rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(18, 102, 122, 0.35);
}

.btn-text:hover {
  color: var(--deep);
  text-decoration-color: rgba(6, 37, 46, 0.45);
}

.ss-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.35rem 0.5rem 0.65rem;
  -webkit-overflow-scrolling: touch;
}

.ss-option {
  width: 100%;
  display: block;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  padding: 0.78rem 0.85rem;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

.ss-option + .ss-option {
  margin-top: 0.1rem;
}

.ss-option:hover,
.ss-option.is-active {
  background: rgba(26, 143, 163, 0.1);
}

.ss-option.is-selected {
  background: rgba(18, 102, 122, 0.12);
  color: var(--deep);
  font-weight: 600;
}

.ss-option.is-selected.is-active,
.ss-option.is-selected:hover {
  background: rgba(18, 102, 122, 0.16);
}

.ss-mark {
  background: rgba(184, 148, 79, 0.28);
  color: inherit;
  border-radius: 3px;
  padding: 0 0.05em;
}

.ss-empty {
  padding: 1.25rem 0.9rem 1.4rem;
  text-align: center;
  color: var(--mist);
  font-size: 0.9rem;
}

.quote-meta {
  margin: 1rem 0 0.75rem;
  font-size: 0.9rem;
}

.quote-results {
  display: grid;
  gap: 0.9rem;
}

.quote-card {
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  animation: fade-rise 0.45s ease both;
}

.quote-card-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.quote-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--deep);
  line-height: 1.15;
}

.quote-room {
  margin: 0.25rem 0 0.55rem;
  color: var(--mist);
  font-size: 0.95rem;
}

.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: start;
}

.btn-wa {
  background: #128c7e;
  color: white;
}

.btn-wa:hover {
  background: #0e7a6e;
}

.btn-copy {
  background: rgba(10, 58, 69, 0.08);
  color: var(--deep);
}

.price-triad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.price-cell {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  background: rgba(243, 250, 251, 0.95);
  border: 1px solid var(--line);
}

.price-cell.highlight {
  background: rgba(26, 143, 163, 0.12);
  border-color: rgba(26, 143, 163, 0.28);
}

.price-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--mist);
}

.price-cell .price {
  font-size: 1.2rem;
}

.quote-foot {
  margin: 0.85rem 0 0;
  font-size: 0.86rem;
}

.quote-foot a {
  color: var(--lagoon);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 900px) {
  .quote-filters,
  .price-triad {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .quote-filters,
  .price-triad {
    grid-template-columns: 1fr;
  }
}
