.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
}

.hero-step-card {
  background: rgba(10, 34, 82, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.carousel-scrollbar::-webkit-scrollbar {
  height: 4px;
}

.carousel-scrollbar::-webkit-scrollbar-thumb {
  background: #004d99;
  border-radius: 10px;
}

.focus-ring:focus-visible {
  outline: 3px solid #004d99;
  outline-offset: 2px;
}

.catalog-hero {
  background:
    radial-gradient(circle at top left, rgba(254, 178, 66, 0.24), transparent 32%),
    radial-gradient(circle at top right, rgba(198, 33, 35, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(0, 77, 153, 1), rgba(0, 27, 61, 0.94));
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.demo-search-shell {
  display: grid;
  gap: 1rem;
}

.demo-hero-tabs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-right: 1rem;
}

.demo-hero-tabs {
  display: flex;
  overflow-x: auto;
}

.demo-hero-tab {
  border: 0;
  background: transparent;
  padding: 1rem 1.5rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #424752;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 150ms ease, border-color 150ms ease;
}

.demo-hero-tab.is-active {
  color: #004d99;
  border-bottom-color: #004d99;
}

.demo-hero-catalog-link {
  font-size: 0.95rem;
  white-space: nowrap;
}

.demo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0 1rem;
  margin-bottom: 0.25rem;
}

.demo-tab {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #424752;
}

.demo-tab strong {
  color: #004d99;
}

.demo-results,
.demo-quote-list,
.demo-filter-row {
  display: grid;
  gap: 0.85rem;
}

.demo-results--hero:empty {
  display: none;
}

.demo-filter-row {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.demo-filter-button {
  border: 1px solid #c2c6d4;
  background: #ffffff;
  color: #424752;
  border-radius: 9999px;
  padding: 0.8rem 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 150ms ease;
}

.demo-filter-button:hover,
.demo-filter-button:focus-visible,
.demo-filter-button.is-active {
  border-color: #004d99;
  background: #d6e3ff;
  color: #001b3d;
  outline: none;
}

.demo-filter-button.is-current,
.demo-filter-button.is-current:hover,
.demo-filter-button.is-current:focus-visible {
  border-color: #004d99;
  background: #004d99;
  color: #ffffff;
  cursor: default;
  outline: none;
}

.demo-result-card {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid #c2c6d4;
  background: #f8f9fa;
  align-items: center;
}

.demo-result-card--loading {
  pointer-events: none;
  overflow: hidden;
}

.demo-skeleton {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 9999px;
  background: linear-gradient(90deg, #e1e7f2 0%, #f7f9fc 46%, #e1e7f2 100%);
  background-size: 220% 100%;
  animation: demo-skeleton-glow 1.35s ease-in-out infinite;
}

.demo-skeleton--chip {
  width: 5.5rem;
  height: 1.55rem;
}

.demo-skeleton--accent {
  width: 6.5rem;
}

.demo-skeleton--title {
  width: min(22rem, 82%);
  height: 1.35rem;
  border-radius: 0.45rem;
}

.demo-skeleton--text {
  width: min(34rem, 96%);
  height: 0.95rem;
  border-radius: 0.4rem;
}

.demo-skeleton--meta {
  width: 5.25rem;
  height: 0.9rem;
  border-radius: 0.35rem;
}

.demo-skeleton--wide {
  width: 9rem;
}

.demo-skeleton--check {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

@keyframes demo-skeleton-glow {
  0% {
    background-position: 120% 0;
    box-shadow: 0 0 0 rgba(0, 77, 153, 0);
  }

  50% {
    box-shadow: 0 0 18px rgba(0, 77, 153, 0.12);
  }

  100% {
    background-position: -120% 0;
    box-shadow: 0 0 0 rgba(0, 77, 153, 0);
  }
}

.demo-result-card--hero {
  padding: 0.95rem 1rem;
  border-radius: 1.1rem;
  background: #f3f4f5;
  gap: 0.85rem;
}

.demo-result-card--hero .demo-result-card__copy {
  gap: 0.3rem;
}

.demo-result-card--hero .demo-result-card__topline {
  justify-content: flex-start;
}

.demo-result-card--hero .demo-result-card__meta {
  gap: 0.35rem;
  font-size: 0.82rem;
}

.demo-result-card__copy {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.demo-result-card__topline,
.demo-result-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
}

.demo-result-card__meta {
  font-size: 0.8rem;
  color: #424752;
}

.demo-result-card__check {
  flex-shrink: 0;
}

.demo-result-toggle {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: #004d99;
  cursor: pointer;
}

.demo-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.demo-chip--soft {
  background: #d6e3ff;
  color: #00468c;
}

.demo-chip--accent {
  background: #ffdad6;
  color: #93000d;
}

.demo-quote-box {
  padding: 1rem;
  border-radius: 1rem;
  background: #f3f4f5;
  border: 1px solid #c2c6d4;
}

.demo-quote-box__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.demo-quote-box__header--center {
  justify-content: center;
  text-align: center;
}

.demo-quote-box--hero {
  text-align: center;
}

.demo-quote-list--hero {
  justify-items: center;
}

.quote-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  border-radius: 0.8rem;
  background: #ffffff;
  border: 1px solid #e1e3e4;
  padding: 0.85rem 0.9rem;
}

.quote-item__actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.quote-item__badge {
  background: #ffdad6;
  color: #93000d;
  border-radius: 9999px;
  padding: 0.25rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.quote-item__remove {
  border: 1px solid #ef9a9a;
  background: #c62828;
  color: #ffffff;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 140ms ease, filter 140ms ease;
}

.quote-item__remove:hover {
  transform: scale(1.05);
  filter: brightness(0.95);
}

.quote-item__remove .material-symbols-outlined {
  font-size: 1rem;
  line-height: 1;
}

.demo-empty-state {
  display: grid;
  gap: 0.6rem;
  padding: 1rem;
  border-radius: 1rem;
  background: #f3f4f5;
  border: 1px dashed #c2c6d4;
}

.demo-empty-state--hero {
  padding: 0.9rem 1rem;
  background: #f8f9fa;
}

.demo-empty-state--large {
  min-height: 240px;
  place-content: center;
}

.demo-cta.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.catalog-shell {
  display: grid;
  gap: 2rem;
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.9fr);
  gap: 1.5rem;
  align-items: start;
}

.catalog-panel {
  background: #ffffff;
  border-radius: 1.5rem;
  border: 1px solid #e1e3e4;
  box-shadow: 0 20px 45px rgba(0, 27, 61, 0.08);
}

.catalog-panel--content {
  padding: 1.5rem;
}

.catalog-panel--sticky {
  position: sticky;
  top: 7rem;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(214, 227, 255, 0.35), rgba(255, 255, 255, 1));
}

@media (max-width: 900px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-panel--sticky {
    position: static;
  }
}

@media (max-width: 640px) {
  .demo-result-card,
  .quote-item,
  .demo-quote-box__header {
    flex-direction: column;
    align-items: stretch;
  }

  .demo-result-card__check {
    align-self: flex-end;
  }

  .demo-hero-tab {
    padding-inline: 1rem;
  }

  .demo-hero-tabs-row {
    flex-direction: column;
    align-items: stretch;
    padding-right: 0;
  }

  .demo-hero-catalog-link {
    align-self: center;
    padding-bottom: 0.8rem;
  }
}
