/* Панель выбора вариантов дизайна — временная, удаляется вместе с js/designer.js */

.dz-toggle {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 100;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: #1F1B18;
  color: #F5EFE8;
  font: 500 14px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.dz-panel {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 101;
  max-height: 72vh;
  overflow-y: auto;
  padding: 16px 16px calc(20px + env(safe-area-inset-bottom));
  border-radius: 20px 20px 0 0;
  background: rgba(31, 27, 24, 0.96);
  color: #F5EFE8;
  font: 14px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.3);
  -webkit-overflow-scrolling: touch;
}

.dz-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 16px;
}

.dz-close {
  padding: 4px 8px;
  border: 0;
  background: none;
  color: inherit;
  font-size: 18px;
  cursor: pointer;
}

.dz-group {
  margin-top: 14px;
}

.dz-label {
  margin-bottom: 6px;
  color: rgba(245, 239, 232, 0.65);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dz-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dz-opt {
  padding: 7px 12px;
  border: 1px solid rgba(245, 239, 232, 0.3);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.dz-opt[aria-pressed="true"] {
  border-color: #F5EFE8;
  background: #F5EFE8;
  color: #1F1B18;
}

.dz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.dz-btn {
  flex: 1 1 auto;
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  background: #F5EFE8;
  color: #1F1B18;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.dz-btn--ghost {
  border: 1px solid rgba(245, 239, 232, 0.3);
  background: transparent;
  color: inherit;
}

.dz-note {
  margin: 12px 0 0;
  color: rgba(245, 239, 232, 0.55);
  font-size: 12px;
}

@media (min-width: 700px) {
  .dz-panel {
    top: 16px;
    right: 16px;
    bottom: 16px;
    left: auto;
    width: 380px;
    max-height: none;
    border-radius: 20px;
  }
}
