/* Reset */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Design Tokens */
:root{
      --night: #1E2A38;       /* deep indigo — hero background, dawn-sky feel */
      --sand: #F3ECDF;        /* warm sandstone — section backgrounds */
      --saffron: #E2932E;     /* marigold accent */
      --vermilion: #A63D2F;   /* sindoor red — primary CTA color */
      --brass: #B99247;       /* muted gold — dividers, thin lines */
      --ink: #241B14;         /* main text color */
      --white: #FFFFFF;

      --font-display: 'Fraunces', serif;
      --font-body: 'Work Sans', sans-serif;
      --font-mono: 'IBM Plex Mono', monospace;
}

body{
    font-family:var(--font-body);
    color:var(--ink);
    background-color:var(--sand);
    line-height: 1.6;
}

h1,h2,h3{
    font-family: var(--font-display);
    line-height: 1.15;
}

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

/* Header */
.site-header {
  background: var(--night);
  padding: 20px 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 2;
}
.header-inner{
    max-width:1100px;
    margin-left: 10px;
    margin-right: 10px;
    padding:0 24px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.brand{
    font-family: var(--font-display);
    font-size: 1.9rem;
    color:var(--white);
    font-weight:600;
}
.main-nav{
    display: flex;
    gap: 28px;
    padding-left: 20px;    
}
.main-nav a{
    
    color: var(--sand);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
    /* temp
      border-radius: 40px;
    border: 1px solid var(--brass);
    color:var(--sand);
    display:inline-block;
    padding: 7px 14px;
    font-size: 0.95rem;
    font-weight: 600;
    transition:all 0.2s ease; */
}
.main-nav a:hover{
    color: var(--saffron);
}
/* HERO */
.hero{
    background:var(--night);
    padding: 90px 0 110px;
}
.hero-inner{
    max-width:1100px;
    margin:0 auto;
    padding:0 24px;
}
.hero-copy{
    max-width: 640;
}
.eyebrow{
    font-family: var(--font-mono);
    font-size: 0.8;
    letter-spacing: 0.06;
    text-transform: uppercase;
    color:var(--saffron);
    margin-bottom: 18px;
}
.hero h1{
    font-size: 3.2rem;
    color:var(--white);
    font-weight: 600;
    margin-bottom: 22px;
}
.hero-sub{
    color:var(--sand);
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 36px;
}
.hero-action{
    display:flex;
    gap:16px;
}
/* bottons */
.btn{
    display:inline-block;
    padding: 14px 28px;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 600;
    transition:all 0.2s ease;
}
.btn-primary{
    background-color:var(--vermilion);
    color:var(--white);
}
.btn-primary:hover{
    background-color:#8c3324;
}
.btn-ghost{
    border: 1px solid var(--brass);
    color:var(--sand);
}
.btn-ghost:hover{
    background:rgba(185, 146, 71, 0.15);
}
/* problem section */
.problem{
    background: var(--sand);
    padding: 90px 0;
}
.problem-inner{
    max-width:1100px;
    margin:0 auto;
    padding:0 24px;
}
.problem h2{
    font-size: 2rem;
    max-width: 550px;
    margin-bottom: 50px;
}
.problem-grid{
    display: grid;
    grid-template-columns: repeat(3 ,1fr);
    gap: 32px;
}
.problem-item{
    /* display:inline-block; */
    border-top:2px solid var(--brass);
    /* border-radius: 40px;
    border-bottom: 2px solid var(--brass);
    border-left: 2px solid var(--brass); */
    padding-top: 18px;
}
.problem-label{
    display: block;
    font-family:var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform:uppercase;
    color:var(--vermilion);
    margin-top: 12px;
}
.problem-item p{
    font-size: 0.98rem;
    opacity: 0.85;
}
/* route preview */ 
.routes-preview{
    background: var(--white);
    padding: 100px 0;
}
.routes-inner{
    max-width:1100px;
    margin:0 auto;
    padding:0 24px;
}
.section-head{
    max-width: 600px;
    margin-bottom:50px;
}
.section-head h2{
    font-size: 2rem;
    margin-bottom:14px;
}
.section-head p{
    font-size: 1rem;
    opacity: 0.75;
}
.route-cards{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap:24px;
}
.route-card{
    background:var(--sand);
    border-radius: 8px;
    padding: 32px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.route-card:hover{
    transform: translateY(-4px);
    box-shadow:0 10px 24px rgba(0, 0, 0, 0.1);
}
.route-tag{
    display:inline-block;
    font-family:var(--font-mono);
    font-size:0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background:var(--night);
    color:var(--sand);
    padding:5px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.route-card h3{
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.route-shrines{
    font-size: 0.92rem;
    opacity: 0.75;
    margin-bottom: 20px;
}
.route.link{
    font-weight:600;
    color:var(--vermilion);
    font-size: 0.92rem;
}
.route-shrines:hover{
    text-decoration: underline;
}
/* CTA band */
.cta-band{
    background:var(--vermilion);
    padding:80px 0;
}
.cta-inner{
    max-width: 1100px;
    margin: 0 auto;
    padding:0 24px;
    text-align: center;
}
.cta-band h2{
    color:var(--white);
    font-size: 2rem;
    margin-bottom:14px;
}
.cta-band p{
    color:var(--sand);
    opacity: 0.9;
    margin-bottom:30px;
    font-size: 1.05rem;
}
.cta-band .btn-primary{
    background-color:var(--white);
    color:var(--vermilion);
}
.cta-band .btn-primary:hover{
    background:var(--sand);
}
.site-footer{
    background:var(--night);
    padding:24px 0;
}
.footer-inner{
    max-width:1100px;
    margin: 0 auto;
    padding:0 24px;
    display:flex;
    justify-content:space-between;
    color:var(--sand);
    font-size:0.9rem;
    opacity: 0.8;
}
.hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.hero-visual {
  flex-shrink: 0;
  text-align: center;
}

.mala {
  width: 220px;
  height: auto;
}

.bead {
  fill: var(--brass);
}

.bead.c1 { fill: var(--saffron); }
.bead.c2 { fill: var(--vermilion); }
.bead.c3 { fill: #7A9E7E; }
.bead.c4 { fill: #6E88B5; }

.bead-final {
  fill: var(--white);
  stroke: var(--saffron);
  stroke-width: 2;
}

.visual-caption {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--sand);
  opacity: 0.6;
  margin-top: 14px;
}
/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {

  /* Header */
  .main-nav {
    gap: 16px;
  }

  .main-nav a {
    font-size: 0.85rem;
  }

  /* Hero */
  .hero {
    padding: 60px 0 70px;
  }

  .hero-inner {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .mala {
    width: 140px;
  }

  /* Problem section */
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* Routes */
  .route-cards {
    grid-template-columns: 1fr;
  }

  .section-head h2,
  .problem h2,
  .cta-band h2 {
    font-size: 1.5rem;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}
/* ===== Page Hero (inner pages) ===== */
.page-hero {
  background: var(--night);
  padding: 70px 0 80px;
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-hero h1 {
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero-sub {
  color: var(--sand);
  opacity: 0.85;
  font-size: 1.05rem;
  max-width: 580px;
}

.page-hero .eyebrow {
  margin-bottom: 14px;
}
/* ===== Routes List Page ===== */
.routes-list {
  background: var(--sand);
  padding: 80px 0;
}

.routes-list-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.route-detail-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

.route-detail-header {
  background: var(--night);
  padding: 32px 36px;
}

.route-detail-header .route-tag {
  background: rgba(255, 255, 255, 0.12);
  color: var(--sand);
  margin-bottom: 14px;
}

.route-detail-header h2 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.route-desc {
  color: var(--sand);
  opacity: 0.8;
  font-size: 0.98rem;
  max-width: 560px;
}

.route-detail-body {
  padding: 32px 36px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.shrines-list h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--vermilion);
  margin-bottom: 16px;
}

.shrines-list ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shrines-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 500;
}

.shrine-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brass);
}

.shrine-state {
  font-size: 0.82rem;
  color: var(--ink);
  opacity: 0.5;
  font-weight: 400;
  margin-left: 4px;
}

.route-detail-meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 180px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.5;
}

.meta-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--night);
}

/* Mobile */
@media (max-width: 768px) {
  .route-detail-body {
    flex-direction: column;
  }

  .route-detail-meta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
}
/* ===== Auth Pages (Login / Register) ===== */
.auth-main {
  min-height: calc(100vh - 140px);
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.auth-card {
  background: var(--white);
  border-radius: 12px;
  padding: 48px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.auth-header {
  margin-bottom: 36px;
}

.auth-header h1 {
  font-size: 1.9rem;
  margin-bottom: 10px;
}

.auth-sub {
  font-size: 0.92rem;
  opacity: 0.7;
}

.auth-sub a {
  color: var(--vermilion);
  font-weight: 600;
}

.auth-sub a:hover {
  text-decoration: underline;
}

/* ===== Form Styles ===== */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.form-group input {
  padding: 12px 16px;
  border: 1.5px solid #DDD6CB;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--sand);
  transition: border-color 0.2s ease;
  outline: none;
}

.form-group input:focus {
  border-color: var(--saffron);
  background: var(--white);
}

.form-group input::placeholder {
  opacity: 0.45;
}

.btn-full {
  width: 100%;
  text-align: center;
}

.auth-divider {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.4;
  position: relative;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: var(--brass);
  opacity: 0.4;
}

.auth-divider::before { left: 0; }
.auth-divider::after  { right: 0; }

/* ===== Trip Builder ===== */
.builder-section {
  background: var(--sand);
  padding: 80px 0;
}

.builder-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.builder-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.builder-block {
  background: var(--white);
  border-radius: 10px;
  padding: 28px;
}

.builder-block h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.builder-hint {
  font-size: 0.88rem;
  opacity: 0.6;
  margin-bottom: 20px;
}

/* Route radio options */
.route-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.route-option {
  cursor: pointer;
}

.route-option input[type="radio"] {
  display: none;
}

.route-option .option-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  border: 1.5px solid #DDD6CB;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.route-option input[type="radio"]:checked + .option-card {
  border-color: var(--vermilion);
  background: rgba(166, 61, 47, 0.06);
}

.route-option:hover .option-card {
  border-color: var(--saffron);
}

.option-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.option-sub {
  font-size: 0.8rem;
  opacity: 0.6;
  font-family: var(--font-mono);
}

/* Trip details grid */
.trip-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Stay options */
.stay-options {
  display: flex;
  gap: 12px;
}

.stay-option {
  cursor: pointer;
  flex: 1;
}

.stay-option input[type="checkbox"] {
  display: none;
}

.stay-option .option-card {
  display: block;
  text-align: center;
  padding: 12px;
  border: 1.5px solid #DDD6CB;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.stay-option input[type="checkbox"]:checked + .option-card {
  border-color: var(--vermilion);
  background: rgba(166, 61, 47, 0.06);
  color: var(--vermilion);
}

.stay-option:hover .option-card {
  border-color: var(--saffron);
}

/* Preview panel */
.builder-preview {
  background: var(--white);
  border-radius: 10px;
  padding: 32px;
  position: sticky;
  top: 24px;
}

.preview-empty {
  text-align: center;
  padding: 60px 20px;
  opacity: 0.5;
}

.preview-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
}

.preview-empty-text {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 768px) {
  .builder-inner {
    grid-template-columns: 1fr;
  }

  .trip-details-grid {
    grid-template-columns: 1fr;
  }

  .stay-options {
    flex-direction: column;
  }

  .builder-preview {
    position: static;
  }
}
/* ===== Preview Content ===== */
.preview-top {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #DDD6CB;
}

.preview-top h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.preview-meta {
  font-size: 0.85rem;
  opacity: 0.6;
  font-family: var(--font-mono);
}

.preview-section {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #DDD6CB;
}

.preview-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--vermilion);
  margin-bottom: 12px;
}

.preview-shrine {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.preview-stay-type {
  font-weight: 600;
  font-size: 0.88rem;
  margin: 10px 0 6px;
  color: var(--night);
}

.preview-stay-item {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-bottom: 4px;
  padding-left: 8px;
}

.preview-budget {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--night);
}

.preview-error {
  padding: 20px;
  background: rgba(166, 61, 47, 0.08);
  border-radius: 8px;
  color: var(--vermilion);
  font-size: 0.92rem;
}
/* ===== Dashboard ===== */
.dashboard-section {
  background: var(--sand);
  padding: 60px 0 80px;
}

.dashboard-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.dashboard-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
}

.dashboard-count {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.trips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trip-card {
  background: var(--white);
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.trip-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.trip-card-header h3 {
  font-size: 1.1rem;
}

.trip-card-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trip-meta-item {
  font-size: 0.82rem;
  opacity: 0.65;
  font-family: var(--font-mono);
}

.trip-card-shrines {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.shrine-pill {
  background: var(--sand);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 500;
}

.trip-card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.btn-danger {
  background: transparent;
  border: 1.5px solid #DDD6CB;
  color: var(--vermilion);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-danger:hover {
  background: rgba(166, 61, 47, 0.08);
  border-color: var(--vermilion);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Empty state */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  background: var(--white);
  border-radius: 10px;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.empty-state h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.empty-state p {
  opacity: 0.6;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* Mobile */
@media (max-width: 768px) {

  /* Header */
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .main-nav {
    gap: 16px;
    flex-wrap: wrap;
  }

  .brand {
    font-size: 1.2rem;
  }

  /* Page hero */
  .page-hero {
    padding: 50px 0 60px;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  /* Route detail cards */
  .route-detail-body {
    flex-direction: column;
  }

  .route-detail-meta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }

  /* Auth card */
  .auth-card {
    padding: 32px 24px;
  }

  /* Trip builder */
  .builder-inner {
    grid-template-columns: 1fr;
  }

  .trip-details-grid {
    grid-template-columns: 1fr;
  }

  .stay-options {
    flex-direction: column;
  }

  .builder-preview {
    position: static;
  }

  /* Dashboard */
  .trips-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  /* Route cards on landing page */
  .route-cards {
    grid-template-columns: 1fr;
  }

  /* Problem grid */
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* Hero */
  .hero {
    padding: 60px 0 70px;
  }

  .hero-inner {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .mala {
    width: 140px;
  }

  /* CTA */
  .cta-band {
    padding: 60px 0;
  }

  .cta-band h2 {
    font-size: 1.5rem;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  /* Nav dropdown */
  .nav-dropdown-menu {
    right: auto;
    left: 0;
  }
}
/* ===== Auth Messages ===== */
.auth-message {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
}

.auth-message-error {
  background: rgba(166, 61, 47, 0.1);
  color: var(--vermilion);
  border: 1px solid rgba(166, 61, 47, 0.3);
}

.auth-message-success {
  background: rgba(76, 175, 80, 0.1);
  color: #2e7d32;
  border: 1px solid rgba(76, 175, 80, 0.3);
}
/* ===== Nav Dropdown ===== */
.nav-dropdown {
  position: relative;
}

.nav-user-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--sand);
  padding: 8px 14px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-user-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  min-width: 160px;
  overflow: hidden;
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a,
.nav-dropdown-menu button {
  display: block;
  width: 100%;
  padding: 12px 18px;
  font-size: 0.92rem;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: none;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.15s ease;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu button:hover {
  background: var(--sand);
}

.nav-dropdown-menu button {
  color: var(--vermilion);
  border-top: 1px solid #EEE;
}
.stays-loading {
  font-size: 0.9rem;
  color: var(--saffron);
  font-family: var(--font-mono);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ===== Booking Modal ===== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: var(--white);
  border-radius: 12px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid #EEE;
}

.modal-header h3 {
  font-size: 1.1rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--ink);
  opacity: 0.5;
  padding: 4px 8px;
  transition: opacity 0.2s;
}

.modal-close:hover {
  opacity: 1;
}

.modal-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-shrine {
  font-size: 0.88rem;
  opacity: 0.65;
  font-family: var(--font-mono);
}

.modal-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--vermilion);
}

/* Stay item row */
.stay-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.stay-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stay-item-name {
  font-size: 0.88rem;
  color: var(--ink);
}

.stay-item-price {
  font-size: 0.78rem;
  opacity: 0.6;
  font-family: var(--font-mono);
}

.btn-book {
  background: var(--vermilion);
  color: var(--white);
  border: none;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
  font-family: var(--font-body);
}

.btn-book:hover {
  background: #8c3324;
}

/* Booking success */
.modal-success {
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.success-icon {
  font-size: 2.5rem;
}

.modal-success h3 {
  font-size: 1.4rem;
}

.success-stay {
  opacity: 0.65;
  font-size: 0.92rem;
}

.booking-token-box {
  background: var(--sand);
  border-radius: 8px;
  padding: 20px;
  margin: 8px 0;
}

.token-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--vermilion);
  margin-bottom: 8px;
}

.token-value {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--night);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.token-hint {
  font-size: 0.8rem;
  opacity: 0.6;
}
.stays-fallback {
  text-align: center;
  padding: 20px;
  background: rgba(166, 61, 47, 0.06);
  border-radius: 8px;
}

.stays-fallback p {
  font-size: 0.9rem;
  color: var(--vermilion);
  margin-bottom: 12px;
}

.btn-retry {
  background: var(--vermilion);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s ease;
}

.btn-retry:hover {
  background: #8c3324;
}