@keyframes compare-bump {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.18);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes compare-toast-in {
  from {
    opacity: 0;
    transform: translate(-50%, 16px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
/* Toggle on a catalog card: over the picture, top right. */
.compare-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 40px;
  min-width: 40px;
  padding: 0 10px;
  border: 1px solid rgba(9, 134, 127, 0.28);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.94);
  color: #09867f;
  font: inherit;
  box-shadow: 0 6px 16px -10px rgba(16, 40, 40, 0.55);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, gap 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), padding 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
  -webkit-tap-highlight-color: transparent;
}
.compare-toggle--low {
  top: 84px;
}
.compare-toggle svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.compare-toggle__check {
  display: none;
}
.compare-toggle__text {
  max-width: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transition: max-width 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.2s;
}
.compare-toggle:focus-visible {
  outline: 2px solid #09867f;
  outline-offset: 2px;
}
@media (hover: hover) and (min-width: 992px) {
  .compare-toggle:hover {
    gap: 8px;
    padding-right: 14px;
    border-color: #09867f;
    box-shadow: 0 10px 22px -12px rgba(9, 134, 127, 0.7);
  }
  .compare-toggle:hover .compare-toggle__text {
    max-width: 120px;
    opacity: 1;
  }
}
.compare-toggle._active {
  border-color: #09867f;
  background-color: #09867f;
  color: #fff;
}
.compare-toggle._active .compare-toggle__icon {
  display: none;
}
.compare-toggle._active .compare-toggle__check {
  display: block;
}
.compare-toggle._bump {
  animation: compare-bump 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (max-width: 575px) {
  .compare-toggle {
    height: 36px;
    min-width: 36px;
    padding: 0 8px;
  }
}

/* Floating link to the comparison page, shown while the list has models. */
@keyframes compare-fab-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.compare-fab {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px) + var(--compare-dock-offset, 0px));
  z-index: 98;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 8px 0 16px;
  border-radius: 999px;
  background-color: #09867f;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 14px 30px -12px rgba(9, 134, 127, 0.75);
  transition: bottom 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.2s, box-shadow 0.2s, transform 0.2s cubic-bezier(0.2, 0.7, 0.2, 1);
  animation: compare-fab-in 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.compare-fab[hidden] {
  display: none;
}
@media (min-width: 993px) {
  .compare-fab {
    right: calc(28px + env(safe-area-inset-right, 0px));
    bottom: calc(28px + env(safe-area-inset-bottom, 0px) + var(--compare-dock-offset, 0px));
    height: 52px;
    padding: 0 10px 0 20px;
    gap: 10px;
  }
}
@media (hover: hover) {
  .compare-fab:hover {
    background-color: #0a9b93;
    color: #fff;
    box-shadow: 0 18px 34px -12px rgba(9, 134, 127, 0.85);
    transform: translateY(-2px);
  }
}
.compare-fab__icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
}
.compare-fab__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 16px;
  background-color: #fff;
  color: #09867f;
  font-size: 14px;
  font-weight: 700;
}
.compare-fab:focus-visible {
  outline: 3px solid rgba(9, 134, 127, 0.35);
  outline-offset: 2px;
}

/* Notice after adding or removing a model. */
.compare-toast {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px) + var(--compare-dock-offset, 0px));
  left: 50%;
  z-index: 1002;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: min(560px, 100vw - 32px);
  padding: 12px 12px 12px 18px;
  border-radius: 14px;
  background-color: #17201f;
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
  box-shadow: 0 18px 44px -16px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), bottom 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.compare-toast._visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.compare-toast._warn {
  background-color: #4a3412;
}
.compare-toast__text {
  flex: 1 1 auto;
  min-width: 0;
}
.compare-toast__link {
  flex: 0 0 auto;
  padding: 9px 14px;
  border-radius: 10px;
  background-color: #09867f;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s;
}
.compare-toast__link:hover {
  background-color: #0a9b93;
  color: #fff;
}
._muted .compare-toast__link, .compare-toast._muted .compare-toast__link {
  background-color: rgba(255, 255, 255, 0.12);
}
@media (max-width: 992px) {
  .compare-toast {
    bottom: calc(80px + env(safe-area-inset-bottom, 0px) + var(--compare-dock-offset, 0px));
  }
}
@media (max-width: 575px) {
  .compare-toast {
    flex-wrap: wrap;
    gap: 10px;
    width: calc(100vw - 32px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .compare-toggle,
  .compare-toast,
  .compare-fab {
    transition: none;
  }
  .compare-toggle._bump,
  .compare-fab {
    animation: none;
  }
}

/*# sourceMappingURL=compare-list.css.map */
