/* ===================================================
   Wayzuno Destination Comparison Tool Styles
   =================================================== */

.compare-page {
  color: #090d16;
  background-color: #fafbfc;
}

/* ---------------------------------------------------
   1. Interactive Controls Card
   --------------------------------------------------- */
.compare-controls-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
}

.controls-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.control-group label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #334155;
}

.control-group select {
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.control-group select:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.14);
}

/* ---------------------------------------------------
   2. Destination Chip Selector
   --------------------------------------------------- */
.destination-selector-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid #f1f5f9;
  padding-top: 20px;
}

.destination-selector-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.destination-selector-label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.destination-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dest-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.dest-chip:hover {
  border-color: #4f46e5;
  color: #4f46e5;
  background: #f8fafc;
}

.dest-chip.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.dest-chip.active:hover {
  background: #1e293b;
  border-color: #1e293b;
}

.dest-chip:focus-visible {
  outline: 2px solid #4f46e5;
  outline-offset: 2px;
}

.chip-hint {
  color: #64748b;
  font-size: 13px;
}

/* User feedback / limit notice */
.compare-limit-banner {
  font-size: 13px;
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 8px 14px;
  border-radius: 10px;
  margin-top: 4px;
}

.compare-limit-banner[hidden] {
  display: none;
}

/* ---------------------------------------------------
   3. Comparison Output Grid
   --------------------------------------------------- */
.compare-grid-container {
  margin-bottom: 48px;
}

.compare-grid-layout {
  display: grid;
  gap: 24px;
  align-items: stretch;
}

.compare-grid-layout.col-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compare-grid-layout.col-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 850px) {
  .compare-grid-layout.col-2,
  .compare-grid-layout.col-3 {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------
   4. Comparison Column Card
   --------------------------------------------------- */
.compare-column-card {
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #ffffff;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.04);
  position: relative;
}

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

.estimate-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #f1f5f9;
  color: #475569;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.country-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  display: block;
}

.compare-column-card h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 4px 0 6px;
  color: #0f172a;
}

.card-header .tagline {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Hero total metric */
.metric-hero {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 20px;
  text-align: center;
}

.metric-hero .metric-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  display: block;
}

.metric-hero .price-val {
  font-size: clamp(32px, 3vw, 40px);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.04em;
  margin: 4px 0;
  line-height: 1.1;
}

.metric-hero .price-sub {
  font-size: 12px;
  color: #64748b;
  display: block;
  line-height: 1.4;
}

/* Specification sections */
.spec-section {
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}

.spec-section h4 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #334155;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13.5px;
  padding: 5px 0;
  color: #475569;
}

.spec-row strong {
  color: #0f172a;
  font-weight: 700;
  text-align: right;
}

.season-note {
  font-size: 13px;
  color: #475569;
  margin: 10px 0 0;
  line-height: 1.5;
  background: #f8fafc;
  padding: 10px 12px;
  border-radius: 8px;
  border-left: 3px solid #6366f1;
}

/* Decision pros / cons */
.decision-section {
  background: #f8fafc;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.decision-section h4 {
  margin-bottom: 8px;
}

.decision-section .pros-text {
  font-size: 13px;
  color: #166534;
  line-height: 1.5;
  margin: 4px 0 8px;
}

.decision-section .cons-text {
  font-size: 13px;
  color: #991b1b;
  line-height: 1.5;
  margin: 0;
}

/* CTA to live search */
.card-footer {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.compare-cta {
  display: block;
  text-align: center;
  background: #0f172a;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 999px;
  transition: all 0.15s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.compare-cta:hover {
  background: #4f46e5;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.compare-cta:focus-visible {
  outline: 2px solid #4f46e5;
  outline-offset: 2px;
}

.compare-cta-sub {
  font-size: 11px;
  color: #64748b;
  text-align: center;
  display: block;
  line-height: 1.4;
}

/* ---------------------------------------------------
   5. Empty State & Disclaimers
   --------------------------------------------------- */
.compare-empty-state {
  background: #ffffff;
  border: 2px dashed #cbd5e1;
  border-radius: 20px;
  padding: 48px 24px;
  text-align: center;
  margin: 16px 0;
}

.compare-empty-state h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}

.compare-empty-state p {
  font-size: 15px;
  color: #64748b;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

.compare-disclaimer-note {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  padding: 12px 16px;
  background: #f1f5f9;
  border-radius: 10px;
  margin-top: 16px;
}
.compare-page .seo-nav,
.compare-page .nav-links {
  flex-wrap: wrap;
}
