/* Fararoom services catalog — readable on every viewport */

.svc-hero {
  background:
    radial-gradient(720px 220px at 100% 0%, rgba(255, 255, 255, 0.16), transparent 55%),
    radial-gradient(520px 200px at 0% 100%, rgba(45, 212, 191, 0.22), transparent 60%),
    linear-gradient(145deg, #312e81 0%, #4f46e5 48%, #6d28d9 100%);
  color: #fff;
  padding: 2.25rem 0 3.4rem;
  position: relative;
}

.svc-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.svc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.svc-hero h1 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 900;
  margin: 0.85rem 0 0.55rem;
  line-height: 1.35;
}

.svc-hero p {
  margin: 0 auto;
  max-width: 40rem;
  font-size: 0.98rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
}

.svc-stats {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
}

.svc-stat {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 0.45rem 0.75rem;
  min-width: 92px;
}

.svc-stat strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
}

.svc-stat span {
  font-size: 0.75rem;
  opacity: 0.85;
}

.svc-sticky {
  position: static;
}

.svc-sticky-card {
  background: #fff;
  border: 1px solid #e7e9f2;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  padding: 0.85rem 0.9rem 0.7rem;
}

.svc-search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.55rem 0.8rem;
}

.svc-search:focus-within {
  border-color: #818cf8;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
  background: #fff;
}

.svc-search i {
  color: #64748b;
}

.svc-search input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  font-size: 0.95rem;
  color: #0f172a;
}

.svc-chips {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.7rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: thin;
}

.svc-chip {
  flex: 0 0 auto;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 0.38rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.svc-chip .count {
  background: #eef2ff;
  color: #4338ca;
  border-radius: 999px;
  min-width: 1.35rem;
  padding: 0 0.35rem;
  font-size: 0.72rem;
  text-align: center;
}

.svc-chip.active,
.svc-chip:hover {
  background: #312e81;
  border-color: #312e81;
  color: #fff;
}

.svc-chip.active .count,
.svc-chip:hover .count {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.svc-catalog {
  background: #f6f7fb;
  padding-top: 0.6rem !important;
  padding-bottom: 3rem !important;
}

.svc-catalog .category-box {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 8px 0 12px;
  margin: 0 0 1.5rem;
}

.svc-catalog .service-category {
  scroll-margin-top: 168px;
}

.svc-cat-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  text-align: right;
}

.svc-cat-head .section-title {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  margin: 0;
}

.svc-cat-lead {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.8;
  margin: 0.35rem 0 0;
  max-width: 46rem;
}

body.summary-view .svc-catalog .service-cards-container.summary-view {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)) !important;
  gap: 1rem !important;
  margin-top: 0 !important;
}

.service-summary-card {
  background: #fff;
  border: 1px solid #e6e8f0;
  border-radius: 18px;
  padding: 1rem 1rem 0.85rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
  height: 100%;
}

.service-summary-card:hover {
  transform: none;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  border-color: #d9def0;
}

.svc-card-top {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.svc-type-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 1.15rem;
}

.svc-type-icon.tone-room { background: #ecfeff; color: #0f766e; }
.svc-type-icon.tone-live { background: #fff7ed; color: #c2410c; }
.svc-type-icon.tone-form { background: #f0fdf4; color: #15803d; }
.svc-type-icon.tone-stt { background: #fdf2f8; color: #be185d; }

.summary-card-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.45;
  text-align: right;
}

.svc-desc {
  margin: 0.25rem 0 0;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.svc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.75rem 0 0.35rem;
}

.svc-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.svc-from {
  margin-inline-start: auto;
  color: #0f766e;
  background: #f0fdfa;
  border-color: #99f6e4;
}

.summary-features-list li {
  font-size: 0.8rem;
  color: #475569;
  margin-bottom: 0.2rem;
}

.summary-plans {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.7rem;
}

.summary-plan-item {
  display: block;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0.55rem 0.65rem;
  margin: 0;
  background: #fff;
}

.summary-plan-item.selected {
  border-color: #0d9488;
  background: #f0fdfa;
}

.summary-plan-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.summary-plan-name {
  font-size: 0.86rem;
  font-weight: 800;
  color: #1e293b;
}

.summary-plan-price {
  text-align: left;
  white-space: nowrap;
}

.summary-plan-price .current-price,
.summary-plan-price .discounted-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f766e;
  font-variant-numeric: tabular-nums;
}

.summary-plan-price .original-price {
  display: block;
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 0.72rem;
}

.summary-plan-price .currency {
  font-size: 0.7rem;
  color: #64748b;
}

.summary-plan-main .period {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.1rem;
}

.summary-plan-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.7rem;
  margin: 0.4rem 0 0;
  grid-template-columns: none;
}

.summary-plan-features li {
  white-space: normal;
  font-size: 0.75rem;
  color: #475569;
}

.svc-plan-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.45rem;
}

.svc-plan-buy {
  border: 0;
  background: #0f766e;
  color: #fff;
  border-radius: 9px;
  padding: 0.32rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.svc-plan-buy.call {
  background: #be185d;
}

.svc-plan-buy:hover {
  filter: brightness(1.05);
}

.summary-card-footer {
  margin-top: 0.75rem;
  padding-top: 0.7rem;
  border-top: 1px solid #eef2f7;
}

.btn-summary-details,
.btn-summary-buy {
  min-height: 40px;
  border-radius: 10px;
  font-weight: 800;
}

.btn-summary-buy:disabled {
  background: #e2e8f0;
  color: #64748b;
  cursor: not-allowed;
  box-shadow: none;
}

.svc-empty {
  display: none;
  text-align: center;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  padding: 2rem 1rem;
  color: #475569;
}

.svc-empty.show {
  display: block;
}

.floating-nav {
  display: none !important;
}

.view-toggle-container {
  position: static !important;
  margin: 0.55rem 0 0;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .svc-hero {
    padding: 1.4rem 0 2.8rem;
  }

  .svc-sticky {
    top: 58px;
    margin-top: -1.35rem;
    padding: 0 8px;
  }

  .svc-cat-head {
    flex-direction: column;
    align-items: stretch;
  }

  .summary-plan-main {
    align-items: flex-start;
  }

  .summary-plan-price {
    text-align: left;
  }

  .svc-from {
    margin-inline-start: 0;
  }

  body.summary-view .svc-catalog .service-cards-container.summary-view {
    grid-template-columns: 1fr !important;
  }

  .service-summary-card {
    padding: 0.9rem;
  }
}

@media (min-width: 1200px) {
  .svc-chips {
    flex-wrap: wrap;
    overflow: visible;
  }
}

/* Focused catalog: one service at a time, products in a rail */

.svc-hero,
.svc-sticky,
.view-toggle-container {
  display: none !important;
}

.svc-stage {
  margin-top: -1rem;
  background: #f6f7fb;
}

.svc-promo {
  background:
    radial-gradient(420px 120px at 100% 0%, rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(120deg, #4f46e5 0%, #6d28d9 100%);
  color: #fff;
  padding: 1rem 0 1.05rem;
}

.svc-promo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.svc-promo .svc-kicker {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  margin-bottom: 0.35rem;
}

.svc-promo h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 900;
}

.svc-promo p {
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
}

.svc-promo .svc-search {
  flex: 0 1 280px;
  background: #fff;
  margin: 0;
}

.svc-stage > .container {
  padding-top: 0.85rem;
}

.svc-wheel-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.45rem;
  align-items: center;
}

.svc-wheel {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.35rem 0.1rem 0.85rem;
  scrollbar-width: none;
}

.svc-wheel::-webkit-scrollbar { display: none; }

.svc-wheel-item {
  flex: 0 0 188px;
  scroll-snap-align: start;
  border: 1px solid #e6e8f0;
  background: #fff;
  color: #1e293b;
  border-radius: 18px;
  padding: 0.85rem 0.7rem 0.75rem;
  text-align: start;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.svc-wheel-item.is-dim {
  opacity: 0.38;
}

.svc-wheel-item.is-active {
  background: #312e81;
  border-color: #312e81;
  color: #fff;
  transform: translateY(-2px);
}

.svc-wheel-icon {
  width: 38px;
  height: 38px;
  margin: 0 0 0.45rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #eef2ff;
  color: #4338ca;
  font-size: 1.1rem;
}

.svc-wheel-item.is-active .svc-wheel-icon {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.svc-wheel-name {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.55;
  min-height: 3.1em;
}

.svc-wheel-count {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
}

.svc-wheel-item.is-active .svc-wheel-count { color: rgba(255,255,255,0.8); }

.svc-arrow {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #312e81;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.svc-arrow:hover { background: #eef2ff; }

.svc-catalog .service-category { display: none; }
.svc-catalog .service-category.is-active { display: block; }

.svc-catalog { padding-top: 0.2rem !important; }

.svc-cat-head {
  align-items: center;
  flex-wrap: wrap;
}

.svc-rail-nav { display: none !important; }

body.summary-view .svc-catalog .service-category.is-active .service-cards-container.summary-view {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)) !important;
  align-items: start !important;
  overflow: visible !important;
  scroll-snap-type: none !important;
  gap: 0.9rem !important;
  padding: 0.15rem 0 1.25rem;
}

body.summary-view .svc-catalog .service-summary-card {
  flex: none;
  max-width: none;
  width: auto;
  height: auto !important;
  align-self: start;
  scroll-snap-align: none;
}

body.summary-view .svc-catalog .service-summary-card.is-plans-open {
  border-color: #c7d2fe;
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.12);
}

.summary-plans.is-clipped {
  max-height: 196px;
  overflow: hidden;
  position: relative;
}

.summary-plans.is-clipped::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42px;
  background: linear-gradient(transparent, #fff);
  pointer-events: none;
}

.svc-plans-toggle {
  margin-top: 0.45rem;
  border: 0;
  background: transparent;
  color: #4338ca;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0;
}

@media (max-width: 768px) {
  .svc-promo-row { flex-direction: column; align-items: stretch; }
  .svc-promo .svc-search { flex-basis: auto; }
  .svc-wheel-item { flex-basis: 68%; }
  .svc-cat-head { flex-direction: row; align-items: center; }
  body.summary-view .svc-catalog .service-category.is-active .service-cards-container.summary-view {
    grid-template-columns: 1fr !important;
  }
}
