/* ============================================================
   DAY TRIPS FROM BANGKOK — Design System
   Warm Bangkok travel aesthetic: temple gold, river teal,
   street food energy. Feels local, practical, not sterile.
   ============================================================ */

/* === FONTS === */
/* Cinzel + Outfit loaded per-page via HTML <link> tags */

/* === DESIGN TOKENS === */
:root {
  /* Core palette — Bangkok warmth */
  --temple-gold:    #B8860B;   /* Primary — temple gold, Buddhist aesthetic */
  --temple-gold-light: #D4A017; /* Hover state */
  --river-blue:      #1a5f7a;   /* Secondary — Chao Phraya river blue */
  --river-teal:      #0d7a6f;   /* Accent — water/nature */
  --sand-warm:     #c4b48a;   /* Sand/warm accent */
  --sunset-orange:   #c45a14;   /* Accent 2 — Thai sunset warmth */
  --cream:           #faf6ee;   /* Background — warm parchment */
  --cream-dark:      #f0e8d8;   /* Card backgrounds */
  --warm-white:      #fffdf7;   /* Nav/text on dark */
  --white:           #ffffff;
  --text:            #1a1814;   /* Warm near-black */
  --text-light:      #5c5749;   /* Secondary text */
  --text-faint:      #9a9488;   /* Tertiary/metadata */

  /* Typography */
  --font-display: 'Cinzel', Georgia, serif;  /* Ancient/temple feel */
  --font-body:    'Outfit', system-ui, sans-serif;  /* Clean, modern, readable */
  --font-mono:    'JetBrains Mono', monospace;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  /* Shadows */
  --shadow-card: 0 2px 8px rgba(26, 95, 122, 0.08), 0 1px 2px rgba(26, 95, 122, 0.04);
  --shadow-card-hover: 0 12px 32px rgba(26, 95, 122, 0.16), 0 4px 8px rgba(26, 95, 122, 0.08);
  --shadow-header: 0 2px 12px rgba(26, 95, 122, 0.12);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Container */
  --container: 1100px;
  --container-pad: 1.5rem;
}

/* === RESET === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 600;
}

/* === SKIP LINK === */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--temple-gold);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  z-index: 1000;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* === CONTAINER === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* === HEADER === */
.site-header {
  background: var(--river-blue);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-header);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0;
  padding-bottom: 0;
  height: 64px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--warm-white);
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.logo:hover {
  color: var(--temple-gold-light);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.site-header nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.site-header nav a:hover {
  color: var(--temple-gold-light);
  background: rgba(255,255,255,0.08);
}

/* === MOBILE MENU TOGGLE === */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--warm-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* === HERO === */
.home-hero {
  background: var(--river-blue);
  color: var(--warm-white);
  padding: var(--space-2xl) 0;
  text-align: center;
}

.home-hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--temple-gold-light);
  margin-bottom: var(--space-md);
}

.home-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--white);
  margin-bottom: var(--space-lg);
  font-weight: 700;
}

.home-hero .lead {
  font-size: 1.125rem;
  max-width: 640px;
  margin: 0 auto var(--space-xl);
  opacity: 0.9;
  line-height: 1.7;
}

.home-hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.home-hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-hero-stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--temple-gold-light);
}

.home-hero-stat-label {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 0.25rem;
}

/* === DESTINATION HUB SECTION === */
.destination-section {
  padding: var(--space-2xl) 0;
}

.destination-section-header {
  margin-bottom: var(--space-xl);
  text-align: center;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

/* === DESTINATION CLUSTER === */
.destination-cluster {
  margin-bottom: var(--space-2xl);
}

.cluster-heading {
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--river-blue);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--cream-dark);
}

.cluster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

/* === DESTINATION CARD === */
.destination-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  text-decoration: none;
  color: var(--text);
  display: block;
}

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

.destination-card-hero {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--cream-dark);
  overflow: hidden;
}

.destination-card-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.destination-card-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,95,122,0.3) 0%, rgba(196,90,20,0.2) 100%);
}

.destination-card-body {
  padding: var(--space-lg);
}

.destination-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}

.destination-card-top h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
}

.state-badge {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--cream-dark);
  color: var(--river-blue);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.destination-card p {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.destination-card-species {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.species-pill {
  font-size: 0.8125rem;
  background: var(--cream);
  color: var(--text-light);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.destination-card-footer {
  display: flex;
  justify-content: flex-end;
}

.destination-card-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--temple-gold);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.destination-card-cta::after {
  content: '→';
}

/* === PAGE HERO === */
.page-hero {
  background: var(--river-blue);
  color: var(--warm-white);
  padding: var(--space-2xl) 0;
}

.page-hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--temple-gold-light);
  margin-bottom: var(--space-sm);
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--white);
  margin-bottom: var(--space-md);
}

.page-hero .lead {
  font-size: 1.0625rem;
  max-width: 640px;
  opacity: 0.9;
  line-height: 1.7;
}

/* === PRODUCT CARDS === */
.products-section {
  padding: var(--space-2xl) 0;
}

.products-section h2 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: var(--space-xl);
  color: var(--text);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}

.product-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.product-card-image {
  aspect-ratio: 16/9;
  background: var(--cream-dark);
  position: relative;
  overflow: hidden;
}

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

.product-card-image .image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,95,122,0.2) 0%, rgba(196,90,20,0.15) 100%);
}

.product-card-body {
  padding: var(--space-lg);
}

.product-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.product-card-body .product-meta {
  font-size: 0.875rem;
  color: var(--text-faint);
  margin-bottom: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--temple-gold);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.product-price span {
  font-size: 0.875rem;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-faint);
}

.product-card-btn {
  display: block;
  width: 100%;
  padding: 0.875rem;
  background: var(--temple-gold);
  color: var(--white);
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.product-card-btn:hover {
  background: var(--temple-gold-light);
}

/* === AFFILIATE DISCLOSURE === */
.affiliate-disclosure {
  background: var(--cream-dark);
  border: 1px solid var(--sand-warm);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-xl);
  font-size: 0.875rem;
  color: var(--text-light);
}

.affiliate-disclosure p {
  line-height: 1.5;
}

.affiliate-disclosure a {
  color: var(--river-blue);
  text-decoration: underline;
}

/* === ABOUT SECTION === */
.about-section {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--cream-dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.about-content h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
  color: var(--text);
}

.about-content p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.about-feature {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.about-feature-icon {
  font-size: 1.25rem;
  color: var(--temple-gold);
  flex-shrink: 0;
  line-height: 1.4;
}

.about-feature-text strong {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.about-feature-text span {
  font-size: 0.875rem;
  color: var(--text-faint);
}

/* === COMPARISON TABLE === */
.comparison-section {
  padding: var(--space-2xl) 0;
}

.comparison-table-wrap {
  overflow-x: auto;
  margin-bottom: var(--space-xl);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.comparison-table th {
  background: var(--river-blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  padding: var(--space-md);
  text-align: left;
}

.comparison-table td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--cream-dark);
  vertical-align: top;
}

.comparison-table tr:nth-child(even) td {
  background: var(--cream-dark);
}

.comparison-recommendation {
  background: var(--white);
  border: 2px solid var(--temple-gold);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
}

.comparison-recommendation h3 {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.comparison-recommendation p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

/* === FAQ SECTION === */
.faq-section {
  padding: var(--space-2xl) 0;
}

.faq-section h2 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: var(--space-xl);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--cream-dark);
  padding: var(--space-lg) 0;
}

.faq-item h3 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 600;
}

.faq-item p {
  color: var(--text-light);
  line-height: 1.7;
}

/* === FOOTER === */
footer {
  background: var(--river-blue);
  color: var(--warm-white);
  padding: var(--space-2xl) 0 var(--space-lg);
  margin-top: var(--space-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--temple-gold-light);
  margin-bottom: var(--space-md);
}

.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col nav a {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-col nav a:hover {
  color: var(--temple-gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: var(--space-lg);
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.8;
}

.footer-bottom p:first-child {
  margin-bottom: var(--space-sm);
}

.footer-disclaimer {
  font-size: 0.8125rem;
  opacity: 0.7;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.5;
}

/* === COOKIE BANNER === */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--river-blue);
  color: var(--warm-white);
  padding: 1rem;
  z-index: 9999;
  text-align: center;
  font-size: 0.9rem;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

#cookie-banner span {
  line-height: 1.5;
}

#cookie-banner a {
  color: var(--temple-gold-light);
  text-decoration: underline;
}

#cookie-banner button {
  background: var(--temple-gold);
  color: var(--white);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: background var(--transition-fast);
}

#cookie-banner button:hover {
  background: var(--temple-gold-light);
}

/* === BREADCRUMB === */
.breadcrumb {
  padding: var(--space-md) 0;
  font-size: 0.875rem;
  color: var(--text-faint);
}

.breadcrumb a {
  color: var(--warm-white); /* was river-blue — invisible on dark hero */
  opacity: 0.85;
}
.breadcrumb a:hover {
  opacity: 1;
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 0.5rem;
}

/* === INFO BOX === */
.info-box {
  background: var(--cream-dark);
  border-left: 4px solid var(--temple-gold);
  padding: var(--space-lg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-xl) 0;
}

.info-box h4 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.info-box p, .info-box ul {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.6;
}

.info-box ul {
  padding-left: var(--space-lg);
}

.info-box ul li {
  margin-bottom: 0.25rem;
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .site-header nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--river-blue);
    flex-direction: column;
    padding: var(--space-md);
    gap: 0.25rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .site-header nav.open {
    display: flex;
  }

  .site-header nav a {
    width: 100%;
    padding: 0.75rem 1rem;
  }

  .home-hero {
    padding: var(--space-xl) 0;
  }

  .home-hero-stats {
    gap: var(--space-xl);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .cluster-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* === PRINT === */
@media print {
  .site-header, .breadcrumb, footer, #cookie-banner {
    display: none;
  }
  body {
    background: white;
    color: black;
  }
}
/* === PRODUCT CARD VARIANT (used by sub-agent generated pages) === */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}
.product-card:hover {
  box-shadow: var(--shadow-card-hover);
}
.product-card-image {
  aspect-ratio: 16/9;
  background: var(--cream-dark);
  overflow: hidden;
  position: relative;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card-body {
  padding: var(--space-lg);
}
.product-card-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--temple-gold);
  margin-bottom: 0.375rem;
}
.product-card-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.product-card-desc {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}
.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
  font-size: 0.875rem;
}
.product-card-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--temple-gold);
  font-weight: 700;
}
.product-card-rating {
  font-size: 0.875rem;
  color: var(--text-faint);
}
.btn {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  border: none;
  transition: background var(--transition-fast);
  text-decoration: none;
}
.btn-primary {
  background: var(--temple-gold);
  color: var(--white);
  width: 100%;
  text-align: center;
}
.btn-primary:hover {
  background: var(--temple-gold-light);
}

/* === FAQ SECTION (sub-agent generated) === */
.faq-question {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.faq-answer {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.7;
}
.content-section {
  padding: 3rem 0;
}
.cta-section {
  background: var(--cream-dark);
  padding: 3rem 0;
}
.cta-block {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.cta-title {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.cta-desc {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* === MOBILE STICKY CTA === */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--temple-gold);
  padding: 0.875rem 1rem;
  z-index: 999;
  text-align: center;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
}
.mobile-sticky-cta a {
  display: inline-block;
  background: var(--white);
  color: var(--temple-gold);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  width: 100%;
  max-width: 400px;
}
@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: block;
  }
  body {
    padding-bottom: 60px;
  }
}

/* === FOCUS STYLES === */
*:focus-visible {
  outline: 3px solid var(--temple-gold);
  outline-offset: 2px;
  border-radius: 2px;
}
.skip-link:focus-visible {
  outline-offset: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--temple-gold);
  outline-offset: 2px;
}

/* === DESTINATION CARD vs PRODUCT CARD DIFFERENTIATION === */
.destination-card {
  background: var(--warm-white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.destination-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}
.destination-card-image {
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--temple-gold); /* Gold accent distinguishes from product cards */
}
.destination-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}
.destination-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.destination-card-desc {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.destination-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-faint);
}
.destination-card-badge {
  background: var(--cream-dark);
  color: var(--temple-gold);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.destination-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--temple-gold);
  font-weight: 600;
  font-size: 0.875rem;
  margin-top: 0.75rem;
  transition: gap var(--transition-fast);
}
.destination-card:hover .destination-card-arrow {
  gap: 0.6rem;
}

/* === INFO-BOX SECTIONS (used in hub pages) === */
.info-boxes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}
.info-box {
  background: var(--cream-dark);
  border-left: 4px solid var(--temple-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.5rem 1.75rem;
}
.info-box h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--temple-gold);
  margin-bottom: 0.6rem;
}
.info-box p {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.65;
}
@media (max-width: 640px) {
  .info-boxes-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* === EDITORIAL INTRO for destination sections === */
.destination-editorial {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--cream-dark);
}
.destination-editorial p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 680px;
}

/* === CONTENT SECTION spacing === */
.content-section {
  padding: 3rem 0;
}
.content-section--tight {
  padding: 2rem 0;
}
.content-narrow {
  max-width: 680px;
  margin: 0 auto;
}

/* === GRID UTILITIES === */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* === PRIVACY POLICY STYLES === */
.policy-section {
  margin-bottom: 2.5rem;
}
.policy-section h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--temple-gold);
}
.policy-section h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.5rem 0 0.75rem;
}
.policy-section p {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.policy-section ul, .policy-section ol {
  margin: 1rem 0 1.25rem 1.5rem;
}
.policy-section li {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}
.policy-section a {
  color: var(--river-blue);
  text-decoration: underline;
}
.policy-section a:hover {
  color: var(--temple-gold);
}

/* === TERMS PAGE STYLES === */
.terms-section {
  margin-bottom: 2.5rem;
}
.terms-section h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
  border-bottom: 2px solid var(--river-blue);
  padding-bottom: 0.5rem;
}
.terms-section p, .terms-section li {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* === ABOUT PAGE === */
.about-hero {
  background: var(--cream-dark);
  padding: 3rem 0;
  margin-bottom: 3rem;
}
.about-content {
  max-width: 680px;
  margin: 0 auto;
}
.about-content p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.about-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin: 2.5rem 0 1rem;
}
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}
.about-value {
  text-align: center;
  padding: 1.5rem;
}
.about-value h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--temple-gold);
  margin-bottom: 0.5rem;
}
.about-value p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
}
@media (max-width: 640px) {
  .about-values {
    grid-template-columns: 1fr;
  }
}

/* === PRODUCT CARD CONSOLIDATED (unified version) === */
.product-card {
  background: var(--warm-white);
  border: 1px solid rgba(26,95,122,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.product-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--cream-dark);
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.product-card:hover .product-card-image img {
  transform: scale(1.03);
}
.product-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--temple-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}
.product-card-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.product-card-desc {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  flex: 1;
}
.product-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-faint);
  margin-bottom: 0.75rem;
}
.product-card-price {
  font-weight: 700;
  color: var(--temple-gold);
  font-size: 1.0625rem;
  margin-bottom: 0.75rem;
}
.product-card-price span {
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--text-faint);
}
.product-card-btn {
  display: inline-block;
  background: var(--temple-gold);
  color: var(--white);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  text-align: center;
  transition: background var(--transition-fast);
  border: none;
  cursor: pointer;
  width: 100%;
}
.product-card-btn:hover {
  background: var(--temple-gold-light);
  color: var(--white);
}

/* === GUIDE LINK CARDS (sub-page navigation on hub pages) === */
.guide-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.guide-link-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.5rem;
  background: var(--warm-white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.guide-link-card:hover {
  border-color: var(--temple-gold);
  box-shadow: var(--shadow-card);
}
.guide-link-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--temple-gold);
}
.guide-link-desc {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.5;
}
@media (max-width: 640px) {
  .guide-links-grid {
    grid-template-columns: 1fr;
  }
}

/* === SECTION HEADER UTILITIES === */
.section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* === PRODUCT GRID === */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* === PAGE HERO VARIANTS === */
.page-hero--ayutthaya {
  background: linear-gradient(160deg, var(--cream-dark) 0%, var(--cream) 100%);
}

/* === PAGE HERO STATIC (non-destination pages) === */
.page-hero--static {
  background: var(--cream-dark);
  color: var(--text);
}
.page-hero--static h1 {
  color: var(--text);
}
.page-hero--static .lead {
  color: var(--text-light);
}

/* === POLICY CONTENT === */
.policy-content {
  max-width: 720px;
  margin: 0 auto;
}
.policy-section {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--cream-dark);
}
.policy-section--last {
  border-bottom: none;
  text-align: center;
  color: var(--text-faint);
  font-size: 0.875rem;
}
.policy-section h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--temple-gold);
}
.policy-section p {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 0.875rem;
}
.policy-section p:last-child {
  margin-bottom: 0;
}
.policy-section a {
  color: var(--river-blue);
  text-decoration: underline;
}
.policy-section code {
  background: var(--cream-dark);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.875em;
}

/* === GUIDE PILL (contextual links in sub-pages) === */
.guide-pill {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  background: var(--warm-white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--river-blue);
  text-decoration: none;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}
.guide-pill:hover {
  border-color: var(--temple-gold);
  color: var(--temple-gold);
}

.related-links-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

/* === INFO CARDS (used in damnoen-saduak, practical info sections) === */
.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.info-card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}
.info-card-label {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--temple-gold);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.info-card-text {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* === MARKET DESCRIPTION CARDS === */
.market-desc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}
.market-desc-section {
  padding: 2rem 0 3rem;
}
.market-desc-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}
.market-desc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.market-desc-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--temple-gold);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.market-desc-item p {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.65;
}
.market-desc-footnote {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--cream-dark);
  font-size: 0.875rem;
  color: var(--text-faint);
  line-height: 1.6;
}

/* === PRODUCT GRID (hub pages) === */
.products-section {
  padding: 3rem 0;
}

/* === NAV LINKS (bottom of hub pages) === */
.nav-links-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.nav-link-text {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--temple-gold);
  text-decoration: none;
}
.nav-link-text:hover {
  color: var(--temple-gold-light);
}

/* === PAGE HERO VARIANTS === */
.page-hero--floating-markets {
  background: linear-gradient(160deg, #f0e8d8 0%, var(--cream) 100%);
}
.page-hero--static {
  background: var(--cream-dark);
  color: var(--text);
}

/* === FIX: Product card button contrast — gold on white fails AA 4.5:1 === */
.product-card-btn {
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* === FIX: Mobile sticky CTA — visible contrast bar === */
.mobile-sticky-cta a {
  background: var(--river-blue);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(26,95,122,0.3);
}
.mobile-sticky-cta a:hover {
  background: var(--river-teal);
}

/* === CONTENT SECTION backgrounds for visual separation === */
.content-section {
  background: var(--cream);
  padding: 3rem 0;
}
.content-section--alt {
  background: var(--warm-white);
  padding: 3rem 0;
}
.content-section--dark {
  background: var(--cream-dark);
  padding: 3rem 0;
}

/* === INFO BOX — visual distinction from product cards === */
.info-box {
  background: var(--warm-white);
  border-left: 4px solid var(--temple-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-card);
}

/* === PAGE HERO COLOR OVERRIDES — cream backgrounds need dark text === */
.page-hero--ayutthaya,
.page-hero--floating-markets {
  color: var(--text);
}
.page-hero--ayutthaya h1,
.page-hero--floating-markets h1 {
  color: var(--text);
}
.page-hero--ayutthaya .lead,
.page-hero--floating-markets .lead {
  color: var(--text-light);
  opacity: 1;
}
.page-hero--ayutthaya .page-hero-eyebrow,
.page-hero--floating-markets .page-hero-eyebrow {
  color: var(--temple-gold);
}

/* === FORCE DARK TEXT ON LIGHT HERO BACKGROUNDS === */
.page-hero--ayutthaya,
.page-hero--floating-markets {
  background-color: var(--cream-dark) !important;
  color: var(--text) !important;
}
.page-hero--ayutthaya h1,
.page-hero--floating-markets h1 {
  color: var(--text) !important;
}
.page-hero--ayutthaya .lead,
.page-hero--floating-markets .lead {
  color: var(--text-light) !important;
  opacity: 1 !important;
}
.page-hero--ayutthaya .breadcrumb,
.page-hero--floating-markets .breadcrumb {
  color: var(--text-faint) !important;
}
