/* Block-based service card styles. Used in /p/{slug} public catalog
 * and admin preview (Studio sidebar). Bot side is rendered via aiogram
 * — these styles never reach the bot. */

.svc-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #ffffff;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  color: #0f172a;
}
.dark .svc-card {
  background: #181b21;
  border-color: #262a33;
  color: #e2e8f0;
}

.bk-heading {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

.bk-paragraph {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #334155;
  white-space: pre-wrap;
}
.dark .bk-paragraph { color: #cbd5e1; }

.bk-price {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 700;
  color: #0f766e;
}
.dark .bk-price { color: #2dd4bf; }
.bk-price-label { font-size: 12px; color: #64748b; font-weight: 500; }
.bk-price-amount { font-size: 24px; }
.bk-price-currency { font-size: 13px; opacity: 0.8; }

.bk-duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #f1f5f9;
  color: #475569;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  width: fit-content;
}
.dark .bk-duration { background: #262a33; color: #cbd5e1; }

.bk-image {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #f1f5f9;
}
.bk-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.bk-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: #0f172a;
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 120ms;
}
.bk-button:hover { background: #1e293b; }
.dark .bk-button { background: #4f46e5; }
.dark .bk-button:hover { background: #4338ca; }

.bk-divider {
  border: 0;
  border-top: 1px solid #e2e8f0;
  margin: 8px 0;
}
.dark .bk-divider { border-color: #262a33; }

/* List blocks */
.bk-list-title {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.bk-list-check, .bk-list-docs {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.bk-list-check li, .bk-list-docs li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #334155;
  line-height: 1.4;
}
.dark .bk-list-check li, .dark .bk-list-docs li { color: #cbd5e1; }
.bk-list-check svg, .bk-list-docs svg { margin-top: 2px; flex-shrink: 0; }

/* FAQ */
.bk-faq-title {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.bk-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 4px;
  cursor: pointer;
}
.dark .bk-faq-item { border-color: #262a33; }
.bk-faq-item summary {
  font-size: 13px;
  font-weight: 500;
  list-style: none;
}
.bk-faq-item p {
  margin: 6px 0 0 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}
.dark .bk-faq-item p { color: #cbd5e1; }

/* Badge */
.bk-badge {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: #eef2ff;
  color: #4f46e5;
  width: fit-content;
}
.bk-badge-red    { background: #fee2e2; color: #b91c1c; }
.bk-badge-amber  { background: #fef3c7; color: #b45309; }
.bk-badge-green  { background: #dcfce7; color: #15803d; }
.bk-badge-blue   { background: #dbeafe; color: #1e40af; }
.bk-badge-purple { background: #ede9fe; color: #6d28d9; }
.bk-badge-pink   { background: #fce7f3; color: #be185d; }

/* Discount */
.bk-discount {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.bk-discount-old {
  font-size: 14px;
  color: #94a3b8;
  text-decoration: line-through;
}
.bk-discount-new {
  font-size: 22px;
  font-weight: 700;
  color: #ef4444;
}
.bk-discount-badge {
  font-size: 11px;
  font-weight: 600;
  background: #fee2e2;
  color: #b91c1c;
  padding: 3px 8px;
  border-radius: 6px;
}

/* Gallery */
.bk-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 4px;
}
.bk-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

/* Price tiers */
.bk-price-tiers {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bk-price-tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
}
.dark .bk-price-tier { border-color: #262a33; }
.tier-label { color: #475569; font-weight: 500; }
.dark .tier-label { color: #cbd5e1; }
.tier-amount { font-weight: 700; color: #0f766e; }
.dark .tier-amount { color: #2dd4bf; }

/* Time slot — placeholder until full picker UI lands in Phase 3 */
.bk-time-slot {
  padding: 12px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  text-align: center;
}
.dark .bk-time-slot { background: #13151a; border-color: #363b45; }
.bk-time-slot-title { font-size: 13px; font-weight: 600; }
.bk-time-slot-hint { font-size: 11px; color: #64748b; margin-top: 2px; }
