/* TTAStays - Playwright practice booking app
   (c) 2026 The Testing Academy. TTAStays demo for Playwright practice. */

:root {
  --tta-primary: #0b3a6f;
  --tta-primary-dark: #082a52;
  --tta-primary-light: #1759a4;
  --tta-accent: #f59e0b;
  --tta-accent-dark: #d97706;
  --tta-bg: #f4f6fa;
  --tta-card: #ffffff;
  --tta-text: #1a2233;
  --tta-text-muted: #5c6477;
  --tta-border: #d8dde7;
  --tta-border-light: #e8ecf3;
  --tta-success: #008a05;
  --tta-error: #d62b1f;
  --tta-warn: #b45309;
  --tta-shadow-sm: 0 1px 2px rgba(15, 30, 60, 0.06);
  --tta-shadow-md: 0 4px 12px rgba(15, 30, 60, 0.08);
  --tta-shadow-lg: 0 12px 28px rgba(15, 30, 60, 0.12);
  --tta-radius: 8px;
  --tta-radius-lg: 12px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--tta-bg);
  color: var(--tta-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--tta-primary-light); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== TOP NAV ===== */
.tta-nav {
  background: var(--tta-primary);
  color: #fff;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--tta-shadow-sm);
}

.tta-nav-brand {
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

.tta-nav-brand:hover { text-decoration: none; }

.tta-nav-brand-icon {
  width: 28px;
  height: 28px;
  background: var(--tta-accent);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tta-primary-dark);
  font-weight: 800;
}

.tta-nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tta-nav-link {
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  cursor: pointer;
  transition: background 0.15s ease;
}

.tta-nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.tta-nav-user {
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

/* ===== FOOTER ===== */
.tta-footer {
  background: var(--tta-primary-dark);
  color: #cdd5e3;
  padding: 28px;
  text-align: center;
  font-size: 13px;
  margin-top: 40px;
}

.tta-footer a { color: #ffd28a; }

/* ===== HERO ===== */
.tta-hero {
  background: linear-gradient(135deg, var(--tta-primary) 0%, var(--tta-primary-light) 100%);
  color: #fff;
  padding: 56px 28px 96px;
  text-align: center;
}

.tta-hero h1 {
  margin: 0 0 8px;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tta-hero p {
  margin: 0 0 24px;
  font-size: 18px;
  opacity: 0.9;
}

/* ===== SEARCH CARD ===== */
.tta-search-wrap {
  max-width: 1100px;
  margin: -64px auto 0;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

.tta-search-card {
  background: var(--tta-card);
  border-radius: var(--tta-radius-lg);
  border: 2px solid var(--tta-accent);
  box-shadow: var(--tta-shadow-lg);
  padding: 18px;
  display: grid;
  grid-template-columns: 2.4fr 1.4fr 1.4fr 1.4fr 1fr;
  gap: 10px;
  align-items: stretch;
}

.tta-search-field {
  display: flex;
  flex-direction: column;
  position: relative;
}

.tta-search-field label {
  font-size: 11px;
  font-weight: 600;
  color: var(--tta-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.tta-search-field input,
.tta-search-field select,
.tta-search-field button {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: var(--tta-radius);
  border: 1px solid var(--tta-border);
  background: #fff;
  color: var(--tta-text);
  width: 100%;
  height: 48px;
}

.tta-search-field input:focus,
.tta-search-field select:focus {
  outline: 2px solid var(--tta-primary-light);
  outline-offset: -1px;
  border-color: var(--tta-primary-light);
}

.tta-guests-trigger {
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tta-search-submit {
  background: var(--tta-primary);
  color: #fff;
  font-weight: 600;
  border: 0;
  font-size: 16px;
  cursor: pointer;
  border-radius: var(--tta-radius);
  height: 100%;
  min-height: 48px;
  align-self: end;
  transition: background 0.15s ease;
}

.tta-search-submit:hover { background: var(--tta-primary-dark); }

.tta-search-error {
  grid-column: 1 / -1;
  color: var(--tta-error);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  background: #fdecea;
  border: 1px solid #f5c5c1;
  border-radius: 6px;
  display: none;
}
.tta-search-error.is-visible { display: block; }

/* Guests popover */
.tta-guests-popover {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
  border: 1px solid var(--tta-border);
  border-radius: var(--tta-radius);
  box-shadow: var(--tta-shadow-lg);
  padding: 16px;
  min-width: 260px;
}
.tta-guests-popover.is-open { display: block; }

.tta-guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.tta-guest-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tta-guest-stepper button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--tta-primary);
  background: #fff;
  color: var(--tta-primary);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tta-guest-stepper button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.tta-guest-stepper output {
  min-width: 24px;
  text-align: center;
  font-weight: 600;
}

.tta-guests-done {
  margin-top: 8px;
  background: var(--tta-primary);
  color: #fff;
  border: 0;
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

/* ===== QUICK DESTINATIONS ===== */
.tta-quick-wrap {
  max-width: 1100px;
  margin: 36px auto 0;
  padding: 0 28px;
}

.tta-quick-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 14px;
}

.tta-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tta-quick-card {
  background: var(--tta-card);
  border-radius: var(--tta-radius-lg);
  border: 1px solid var(--tta-border-light);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-align: left;
  padding: 0;
  width: 100%;
  font-family: inherit;
}

.tta-quick-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--tta-shadow-md);
}

.tta-quick-card-svg {
  background: linear-gradient(180deg, #cfe2ff 0%, #99c2ff 100%);
  width: 100%;
  display: block;
}

.tta-quick-card-body {
  padding: 14px 16px;
}

.tta-quick-card-name {
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 2px;
  color: var(--tta-text);
}

.tta-quick-card-meta {
  color: var(--tta-text-muted);
  font-size: 13px;
}

/* ===== AUTH PAGES (register / login) ===== */
.tta-auth-shell {
  max-width: 1080px;
  margin: 40px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}

.tta-auth-card {
  background: var(--tta-card);
  border-radius: var(--tta-radius-lg);
  padding: 28px 32px;
  box-shadow: var(--tta-shadow-md);
  border: 1px solid var(--tta-border-light);
}

.tta-auth-card h2 {
  margin: 0 0 6px;
  font-size: 26px;
}

.tta-auth-card p.lede {
  margin: 0 0 22px;
  color: var(--tta-text-muted);
}

.tta-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tta-form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.tta-form-field label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--tta-text);
}

.tta-form-field input,
.tta-form-field select,
.tta-form-field textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 11px 12px;
  border-radius: var(--tta-radius);
  border: 1px solid var(--tta-border);
  background: #fff;
  color: var(--tta-text);
  width: 100%;
}

.tta-form-field input:focus,
.tta-form-field select:focus,
.tta-form-field textarea:focus {
  outline: 2px solid var(--tta-primary-light);
  outline-offset: -1px;
  border-color: var(--tta-primary-light);
}

.tta-form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 16px;
  font-size: 14px;
}

.tta-form-check input { width: 16px; height: 16px; }

.tta-submit-btn {
  width: 100%;
  background: var(--tta-primary);
  color: #fff;
  border: 0;
  padding: 14px;
  border-radius: var(--tta-radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.tta-submit-btn:hover { background: var(--tta-primary-dark); }
.tta-submit-btn.is-accent { background: var(--tta-accent); color: var(--tta-primary-dark); }
.tta-submit-btn.is-accent:hover { background: var(--tta-accent-dark); }

.tta-error-pill {
  background: #fdecea;
  color: var(--tta-error);
  border: 1px solid #f5c5c1;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  margin: 0 0 16px;
  font-weight: 500;
  display: none;
}
.tta-error-pill.is-visible { display: block; }

.tta-aside {
  background: linear-gradient(160deg, var(--tta-primary) 0%, var(--tta-primary-light) 100%);
  color: #fff;
  padding: 28px;
  border-radius: var(--tta-radius-lg);
  position: sticky;
  top: 80px;
}

.tta-aside h3 {
  margin-top: 0;
  font-size: 20px;
}

.tta-aside ul {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.tta-aside li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 14.5px;
}

.tta-aside li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--tta-accent);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path fill='%23082a52' d='M4 9l3.5 3.5L14 6'/></svg>");
  background-size: 14px 14px;
  background-repeat: no-repeat;
  background-position: center;
}

.tta-login-hint {
  background: #f6faff;
  border: 1px dashed var(--tta-primary-light);
  border-radius: var(--tta-radius);
  padding: 14px 16px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--tta-text);
}

.tta-login-hint h4 {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--tta-primary);
}

.tta-login-hint code {
  font-family: 'JetBrains Mono', monospace;
  background: #fff;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid var(--tta-border-light);
}

/* ===== RESULTS PAGE ===== */
.tta-results-shell {
  max-width: 1280px;
  margin: 24px auto 0;
  padding: 0 24px;
}

.tta-results-summary {
  background: var(--tta-card);
  border: 1px solid var(--tta-border-light);
  border-radius: var(--tta-radius);
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.tta-results-summary strong { color: var(--tta-primary); }

.tta-results-edit {
  background: transparent;
  border: 1px solid var(--tta-primary);
  color: var(--tta-primary);
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
}

.tta-results-grid {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 22px;
  align-items: start;
}

.tta-filters {
  background: var(--tta-card);
  border: 1px solid var(--tta-border-light);
  border-radius: var(--tta-radius);
  padding: 18px;
  position: sticky;
  top: 80px;
}

.tta-filters h4 {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--tta-primary);
}

.tta-filter-group {
  margin-bottom: 22px;
  border-bottom: 1px solid var(--tta-border-light);
  padding-bottom: 18px;
}
.tta-filter-group:last-child { border-bottom: 0; }

.tta-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin: 6px 0;
}

.tta-filter-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.tta-price-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tta-price-inputs input {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid var(--tta-border);
}

.tta-results-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tta-results-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

.tta-results-count {
  font-weight: 600;
  font-size: 15px;
}

.tta-sort-select {
  font-family: inherit;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid var(--tta-border);
  background: #fff;
}

/* ===== HOTEL CARD ===== */
.tta-hotel-card {
  background: var(--tta-card);
  border: 1px solid var(--tta-border-light);
  border-radius: var(--tta-radius);
  display: grid;
  grid-template-columns: 260px 1fr 200px;
  gap: 0;
  overflow: hidden;
  transition: box-shadow 0.15s ease;
}

.tta-hotel-card:hover { box-shadow: var(--tta-shadow-md); }

.tta-hotel-img {
  background: linear-gradient(180deg, #d6e4ff 0%, #a8c3ee 100%);
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 180px;
}

.tta-hotel-img svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tta-hotel-body {
  padding: 14px 18px;
}

.tta-hotel-name {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--tta-primary);
}

.tta-hotel-location {
  font-size: 13px;
  color: var(--tta-text-muted);
  margin: 0 0 8px;
}

.tta-hotel-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--tta-accent);
  margin: 0 0 6px;
}

.tta-hotel-stars svg { width: 14px; height: 14px; }

.tta-hotel-desc {
  font-size: 14px;
  color: var(--tta-text);
  margin: 6px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tta-hotel-side {
  background: #f9fbff;
  border-left: 1px solid var(--tta-border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding: 14px 16px;
  text-align: right;
}

.tta-hotel-score {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tta-primary);
  color: #fff;
  border-radius: 8px 8px 8px 0;
  padding: 4px 8px;
  font-size: 14px;
  font-weight: 700;
}

.tta-hotel-score small {
  display: block;
  font-weight: 500;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 1px;
}

.tta-hotel-price-block { margin-top: 12px; text-align: right; }

.tta-hotel-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--tta-text);
}

.tta-hotel-total {
  font-size: 12px;
  color: var(--tta-text-muted);
  margin-bottom: 8px;
}

.tta-hotel-deal-btn {
  background: var(--tta-primary);
  color: #fff;
  border: 0;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  margin-top: 4px;
}
.tta-hotel-deal-btn:hover { background: var(--tta-primary-dark); }

/* ===== HOTEL DETAIL ===== */
.tta-hotel-detail-shell {
  max-width: 1180px;
  margin: 24px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

.tta-hotel-detail-main {
  background: var(--tta-card);
  border: 1px solid var(--tta-border-light);
  border-radius: var(--tta-radius);
  overflow: hidden;
}

.tta-hotel-banner {
  width: 100%;
  height: 280px;
  background: linear-gradient(180deg, #c8dbff 0%, #8eaee0 100%);
}

.tta-hotel-banner svg { width: 100%; height: 100%; display: block; }

.tta-hotel-detail-inner {
  padding: 22px 26px;
}

.tta-hotel-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}

.tta-hotel-detail-header h1 {
  margin: 0 0 4px;
  font-size: 26px;
}

.tta-back-btn {
  background: transparent;
  border: 1px solid var(--tta-primary);
  color: var(--tta-primary);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  font-size: 13px;
}

.tta-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.tta-amenity {
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 18px;
  border: 1px solid var(--tta-border);
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tta-amenity.is-yes {
  background: #e8f4ea;
  border-color: #b6dcb9;
  color: #135b18;
}

.tta-amenity.is-no {
  background: #f7f4f4;
  color: #94928d;
  text-decoration: line-through;
  border-color: var(--tta-border-light);
}

.tta-rooms-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.tta-rooms-table th,
.tta-rooms-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--tta-border-light);
  font-size: 14px;
}

.tta-rooms-table th {
  background: #f1f5fb;
  color: var(--tta-primary);
  font-weight: 700;
}

.tta-room-select-btn {
  background: var(--tta-accent);
  color: var(--tta-primary-dark);
  border: 0;
  padding: 8px 14px;
  border-radius: 6px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
}
.tta-room-select-btn:hover { background: var(--tta-accent-dark); color: #fff; }

.tta-sidebar {
  background: var(--tta-card);
  border: 1px solid var(--tta-border-light);
  border-radius: var(--tta-radius);
  padding: 18px;
  position: sticky;
  top: 80px;
}

.tta-sidebar h4 {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--tta-primary);
}

.tta-sidebar-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed var(--tta-border-light);
  font-size: 14px;
}
.tta-sidebar-row:last-child { border-bottom: 0; }
.tta-sidebar-row.is-total { font-weight: 700; font-size: 18px; color: var(--tta-primary); border-top: 2px solid var(--tta-primary); border-bottom: 0; padding-top: 12px; margin-top: 8px; }

/* ===== BOOK PAGE ===== */
.tta-book-shell {
  max-width: 1180px;
  margin: 24px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

.tta-book-main {
  background: var(--tta-card);
  border: 1px solid var(--tta-border-light);
  border-radius: var(--tta-radius);
  padding: 24px 28px;
}

.tta-book-main h2 {
  margin: 0 0 18px;
  font-size: 22px;
  color: var(--tta-primary);
}

.tta-book-main h3 {
  margin: 18px 0 10px;
  font-size: 16px;
  color: var(--tta-text);
}

/* ===== CONFIRM PAGE ===== */
.tta-confirm-shell {
  max-width: 720px;
  margin: 36px auto;
  padding: 0 24px;
}

.tta-confirm-card {
  background: var(--tta-card);
  border: 1px solid var(--tta-border-light);
  border-radius: var(--tta-radius);
  padding: 36px 32px;
  text-align: center;
  box-shadow: var(--tta-shadow-md);
}

.tta-confirm-tick {
  width: 80px;
  height: 80px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #e8f4ea;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tta-confirm-card h1 {
  font-size: 26px;
  margin: 0 0 6px;
}

.tta-confirm-ref {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  background: #f1f5fb;
  border: 1px solid var(--tta-border-light);
  color: var(--tta-primary);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 700;
  margin: 14px 0;
}

.tta-confirm-summary {
  text-align: left;
  margin-top: 22px;
  border: 1px dashed var(--tta-border);
  border-radius: 8px;
  padding: 16px;
}

.tta-confirm-summary .tta-sidebar-row { padding: 6px 0; }

.tta-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.tta-confirm-actions button,
.tta-confirm-actions a {
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}

.tta-confirm-actions .primary {
  background: var(--tta-primary);
  color: #fff;
  border: 0;
}

.tta-confirm-actions .secondary {
  background: transparent;
  color: var(--tta-primary);
  border: 1px solid var(--tta-primary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .tta-search-card { grid-template-columns: 1fr 1fr; }
  .tta-search-submit { grid-column: 1 / -1; }
  .tta-quick-grid { grid-template-columns: 1fr; }
  .tta-results-grid { grid-template-columns: 1fr; }
  .tta-filters { position: static; }
  .tta-hotel-card { grid-template-columns: 1fr; }
  .tta-hotel-side { border-left: 0; border-top: 1px solid var(--tta-border-light); align-items: flex-start; text-align: left; }
  .tta-auth-shell { grid-template-columns: 1fr; }
  .tta-hotel-detail-shell, .tta-book-shell { grid-template-columns: 1fr; }
  .tta-aside, .tta-sidebar { position: static; }
}

@media (max-width: 600px) {
  .tta-search-card { grid-template-columns: 1fr; }
  .tta-form-row { grid-template-columns: 1fr; }
  .tta-hero { padding: 40px 20px 80px; }
  .tta-hero h1 { font-size: 28px; }
}

/* Utility */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
