/* =============================================
   GET HEALED WITHIN — Workshop Page Styles
   ============================================= */

/* ---- PAGE HERO ---- */
.workshop-hero {
  background: var(--gradient-primary);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.workshop-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.workshop-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  border-radius: 99px;
  padding: 0.4rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.workshop-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.workshop-hero p {
  color: rgba(255,255,255,0.88);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.workshop-hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.workshop-hero-stat { text-align: center; color: #fff; }
.workshop-hero-stat .stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}
.workshop-hero-stat .stat-label {
  font-size: 0.78rem;
  opacity: 0.75;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.25rem;
  display: block;
}

/* ---- WORKSHOP TYPE CARDS (overview) ---- */
.workshop-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}
.wtype-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(98,25,158,0.07);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.wtype-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(98,25,158,0.18);
}
.wtype-card-header {
  padding: 2rem 2rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.wtype-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  color: #fff;
}
.wtype-icon.reiki     { background: linear-gradient(135deg, #6a11cb, #9c27b0); }
.wtype-icon.nlp       { background: linear-gradient(135deg, #b04d89, #e91e8c); }
.wtype-icon.eft       { background: linear-gradient(135deg, #0277bd, #29b6f6); }
.wtype-icon.hooponopono { background: linear-gradient(135deg, #2e7d32, #66bb6a); }
.wtype-icon.loa       { background: linear-gradient(135deg, #f57f17, #ffca28); }
.wtype-title { font-family: var(--font-heading); font-size: 1.2rem; color: var(--text-heading); margin-bottom: 0.25rem; }
.wtype-subtitle { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.wtype-body { padding: 0 2rem 1.5rem; flex: 1; }
.wtype-body p { font-size: 0.9rem; color: var(--text-body); line-height: 1.7; margin-bottom: 1rem; }
.wtype-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.wtype-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 99px;
  background: rgba(98,25,158,0.08);
  color: var(--purple);
}
.wtype-footer {
  padding: 1rem 2rem 1.75rem;
  border-top: 1px solid rgba(98,25,158,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wtype-price { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--purple); }
.wtype-price span { font-size: 0.75rem; font-weight: 500; color: var(--text-muted); display: block; }
.wtype-book-btn { white-space: nowrap; }

/* ---- CALENDAR SECTION ---- */
.calendar-section { background: var(--gray-100); }

.workshop-calendar {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* Calendar header */
.cal-header {
  background: var(--gradient-primary);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}
.cal-header h3 { font-family: var(--font-heading); font-size: 1.1rem; color: #fff; margin: 0; }
.cal-nav-btn {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.cal-nav-btn:hover { background: rgba(255,255,255,0.28); }

/* Day-of-week row */
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: rgba(98,25,158,0.05);
  border-bottom: 1px solid rgba(98,25,158,0.08);
}
.cal-weekday {
  text-align: center;
  padding: 0.6rem 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Day cells */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.cal-day {
  min-height: 72px;
  padding: 0.5rem 0.4rem 0.3rem;
  border-right: 1px solid rgba(98,25,158,0.06);
  border-bottom: 1px solid rgba(98,25,158,0.06);
  position: relative;
  cursor: default;
  transition: background 0.15s;
}
.cal-day:nth-child(7n) { border-right: none; }
.cal-day.empty { background: rgba(0,0,0,0.015); }
.cal-day.today .cal-day-num {
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cal-day.has-event { background: rgba(98,25,158,0.03); cursor: pointer; }
.cal-day.has-event:hover { background: rgba(98,25,158,0.07); }
.cal-day-num {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.cal-day.past .cal-day-num { opacity: 0.35; }

/* Event pill inside calendar day */
.cal-event-pill {
  font-size: 0.64rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  line-height: 1.4;
}
.cal-event-pill.reiki     { background: rgba(106,17,203,0.12); color: #6a11cb; }
.cal-event-pill.nlp       { background: rgba(176,77,137,0.12); color: #b04d89; }
.cal-event-pill.eft       { background: rgba(2,119,189,0.12);  color: #0277bd; }
.cal-event-pill.hooponopono { background: rgba(46,125,50,0.12); color: #2e7d32; }
.cal-event-pill.loa       { background: rgba(245,127,23,0.12); color: #e65100; }

/* ---- UPCOMING EVENTS LIST ---- */
.workshop-events-list { display: flex; flex-direction: column; gap: 1rem; }
.workshop-event-row {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(98,25,158,0.08);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.workshop-event-row:hover {
  border-color: var(--purple);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.event-date-badge {
  min-width: 58px;
  text-align: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.5rem;
  color: #fff;
  flex-shrink: 0;
}
.event-date-badge .evt-month { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.event-date-badge .evt-day   { font-size: 1.6rem; font-weight: 700; line-height: 1; font-family: var(--font-heading); }
.event-info { flex: 1; min-width: 0; }
.event-title { font-weight: 700; font-size: 0.95rem; color: var(--text-heading); margin-bottom: 0.25rem; }
.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.event-meta span { display: flex; align-items: center; gap: 0.3rem; }
.event-meta i { color: var(--purple); font-size: 0.72rem; }
.event-spots {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 99px;
  white-space: nowrap;
}
.event-spots.available { background: rgba(46,125,50,0.1); color: #2e7d32; }
.event-spots.limited   { background: rgba(245,127,23,0.1); color: #e65100; }
.event-spots.full      { background: rgba(198,40,40,0.1);  color: #c62828; }

/* ---- BOOKING FORM SECTION ---- */
.booking-section { background: var(--white); }
.workshop-booking-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.workshop-booking-info { padding-top: 0.5rem; }
.workshop-booking-info h2 { font-family: var(--font-heading); font-size: 2rem; color: var(--text-heading); margin-bottom: 1rem; }
.workshop-booking-info p  { color: var(--text-body); line-height: 1.8; margin-bottom: 1.25rem; }
.booking-benefits { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 2rem; }
.booking-benefits li { display: flex; align-items: center; gap: 0.65rem; font-size: 0.9rem; color: var(--text-body); }
.booking-benefits i { color: var(--purple); font-size: 0.85rem; flex-shrink: 0; }
.booking-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(98,25,158,0.09);
}
.booking-form-card h3 { font-family: var(--font-heading); font-size: 1.3rem; color: var(--text-heading); margin-bottom: 0.35rem; }
.booking-form-card .form-lead { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.5rem; }

/* ---- WORKSHOP DETAIL MODAL ---- */
.workshop-detail-modal .modal-box { max-width: 560px; }
.wdetail-header {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(98,25,158,0.08);
}
.wdetail-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #fff; flex-shrink: 0;
}
.wdetail-meta { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.wdetail-meta-row { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--text-body); }
.wdetail-meta-row i { color: var(--purple); width: 16px; }
.wdetail-price-row {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--gray-100); border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem; margin-bottom: 1.25rem;
}
.wdetail-price { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--purple); }

/* ---- CAL DAY STATES ---- */
.cal-day.selected { outline: 2px solid var(--purple); outline-offset: -2px; }
.cal-day.today .cal-day-num { background: var(--purple); color: #fff; border-radius: 50%; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem; }
.cal-day.past { opacity: 0.45; }
.cal-day.has-event { cursor: pointer; }
.cal-day.has-event:hover { background: rgba(98,25,158,0.06); }

/* ---- EVENT BOOK BTN ---- */
.event-book-btn { margin-left: auto; flex-shrink: 0; white-space: nowrap; }

/* ---- INPUT ERROR ---- */
.input-error { border-color: #e11d48 !important; }

/* ---- LOADING SKELETON ---- */
.skeleton {
  background: linear-gradient(90deg, #f0e6ff 25%, #f9f0ff 50%, #f0e6ff 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 8px;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .workshop-booking-wrap { grid-template-columns: 1fr; }
  .workshop-booking-info { padding-top: 0; }
}
@media (max-width: 768px) {
  .workshop-hero { padding: 3.5rem 0 3rem; }
  .workshop-types-grid { grid-template-columns: 1fr; }
  .workshop-event-row { flex-wrap: wrap; }
  .cal-day { min-height: 50px; }
  .cal-event-pill { display: none; }
  .workshop-hero-stats { gap: 1.5rem; }
  .booking-form-card { padding: 1.5rem; }
}
@media (max-width: 480px) {
  .cal-day-num { font-size: 0.7rem; }
  .wtype-footer { flex-direction: column; align-items: flex-start; }
  .event-meta { gap: 0.5rem; }
}
