/* ========================================
   Merit - Pages (Coaches, Signup, Booking, Admin)
   ======================================== */

/* ---- Page top ---- */
.page-top {
  padding: 160px 0 72px;
}

.page-top h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

/* ---- Coach blocks ---- */
.coach-block {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: 72px;
  align-items: center;
  padding: 48px 0;
}

.coach-block-reverse {
  grid-template-columns: 0.55fr 0.45fr;
  direction: rtl;
}

.coach-block-reverse > * {
  direction: ltr;
}

.coach-img {
  border-radius: 12px;
  overflow: hidden;
}

.coach-img img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.coach-role {
  font-size: 0.85rem;
  color: var(--mid);
  margin-bottom: 16px;
}

.coach-bio {
  font-size: 0.95rem;
  color: var(--dim);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 440px;
}

.coach-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.coach-meta div {
  display: flex;
  gap: 16px;
  align-items: baseline;
}

.coach-meta strong {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--mid);
  min-width: 90px;
  flex-shrink: 0;
}

.coach-meta span {
  font-size: 0.88rem;
  color: var(--dim);
}

.status-open {
  color: #16a34a;
  font-weight: 500;
}

.coach-divider {
  height: 1px;
  background: var(--cloud);
  margin: 16px 0;
}

/* ---- Signup ---- */
.signup-wrap {
  max-width: 600px;
  margin: 0 auto;
}

.step-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 56px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--cloud);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--silver);
  transition: all 0.3s var(--ease);
}

.progress-step.active .step-dot {
  border-color: var(--black);
  color: var(--black);
}

.progress-step.done .step-dot {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.step-text {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
}

.progress-step.active .step-text { color: var(--black); }

.step-line {
  width: 32px;
  height: 1px;
  background: var(--cloud);
  margin: 0 6px 22px;
}

.form-step {
  display: none;
  animation: fadeUp 0.4s var(--ease);
}

.form-step.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-step h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--mid);
  margin-bottom: 32px;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  gap: 12px;
}

/* ---- Form fields ---- */
.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
  color: var(--charcoal);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--cloud);
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--black);
  outline: none;
  transition: border-color 0.3s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--black);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--silver);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23999' d='M5 7L0 2h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 20px;
  cursor: pointer;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* ---- Waiver ---- */
.waiver-box {
  background: var(--snow);
  border-radius: 10px;
  padding: 28px;
  max-height: 260px;
  overflow-y: auto;
  margin-bottom: 20px;
}

.waiver-box h4 { font-size: 0.95rem; margin-bottom: 12px; }
.waiver-box p { font-size: 0.85rem; color: var(--dim); line-height: 1.8; margin-bottom: 10px; }

.check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--dim);
  cursor: pointer;
}

.check-label input {
  width: 18px; height: 18px;
  accent-color: var(--black);
  margin-top: 2px;
  flex-shrink: 0;
}

/* ---- Billing ---- */
.billing-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.billing-opt { cursor: pointer; }
.billing-opt input { display: none; }

.billing-card {
  padding: 18px 20px;
  border: 1.5px solid var(--cloud);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
}

.billing-opt input:checked + .billing-card {
  border-color: var(--black);
}

.billing-card strong { font-size: 0.92rem; }
.billing-card span { font-size: 0.92rem; font-weight: 700; }
.billing-card p { font-size: 0.78rem; color: var(--mid); margin-top: 2px; }

.billing-card-inner { flex: 1; }

/* ---- Confirmation ---- */
.confirm-screen {
  text-align: center;
  padding: 48px 0;
}

.confirm-screen h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.confirm-screen > p {
  font-size: 0.95rem;
  color: var(--dim);
  max-width: 440px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

/* ---- Booking ---- */
.booking-wrap {
  max-width: 600px;
  margin: 0 auto;
}

.booking-steps {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
}

.b-step {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.3;
  transition: opacity 0.3s;
}

.b-step.active { opacity: 1; }

.b-step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--cloud);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--silver);
}

.b-step.active .b-step-num {
  border-color: var(--black);
  color: var(--black);
}

.b-step span { font-size: 0.82rem; font-weight: 600; color: var(--dim); }

.booking-panel {
  display: none;
  animation: fadeUp 0.4s var(--ease);
}
.booking-panel.active { display: block; }

.booking-panel h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

/* Coach select */
.coach-pick { cursor: pointer; }
.coach-pick input { display: none; }

.coach-pick-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--cloud);
  transition: all 0.3s;
}

.coach-pick input:checked + .coach-pick-inner {
  padding-left: 12px;
  border-color: var(--black);
}

.coach-pick-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cloud);
}

.coach-pick-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.coach-pick-info strong { display: block; font-size: 0.92rem; }
.coach-pick-info span { font-size: 0.78rem; color: var(--mid); }

/* Session select */
.session-pick { cursor: pointer; }
.session-pick input { display: none; }

.session-pick-inner {
  padding: 18px 0;
  border-bottom: 1px solid var(--cloud);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
}

.session-pick input:checked + .session-pick-inner {
  padding-left: 12px;
  border-color: var(--black);
}

.session-pick-inner strong { font-size: 0.92rem; }
.session-pick-inner p { font-size: 0.78rem; color: var(--mid); margin-top: 2px; }
.session-pick-price { font-size: 1.1rem; font-weight: 700; }

/* Calendly placeholder */
.calendly-box {
  background: var(--snow);
  border: 2px dashed var(--cloud);
  border-radius: 12px;
  padding: 64px 32px;
  text-align: center;
  margin-bottom: 24px;
}

.calendly-box h4 { font-size: 1rem; margin-bottom: 8px; }
.calendly-box p { font-size: 0.85rem; color: var(--mid); line-height: 1.7; max-width: 400px; margin: 0 auto; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .coach-block,
  .coach-block-reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr;
  }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .booking-steps { gap: 16px; }
  .b-step span { display: none; }
  .contact-split { grid-template-columns: 1fr; }
}


/* ---- Team Store ---- */
.store-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.store-item {
  border: 1px solid var(--cloud);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s var(--ease);
}

.store-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.store-img {
  height: 240px;
  overflow: hidden;
  background: var(--snow);
}

.store-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-img-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
  font-size: 0.85rem;
  font-weight: 600;
}

.store-info {
  padding: 20px 24px;
}

.store-info h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.store-info p {
  font-size: 0.82rem;
  color: var(--dim);
  line-height: 1.6;
  margin-bottom: 8px;
}

.store-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
}

.store-embed {
  border-top: 1px solid var(--cloud);
  padding-top: 48px;
}

.store-embed-inner {
  max-width: 520px;
}

.store-embed h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.store-embed p {
  font-size: 0.9rem;
  color: var(--dim);
  line-height: 1.75;
  margin-bottom: 8px;
}

.store-note {
  font-size: 0.82rem;
  color: var(--mid);
  font-style: italic;
}

@media (max-width: 600px) {
  .store-grid { grid-template-columns: 1fr; }
}


/* ---- Store Coming Soon ---- */
.store-coming-soon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--cloud);
  margin-bottom: 48px;
}

.store-cs-img {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.store-cs-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  filter: grayscale(30%);
}

.store-cs-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
}

.store-cs-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(176,141,53,0.1);
  border: 1px solid rgba(176,141,53,0.25);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.store-cs-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 14px;
}

.store-cs-content p {
  font-size: 0.9rem;
  color: var(--dim);
  line-height: 1.75;
  margin-bottom: 12px;
}

.store-notify-form {
  display: flex;
  gap: 8px;
  margin: 16px 0;
  flex-wrap: wrap;
}

.store-notify-form input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border: 1.5px solid var(--cloud);
  border-radius: 100px;
  font-family: var(--font);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.3s;
}

.store-notify-form input:focus { border-color: var(--black); }

.store-cs-note {
  font-size: 0.78rem;
  color: var(--silver);
}

.store-cs-note a {
  color: var(--black);
  text-decoration: underline;
}

.store-preview-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 20px;
}

.store-grid-preview { opacity: 0.4; pointer-events: none; }

.store-item-dim { filter: grayscale(60%); }

@media (max-width: 768px) {
  .store-coming-soon { grid-template-columns: 1fr; gap: 32px; }
}


/* ---- Booking Coming Soon ---- */
.coming-soon-block {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.cs-sessions {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cs-session {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--cloud);
  opacity: 0.45;
}

.cs-session:first-child { border-top: 1px solid var(--cloud); }

.cs-session-name {
  font-size: 0.95rem;
  font-weight: 600;
}

.cs-session-price {
  font-size: 1.1rem;
  font-weight: 700;
}

.cs-form-wrap h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .coming-soon-block { grid-template-columns: 1fr; gap: 40px; }
}