/* PRESETS — интерактивный переключатель 16 типов бизнеса */

.presets {
  position: relative;
}

.preset-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: var(--space-lg);
}

.preset-grid .preset-chip {
  flex: 0 0 calc((100% - 10px * 7) / 8);
  max-width: calc((100% - 10px * 7) / 8);
}

.preset-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-1);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: transform var(--dur-fast), background var(--dur-fast),
              border-color var(--dur-fast), color var(--dur-fast);
}

.preset-chip .emoji {
  font-size: 26px;
  line-height: 1;
  filter: saturate(1.1);
}

.preset-chip:hover {
  transform: translateY(-2px);
  background: var(--bg-card-hover);
  border-color: var(--border-bright);
  color: var(--text-0);
}

.preset-chip.active {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--glow-tg);
}

.preset-chip.active:hover { transform: translateY(-2px) scale(1.02); }
.preset-chip:focus-visible { outline: 2px solid var(--accent-tg); outline-offset: 2px; }
.preset-chip:active { transform: scale(0.97); }

.preset-preview {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: center;
}

.preset-preview .preview-meta h3 {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}

.preset-preview .preview-meta h3 .emoji { font-size: 36px; }
.preset-preview .preview-meta p { color: var(--text-2); font-size: 15px; }

.preset-terms {
  margin-top: var(--space-sm);
  display: flex; flex-wrap: wrap; gap: 6px;
}

.preset-terms .chip { font-size: 12px; padding: 4px 10px; }

@media (max-width: 1023.98px) {
  .preset-grid .preset-chip {
    flex: 0 0 calc((100% - 10px * 3) / 4);
    max-width: calc((100% - 10px * 3) / 4);
  }
  .preset-preview { grid-template-columns: 1fr; }
}

@media (max-width: 599.98px) {
  .preset-grid .preset-chip {
    flex: 0 0 calc((100% - 10px * 2) / 3);
    max-width: calc((100% - 10px * 2) / 3);
    font-size: 11px;
    padding: 10px 6px;
  }
  .preset-grid .preset-chip .emoji { font-size: 22px; }
}
