/* Витрина «Услуг» (блок SV3): список услуг, шторка записи. Цвета - переменные витрины, тёмная тема
   наследуется (body.theme-dark). */
.svc-list { display: grid; gap: 12px; }
.svc-card, .svc-item { display: block; border: 1px solid rgb(var(--color-border-rgb, 229 231 235)); border-radius: 16px; padding: 14px; background: rgb(var(--color-surface-rgb, 255 255 255)); color: inherit; text-decoration: none; }
.svc-item-title { font-weight: 700; font-size: 1rem; }
.svc-item-meta { font-size: .85rem; opacity: .75; margin-top: 4px; }
.svc-item-desc { font-size: .9rem; margin-top: 6px; line-height: 1.4; overflow-wrap: anywhere; }
.svc-item-photo { width: 100%; height: 140px; object-fit: cover; border-radius: 12px; margin-bottom: 10px; display: block; }
.svc-mine { margin: 0 0 12px; }
.svc-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.55); display: flex; align-items: flex-end; justify-content: center; }
.svc-sheet { background: rgb(var(--color-surface-rgb, 255 255 255)); color: rgb(var(--color-text-rgb, 17 24 39)); width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; border-radius: 20px 20px 0 0; padding: 16px 16px calc(20px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 700px) { .svc-overlay { align-items: center; } .svc-sheet { border-radius: 20px; max-height: 86vh; } }
.svc-head { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.svc-title { margin: 0; font-size: 1.15rem; font-weight: 700; overflow-wrap: anywhere; }
.svc-close { border: 0; background: rgb(var(--color-surface-2-rgb, 243 244 246)); color: inherit; border-radius: 999px; width: 2.25rem; height: 2.25rem; font-size: 1.2rem; cursor: pointer; flex: none; }
.svc-label { display: block; font-size: .8rem; font-weight: 600; margin: 12px 0 6px; opacity: .8; }
.svc-muted { font-size: .85rem; opacity: .75; margin: 6px 0; }
.svc-big { font-size: 1.15rem; font-weight: 700; margin: 12px 0 4px; }
.svc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-chip { border: 1px solid rgb(var(--color-border-rgb, 229 231 235)); border-radius: 999px; background: rgb(var(--color-surface-2-rgb, 243 244 246)); color: inherit; padding: 8px 12px; font: inherit; font-size: .9rem; cursor: pointer; min-height: 2.5rem; }
.svc-chip[aria-pressed="true"] { background: var(--primary-color, #6d3fe0); border-color: var(--primary-color, #6d3fe0); color: #fff; }
.svc-form { margin-top: 14px; }
.svc-field { display: block; margin-top: 8px; }
.svc-input { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid rgb(var(--color-border-rgb, 229 231 235)); background: rgb(var(--color-surface-2-rgb, 243 244 246)); color: inherit; font: inherit; }
.svc-consent { display: block; font-size: .8rem; margin-top: 10px; opacity: .85; }
.svc-error { color: #b3261e; font-size: .9rem; margin-top: 8px; min-height: 1.2em; }
.svc-primary { display: block; width: 100%; margin-top: 12px; padding: 12px; border-radius: 12px; border: 0; background: var(--primary-color, #6d3fe0); color: #fff; font: inherit; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; }
.svc-primary:disabled { opacity: .6; }
.svc-secondary { display: block; width: 100%; margin-top: 10px; padding: 12px; border-radius: 12px; border: 1px solid rgb(var(--color-border-rgb, 229 231 235)); background: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.svc-card-title { font-weight: 700; }
.svc-chip:disabled { opacity: .5; cursor: not-allowed; }
/* Витрина «Событий» (блок EV2): строки категорий билетов с выбором количества. */
.evt-cat { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid rgb(var(--color-border-rgb, 229 231 235)); }
.evt-cat-title { font-weight: 600; overflow-wrap: anywhere; }
.evt-step { display: flex; align-items: center; gap: 8px; flex: none; }
.evt-step button { width: 2.25rem; height: 2.25rem; border-radius: 999px; border: 1px solid rgb(var(--color-border-rgb, 229 231 235)); background: rgb(var(--color-surface-2-rgb, 243 244 246)); color: inherit; font-size: 1.1rem; cursor: pointer; }
.evt-step button:disabled { opacity: .4; cursor: not-allowed; }
.evt-step output { min-width: 1.5rem; text-align: center; font-weight: 700; }
