/* ============================================================
   BUBBLE BRUSH — workshops.css
   Workshops page styles
   ============================================================ */

.nav__active { color: #7c3aed !important; font-weight: 900 !important; }

/* ── Page header ── */
.ws-header {
  padding: 7rem 2.5rem 2rem;
  background: #F7F4FF;
  position: relative;
  overflow: hidden;
}
.ws-header__inner { max-width: 1100px; margin: 0 auto; }
.ws-header__title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  color: #1a0533;
}
.ws-header__deco {
  position: absolute;
  right: 3rem; top: 4rem;
}
.ws-header__deco img {
  width: 220px; height: auto;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.1));
}

/* ── Workshop detail sections ── */
.ws-detail {
  background: #F7F4FF;
  padding: 2rem 2.5rem 4rem;
}
.ws-detail--alt { background: #f0ebff; }

.ws-detail__inner {
  max-width: 560px;
  margin: 0 auto;
}

.ws-detail__card {
  background: linear-gradient(180deg, #2E1B4E 0%, #6A3EB4 100%);;
  border-radius: 10px;
  overflow: visible;
  box-shadow: 0 8px 40px rgba(124,58,237,0.18);
}

/* Reuse slider from style.css — just needs container */
.ws-detail__card .workshop-card__slider {
  border-radius: 10px 10px 0 0;
}

/* Видео вместо слайдера */
.ws-detail__video {
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  height: 320px;
  background: #2E1B4E;
}
.ws-detail__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ws-detail__body {
  padding: 1.6rem 1.6rem 2rem;
  color: #ffffff;
}

.ws-detail__body h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.7rem;
}
.ws-detail__body > p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  margin-bottom: 1.2rem;
}

/* Meta row */
.ws-detail__meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.4rem;
}
.ws-meta-item { display: flex; flex-direction: column; gap: 0.15rem; }
.ws-meta-label { font-size: 0.68rem; color: rgba(255,255,255,0.55); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.ws-meta-value { font-size: 0.9rem; font-weight: 800; color: #ffffff; }

/* Suitable for */
.ws-detail__suitable { margin-bottom: 1.2rem; }
.ws-detail__suitable h3,
.ws-detail__includes h3 {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.5rem;
}
.ws-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.ws-tag {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
}

/* Includes */
.ws-detail__includes { margin-bottom: 1.6rem; }
.ws-detail__includes ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.ws-detail__includes ul li {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  padding-left: 1rem;
  position: relative;
}
.ws-detail__includes ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #fbbf24;
  font-weight: 800;
}

.ws-detail__cta {
  width: 100%;
  text-align: center;
  padding: 0.8rem;
  font-size: 0.95rem;
}

/* ── Free Quote form ── */
.ws-quote {
  background: #1a0533;
  padding: 4rem 2.5rem 5rem;
  position: relative;
}
.ws-quote__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}
.ws-quote__title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  flex-shrink: 0;
  padding-top: 0.5rem;
}

.ws-quote__form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.ws-form-row { display: flex; gap: 0.7rem; }
.ws-form-row--2 > * { flex: 1; }

.ws-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.ws-form-group label {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: none; /* labels hidden, placeholders used */
}

.ws-quote__form input,
.ws-quote__form select {
  padding: 0.7rem 1rem;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  color: #ffffff;
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.3s ease;
  width: 100%;
}
.ws-quote__form input::placeholder { color: rgba(255,255,255,0.35); }
.ws-quote__form select { color: rgba(255,255,255,0.55); }
.ws-quote__form select option { background: #1a0533; color: #ffffff; }
.ws-quote__form input:focus,
.ws-quote__form select:focus { border-color: #c4b5fd; }

.ws-quote__submit {
  margin-top: 0.4rem;
  padding: 0.8rem 2.5rem;
  align-self: flex-start;
  font-size: 1rem;
}

/* ── Responsive ── */
@media (max-width: 700px) {
  .ws-header { padding: 7rem 1.2rem 1.5rem; }
  .ws-header__deco { right: 0.5rem; top: 3.5rem; }
  .ws-header__deco img { width: 120px; }
  .ws-detail { padding: 1.5rem 1.2rem 3rem; }
  .ws-quote__inner { flex-direction: column; gap: 1.5rem; }
  .ws-form-row { flex-direction: column; }
  .ws-quote { padding: 3rem 1.2rem 4rem; }
  .ws-quote__submit { width: 100%; }
}

/* ── Combined quote+calculator layout ── */
.ws-quote__inner--combined {
  flex-direction: row;
  align-items: flex-start;
  gap: 3.5rem;
  max-width: 1000px;
}

.ws-quote__left {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding-top: 0.4rem;
}

.ws-quote__sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

.ws-quote__photo-bonus {
  background: rgba(237,118,169,0.15);
  border: 1px solid rgba(237,118,169,0.35);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
}
.ws-quote__photo-bonus span { font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }
.ws-quote__photo-bonus strong {
  display: block;
  font-size: 0.82rem;
  color: #f9a8d4;
  margin-bottom: 0.2rem;
}

.ws-quote__right { flex: 1; min-width: 0; }

/* ── Tabs ── */
.ws-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.3rem;
  border-bottom: 2px solid rgba(255,255,255,0.12);
}
.ws-tab {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  padding: 0.6rem 0.5rem;
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  text-align: center;
  letter-spacing: 0.01em;
}
.ws-tab:hover { color: rgba(255,255,255,0.75); }
.ws-tab--active {
  color: #ffffff;
  border-bottom-color: #ED76A9;
}

/* ── Panels ── */
.ws-panel { display: block; }
.ws-panel--hidden { display: none; }

/* Panel labels */
.ws-panel__label {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
}

/* ── Workshop picker cards ── */
.ws-ws-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
}
.ws-ws-card {
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.ws-ws-card--active {
  border-color: #ED76A9;
  background: rgba(237,118,169,0.12);
}
.ws-ws-name {
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.12rem;
  padding-right: 18px;
}
.ws-ws-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.3;
}
.ws-ws-dot {
  position: absolute;
  top: 9px; right: 9px;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
}
.ws-ws-card--active .ws-ws-dot { background: #ED76A9; border-color: #ED76A9; }
.ws-ws-dot-inner {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #ffffff;
  display: none;
}
.ws-ws-card--active .ws-ws-dot-inner { display: block; }

/* ── Slider ── */
.ws-slider-row { margin-bottom: 1.1rem; }
.ws-slider-track {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.ws-slider-track input[type=range] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,0.18);
  outline: none;
  cursor: pointer;
}
.ws-slider-track input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #ED76A9;
  border: 2px solid #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.ws-slider-track input[type=range]::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #ED76A9;
  border: 2px solid #ffffff;
  cursor: pointer;
}
.ws-slider-val {
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  min-width: 52px;
  text-align: right;
  white-space: nowrap;
}
.ws-slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.67rem;
  color: rgba(255,255,255,0.28);
  margin-top: 4px;
}

/* ── Results strip ── */
.ws-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}
.ws-metric {
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 0.6rem 0.7rem;
}
.ws-metric__label {
  font-size: 0.63rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.2rem;
}
.ws-metric__value {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}
.ws-metric__value--accent { color: #ED76A9; }

/* ── Breakdown ── */
.ws-bd-toggle {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.7rem;
  user-select: none;
  background: none;
  border: none;
  padding: 0;
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  transition: color 0.2s;
}
.ws-bd-toggle:hover { color: rgba(255,255,255,0.65); }
.ws-bd-chevron { display: inline-block; transition: transform 0.2s; }

.ws-breakdown {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.9rem;
  display: none;
}
.ws-breakdown--open { display: block; }
.ws-bd-row {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0.85rem;
  font-size: 0.76rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ws-bd-row:last-child { border-bottom: none; }
.ws-bd-row--total { background: rgba(255,255,255,0.06); font-weight: 800; }
.ws-bd-key { color: rgba(255,255,255,0.5); }
.ws-bd-val { color: #ffffff; font-variant-numeric: tabular-nums; }
.ws-bd-val--accent { color: #ED76A9; }

/* Book tab photo reminder */
.ws-quote__photo-reminder {
  background: rgba(237,118,169,0.12);
  border: 1px solid rgba(237,118,169,0.28);
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  margin-bottom: 0.7rem;
}
.ws-quote__photo-reminder strong { color: #f9a8d4; font-weight: 700; }

/* ── Responsive ── */
@media (max-width: 820px) {
  .ws-quote__inner--combined {
    flex-direction: column;
    gap: 2rem;
  }
  .ws-quote__left { flex: none; width: 100%; }
}
@media (max-width: 500px) {
  .ws-ws-grid { grid-template-columns: 1fr 1fr; }
  .ws-results { grid-template-columns: repeat(3, 1fr); }
  .ws-metric__value { font-size: 0.95rem; }
  .ws-form-row { flex-direction: column; }
}
