.segment-page {
  padding-top: 40px;
  padding-bottom: 60px;
}
.segment-page .segment-container {
  max-width: 1000px;
}
.segment-breadcrumbs {
  margin-bottom: 30px;
  font-size: 14px;
  color: #6b7280;
}
.segment-breadcrumbs a {
  color: #007bff;
  text-decoration: none;
}
.segment-breadcrumbs .current {
  color: #111827;
  font-weight: 500;
}
.segment-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #111827;
}
.segment-title .accent {
  color: #007bff;
}
.segment-subtitle {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 30px;
  line-height: 1.5;
}
.segment-routes-list {
  display: grid;
  gap: 16px;
}
.segment-routes-list .route-card-v2 {
  position: relative;
}
.segment-cta {
  margin-top: 40px;
  padding: 30px;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  border-radius: 16px;
  text-align: center;
  color: #fff;
}
.segment-cta h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}
.segment-cta p {
  font-size: 16px;
  margin-bottom: 20px;
  opacity: 0.9;
}
.segment-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #007bff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.segment-empty {
  background: #fff;
  padding: 60px 40px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid #e5e7eb;
}
.segment-empty h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111827;
}
.segment-empty p {
  color: #6b7280;
  margin-bottom: 24px;
  font-size: 15px;
}
.segment-empty a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #007bff;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

/* taxonomy-direction archive styles moved from inline template block */
.archive-header {
  padding: 40px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  border-bottom: 1px solid var(--border);
}
.archive-header h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.archive-description {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
}
.routes-archive {
  padding: 40px 0;
}
.archive-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}
.archive-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.filter-card,
.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
.filter-card h3,
.info-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}
.filter-group {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.filter-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
}
.filter-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.checkbox-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text);
}
.checkbox-filter input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary);
}
.price-range {
  width: 100%;
  margin-bottom: 8px;
  cursor: pointer;
}
.price-display {
  font-size: 13px;
  color: var(--text-muted);
}
.price-display strong {
  color: var(--primary);
  font-weight: 700;
}
#reset-filters {
  width: 100%;
}
.info-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.routes-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}
.no-routes {
  text-align: center;
  font-size: 16px;
  color: var(--text-muted);
  padding: 40px 20px;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pagination-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s;
}
.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f8f9fa;
}
.pagination .current {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
@media (max-width: 1024px) {
  .archive-grid {
    grid-template-columns: 240px 1fr;
    gap: 30px;
  }
  .archive-header h1 {
    font-size: 28px;
  }
}
@media (max-width: 768px) {
  .archive-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .filter-card {
    order: 2;
  }
  .routes-list {
    order: 1;
  }
}
@media (max-width: 480px) {
  .archive-header {
    padding: 24px 0;
  }
  .archive-header h1 {
    font-size: 20px;
  }
  .routes-archive {
    padding: 24px 0;
  }
}

/* single-news template cleanup */
.single-news-layout {
  max-width: 920px;
}
.single-news-breadcrumbs {
  margin: 8px 0 20px;
}
.single-news-header {
  margin-bottom: 20px;
}
.single-news-headline {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 12px;
}
.single-news-hero {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 24px;
}
.single-news-body {
  font-size: 17px;
  line-height: 1.7;
}

/* checkout-failed template */
.checkout-failed-section {
  margin: 40px 0;
}
.checkout-failed-container {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.checkout-failed-hero {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  padding: 60px 40px;
  border-radius: 16px;
  margin-bottom: 40px;
}
.checkout-failed-icon {
  font-size: 80px;
  margin-bottom: 20px;
}
.checkout-failed-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
}
.checkout-failed-subtitle {
  font-size: 18px;
  margin-bottom: 0;
  opacity: 0.95;
}
.checkout-failed-order-info {
  background: #f9fafb;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 40px;
  text-align: left;
}
.checkout-failed-order-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}
.checkout-failed-order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.checkout-failed-label {
  color: #6b7280;
  font-size: 13px;
  margin-bottom: 4px;
}
.checkout-failed-value {
  font-weight: 700;
  color: #1f2937;
  font-size: 16px;
  margin: 0;
}
.checkout-failed-value-mono {
  font-family: monospace;
}
.checkout-failed-value-status {
  margin: 0;
}
.checkout-failed-value-sm {
  font-size: 14px;
  font-weight: 600;
}
.checkout-failed-reasons,
.checkout-failed-actions-box {
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 40px;
  border-left: 4px solid;
}
.checkout-failed-reasons {
  background: #fef2f2;
  border-left-color: #ef4444;
}
.checkout-failed-actions-box {
  background: #f0f9ff;
  border-left-color: #007bff;
}
.checkout-failed-box-title {
  font-weight: 700;
  margin-bottom: 16px;
}
.checkout-failed-box-title-danger {
  color: #7f1d1d;
}
.checkout-failed-box-title-info {
  color: #0c4a6e;
}
.checkout-failed-list {
  text-align: left;
  margin: 0;
  padding-left: 20px;
  color: #6b7280;
  line-height: 2;
}
.checkout-failed-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.checkout-failed-btn {
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}
.checkout-failed-btn-primary {
  background: #007bff;
  color: #fff;
}
.checkout-failed-btn-muted {
  background: #e5e7eb;
  color: #1f2937;
}

/* single route segment template */
.single-route-segment-layout {
  max-width: 920px;
}
.single-route-segment-nav {
  margin: 10px 0 20px;
}
.single-route-segment-content {
  line-height: 1.7;
}

/* route segment archive */
.route-segment-archive-header-row {
  margin-top: 18px;
}
