/* ── Yotism Classes Page ── */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@500;600;700&family=Poppins:wght@300;400;500;600&display=swap');

.yev-root, .yev-root *, .yev-root *::before, .yev-root *::after {
  box-sizing: border-box; margin: 0; padding: 0;
}
.yev-root { font-family: 'Poppins', sans-serif; background: #faf7fb; }

:root {
  --yev-primary: #a32f96;
  --yev-plum:    #5C3960;
  --yev-purple:  #7b4a8e;
  --yev-mauve:   #9b5ea8;
  --yev-rose:    #c576ae;
  --yev-dark:    #2D1F2E;
  --yev-body:    #5A5A78;
}

/* ── Section wrapper ── */
.yev-section {
  padding: 56px 24px 72px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Section heading ── */
.yev-section__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.yev-section__icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.yev-section__title {
  font-family: 'Quicksand', sans-serif;
  font-size: 22px; font-weight: 700;
}
.yev-section__line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, currentColor, transparent);
  opacity: 0.15;
}

/* ── Card grid ── */
.yev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.yev-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ── Event card ── */
.yev-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 3px 20px rgba(92,57,96,0.08);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s ease;
  display: flex; flex-direction: column;
}
.yev-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(92,57,96,0.14);
}
.yev-card__top { height: 6px; flex-shrink: 0; }
.yev-card__body {
  padding: 24px 24px 20px;
  flex: 1; display: flex; flex-direction: column;
}
.yev-card__badge {
  display: inline-block;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 100px; padding: 4px 12px;
  margin-bottom: 14px; width: fit-content;
}
.yev-card__name {
  font-family: 'Quicksand', sans-serif;
  font-size: 16px; font-weight: 700;
  color: var(--yev-dark); margin-bottom: 10px; line-height: 1.3;
}
.yev-card__desc {
  font-size: 13px; color: var(--yev-body);
  line-height: 1.75; flex: 1; margin-bottom: 18px;
}
.yev-card__meta { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.yev-card__meta-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: #888;
}
.yev-card__meta-date {
  font-size: 13px; font-weight: 600; color: #5C3960;
  background: rgba(92,57,96,0.07);
  border-radius: 8px; padding: 6px 10px;
}
.yev-card__meta-icon { width: 18px; text-align: center; font-size: 13px; flex-shrink: 0; }
.yev-card__footer {
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
  padding-top: 16px; border-top: 1px solid #f0f0f0; margin-top: auto;
}
.yev-card__price {
  font-family: 'Quicksand', sans-serif;
  font-size: 20px; font-weight: 700; color: var(--yev-dark);
}
.yev-card__price span { font-size: 12px; font-weight: 500; color: #aaa; margin-left: 2px; }
/* WooCommerce wraps price in <span class="woocommerce-Price-amount"> */
.yev-card__price .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit; }

/* ── Buttons ── */
.yev-btn {
  display: inline-block;
  font-family: 'Quicksand', sans-serif;
  font-size: 13px; font-weight: 700;
  padding: 10px 20px;
  border-radius: 20px 0px 20px 0px;
  border: none; cursor: pointer;
  text-decoration: none !important;
  color: #fff !important;
  background: #764979;
  transition: background 0.25s ease, transform 0.25s ease;
  white-space: nowrap; user-select: none;
}
.yev-btn:hover {
  background: #c471ad;
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-2px);
}
.yev-btn--white { background: #764979; color: #fff !important; padding: 14px 28px; font-size: 14px; }

/* ── Section colour themes ── */
.yev--primary .yev-card__top   { background: #a32f96; }
.yev--primary .yev-card__badge { background: rgba(163,47,150,0.1); color: #a32f96; }
.yev--plum    .yev-card__top   { background: #5C3960; }
.yev--plum    .yev-card__badge { background: rgba(92,57,96,0.1);   color: #5C3960; }
.yev--purple  .yev-card__top   { background: #7b4a8e; }
.yev--purple  .yev-card__badge { background: rgba(123,74,142,0.1); color: #7b4a8e; }
.yev--mauve   .yev-card__top   { background: #9b5ea8; }
.yev--mauve   .yev-card__badge { background: rgba(155,94,168,0.1); color: #9b5ea8; }
.yev--rose    .yev-card__top   { background: #c576ae; }
.yev--rose    .yev-card__badge { background: rgba(197,118,174,0.1); color: #c576ae; }

/* ── Upcoming row cards ── */
.yev-upcoming { display: flex; flex-direction: column; gap: 16px; }
.yev-ucard {
  background: #fff; border-radius: 18px;
  box-shadow: 0 3px 20px rgba(92,57,96,0.08);
  display: flex; align-items: center; gap: 24px; padding: 24px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 5px solid transparent;
}
.yev-ucard:hover { transform: translateX(6px); box-shadow: 0 8px 32px rgba(92,57,96,0.14); }
.yev-ucard--1 { border-left-color: #a32f96; }
.yev-ucard--2 { border-left-color: #7b4a8e; }
.yev-ucard--3 { border-left-color: #5C3960; }

.yev-ucard__date { text-align: center; min-width: 64px; flex-shrink: 0; }
.yev-ucard__day { font-family: 'Quicksand', sans-serif; font-size: 38px; font-weight: 700; line-height: 1; }
.yev-ucard--1 .yev-ucard__day { color: #a32f96; }
.yev-ucard--2 .yev-ucard__day { color: #7b4a8e; }
.yev-ucard--3 .yev-ucard__day { color: #5C3960; }
.yev-ucard__month { font-size: 12px; font-weight: 600; color: #aaa; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }
.yev-ucard__divider { width: 1px; height: 60px; background: #f0f0f0; flex-shrink: 0; }
.yev-ucard__info { flex: 1; }
.yev-ucard__badge { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #aaa; margin-bottom: 6px; }
.yev-ucard__name { font-family: 'Quicksand', sans-serif; font-size: 17px; font-weight: 700; color: var(--yev-dark); margin-bottom: 8px; }
.yev-ucard__meta { display: flex; gap: 16px; font-size: 12px; color: #888; flex-wrap: wrap; }
.yev-ucard__action { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex-shrink: 0; }
.yev-ucard__price { font-family: 'Quicksand', sans-serif; font-size: 24px; font-weight: 700; color: var(--yev-dark); }
.yev-ucard__price .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit; }

/* ── Weekly classes panel ── */
.yev-weekly {
  background: linear-gradient(135deg, #f5eaf9, #ede0f5);
  border-radius: 24px; padding: 40px 36px; margin-bottom: 56px;
}
.yev-weekly__title { font-family: 'Quicksand', sans-serif; font-size: 20px; font-weight: 700; color: var(--yev-dark); margin-bottom: 8px; }
.yev-weekly__sub { font-size: 13px; color: var(--yev-body); margin-bottom: 28px; }
.yev-weekly__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.yev-weekly__item {
  background: #fff; border-radius: 16px; padding: 20px 22px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: 0 2px 12px rgba(163,47,150,0.1);
  transition: transform 0.3s ease;
}
.yev-weekly__item:hover { transform: translateY(-3px); }
.yev-weekly__emoji { font-size: 32px; flex-shrink: 0; }
.yev-weekly__info { flex: 1; }
.yev-weekly__name { font-family: 'Quicksand', sans-serif; font-size: 15px; font-weight: 700; color: var(--yev-dark); margin-bottom: 4px; }
.yev-weekly__time { font-size: 12px; color: #a32f96; font-weight: 600; }
.yev-weekly__day { font-size: 11px; color: #aaa; margin-top: 2px; }

/* ── Bespoke banner ── */
.yev-bespoke {
  background: linear-gradient(135deg, #2D1F2E 0%, #5C3960 100%);
  border-radius: 24px; padding: 48px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 56px;
}
.yev-bespoke__text { flex: 1; }
.yev-bespoke__tag {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: #d4a5ce; background: rgba(212,165,206,0.15);
  border-radius: 100px; padding: 5px 14px; margin-bottom: 14px;
}
.yev-bespoke__title { font-family: 'Quicksand', sans-serif; font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 12px; line-height: 1.3; }
.yev-bespoke__desc { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.75; max-width: 500px; }
.yev-bespoke__action { flex-shrink: 0; }

/* ── Empty state ── */
.yev-empty {
  padding: 40px 32px;
  text-align: center;
  font-size: 14px;
  color: #aaa;
  background: rgba(118,73,121,0.04);
  border-radius: 16px;
  border: 1px dashed rgba(118,73,121,0.2);
  font-family: 'Poppins', sans-serif;
}

/* ── Divider ── */
.yev-divider { height: 1px; background: linear-gradient(90deg, transparent, #e0d0e8, transparent); margin: 56px 0; }

/* ── Animations ── */
@keyframes yev-fadein { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.yev-card, .yev-weekly__item, .yev-bespoke { animation: yev-fadein 0.5s ease both; }
.yev-card:nth-child(1) { animation-delay: 0.05s; }
.yev-card:nth-child(2) { animation-delay: 0.12s; }
.yev-card:nth-child(3) { animation-delay: 0.19s; }
.yev-card:nth-child(4) { animation-delay: 0.26s; }
.yev-card:nth-child(5) { animation-delay: 0.33s; }

/* ── Responsive ── */
@media (max-width: 860px) {
  .yev-grid { grid-template-columns: repeat(2, 1fr); }
  .yev-bespoke { flex-direction: column; text-align: center; }
  .yev-bespoke__desc { max-width: 100%; }
}
@media (max-width: 640px) {
  .yev-ucard { flex-wrap: wrap; gap: 16px; }
  .yev-ucard__action { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
  .yev-ucard__meta { flex-direction: column; gap: 4px; }
}
@media (max-width: 560px) {
  .yev-grid, .yev-grid--2, .yev-weekly__grid { grid-template-columns: 1fr; }
  .yev-section { padding: 40px 16px 56px; }
  .yev-weekly { padding: 28px 20px; }
  .yev-bespoke { padding: 32px 24px; }
}
