@charset "UTF-8";
/**
 * Dashboard styles – entry point.
 * Build: npm run build:css (or npm run watch:css).
 * Output: ../dashboard.css
 *
 * Breakpoint 992px must match SIDEBAR_BREAKPOINT_PX in assets/js/dashboard-nav.js.
 * All layout/nav/programs are scoped under .homeofself-my-account so theme styles
 * override WP/Woo without !important. Enqueued with late priority so we load last.
 *
 * @package HomeOfSelf
 * @since 1.0.0
 */
/**
 * Dashboard CSS variables – neutral, professional.
 * Override in child theme or customizer.
 * @package HomeOfSelf
 */
:root {
  /* Sidebar */
  --homeofself-sidebar-bg: var(--ast-global-color-4, #fff);
  --homeofself-sidebar-border: #d1d1d1;
  --homeofself-sidebar-width: 280px;
  /* Cards / boxes */
  --homeofself-card-border: #d1d1d1;
  --homeofself-card-bg: #fff;
  --homeofself-card-bg-muted: #f4f4f4;
  /* Buttons */
  --homeofself-btn-radius: 9999px;
  --homeofself-btn-bg: #9C5AA3;
  --homeofself-btn-bg-hover: #57325B;
  --homeofself-btn-color: #fff;
  --homeofself-sidebar-z: 1000;
  --homeofself-overlay-bg: rgba(0, 0, 0, 0.4);
  --homeofself-overlay-z: 999;
  /* Nav link – touch-friendly min 44px tap target */
  --homeofself-nav-link-py: 0.75rem;
  --homeofself-nav-link-px: 1rem;
  --homeofself-nav-link-gap: 0.75rem;
  --homeofself-nav-link-radius: 0.375rem;
  --homeofself-nav-link-min-height: 2.75rem; /* 44px */
  --homeofself-nav-item-gap: 0.25rem;
  /* Nav icon size – change this to scale sidebar icons (e.g. 1rem, 1.25rem, 1.5rem) */
  --homeofself-nav-icon-size: 1.8rem;
  /* States */
  --homeofself-nav-text: var(--ast-global-color-3, #1E1E1E);
  --homeofself-nav-text-hover: var(--ast-global-color-2, #1E1E1E);
  --homeofself-nav-bg-hover: rgba(0, 0, 0, 0.04);
  --homeofself-nav-bg-active: #f0f0f0;
  --homeofself-nav-active-border: 1px solid var(--homeofself-sidebar-border);
  --homeofself-nav-active-accent: var(--ast-global-color-0, #0274be);
  --homeofself-nav-active-icon: #800080;
  /* Transitions */
  --homeofself-sidebar-duration: 0.25s;
  --homeofself-sidebar-ease: ease;
}

/**
 * Dashboard layout – mobile-first sidebar + content.
 * Breakpoint: 992px (matches SIDEBAR_BREAKPOINT_PX in dashboard-nav.js).
 * Scoped to .homeofself-my-account for specificity over WP/Woo without !important.
 * @package HomeOfSelf
 */
.homeofself-my-account {
  /* -------------------------------------------------------------------------
     MOBILE BASELINE – sidebar hidden by default; overlay when open.
     ------------------------------------------------------------------------- */
}
.homeofself-my-account.ast-plain-container.ast-no-sidebar #primary {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}
.homeofself-my-account .entry-header {
  display: none;
}
.homeofself-my-account .homeofself-dashboard {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 100%;
  position: relative;
}
.homeofself-my-account .homeofself-dashboard__nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--homeofself-nav-link-min-height);
  min-width: var(--homeofself-nav-link-min-height);
  padding: 0 var(--homeofself-nav-link-px);
  margin-bottom: 0.5rem;
  border: 1px solid var(--homeofself-sidebar-border);
  border-radius: var(--homeofself-btn-radius);
  background: var(--homeofself-sidebar-bg);
  color: var(--homeofself-nav-text);
  font-size: 1rem;
  cursor: pointer;
  transition: background-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), border-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-dashboard__nav-toggle:hover,
.homeofself-my-account .homeofself-dashboard__nav-toggle:focus-visible {
  background: var(--homeofself-nav-bg-hover);
  color: var(--homeofself-nav-text-hover);
  border-color: var(--homeofself-nav-text);
  outline: none;
}
.homeofself-my-account .homeofself-dashboard__nav-toggle:focus:not(:focus-visible) {
  outline: none;
}
.homeofself-my-account .homeofself-dashboard__nav-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}
.homeofself-my-account .homeofself-dashboard__overlay {
  position: fixed;
  inset: 0;
  background: var(--homeofself-overlay-bg);
  z-index: var(--homeofself-overlay-z);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), visibility 0s linear var(--homeofself-sidebar-duration);
  touch-action: none;
}
.homeofself-my-account .homeofself-dashboard.is-nav-open .homeofself-dashboard__overlay {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), visibility 0s linear 0s;
}
.homeofself-my-account .homeofself-dashboard__sidebar-wrap {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: var(--homeofself-sidebar-z);
  width: var(--homeofself-sidebar-width);
  max-width: 85vw;
  background: var(--homeofself-sidebar-bg);
  transform: translateX(-100%);
  transition: transform var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.homeofself-my-account .homeofself-dashboard.is-nav-open .homeofself-dashboard__sidebar-wrap {
  transform: translateX(0);
}
.homeofself-my-account .homeofself-dashboard__sidebar {
  order: 1;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0;
}
.homeofself-my-account .homeofself-dashboard__content {
  order: 2;
  flex: 1;
  min-width: 0;
  padding-bottom: 2rem;
}
.homeofself-my-account .homeofself-dashboard__sidebar-close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: var(--homeofself-nav-link-min-height);
  min-width: var(--homeofself-nav-link-min-height);
  margin: 0.5rem 0.75rem 0 auto;
  padding: 0;
  border: none;
  border-radius: var(--homeofself-btn-radius);
  background: transparent;
  color: var(--homeofself-nav-text);
  cursor: pointer;
  transition: background-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-dashboard__sidebar-close:hover,
.homeofself-my-account .homeofself-dashboard__sidebar-close:focus-visible {
  background: var(--homeofself-nav-bg-hover);
  color: var(--homeofself-nav-text-hover);
  outline: none;
}
.homeofself-my-account .homeofself-dashboard__sidebar-close:focus:not(:focus-visible) {
  outline: none;
}

/* Body scroll lock when sidebar open (JS adds .homeofself-nav-open to body) */
body.homeofself-my-account.homeofself-nav-open {
  overflow: hidden;
}

/* -------------------------------------------------------------------------
   TABLET / DESKTOP (≥992px)
   ------------------------------------------------------------------------- */
@media (min-width: 992px) {
  .homeofself-my-account.ast-plain-container.ast-no-sidebar #primary {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  .homeofself-my-account .homeofself-dashboard {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }
  .homeofself-my-account .homeofself-dashboard__nav-toggle,
  .homeofself-my-account .homeofself-dashboard__overlay,
  .homeofself-my-account .homeofself-dashboard__sidebar-close {
    display: none;
  }
  .homeofself-my-account .homeofself-dashboard__sidebar-wrap {
    position: sticky;
    top: var(--ast-sticky-top, 0);
    left: auto;
    bottom: auto;
    transform: none;
    flex: 0 0 var(--homeofself-sidebar-width);
    width: var(--homeofself-sidebar-width);
    max-width: none;
    max-height: calc(100vh - 2rem);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .homeofself-my-account .homeofself-dashboard.is-nav-open .homeofself-dashboard__sidebar-wrap {
    transform: none;
  }
  .homeofself-my-account .homeofself-dashboard__sidebar {
    padding: 0.5rem 0;
  }
  .homeofself-my-account .homeofself-dashboard__content {
    flex: 1;
    min-width: 0;
  }
  body.homeofself-my-account.homeofself-nav-open {
    overflow: auto;
  }
}
/**
 * Shared section header – icon + title + subtitle.
 * Used by partial section-header.php in all dashboard sections (Favorites-style).
 * Icon color: set --homeofself-section-header-accent on the section block (e.g. .homeofself-favorites).
 *
 * @package HomeOfSelf
 * @since 1.0.0
 */
.homeofself-my-account .homeofself-section-header {
  margin-bottom: 1.5rem;
}
.homeofself-my-account .homeofself-section-header__heading {
  display: flex;
  align-items: center;
  line-height: 1.3;
  color: var(--homeofself-nav-text-hover);
  letter-spacing: -0.02em;
  margin: 0;
}
.homeofself-my-account .homeofself-section-header__icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  color: var(--homeofself-section-header-accent, var(--homeofself-nav-active-accent));
  opacity: 0.9;
}
.homeofself-my-account .homeofself-section-header__subtitle {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--homeofself-nav-text);
  line-height: 1.4;
  padding-left: 3rem;
}
.homeofself-my-account .homeofself-section-header__subtitle a {
  color: var(--homeofself-section-header-accent, var(--homeofself-nav-active-accent));
  text-decoration: none;
  font-weight: 500;
}
.homeofself-my-account .homeofself-section-header__subtitle a:hover {
  text-decoration: underline;
}

/**
 * Dashboard navigation – shared mobile + desktop.
 * Scoped to .homeofself-my-account for specificity over WooCommerce nav styles.
 * @package HomeOfSelf
 */
.homeofself-my-account .homeofself-dashboard-nav.woocommerce-MyAccount-navigation {
  width: 100%;
}
.homeofself-my-account .homeofself-dashboard-nav .homeofself-dashboard-nav__list {
  list-style: none;
  margin: 0;
  padding: 0 0.75rem;
  display: flex;
  flex-direction: column;
  gap: var(--homeofself-nav-item-gap);
}
.homeofself-my-account .homeofself-dashboard-nav .homeofself-dashboard-nav__list--secondary {
  border-top: 1px solid var(--homeofself-sidebar-border);
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  gap: var(--homeofself-nav-item-gap);
}
.homeofself-my-account .homeofself-dashboard-nav .homeofself-dashboard-nav__item {
  margin: 0;
  border: none;
}
.homeofself-my-account .homeofself-dashboard-nav .homeofself-dashboard-nav__link {
  display: flex;
  align-items: center;
  gap: var(--homeofself-nav-link-gap);
  min-height: var(--homeofself-nav-link-min-height);
  padding: var(--homeofself-nav-link-py) var(--homeofself-nav-link-px);
  text-decoration: none;
  color: var(--homeofself-nav-text);
  border-radius: 9999px;
  border: 1px solid transparent;
  outline: none;
  transition: background-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), border-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), font-weight var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
}
.homeofself-my-account {
  /* Hover: same pill + background as active, no border */
}
.homeofself-my-account .homeofself-dashboard-nav .homeofself-dashboard-nav__link:hover {
  background: var(--homeofself-nav-bg-active);
  color: var(--homeofself-nav-text-hover);
  font-weight: 600;
  border-radius: 9999px;
}
.homeofself-my-account .homeofself-dashboard-nav .homeofself-dashboard-nav__link:focus {
  outline: none;
}
.homeofself-my-account .homeofself-dashboard-nav .homeofself-dashboard-nav__link:focus-visible {
  outline: 2px solid var(--homeofself-nav-active-accent);
  outline-offset: 2px;
}
.homeofself-my-account {
  /* Active: same as hover + border */
}
.homeofself-my-account .homeofself-dashboard-nav .homeofself-dashboard-nav__item.is-active .homeofself-dashboard-nav__link,
.homeofself-my-account .homeofself-dashboard-nav .homeofself-dashboard-nav__link[aria-current=page] {
  background: var(--homeofself-nav-bg-active);
  color: var(--homeofself-nav-text-hover);
  font-weight: 600;
  border-radius: 9999px;
  border: var(--homeofself-nav-active-border);
}
.homeofself-my-account .homeofself-dashboard-nav .homeofself-dashboard-nav__item.is-active .homeofself-dashboard-nav__icon,
.homeofself-my-account .homeofself-dashboard-nav .homeofself-dashboard-nav__link[aria-current=page] .homeofself-dashboard-nav__icon {
  color: var(--homeofself-nav-active-icon);
  opacity: 1;
}
.homeofself-my-account .homeofself-dashboard-nav__icon-wrap {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: var(--homeofself-nav-icon-size);
  min-width: var(--homeofself-nav-icon-size);
}
.homeofself-my-account .homeofself-dashboard-nav__icon,
.homeofself-my-account .homeofself-dashboard-nav__icon-wrap .hos-icon-wrap {
  width: var(--homeofself-nav-icon-size) !important;
  height: var(--homeofself-nav-icon-size) !important;
  min-width: var(--homeofself-nav-icon-size);
  min-height: var(--homeofself-nav-icon-size);
}
.homeofself-my-account .homeofself-dashboard-nav__icon {
  color: inherit;
  opacity: 0.9;
}
.homeofself-my-account .homeofself-dashboard-nav .homeofself-dashboard-nav__link:hover .homeofself-dashboard-nav__icon,
.homeofself-my-account .homeofself-dashboard-nav .homeofself-dashboard-nav__item.is-active .homeofself-dashboard-nav__icon {
  opacity: 1;
}
.homeofself-my-account .homeofself-dashboard-nav__label {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.homeofself-my-account .homeofself-dashboard-nav__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  border-radius: 9999px;
  background: var(--homeofself-nav-active-accent);
  color: #fff;
}

@media (min-width: 992px) {
  .homeofself-my-account .homeofself-dashboard-nav .homeofself-dashboard-nav__list {
    padding: 0 0.5rem;
  }
  .homeofself-my-account .homeofself-dashboard-nav .homeofself-dashboard-nav__list--secondary {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
  }
}
/**
 * Dashboard Home – LMS command center.
 * Mobile-first; desktop breakpoint at 992px (matches _layout.scss).
 * Scoped under .homeofself-my-account for specificity over WP/Woo/Astra.
 *
 * @package HomeOfSelf
 * @since   1.2.0
 */
.homeofself-my-account .homeofself-home {
  --hos-home-gap: 1.5rem;
  --hos-home-card-radius: 0.75rem;
  --hos-home-card-bg: var(--homeofself-card-bg, #fff);
  --hos-home-card-border: var(--homeofself-card-border, #d1d1d1);
  --hos-home-muted: var(--homeofself-card-bg-muted, #f4f4f4);
  --hos-home-text: var(--homeofself-nav-text, #1e1e1e);
  --hos-home-text-secondary: #6b7280;
  --hos-home-accent: var(--homeofself-nav-active-accent, #0274be);
  --hos-home-progress-bg: var(--homeofself-sidebar-border, #d1d1d1);
  --hos-home-progress-fill: var(--homeofself-btn-bg, #9c5aa3);
  display: flex;
  flex-direction: column;
  gap: var(--hos-home-gap);
}
.homeofself-my-account {
  /* ──────────────────────────────────────────
     1. WELCOME HEADER
     ────────────────────────────────────────── */
}
.homeofself-my-account .homeofself-home__welcome {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-bottom: 0.25rem;
}
.homeofself-my-account .homeofself-home__welcome-icon {
  flex-shrink: 0;
  color: var(--hos-home-progress-fill);
  line-height: 0;
}
.homeofself-my-account .homeofself-home__welcome-text {
  flex: 1;
  min-width: 0;
}
.homeofself-my-account .homeofself-home__greeting {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--hos-home-text);
}
.homeofself-my-account .homeofself-home__tagline {
  margin: 0.25rem 0 0;
  font-size: 0.9375rem;
  color: var(--hos-home-text-secondary);
  line-height: 1.5;
}
.homeofself-my-account {
  /* Section title with icon */
}
.homeofself-my-account .homeofself-home__section-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.homeofself-my-account .homeofself-home__section-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hos-home-progress-fill);
  line-height: 0;
}
.homeofself-my-account .homeofself-home__icon {
  color: inherit;
}
.homeofself-my-account {
  /* ──────────────────────────────────────────
     2. CONTINUE LEARNING
     ────────────────────────────────────────── */
}
.homeofself-my-account .homeofself-home__continue-card {
  background: var(--hos-home-card-bg);
  border: 1px solid var(--hos-home-card-border);
  border-radius: var(--hos-home-card-radius);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}
.homeofself-my-account .homeofself-home__continue-thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--hos-home-muted);
  flex-shrink: 0;
  overflow: hidden;
}
.homeofself-my-account .homeofself-home__continue-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.homeofself-my-account .homeofself-home__continue-thumbnail--placeholder {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--hos-home-muted) 0%, rgba(156, 90, 163, 0.08) 100%);
  color: var(--hos-home-progress-fill);
  opacity: 0.9;
}
.homeofself-my-account .homeofself-home__continue-thumbnail--placeholder .hos-icon-wrap {
  opacity: 0.7;
}
.homeofself-my-account .homeofself-home__placeholder-dot {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--hos-home-progress-fill);
  opacity: 0.2;
}
.homeofself-my-account .homeofself-home__continue-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.homeofself-my-account .homeofself-home__continue-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--hos-home-progress-fill);
  margin-bottom: 0.25rem;
}
.homeofself-my-account .homeofself-home__continue-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--hos-home-text);
}
.homeofself-my-account .homeofself-home__continue-excerpt {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--hos-home-text-secondary);
  line-height: 1.5;
}
.homeofself-my-account .homeofself-home__continue-progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.homeofself-my-account .homeofself-home__progress-bar {
  flex: 1;
  height: 0.5rem;
  background: var(--hos-home-progress-bg);
  border-radius: 9999px;
  overflow: hidden;
}
.homeofself-my-account .homeofself-home__progress-fill {
  height: 100%;
  background: var(--hos-home-progress-fill);
  border-radius: 9999px;
  transition: width 0.4s ease;
}
.homeofself-my-account .homeofself-home__progress-text {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--hos-home-text);
  white-space: nowrap;
}
.homeofself-my-account .homeofself-home__continue-actions {
  display: flex;
}
.homeofself-my-account {
  /* Enrolled programs fallback grid */
}
.homeofself-my-account .homeofself-home__programs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.homeofself-my-account .homeofself-home__program-card {
  background: var(--hos-home-card-bg);
  border: 1px solid var(--hos-home-card-border);
  border-radius: var(--hos-home-card-radius);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}
.homeofself-my-account .homeofself-home__program-thumbnail {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--hos-home-muted);
  flex-shrink: 0;
  overflow: hidden;
}
.homeofself-my-account .homeofself-home__program-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.homeofself-my-account .homeofself-home__program-thumb-placeholder {
  width: 100%;
  height: 100%;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--hos-home-muted) 0%, rgba(156, 90, 163, 0.06) 100%);
  color: var(--hos-home-progress-fill);
  opacity: 0.85;
}
.homeofself-my-account .homeofself-home__program-card .homeofself-home__program-title,
.homeofself-my-account .homeofself-home__program-card .homeofself-home__program-status,
.homeofself-my-account .homeofself-home__program-card .homeofself-home__btn {
  margin-left: 1rem;
  margin-right: 1rem;
}
.homeofself-my-account .homeofself-home__program-card .homeofself-home__program-title {
  margin-top: 0.75rem;
}
.homeofself-my-account .homeofself-home__program-card .homeofself-home__btn {
  margin-bottom: 1rem;
  margin-top: 0.25rem;
}
.homeofself-my-account .homeofself-home__program-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--hos-home-text);
}
.homeofself-my-account .homeofself-home__program-status {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--hos-home-text-secondary);
}
.homeofself-my-account .homeofself-home__program-status--in-progress {
  color: var(--hos-home-progress-fill);
}
.homeofself-my-account .homeofself-home__program-status--completed {
  color: #16a34a;
}
.homeofself-my-account .homeofself-home__programs-all {
  margin: 0;
  text-align: center;
}
.homeofself-my-account {
  /* Empty state */
}
.homeofself-my-account .homeofself-home__empty-state {
  background: var(--hos-home-muted);
  border-radius: var(--hos-home-card-radius);
  padding: 2rem 1.5rem;
  text-align: center;
}
.homeofself-my-account .homeofself-home__empty-state p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: var(--hos-home-text-secondary);
}
.homeofself-my-account {
  /* ──────────────────────────────────────────
     3. QUICK STATS
     ────────────────────────────────────────── */
}
.homeofself-my-account .homeofself-home__stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.homeofself-my-account .homeofself-home__stat-card {
  background: var(--hos-home-card-bg);
  border: 1px solid var(--hos-home-card-border);
  border-radius: var(--hos-home-card-radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
}
.homeofself-my-account .homeofself-home__stat-card--status {
  grid-column: 1/-1;
}
.homeofself-my-account .homeofself-home__stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  margin-bottom: 0.15rem;
}
.homeofself-my-account .homeofself-home__stat-icon--programs {
  color: var(--hos-home-progress-fill);
}
.homeofself-my-account .homeofself-home__stat-icon--lessons {
  color: #d97706;
}
.homeofself-my-account .homeofself-home__stat-icon--sub {
  color: #16a34a;
}
.homeofself-my-account .homeofself-home__stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--hos-home-text);
}
.homeofself-my-account .homeofself-home__stat-label {
  font-size: 0.8125rem;
  color: var(--hos-home-text-secondary);
  line-height: 1.4;
}
.homeofself-my-account .homeofself-home__stat-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid transparent;
  width: fit-content;
}
.homeofself-my-account .homeofself-home__stat-badge--active {
  background: rgba(22, 163, 74, 0.08);
  color: #16a34a;
  border-color: rgba(22, 163, 74, 0.25);
}
.homeofself-my-account .homeofself-home__stat-badge--on-hold {
  background: rgba(217, 119, 6, 0.08);
  color: #d97706;
  border-color: rgba(217, 119, 6, 0.25);
}
.homeofself-my-account .homeofself-home__stat-badge--cancelled {
  background: rgba(107, 114, 128, 0.08);
  color: #6b7280;
  border-color: rgba(107, 114, 128, 0.25);
}
.homeofself-my-account .homeofself-home__stat-badge--expired {
  background: rgba(156, 163, 175, 0.08);
  color: #9ca3af;
  border-color: rgba(156, 163, 175, 0.25);
}
.homeofself-my-account .homeofself-home__stat-badge--pending {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.25);
}
.homeofself-my-account {
  /* ──────────────────────────────────────────
     4. UPCOMING LIVE EVENT
     ────────────────────────────────────────── */
}
.homeofself-my-account .homeofself-home__upcoming-card {
  background: var(--hos-home-card-bg);
  border: 1px solid var(--hos-home-card-border);
  border-radius: var(--hos-home-card-radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}
.homeofself-my-account .homeofself-home__upcoming-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--hos-home-accent);
  opacity: 0.5;
  line-height: 0;
}
.homeofself-my-account .homeofself-home__upcoming-date {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.homeofself-my-account .homeofself-home__upcoming-date-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--hos-home-accent);
}
.homeofself-my-account .homeofself-home__upcoming-time {
  font-size: 0.8125rem;
  color: var(--hos-home-text-secondary);
}
.homeofself-my-account .homeofself-home__upcoming-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--hos-home-text);
}
.homeofself-my-account .homeofself-home__upcoming-desc {
  margin: 0;
  font-size: 0.875rem;
  color: var(--hos-home-text-secondary);
  line-height: 1.5;
}
.homeofself-my-account .homeofself-home__upcoming-actions {
  display: flex;
}
.homeofself-my-account {
  /* ──────────────────────────────────────────
     5. FAVORITES PREVIEW
     ────────────────────────────────────────── */
}
.homeofself-my-account .homeofself-home__favorites-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--hos-home-card-bg);
  border: 1px solid var(--hos-home-card-border);
  border-radius: var(--hos-home-card-radius);
  padding: 0.5rem 0;
}
.homeofself-my-account .homeofself-home__favorite-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.625rem 1rem;
  margin: 0 0.5rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease;
}
.homeofself-my-account .homeofself-home__favorite-item:hover {
  background: var(--hos-home-muted);
}
.homeofself-my-account .homeofself-home__favorite-thumbnail-link {
  flex-shrink: 0;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-home__favorite-thumbnail {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: 0.375rem;
  overflow: hidden;
  background: var(--hos-home-muted);
}
.homeofself-my-account .homeofself-home__favorite-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.homeofself-my-account .homeofself-home__favorite-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(156, 90, 163, 0.08);
  color: var(--hos-home-progress-fill);
  opacity: 0.9;
}
.homeofself-my-account .homeofself-home__favorite-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}
.homeofself-my-account .homeofself-home__favorite-program {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--hos-home-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
}
.homeofself-my-account .homeofself-home__favorite-title {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--hos-home-text);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.homeofself-my-account {
  /* ──────────────────────────────────────────
     6. SUBSCRIPTION SNAPSHOT
     ────────────────────────────────────────── */
}
.homeofself-my-account .homeofself-home__sub-card {
  background: var(--hos-home-card-bg);
  border: 1px solid var(--hos-home-card-border);
  border-radius: var(--hos-home-card-radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.homeofself-my-account .homeofself-home__sub-plan {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.homeofself-my-account .homeofself-home__sub-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--hos-home-text);
}
.homeofself-my-account .homeofself-home__sub-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid transparent;
}
.homeofself-my-account .homeofself-home__sub-badge--active {
  background: rgba(22, 163, 74, 0.08);
  color: #16a34a;
  border-color: rgba(22, 163, 74, 0.25);
}
.homeofself-my-account .homeofself-home__sub-badge--on-hold {
  background: rgba(217, 119, 6, 0.08);
  color: #d97706;
  border-color: rgba(217, 119, 6, 0.25);
}
.homeofself-my-account .homeofself-home__sub-badge--cancelled {
  background: rgba(107, 114, 128, 0.08);
  color: #6b7280;
  border-color: rgba(107, 114, 128, 0.25);
}
.homeofself-my-account .homeofself-home__sub-badge--expired {
  background: rgba(156, 163, 175, 0.08);
  color: #9ca3af;
  border-color: rgba(156, 163, 175, 0.25);
}
.homeofself-my-account .homeofself-home__sub-badge--pending {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.25);
}
.homeofself-my-account .homeofself-home__sub-price {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--hos-home-text);
}
.homeofself-my-account .homeofself-home__sub-renewal {
  font-size: 0.8125rem;
  color: var(--hos-home-text-secondary);
}
.homeofself-my-account {
  /* ──────────────────────────────────────────
     SHARED: Section titles, headers, buttons
     ────────────────────────────────────────── */
}
.homeofself-my-account .homeofself-home__section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.homeofself-my-account .homeofself-home__section-title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--hos-home-text);
}
.homeofself-my-account .homeofself-home__section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.homeofself-my-account .homeofself-home__view-all {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--hos-home-accent);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--homeofself-sidebar-duration, 0.25s) ease;
}
.homeofself-my-account .homeofself-home__view-all:hover,
.homeofself-my-account .homeofself-home__view-all:focus-visible {
  color: var(--homeofself-btn-bg-hover, #57325b);
  text-decoration: underline;
}
.homeofself-my-account {
  /* Buttons */
}
.homeofself-my-account .homeofself-home__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem; /* 44px touch target */
  padding: 0.625rem 1.5rem;
  border: none;
  border-radius: var(--homeofself-btn-radius, 9999px);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--homeofself-sidebar-duration, 0.25s) ease, color var(--homeofself-sidebar-duration, 0.25s) ease;
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-home__btn--primary {
  background: var(--homeofself-btn-bg, #9c5aa3);
  color: var(--homeofself-btn-color, #fff);
}
.homeofself-my-account .homeofself-home__btn--primary:hover,
.homeofself-my-account .homeofself-home__btn--primary:focus-visible {
  background: var(--homeofself-btn-bg-hover, #57325b);
  color: var(--homeofself-btn-color, #fff);
}
.homeofself-my-account .homeofself-home__btn--secondary {
  background: transparent;
  color: var(--hos-home-accent);
  border: 1px solid var(--hos-home-card-border);
  min-height: 2.5rem;
  padding: 0.5rem 1.25rem;
}
.homeofself-my-account .homeofself-home__btn--secondary:hover,
.homeofself-my-account .homeofself-home__btn--secondary:focus-visible {
  background: var(--hos-home-muted);
  color: var(--homeofself-btn-bg-hover, #57325b);
}
.homeofself-my-account .homeofself-home__btn--small {
  background: transparent;
  color: var(--hos-home-accent);
  font-size: 0.8125rem;
  font-weight: 500;
  min-height: 2.75rem; /* 44px touch */
  padding: 0.375rem 0;
  border-radius: 0;
  flex-shrink: 0;
}
.homeofself-my-account .homeofself-home__btn--small:hover,
.homeofself-my-account .homeofself-home__btn--small:focus-visible {
  color: var(--homeofself-btn-bg-hover, #57325b);
  text-decoration: underline;
}
.homeofself-my-account {
  /* ──────────────────────────────────────────
     DESKTOP (≥ 992px)
     ────────────────────────────────────────── */
}
@media (min-width: 992px) {
  .homeofself-my-account .homeofself-home {
    --hos-home-gap: 2rem;
  }
  .homeofself-my-account .homeofself-home__greeting {
    font-size: 1.625rem;
  }
  .homeofself-my-account .homeofself-home__continue-card {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }
  .homeofself-my-account .homeofself-home__continue-thumbnail {
    width: 280px;
    min-width: 280px;
    aspect-ratio: auto;
    height: auto;
    align-self: stretch;
    flex-shrink: 0;
    border-radius: 0;
    border-top-left-radius: var(--hos-home-card-radius);
    border-bottom-left-radius: var(--hos-home-card-radius);
    overflow: hidden;
  }
  .homeofself-my-account .homeofself-home__continue-thumbnail .homeofself-home__continue-thumb-img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    object-position: center;
  }
  .homeofself-my-account .homeofself-home__continue-thumbnail--placeholder {
    aspect-ratio: auto;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .homeofself-my-account .homeofself-home__continue-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
    padding: 1.75rem 1.75rem 1.75rem 1.5rem;
  }
  .homeofself-my-account .homeofself-home__continue-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
  }
  .homeofself-my-account .homeofself-home__continue-title {
    font-size: 1.25rem;
  }
  .homeofself-my-account .homeofself-home__continue-progress {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-direction: row;
    width: 100%;
  }
  .homeofself-my-account .homeofself-home__continue-progress .homeofself-home__progress-bar {
    flex: 1;
    min-width: 0;
    height: 0.5rem;
  }
  .homeofself-my-account .homeofself-home__progress-text {
    flex-shrink: 0;
    text-align: right;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--hos-home-text);
  }
  .homeofself-my-account .homeofself-home__continue-actions {
    margin-top: 0.25rem;
  }
  .homeofself-my-account .homeofself-home__programs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .homeofself-my-account .homeofself-home__stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .homeofself-my-account .homeofself-home__stat-card--status {
    grid-column: auto;
  }
  .homeofself-my-account .homeofself-home__upcoming-card {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .homeofself-my-account .homeofself-home__upcoming-info {
    flex: 1;
    min-width: 0;
  }
  .homeofself-my-account .homeofself-home__upcoming-actions {
    flex-shrink: 0;
  }
  .homeofself-my-account .homeofself-home__sub-card {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .homeofself-my-account .homeofself-home__sub-plan {
    flex: 1;
    min-width: 0;
  }
  .homeofself-my-account .homeofself-home__sub-price {
    flex-shrink: 0;
  }
  .homeofself-my-account .homeofself-home__sub-renewal {
    flex-shrink: 0;
  }
}

/**
 * My Programs dashboard section – tabs, cards, empty states.
 * Scoped to .homeofself-my-account for specificity over WP/Woo.
 * @package HomeOfSelf
 */
.homeofself-my-account .homeofself-programs {
  --homeofself-section-header-accent: var(--homeofself-nav-active-accent);
  --homeofself-programs-gap: 1rem;
  --homeofself-programs-card-radius: 0.75rem;
  --homeofself-programs-progress-height: 0.5rem;
  --homeofself-programs-progress-bg: var(--homeofself-sidebar-border);
  --homeofself-programs-progress-fill: var(--homeofself-nav-active-accent);
  --homeofself-programs-filter-bg: color-mix(in srgb, var(--homeofself-btn-bg, #9c5aa3) 16%, var(--homeofself-card-bg, #fff));
  --homeofself-programs-filter-color: var(--homeofself-btn-bg-hover, #57325b);
}
.homeofself-my-account {
  /* Tabs row + shop filter CTA: column on small screens, row from tablet up. */
}
.homeofself-my-account .homeofself-programs__toolbar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.homeofself-my-account {
  /* Tabs: outer pill container (light grey), active tab = white pill with border. */
}
.homeofself-my-account .homeofself-programs__tabs {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0;
  padding: 0.4rem;
  border-radius: 9999px;
  outline: 1px solid var(--homeofself-card-border);
  background: var(--homeofself-card-bg-muted);
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.homeofself-my-account a.homeofself-programs__filter-shop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  border: none;
  background: rgba(156, 90, 163, 0.14);
  background: var(--homeofself-programs-filter-bg);
  color: var(--homeofself-programs-filter-color);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}
.homeofself-my-account a.homeofself-programs__filter-shop:hover {
  background: rgba(156, 90, 163, 0.22);
  background: color-mix(in srgb, var(--homeofself-btn-bg, #9c5aa3) 26%, var(--homeofself-card-bg, #fff));
  color: var(--homeofself-programs-filter-color);
}
.homeofself-my-account a.homeofself-programs__filter-shop:focus-visible {
  background: rgba(156, 90, 163, 0.22);
  background: color-mix(in srgb, var(--homeofself-btn-bg, #9c5aa3) 26%, var(--homeofself-card-bg, #fff));
  color: var(--homeofself-programs-filter-color);
  outline: 2px solid var(--homeofself-btn-bg, #9c5aa3);
  outline-offset: 2px;
}
.homeofself-my-account button.homeofself-programs__tab {
  flex: 0 1 auto;
  min-height: 2rem;
  padding: 0.7rem 1rem;
  border: none;
  border-radius: 9999px;
  background: transparent;
  color: #1E1E1E;
  font-size: 0.875rem;
  font-weight: 400;
  cursor: pointer;
  transition: color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), background-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), border-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  -webkit-tap-highlight-color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  box-shadow: none;
}
.homeofself-my-account button.homeofself-programs__tab--active,
.homeofself-my-account button.homeofself-programs__tab:hover,
.homeofself-my-account button.homeofself-programs__tab:focus-visible {
  background: #fff;
  color: #1E1E1E;
  font-weight: 700;
  outline: 1px solid var(--homeofself-card-border);
  box-shadow: none;
}
.homeofself-my-account .homeofself-programs__panels {
  margin-top: 0;
}
.homeofself-my-account {
  /* [hidden] panel: higher specificity so WP/Woo don’t override */
}
.homeofself-my-account .homeofself-programs__panel[hidden] {
  display: none;
}
.homeofself-my-account .homeofself-programs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--homeofself-programs-gap);
}
.homeofself-my-account .homeofself-programs__list-item {
  margin: 0;
  display: flex;
}
.homeofself-my-account {
  /* Pagination */
}
.homeofself-my-account .homeofself-programs__pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.homeofself-my-account .homeofself-programs__pagination--loading {
  pointer-events: none;
  opacity: 0.7;
}
.homeofself-my-account .homeofself-programs__pagination-prev,
.homeofself-my-account .homeofself-programs__pagination-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--homeofself-card-border);
  border-radius: var(--homeofself-btn-radius);
  background: var(--homeofself-card-bg);
  color: var(--homeofself-nav-text-hover);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), border-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-programs__pagination-prev:hover:not(:disabled),
.homeofself-my-account .homeofself-programs__pagination-next:hover:not(:disabled) {
  background: var(--homeofself-card-bg-muted);
  border-color: var(--ast-border-color);
}
.homeofself-my-account .homeofself-programs__pagination-prev:focus-visible,
.homeofself-my-account .homeofself-programs__pagination-next:focus-visible {
  outline: 2px solid var(--homeofself-btn-bg);
  outline-offset: 2px;
}
.homeofself-my-account .homeofself-programs__pagination-prev:disabled,
.homeofself-my-account .homeofself-programs__pagination-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.homeofself-my-account .homeofself-programs__pagination-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.homeofself-my-account .homeofself-programs__pagination-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0 0.5rem;
  border: 1px solid var(--homeofself-card-border);
  border-radius: var(--homeofself-btn-radius);
  background: var(--homeofself-card-bg);
  color: var(--homeofself-nav-text-hover);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), border-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-programs__pagination-num:hover:not(.homeofself-programs__pagination-num--current) {
  background: var(--homeofself-card-bg-muted);
  border-color: var(--ast-border-color);
}
.homeofself-my-account .homeofself-programs__pagination-num--current {
  background: var(--homeofself-btn-bg);
  color: var(--homeofself-btn-color);
  border-color: var(--homeofself-btn-bg);
  cursor: default;
}
.homeofself-my-account .homeofself-programs__pagination-num:focus-visible {
  outline: 2px solid var(--homeofself-btn-bg);
  outline-offset: 2px;
}
.homeofself-my-account .homeofself-program-card {
  --homeofself-card-accent: var(--homeofself-card-border);
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--homeofself-card-border);
  border-radius: var(--homeofself-programs-card-radius);
  background: var(--homeofself-card-bg);
  overflow: hidden;
  transition: box-shadow var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
}
.homeofself-my-account .homeofself-program-card[data-status=in-progress] {
  --homeofself-card-accent: var(--ast-global-color-0);
}
.homeofself-my-account .homeofself-program-card[data-status=completed] {
  --homeofself-card-accent: rgba(22, 163, 74, 0.4);
}
.homeofself-my-account .homeofself-program-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.homeofself-my-account .homeofself-program-card__visual {
  display: block;
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--homeofself-sidebar-bg);
  position: relative;
}
.homeofself-my-account .homeofself-program-card__visual--image {
  text-decoration: none;
}
.homeofself-my-account .homeofself-program-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
}
.homeofself-my-account .homeofself-program-card__visual--image:hover .homeofself-program-card__img {
  transform: scale(1.03);
}
.homeofself-my-account .homeofself-program-card__visual--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--homeofself-sidebar-bg) 0%, rgba(0, 0, 0, 0.03) 100%);
}
.homeofself-my-account .homeofself-program-card[data-status=in-progress] .homeofself-program-card__visual--placeholder {
  background: linear-gradient(145deg, rgba(2, 116, 190, 0.06) 0%, var(--homeofself-sidebar-bg) 100%);
}
.homeofself-my-account .homeofself-program-card[data-status=completed] .homeofself-program-card__visual--placeholder {
  background: linear-gradient(145deg, rgba(22, 163, 74, 0.06) 0%, var(--homeofself-sidebar-bg) 100%);
}
.homeofself-my-account .homeofself-program-card__visual--placeholder .homeofself-program-card__status-icon {
  width: 2.5rem;
  height: 2.5rem;
  opacity: 0.35;
  color: var(--homeofself-nav-text);
}
.homeofself-my-account .homeofself-program-card[data-status=in-progress] .homeofself-program-card__visual--placeholder .homeofself-program-card__status-icon {
  color: var(--homeofself-nav-active-accent);
  opacity: 0.5;
}
.homeofself-my-account .homeofself-program-card[data-status=completed] .homeofself-program-card__visual--placeholder .homeofself-program-card__status-icon {
  color: #16a34a;
  opacity: 0.5;
}
.homeofself-my-account .homeofself-program-card__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  min-height: 0;
}
.homeofself-my-account .homeofself-program-card__header {
  margin: 0;
  flex: 1 1 auto;
  min-height: 0;
}
.homeofself-my-account .homeofself-program-card__title-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}
.homeofself-my-account .homeofself-program-card__title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  flex: 1 1 auto;
  min-width: 0;
}
.homeofself-my-account .homeofself-program-card__title-link {
  color: var(--homeofself-nav-text-hover);
  text-decoration: none;
  font-family: unset;
  font-weight: unset;
}
.homeofself-my-account .homeofself-program-card__title-link:hover {
  text-decoration: underline;
}
.homeofself-my-account .homeofself-program-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  margin-left: auto;
  padding: 0.25rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-radius: 9999px;
  background: var(--homeofself-sidebar-bg);
  color: var(--homeofself-nav-text);
  border: 1px solid var(--homeofself-sidebar-border);
}
.homeofself-my-account .homeofself-program-card__badge .homeofself-program-card__status-icon {
  flex-shrink: 0;
  opacity: 0.9;
}
.homeofself-my-account .homeofself-program-card[data-status=in-progress] .homeofself-program-card__badge .homeofself-program-card__status-icon,
.homeofself-my-account .homeofself-program-card[data-status=completed] .homeofself-program-card__badge .homeofself-program-card__status-icon {
  opacity: 1;
}
.homeofself-my-account .homeofself-program-card[data-status=in-progress] .homeofself-program-card__badge {
  background: rgba(2, 116, 190, 0.08);
  color: var(--homeofself-nav-active-accent);
  border-color: rgba(2, 116, 190, 0.25);
}
.homeofself-my-account .homeofself-program-card[data-status=completed] .homeofself-program-card__badge {
  background: rgba(34, 197, 94, 0.08);
  color: #16a34a;
  border-color: rgba(34, 197, 94, 0.25);
}
.homeofself-my-account .homeofself-program-card__excerpt {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--homeofself-nav-text);
  opacity: 0.9;
}
.homeofself-my-account .homeofself-program-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
}
.homeofself-my-account .homeofself-program-card__meta-item {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0;
}
.homeofself-my-account .homeofself-program-card__meta-dt {
  margin: 0;
  font-weight: 500;
  color: var(--homeofself-nav-text);
  opacity: 0.85;
}
.homeofself-my-account .homeofself-program-card__meta-dt::after {
  content: ":";
}
.homeofself-my-account .homeofself-program-card__meta-dd {
  margin: 0;
  color: var(--homeofself-nav-text-hover);
}
.homeofself-my-account .homeofself-program-card__progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--homeofself-programs-progress-height);
}
.homeofself-my-account .homeofself-program-card__progress-bar {
  height: var(--homeofself-programs-progress-height);
  flex: 1;
  min-width: 0;
  background: var(--homeofself-programs-progress-bg);
  border-radius: 9999px;
  overflow: hidden;
}
.homeofself-my-account .homeofself-program-card__progress-bar::after {
  content: "";
  display: block;
  height: 100%;
  width: var(--homeofself-progress, 0);
  max-width: 100%;
  background: var(--homeofself-programs-progress-fill);
  border-radius: 9999px;
  transition: width 0.3s ease;
}
.homeofself-my-account .homeofself-program-card[data-status=completed] .homeofself-program-card__progress-bar::after {
  opacity: 0.9;
}
.homeofself-my-account .homeofself-program-card__progress-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--homeofself-nav-text);
  flex-shrink: 0;
}
.homeofself-my-account .homeofself-program-card__actions {
  margin-top: auto;
  padding-top: 0.25rem;
}
.homeofself-my-account .homeofself-program-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--homeofself-nav-link-min-height);
  padding: 0.5rem 1rem;
  border: none;
  background: var(--homeofself-btn-bg);
  color: var(--homeofself-btn-color);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--homeofself-btn-radius);
  transition: background-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-program-card__cta-icon {
  flex-shrink: 0;
  opacity: 0.9;
  transition: transform var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
}
.homeofself-my-account .homeofself-program-card__cta:hover .homeofself-program-card__cta-icon {
  transform: translateX(2px);
}
.homeofself-my-account .homeofself-program-card__cta:hover,
.homeofself-my-account .homeofself-program-card__cta:focus-visible {
  background: var(--homeofself-btn-bg-hover);
  color: var(--homeofself-btn-color);
  outline: none;
}
.homeofself-my-account .homeofself-programs-empty {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--homeofself-card-bg-muted);
  border: 1px dashed var(--homeofself-card-border);
  border-radius: var(--homeofself-programs-card-radius);
}
.homeofself-my-account .homeofself-programs-empty__message {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--homeofself-nav-text-hover);
}
.homeofself-my-account .homeofself-programs-empty__hint {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: var(--homeofself-nav-text);
  opacity: 0.9;
}
.homeofself-my-account .homeofself-programs-empty__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--homeofself-nav-link-min-height);
  padding: 0.5rem 1rem;
  border: none;
  background: var(--homeofself-btn-bg);
  color: var(--homeofself-btn-color);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--homeofself-btn-radius);
  transition: background-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-programs-empty__cta:hover,
.homeofself-my-account .homeofself-programs-empty__cta:focus-visible {
  background: var(--homeofself-btn-bg-hover);
  color: var(--homeofself-btn-color);
  outline: none;
}

@media (min-width: 768px) {
  .homeofself-my-account .homeofself-programs__toolbar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 1rem 1.25rem;
  }
  .homeofself-my-account {
    /* Shrink-wrap tab pill like pre-toolbar layout; do not grow across the row. */
  }
  .homeofself-my-account .homeofself-programs__tabs {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    overflow-x: visible;
    align-self: stretch;
  }
  .homeofself-my-account {
    /* Same visual height as the grey tab pill (flex line cross-size). */
  }
  .homeofself-my-account a.homeofself-programs__filter-shop {
    width: auto;
    align-self: stretch;
    min-width: 7.5rem;
    min-height: unset;
    height: auto;
    padding-top: 0;
    padding-bottom: 0;
  }
}
@media (min-width: 992px) {
  .homeofself-my-account .homeofself-programs__tabs {
    gap: 1.5rem;
  }
  .homeofself-my-account .homeofself-programs__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .homeofself-my-account button.homeofself-programs__tab {
    flex: 0 1 auto;
    min-width: 6rem;
  }
}
/**
 * Profile section – shadcn-inspired, LearnDash learner profile.
 * Card layout, clean inputs, ring focus. Scoped and overrides WooCommerce form styles.
 * @package HomeOfSelf
 */
/* -------------------------------------------------------------------------
   WooCommerce overrides: ensure our profile styles win inside the section.
   WC applies .woocommerce to account content; we scope under .homeofself-profile
   and use full BEM class names on inputs so our rules take precedence.
   ------------------------------------------------------------------------- */
.homeofself-my-account .woocommerce-MyAccount-content .homeofself-profile input.homeofself-profile__input,
.homeofself-my-account .woocommerce .homeofself-profile input.homeofself-profile__input,
.homeofself-my-account .homeofself-profile input.homeofself-profile__input {
  /* Reset WC input styling so shadcn-style applies */
  height: auto;
  line-height: inherit;
  padding: var(--homeofself-profile-input-py) var(--homeofself-profile-input-px);
  border-radius: var(--homeofself-profile-radius);
  border: 1px solid var(--homeofself-profile-border);
  background-color: var(--homeofself-profile-input);
  box-shadow: none;
}
.homeofself-my-account .woocommerce-MyAccount-content .homeofself-profile .homeofself-profile__submit,
.homeofself-my-account .woocommerce .homeofself-profile .homeofself-profile__submit,
.homeofself-my-account .homeofself-profile .homeofself-profile__submit {
  /* Reset WC button styling */
  appearance: none;
  -webkit-appearance: none;
  border: none;
  border-radius: var(--homeofself-btn-radius);
  box-shadow: none;
}
.homeofself-my-account {
  /* Outline reset must beat the rule above (same specificity + modifier). */
}

/* -------------------------------------------------------------------------
   Profile – shadcn-inspired design tokens (neutral, subtle borders, ring focus)
   ------------------------------------------------------------------------- */
.homeofself-my-account .homeofself-profile {
  --homeofself-section-header-accent: var(--homeofself-nav-active-accent);
  --homeofself-profile-accent: var(--homeofself-nav-active-accent);
  --homeofself-profile-radius: 0.75rem;
  --homeofself-profile-radius-sm: 0.5rem;
  --homeofself-profile-border: #d1d1d1;
  --homeofself-profile-input: hsl(0 0% 100%);
  --homeofself-profile-card: hsl(0 0% 100%);
  --homeofself-profile-card-muted: hsl(210 40% 98%);
  --homeofself-profile-foreground: hsl(222 47% 11%);
  --homeofself-profile-muted: hsl(215 16% 47%);
  --homeofself-profile-ring: hsl(214 95% 50%);
  --homeofself-profile-primary: hsl(222 47% 11%);
  --homeofself-profile-destructive: hsl(0 84% 60%);
  --homeofself-profile-success: hsl(160 84% 39%);
  --homeofself-profile-gap: 1.25rem;
  --homeofself-profile-card-gap: 1.25rem;
  --homeofself-profile-input-height: 2.5rem;
  --homeofself-profile-input-px: 0.75rem;
  --homeofself-profile-input-py: 0.5rem;
  --homeofself-profile-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}
.homeofself-my-account .homeofself-profile__form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 100%;
}
.homeofself-my-account {
  /* Global message */
}
.homeofself-my-account .homeofself-profile__message {
  padding: 0.75rem 1rem;
  border-radius: var(--homeofself-profile-radius);
  font-size: 0.875rem;
  line-height: 1.5;
}
.homeofself-my-account .homeofself-profile__message[data-type=success] {
  background: hsla(160, 84%, 39%, 0.1);
  color: var(--homeofself-profile-success);
  border: 1px solid hsla(160, 84%, 39%, 0.25);
}
.homeofself-my-account .homeofself-profile__message[data-type=error] {
  background: hsla(0, 84%, 60%, 0.08);
  color: var(--homeofself-profile-destructive);
  border: 1px solid hsla(0, 84%, 60%, 0.2);
}
.homeofself-my-account {
  /* Card – shadcn card style */
}
.homeofself-my-account .homeofself-profile__card {
  border: 1px solid var(--homeofself-profile-border);
  border-radius: var(--homeofself-profile-radius);
  background: var(--homeofself-profile-card);
  box-shadow: var(--homeofself-profile-shadow);
  overflow: hidden;
}
.homeofself-my-account .homeofself-profile__card--muted {
  background: var(--homeofself-profile-card-muted);
}
.homeofself-my-account .homeofself-profile__card-header {
  padding: 1.25rem 1.5rem 0;
}
.homeofself-my-account .homeofself-profile__card-title {
  margin: 0;
  color: var(--homeofself-profile-foreground);
  line-height: 1.3;
}
.homeofself-my-account .homeofself-profile__card-desc {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--homeofself-profile-muted);
  line-height: 1.4;
}
.homeofself-my-account .homeofself-profile__card-desc.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.homeofself-my-account .homeofself-profile__card-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1rem 1.5rem 1.25rem;
}
.homeofself-my-account {
  /* Avatar block */
}
.homeofself-my-account .homeofself-profile__avatar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.homeofself-my-account .homeofself-profile__avatar-preview {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 9999px;
  overflow: hidden;
  background: var(--homeofself-profile-card-muted);
  border: 2px solid var(--homeofself-profile-border);
}
.homeofself-my-account .homeofself-profile__avatar-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.homeofself-my-account .homeofself-profile__avatar-actions {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.homeofself-my-account .homeofself-profile__avatar-input {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}
.homeofself-my-account .homeofself-profile__avatar-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--homeofself-profile-border);
  border-radius: var(--homeofself-btn-radius);
  background: var(--homeofself-profile-input);
  color: var(--homeofself-profile-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-profile__avatar-label:hover {
  background: var(--homeofself-profile-card-muted);
  border-color: var(--homeofself-profile-muted);
}
.homeofself-my-account .homeofself-profile__avatar-label:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--homeofself-profile-ring);
}
.homeofself-my-account {
  /* Grid for two-column fields */
}
.homeofself-my-account .homeofself-profile__grid {
  display: grid;
  gap: var(--homeofself-profile-gap);
}
.homeofself-my-account {
  /* Field */
}
.homeofself-my-account .homeofself-profile__field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.homeofself-my-account .homeofself-profile__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--homeofself-profile-foreground);
  line-height: 1.3;
}
.homeofself-my-account .homeofself-profile__required {
  color: var(--homeofself-profile-destructive);
}
.homeofself-my-account .homeofself-profile__input {
  min-height: var(--homeofself-profile-input-height);
  padding: var(--homeofself-profile-input-py) var(--homeofself-profile-input-px);
  border: 1px solid var(--homeofself-profile-border);
  border-radius: var(--homeofself-profile-radius);
  background: var(--homeofself-profile-input);
  color: var(--homeofself-profile-foreground);
  font-size: 0.875rem;
  line-height: 1.5;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.homeofself-my-account .homeofself-profile__input::placeholder {
  color: var(--homeofself-profile-muted);
}
.homeofself-my-account .homeofself-profile__input:hover {
  border-color: var(--homeofself-profile-muted);
}
.homeofself-my-account .homeofself-profile__input:focus {
  outline: none;
  border-color: var(--homeofself-profile-ring);
  box-shadow: 0 0 0 2px hsla(214, 95%, 50%, 0.2);
}
.homeofself-my-account .homeofself-profile__input[aria-invalid=true] {
  border-color: var(--homeofself-profile-destructive);
}
.homeofself-my-account .homeofself-profile__input[aria-invalid=true]:focus {
  box-shadow: 0 0 0 2px hsla(0, 84%, 60%, 0.2);
}
.homeofself-my-account .homeofself-profile__error {
  display: block;
  font-size: 0.8125rem;
  color: var(--homeofself-profile-destructive);
  line-height: 1.3;
  min-height: 1.25rem;
}
.homeofself-my-account .homeofself-profile__error:empty {
  display: none;
}
.homeofself-my-account {
  /* Actions */
}
.homeofself-my-account .homeofself-profile__actions {
  margin-top: 0.25rem;
}
.homeofself-my-account .homeofself-profile__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.5rem 1.25rem;
  border: none;
  border-radius: var(--homeofself-btn-radius);
  background: var(--homeofself-btn-bg);
  color: var(--homeofself-btn-color);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-profile__submit:hover:not(:disabled),
.homeofself-my-account .homeofself-profile__submit:focus-visible:not(:disabled) {
  background: var(--homeofself-btn-bg-hover);
  color: var(--homeofself-btn-color);
  outline: none;
}
.homeofself-my-account .homeofself-profile__submit:focus-visible {
  box-shadow: 0 0 0 2px var(--homeofself-btn-bg);
}
.homeofself-my-account .homeofself-profile__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.homeofself-my-account .homeofself-profile__submit-loading[hidden],
.homeofself-my-account .homeofself-profile__submit-text[hidden] {
  display: none;
}
.homeofself-my-account .homeofself-profile__submit--outline {
  background: var(--homeofself-profile-input);
  color: var(--homeofself-profile-foreground);
  border: 1px solid var(--homeofself-profile-border);
}
.homeofself-my-account .homeofself-profile__submit--outline:hover:not(:disabled),
.homeofself-my-account .homeofself-profile__submit--outline:focus-visible:not(:disabled) {
  background: var(--homeofself-profile-card-muted);
  border-color: var(--homeofself-profile-muted);
}
.homeofself-my-account .homeofself-profile__submit--outline:focus-visible {
  box-shadow: 0 0 0 2px var(--homeofself-profile-ring);
}
.homeofself-my-account .homeofself-profile__password-reset {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.homeofself-my-account .homeofself-profile__password-reset-feedback {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  max-width: 32rem;
}
.homeofself-my-account .homeofself-profile__password-reset-feedback[hidden] {
  display: none;
}
.homeofself-my-account .homeofself-profile__password-reset-feedback[data-type=success] {
  color: var(--homeofself-profile-success);
}
.homeofself-my-account .homeofself-profile__password-reset-feedback[data-type=error] {
  color: var(--homeofself-profile-destructive);
}

/* Desktop: grid 2 cols, max-width form */
@media (min-width: 640px) {
  .homeofself-my-account .homeofself-profile__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 992px) {
  .homeofself-my-account .homeofself-profile__form {
    max-width: 36rem;
  }
  .homeofself-my-account .homeofself-profile__card-header {
    padding: 1.5rem 1.5rem 0;
  }
  .homeofself-my-account .homeofself-profile__card-content {
    padding: 1.25rem 1.5rem 1.5rem;
  }
}
/**
 * Favorites: dashboard list and lesson-page toggle button.
 * More engaging: header with icon + subtitle, accent bars, program pills, empty state with CTA.
 * Mobile-first; touch-friendly (min 44px); uses CSS variables.
 * @package HomeOfSelf
 */
/* -------------------------------------------------------------------------
   LearnDash focus mode: user menu goes directly to account (no dropdown)
   ------------------------------------------------------------------------- */
.learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-user-menu-items,
.ld-focus .ld-focus-header .ld-user-menu .ld-user-menu-items {
  display: none !important;
}

/* -------------------------------------------------------------------------
   Lesson page: actions bar (back link + favorite toggle)
   ------------------------------------------------------------------------- */
.homeofself-lesson-actions {
  --homeofself-favorite-duration: 0.2s;
  --homeofself-favorite-ease: ease;
  --homeofself-favorite-color: var(--ast-global-color-3, #374151);
  --homeofself-favorite-color-inactive-icon: var(--homeofself-nav-active-icon, #800080);
  --homeofself-favorite-color-active: #b91c1c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.5rem;
}

a.homeofself-lesson-actions__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--homeofself-favorite-color);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--homeofself-favorite-duration) var(--homeofself-favorite-ease);
  -webkit-tap-highlight-color: transparent;
  min-height: 2.75rem;
}

/* -------------------------------------------------------------------------
   Course page (Astra banner): prevent global link color override.
   Astra sets: .ast-single-entry-banner[data-post-type="sfwd-courses"] a, a * { color: ... }
   We scope an explicit color to our back link only.
   ------------------------------------------------------------------------- */
.ast-single-entry-banner[data-post-type=sfwd-courses] .homeofself-lesson-actions a.homeofself-lesson-actions__back,
.ast-single-entry-banner[data-post-type=sfwd-courses] .homeofself-lesson-actions a.homeofself-lesson-actions__back * {
  color: var(--homeofself-favorite-color);
}

.homeofself-lesson-actions__back:hover,
.homeofself-lesson-actions__back:focus-visible {
  color: var(--ast-global-color-0, #1e1e1e);
  text-decoration: none;
  outline: none;
}

.homeofself-lesson-actions__back-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
}

.homeofself-lesson-actions__back-icon--play {
  transform: rotate(-180deg);
}

.homeofself-lesson-actions .homeofself-favorite-wrap {
  margin-bottom: 0;
}

.homeofself-lesson-actions .homeofself-favorite-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.25rem 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--homeofself-favorite-color);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: color var(--homeofself-favorite-duration) var(--homeofself-favorite-ease);
  -webkit-tap-highlight-color: transparent;
}

.homeofself-lesson-actions .homeofself-favorite-toggle:hover,
.homeofself-lesson-actions .homeofself-favorite-toggle:focus-visible {
  outline: none;
  color: var(--homeofself-favorite-color-active);
  background: transparent;
  border: none;
  transform: none;
}

.homeofself-lesson-actions .homeofself-favorite-toggle:active:not(.homeofself-favorite-toggle--loading) {
  opacity: 0.8;
  transform: none;
}

.homeofself-lesson-actions .homeofself-favorite-toggle--active {
  color: var(--homeofself-favorite-color-active);
  background: transparent;
  border: none;
}

.homeofself-lesson-actions .homeofself-favorite-toggle__icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  align-items: center;
  justify-content: center;
}

.homeofself-lesson-actions .homeofself-favorite-toggle__icon .hos-icon-wrap,
.homeofself-lesson-actions .homeofself-favorite-toggle__icon .hos-icon {
  color: inherit;
}

/* Purple icon when not added to favorites */
.homeofself-lesson-actions .homeofself-favorite-toggle--inactive .homeofself-favorite-toggle__icon .hos-icon-wrap,
.homeofself-lesson-actions .homeofself-favorite-toggle--inactive .homeofself-favorite-toggle__icon .hos-icon {
  color: var(--homeofself-favorite-color-inactive-icon);
}

.homeofself-lesson-actions .homeofself-favorite-toggle__label {
  white-space: nowrap;
}

.homeofself-lesson-actions .homeofself-favorite-toggle--loading {
  pointer-events: none;
  opacity: 0.7;
}

/* Standalone favorite button (fallback outside action bar) */
.homeofself-favorite-wrap {
  --homeofself-favorite-size: 2.75rem;
  --homeofself-favorite-color: var(--ast-global-color-3, #374151);
  --homeofself-favorite-color-active: #b91c1c;
  --homeofself-favorite-bg: var(--ast-global-color-5, #f8f9fa);
  --homeofself-favorite-border: var(--ast-border-color-5, #e5e7eb);
  --homeofself-favorite-radius: 9999px;
  --homeofself-favorite-duration: 0.2s;
  --homeofself-favorite-ease: ease;
  margin-bottom: 1rem;
}

.homeofself-favorite-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: var(--homeofself-favorite-size);
  min-height: var(--homeofself-favorite-size);
  padding: 0.5rem 1rem;
  border: 1px solid var(--homeofself-favorite-border);
  border-radius: var(--homeofself-favorite-radius);
  background: var(--homeofself-favorite-bg);
  color: var(--homeofself-favorite-color);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: color var(--homeofself-favorite-duration) var(--homeofself-favorite-ease), background-color var(--homeofself-favorite-duration) var(--homeofself-favorite-ease), border-color var(--homeofself-favorite-duration) var(--homeofself-favorite-ease), opacity var(--homeofself-favorite-duration) var(--homeofself-favorite-ease), transform var(--homeofself-favorite-duration) var(--homeofself-favorite-ease);
  -webkit-tap-highlight-color: transparent;
}

.homeofself-favorite-toggle:hover,
.homeofself-favorite-toggle:focus-visible {
  outline: none;
  color: var(--homeofself-favorite-color-active);
  border-color: rgba(185, 28, 28, 0.35);
  background: rgba(185, 28, 28, 0.06);
  transform: scale(1.02);
}

.homeofself-favorite-toggle:active:not(.homeofself-favorite-toggle--loading) {
  opacity: 0.9;
  transform: scale(0.98);
}

.homeofself-favorite-toggle--active {
  color: var(--homeofself-favorite-color-active);
  border-color: rgba(185, 28, 28, 0.4);
  background: rgba(185, 28, 28, 0.08);
}

.homeofself-favorite-toggle__icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
}

.homeofself-favorite-toggle__icon .hos-icon-wrap,
.homeofself-favorite-toggle__icon .hos-icon {
  color: inherit;
}

.homeofself-favorite-toggle__label {
  white-space: nowrap;
}

.homeofself-favorite-toggle--loading {
  pointer-events: none;
  opacity: 0.7;
}

/* -------------------------------------------------------------------------
   Dashboard Favorites section (inside .homeofself-my-account)
   ------------------------------------------------------------------------- */
.homeofself-my-account .homeofself-favorites {
  --homeofself-section-header-accent: var(--homeofself-nav-active-accent);
  --homeofself-favorites-gap: 1.25rem;
  --homeofself-favorites-card-radius: 0.75rem;
  --homeofself-favorites-accent: var(--homeofself-nav-active-accent);
  --homeofself-favorites-cta-bg: var(--homeofself-nav-active-accent);
  --homeofself-favorites-empty-tint: rgba(2, 116, 190, 0.04);
}
.homeofself-my-account {
  /* Empty state: warmer, with icon and arrow CTA */
}
.homeofself-my-account .homeofself-favorites-empty {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(180deg, var(--homeofself-favorites-empty-tint) 0%, var(--homeofself-card-bg) 100%);
  border: 1px solid var(--homeofself-card-border);
  border-radius: var(--homeofself-favorites-card-radius);
  position: relative;
  overflow: hidden;
}
.homeofself-my-account .homeofself-favorites-empty::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--homeofself-favorites-accent) 0%, transparent 100%);
  opacity: 0.5;
}
.homeofself-my-account .homeofself-favorites-empty__icon {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--homeofself-favorites-accent);
  opacity: 0.5;
}
.homeofself-my-account .homeofself-favorites-empty__message {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--homeofself-nav-text-hover);
}
.homeofself-my-account .homeofself-favorites-empty__hint {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  color: var(--homeofself-nav-text);
  line-height: 1.5;
  max-width: 28em;
  margin-left: auto;
  margin-right: auto;
}
.homeofself-my-account .homeofself-favorites-empty__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--homeofself-nav-link-min-height);
  padding: 0.625rem 1.5rem;
  border-radius: var(--homeofself-btn-radius);
  border: none;
  background: var(--homeofself-btn-bg);
  color: var(--homeofself-btn-color);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), transform var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), box-shadow var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-favorites-empty__cta:hover,
.homeofself-my-account .homeofself-favorites-empty__cta:focus-visible {
  background: var(--homeofself-btn-bg-hover);
  color: var(--homeofself-btn-color);
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.homeofself-my-account {
  /* Grid of cards — mobile-first: 1 col, then 2, then 3 */
}
.homeofself-my-account .homeofself-favorites__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--homeofself-favorites-gap);
  grid-template-columns: 1fr;
}
@media (min-width: 480px) {
  .homeofself-my-account .homeofself-favorites__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .homeofself-my-account .homeofself-favorites__list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.homeofself-my-account {
  /* Card: thumbnail on top, body, actions at bottom */
}
.homeofself-my-account .homeofself-favorites__card {
  display: flex;
  flex-direction: column;
  margin: 0;
  border: 1px solid var(--homeofself-card-border);
  border-radius: var(--homeofself-favorites-card-radius);
  background: var(--homeofself-card-bg);
  overflow: hidden;
  transition: box-shadow var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), opacity var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), transform var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.homeofself-my-account .homeofself-favorites__card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.homeofself-my-account .homeofself-favorites__card--removing {
  opacity: 0.5;
  pointer-events: none;
  transform: none;
}
.homeofself-my-account {
  /* Thumbnail: full width, fixed aspect ratio on mobile */
}
.homeofself-my-account .homeofself-favorites__card-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--homeofself-sidebar-border);
}
.homeofself-my-account .homeofself-favorites__card-thumbnail-link {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 1;
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-favorites__card-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  vertical-align: middle;
}
.homeofself-my-account .homeofself-favorites__card-thumbnail-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--homeofself-nav-text);
  opacity: 0.5;
}
.homeofself-my-account {
  /* Card body: program pill + title */
}
.homeofself-my-account .homeofself-favorites__card-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1 1 auto;
  min-height: 0;
  padding: 1rem 1.25rem 0;
}
.homeofself-my-account .homeofself-favorites__card-program {
  display: inline-block;
  align-self: flex-start;
  padding: 0.2rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--homeofself-favorites-accent);
  background: rgba(2, 116, 190, 0.08);
  border-radius: 9999px;
  line-height: 1.3;
}
.homeofself-my-account .homeofself-favorites__card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}
.homeofself-my-account .homeofself-favorites__card-title-link {
  color: var(--homeofself-nav-text-hover);
  text-decoration: none;
  transition: color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  font-family: unset;
  font-weight: unset;
}
.homeofself-my-account .homeofself-favorites__card-title-link:hover {
  color: var(--homeofself-favorites-accent);
  text-decoration: none;
}
.homeofself-my-account {
  /* Card actions: CTA + remove */
}
.homeofself-my-account .homeofself-favorites__card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 1rem 1.25rem 1.25rem;
  margin-top: auto;
}
.homeofself-my-account {
  /* Primary CTA: View lesson with arrow */
}
.homeofself-my-account .homeofself-favorites__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: var(--homeofself-nav-link-min-height);
  padding: 0.5rem 1rem;
  border-radius: var(--homeofself-btn-radius);
  border: none;
  background: var(--homeofself-btn-bg);
  color: var(--homeofself-btn-color);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), transform var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), box-shadow var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-favorites__cta:hover,
.homeofself-my-account .homeofself-favorites__cta:focus-visible {
  background: var(--homeofself-btn-bg-hover);
  color: var(--homeofself-btn-color);
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.homeofself-my-account .homeofself-favorites__cta-icon {
  flex-shrink: 0;
  transition: transform var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
}
.homeofself-my-account .homeofself-favorites__cta:hover .homeofself-favorites__cta-icon,
.homeofself-my-account .homeofself-favorites__cta:focus-visible .homeofself-favorites__cta-icon {
  transform: translateX(2px);
}
.homeofself-my-account {
  /* Remove button */
}
.homeofself-my-account .homeofself-favorites__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: var(--homeofself-nav-link-min-height);
  min-width: var(--homeofself-nav-link-min-height);
  padding: 0.5rem;
  border: 1px solid var(--homeofself-card-border);
  border-radius: var(--homeofself-btn-radius);
  background: transparent;
  color: var(--homeofself-nav-text);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), background-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), border-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-favorites__remove:hover,
.homeofself-my-account .homeofself-favorites__remove:focus-visible {
  outline: none;
  color: #b91c1c;
  border-color: rgba(185, 28, 28, 0.4);
  background: rgba(185, 28, 28, 0.06);
}
.homeofself-my-account .homeofself-favorites__remove-icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
}

/**
 * Subscriptions & Billing: cards, billing history, payment methods, modal.
 * Mobile-first; scoped to .homeofself-my-account; uses CSS variables.
 * @package HomeOfSelf
 * @since   1.1.0
 */
.homeofself-my-account .homeofself-subscriptions {
  --homeofself-section-header-accent: var(--homeofself-nav-active-accent);
  --hos-sub-card-radius: 0.75rem;
  --hos-sub-accent: var(--homeofself-nav-active-accent);
  --hos-sub-status-active: #16a34a;
  --hos-sub-status-on-hold: #d97706;
  --hos-sub-status-cancelled: #6b7280;
  --hos-sub-status-expired: #9ca3af;
  --hos-sub-status-pending: #2563eb;
}
.homeofself-my-account {
  /* ===================================================================
     BILLING ADDRESS FORM (WC form inside dashboard styling)
     =================================================================== */
}
.homeofself-my-account .homeofself-billing-address__form-wrap {
  background: var(--homeofself-card-bg);
  border: 1px solid var(--homeofself-card-border);
  border-radius: var(--hos-sub-card-radius);
  padding: 1.5rem;
}
.homeofself-my-account .homeofself-billing-address__form-wrap .woocommerce-address-fields {
  margin: 0;
}
.homeofself-my-account .homeofself-billing-address__form-wrap .woocommerce-address-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .homeofself-my-account .homeofself-billing-address__form-wrap .woocommerce-address-fields__field-wrapper {
    grid-template-columns: 1fr 1fr;
  }
  .homeofself-my-account .homeofself-billing-address__form-wrap .form-row-wide {
    grid-column: 1/-1;
  }
}
.homeofself-my-account .homeofself-billing-address__form-wrap .form-row {
  margin: 0;
  padding: 0;
}
.homeofself-my-account .homeofself-billing-address__form-wrap label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--homeofself-nav-text-hover);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.homeofself-my-account .homeofself-billing-address__form-wrap input[type=text],
.homeofself-my-account .homeofself-billing-address__form-wrap input[type=email],
.homeofself-my-account .homeofself-billing-address__form-wrap input[type=tel],
.homeofself-my-account .homeofself-billing-address__form-wrap select,
.homeofself-my-account .homeofself-billing-address__form-wrap .select2-container .select2-selection {
  width: 100%;
  min-height: var(--homeofself-nav-link-min-height);
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--homeofself-card-border);
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  color: var(--homeofself-nav-text-hover);
  background: var(--homeofself-card-bg);
  transition: border-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
}
.homeofself-my-account .homeofself-billing-address__form-wrap input:focus,
.homeofself-my-account .homeofself-billing-address__form-wrap select:focus {
  border-color: var(--hos-sub-accent);
  outline: none;
  box-shadow: 0 0 0 2px rgba(2, 116, 190, 0.1);
}
.homeofself-my-account .homeofself-billing-address__form-wrap button[type=submit],
.homeofself-my-account .homeofself-billing-address__form-wrap .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--homeofself-nav-link-min-height);
  padding: 0.625rem 1.5rem;
  margin-top: 0.5rem;
  border: none;
  border-radius: var(--homeofself-btn-radius);
  background: var(--homeofself-btn-bg);
  color: var(--homeofself-btn-color);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), transform var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-billing-address__form-wrap button[type=submit]:hover,
.homeofself-my-account .homeofself-billing-address__form-wrap .button:hover {
  background: var(--homeofself-btn-bg-hover);
  color: var(--homeofself-btn-color);
  transform: translateY(-1px);
}
.homeofself-my-account {
  /* ===================================================================
     SUB-NAV (tabs-style)
     =================================================================== */
}
.homeofself-my-account .homeofself-subscriptions__subnav {
  margin-bottom: 1.5rem;
}
.homeofself-my-account .homeofself-subscriptions__subnav-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 9999px;
  outline: 1px solid var(--homeofself-card-border);
  background: var(--homeofself-card-bg-muted);
}
.homeofself-my-account .homeofself-subscriptions__subnav-item {
  margin: 0;
}
.homeofself-my-account .homeofself-subscriptions__subnav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 9999px;
  background: transparent;
  color: var(--homeofself-nav-text);
  font-size: 0.875rem;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), background-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-subscriptions__subnav-link:hover,
.homeofself-my-account .homeofself-subscriptions__subnav-link:focus-visible {
  background: #fff;
  color: var(--homeofself-nav-text-hover);
  outline: none;
  text-decoration: none;
}
.homeofself-my-account .homeofself-subscriptions__subnav-link--active,
.homeofself-my-account .homeofself-subscriptions__subnav-link--active:hover {
  background: #fff;
  color: var(--homeofself-nav-text-hover);
  font-weight: 700;
  outline: 1px solid var(--homeofself-card-border);
  text-decoration: none;
}
.homeofself-my-account {
  /* ===================================================================
     SUBSCRIPTION CARDS
     =================================================================== */
}
.homeofself-my-account .homeofself-subscriptions__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.homeofself-my-account .homeofself-sub-card {
  border: 1px solid var(--homeofself-card-border);
  border-left-width: 3px;
  border-left-color: var(--homeofself-card-border);
  border-radius: var(--hos-sub-card-radius);
  background: var(--homeofself-card-bg);
  padding: 1.25rem;
  transition: box-shadow var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), border-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.homeofself-my-account .homeofself-sub-card--active {
  border-left-color: var(--hos-sub-status-active);
}
.homeofself-my-account .homeofself-sub-card--on-hold {
  border-left-color: var(--hos-sub-status-on-hold);
}
.homeofself-my-account .homeofself-sub-card--cancelled {
  border-left-color: var(--hos-sub-status-cancelled);
}
.homeofself-my-account .homeofself-sub-card--expired {
  border-left-color: var(--hos-sub-status-expired);
}
.homeofself-my-account .homeofself-sub-card--pending {
  border-left-color: var(--hos-sub-status-pending);
}
@media (min-width: 992px) {
  .homeofself-my-account .homeofself-sub-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
  }
}
.homeofself-my-account .homeofself-sub-card__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.homeofself-my-account .homeofself-sub-card__plan {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.homeofself-my-account .homeofself-sub-card__plan-name {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--homeofself-nav-text-hover);
}
.homeofself-my-account .homeofself-sub-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 9999px;
  line-height: 1.3;
  background: var(--homeofself-card-bg-muted);
  color: var(--homeofself-nav-text);
  border: 1px solid var(--homeofself-card-border);
}
.homeofself-my-account .homeofself-sub-card__badge--active {
  background: rgba(22, 163, 74, 0.08);
  color: var(--hos-sub-status-active);
  border-color: rgba(22, 163, 74, 0.25);
}
.homeofself-my-account .homeofself-sub-card__badge--on-hold {
  background: rgba(217, 119, 6, 0.08);
  color: var(--hos-sub-status-on-hold);
  border-color: rgba(217, 119, 6, 0.25);
}
.homeofself-my-account .homeofself-sub-card__badge--cancelled {
  background: rgba(107, 114, 128, 0.08);
  color: var(--hos-sub-status-cancelled);
  border-color: rgba(107, 114, 128, 0.25);
}
.homeofself-my-account .homeofself-sub-card__badge--expired {
  background: rgba(156, 163, 175, 0.08);
  color: var(--hos-sub-status-expired);
  border-color: rgba(156, 163, 175, 0.25);
}
.homeofself-my-account .homeofself-sub-card__badge--pending {
  background: rgba(37, 99, 235, 0.08);
  color: var(--hos-sub-status-pending);
  border-color: rgba(37, 99, 235, 0.25);
}
.homeofself-my-account .homeofself-sub-card__price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--homeofself-nav-text-hover);
}
.homeofself-my-account .homeofself-sub-card__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
  margin: 0 0 1rem;
  padding: 0;
}
.homeofself-my-account .homeofself-sub-card__detail {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.homeofself-my-account .homeofself-sub-card__detail dt {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--homeofself-nav-text);
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.homeofself-my-account .homeofself-sub-card__detail dd {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--homeofself-nav-text-hover);
}
.homeofself-my-account .homeofself-sub-card__renewal {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--hos-sub-accent);
}
.homeofself-my-account .homeofself-sub-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--homeofself-card-border);
}
.homeofself-my-account .homeofself-sub-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--homeofself-nav-link-min-height);
  padding: 0.5rem 1rem;
  border-radius: var(--homeofself-btn-radius);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), border-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), transform var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), box-shadow var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-sub-card__btn--primary {
  background: var(--homeofself-btn-bg);
  color: var(--homeofself-btn-color);
  border: none;
}
.homeofself-my-account .homeofself-sub-card__btn--primary:hover,
.homeofself-my-account .homeofself-sub-card__btn--primary:focus-visible {
  background: var(--homeofself-btn-bg-hover);
  color: var(--homeofself-btn-color);
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.homeofself-my-account .homeofself-sub-card__btn--secondary {
  background: transparent;
  color: var(--homeofself-nav-text-hover);
  border: 1px solid var(--homeofself-card-border);
}
.homeofself-my-account .homeofself-sub-card__btn--secondary:hover,
.homeofself-my-account .homeofself-sub-card__btn--secondary:focus-visible {
  background: var(--homeofself-card-bg-muted);
  border-color: var(--homeofself-nav-text);
  color: var(--homeofself-nav-text-hover);
  outline: none;
}
.homeofself-my-account .homeofself-sub-card__btn--cancel {
  background: transparent;
  color: var(--homeofself-nav-text);
  border: 1px solid transparent;
  opacity: 0.8;
  font-weight: 500;
}
.homeofself-my-account .homeofself-sub-card__btn--cancel:hover,
.homeofself-my-account .homeofself-sub-card__btn--cancel:focus-visible {
  color: #b91c1c;
  border-color: rgba(185, 28, 28, 0.3);
  background: rgba(185, 28, 28, 0.04);
  opacity: 1;
  outline: none;
}
.homeofself-my-account {
  /* ===================================================================
     EMPTY STATES (subscriptions, billing, payment)
     =================================================================== */
}
.homeofself-my-account .homeofself-subscriptions-empty,
.homeofself-my-account .homeofself-billing-empty,
.homeofself-my-account .homeofself-payment-empty {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(180deg, rgba(2, 116, 190, 0.03) 0%, var(--homeofself-card-bg) 100%);
  border: 1px solid var(--homeofself-card-border);
  border-radius: var(--hos-sub-card-radius);
  position: relative;
  overflow: hidden;
}
.homeofself-my-account .homeofself-subscriptions-empty::before,
.homeofself-my-account .homeofself-billing-empty::before,
.homeofself-my-account .homeofself-payment-empty::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--hos-sub-accent) 0%, transparent 100%);
  opacity: 0.5;
}
.homeofself-my-account .homeofself-subscriptions-empty__icon,
.homeofself-my-account .homeofself-payment-empty__icon {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--hos-sub-accent);
  opacity: 0.5;
}
.homeofself-my-account .homeofself-subscriptions-empty__message,
.homeofself-my-account .homeofself-billing-empty__message,
.homeofself-my-account .homeofself-payment-empty__message {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--homeofself-nav-text-hover);
}
.homeofself-my-account .homeofself-subscriptions-empty__hint,
.homeofself-my-account .homeofself-billing-empty__hint,
.homeofself-my-account .homeofself-payment-empty__hint {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  color: var(--homeofself-nav-text);
  line-height: 1.5;
  max-width: 28em;
  margin-left: auto;
  margin-right: auto;
}
.homeofself-my-account .homeofself-subscriptions-empty__cta,
.homeofself-my-account .homeofself-payment-empty__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--homeofself-nav-link-min-height);
  padding: 0.625rem 1.5rem;
  border-radius: var(--homeofself-btn-radius);
  border: none;
  background: var(--homeofself-btn-bg);
  color: var(--homeofself-btn-color);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), transform var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), box-shadow var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-subscriptions-empty__cta:hover,
.homeofself-my-account .homeofself-subscriptions-empty__cta:focus-visible,
.homeofself-my-account .homeofself-payment-empty__cta:hover,
.homeofself-my-account .homeofself-payment-empty__cta:focus-visible {
  background: var(--homeofself-btn-bg-hover);
  color: var(--homeofself-btn-color);
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.homeofself-my-account {
  /* ===================================================================
     BILLING HISTORY CARDS
     =================================================================== */
}
.homeofself-my-account .homeofself-billing__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.homeofself-my-account .homeofself-billing-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 1.25rem;
  border: 1px solid var(--homeofself-card-border);
  border-left-width: 3px;
  border-left-color: var(--homeofself-card-border);
  border-radius: var(--hos-sub-card-radius);
  background: var(--homeofself-card-bg);
  transition: box-shadow var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), border-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.homeofself-my-account .homeofself-billing-card--completed {
  border-left-color: var(--hos-sub-status-active);
}
.homeofself-my-account .homeofself-billing-card--processing {
  border-left-color: var(--hos-sub-status-pending);
}
.homeofself-my-account .homeofself-billing-card--on-hold,
.homeofself-my-account .homeofself-billing-card--refunded {
  border-left-color: var(--hos-sub-status-on-hold);
}
.homeofself-my-account .homeofself-billing-card--cancelled,
.homeofself-my-account .homeofself-billing-card--failed {
  border-left-color: #b91c1c;
}
@media (min-width: 992px) {
  .homeofself-my-account .homeofself-billing-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }
}
.homeofself-my-account .homeofself-billing-card__main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  min-width: 0;
}
.homeofself-my-account .homeofself-billing-card__id {
  flex-shrink: 0;
}
.homeofself-my-account .homeofself-billing-card__link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--hos-sub-accent);
  text-decoration: none;
}
.homeofself-my-account .homeofself-billing-card__link:hover {
  text-decoration: underline;
}
.homeofself-my-account .homeofself-billing-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--homeofself-nav-text);
}
.homeofself-my-account .homeofself-billing-card__status {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 9999px;
  text-transform: capitalize;
  background: var(--homeofself-card-bg-muted);
  color: var(--homeofself-nav-text);
}
.homeofself-my-account .homeofself-billing-card--completed .homeofself-billing-card__status {
  background: rgba(22, 163, 74, 0.08);
  color: var(--hos-sub-status-active);
}
.homeofself-my-account .homeofself-billing-card__total {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--homeofself-nav-text-hover);
}
.homeofself-my-account .homeofself-billing-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding-left: 0.5rem;
}
.homeofself-my-account .homeofself-billing-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--homeofself-nav-link-min-height);
  padding: 0.5rem 1rem;
  border-radius: var(--homeofself-btn-radius);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), border-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-billing-card__btn--view {
  background: var(--homeofself-btn-bg);
  color: var(--homeofself-btn-color);
  border: none;
}
.homeofself-my-account .homeofself-billing-card__btn--view:hover,
.homeofself-my-account .homeofself-billing-card__btn--view:focus-visible {
  background: var(--homeofself-btn-bg-hover);
  color: var(--homeofself-btn-color);
  outline: none;
}
.homeofself-my-account .homeofself-billing-card__btn--invoice {
  background: transparent;
  color: var(--homeofself-nav-text-hover);
  border: 1px solid var(--homeofself-card-border);
}
.homeofself-my-account .homeofself-billing-card__btn--invoice:hover,
.homeofself-my-account .homeofself-billing-card__btn--invoice:focus-visible {
  background: var(--homeofself-card-bg-muted);
  border-color: var(--homeofself-nav-text);
  outline: none;
}
.homeofself-my-account {
  /* Pagination */
}
.homeofself-my-account .homeofself-billing__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.homeofself-my-account .homeofself-billing__page-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: var(--homeofself-nav-link-min-height);
  padding: 0.5rem 1rem;
  border: 1px solid var(--homeofself-card-border);
  border-radius: var(--homeofself-btn-radius);
  background: var(--homeofself-card-bg);
  color: var(--homeofself-nav-text-hover);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), border-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-billing__page-btn:hover,
.homeofself-my-account .homeofself-billing__page-btn:focus-visible {
  background: var(--homeofself-card-bg-muted);
  border-color: var(--homeofself-nav-text);
  color: var(--homeofself-nav-text-hover);
  text-decoration: none;
  outline: none;
}
.homeofself-my-account {
  /* ===================================================================
     PAYMENT METHODS
     =================================================================== */
}
.homeofself-my-account .homeofself-payment__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.homeofself-my-account .homeofself-payment-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 1.25rem;
  border: 1px solid var(--homeofself-card-border);
  border-radius: var(--hos-sub-card-radius);
  background: var(--homeofself-card-bg);
  transition: box-shadow var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.homeofself-my-account .homeofself-payment-card--default {
  border-color: rgba(22, 163, 74, 0.3);
}
.homeofself-my-account .homeofself-payment-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.homeofself-my-account .homeofself-payment-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.homeofself-my-account .homeofself-payment-card__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--homeofself-nav-text-hover);
  text-transform: capitalize;
}
.homeofself-my-account .homeofself-payment-card__default-badge {
  display: inline-block;
  padding: 0.15rem 0.4rem;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 9999px;
  background: rgba(22, 163, 74, 0.08);
  color: var(--hos-sub-status-active);
  border: 1px solid rgba(22, 163, 74, 0.2);
}
.homeofself-my-account .homeofself-payment-card__number {
  font-size: 1rem;
  font-weight: 500;
  color: var(--homeofself-nav-text-hover);
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}
.homeofself-my-account .homeofself-payment-card__expiry {
  font-size: 0.8125rem;
  color: var(--homeofself-nav-text);
  opacity: 0.8;
}
.homeofself-my-account .homeofself-payment-card__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.homeofself-my-account .homeofself-payment-card__form {
  display: inline;
}
.homeofself-my-account .homeofself-payment-card__btn {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--homeofself-btn-radius);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), border-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-payment-card__btn--default {
  background: transparent;
  color: var(--homeofself-nav-text-hover);
  border: 1px solid var(--homeofself-card-border);
}
.homeofself-my-account .homeofself-payment-card__btn--default:hover,
.homeofself-my-account .homeofself-payment-card__btn--default:focus-visible {
  background: var(--homeofself-card-bg-muted);
  border-color: var(--homeofself-nav-text);
  color: var(--homeofself-nav-text-hover);
  text-decoration: none;
  outline: none;
}
.homeofself-my-account .homeofself-payment-card__btn--delete {
  background: transparent;
  color: var(--homeofself-nav-text);
  border: 1px solid transparent;
  opacity: 0.7;
}
.homeofself-my-account .homeofself-payment-card__btn--delete:hover,
.homeofself-my-account .homeofself-payment-card__btn--delete:focus-visible {
  color: #b91c1c;
  border-color: rgba(185, 28, 28, 0.3);
  background: rgba(185, 28, 28, 0.04);
  opacity: 1;
  outline: none;
}
.homeofself-my-account .homeofself-payment__add {
  margin-top: 1rem;
}
.homeofself-my-account .homeofself-payment__add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--homeofself-nav-link-min-height);
  padding: 0.5rem 1rem;
  border: 1px dashed var(--homeofself-card-border);
  border-radius: var(--hos-sub-card-radius);
  background: transparent;
  color: var(--homeofself-nav-text-hover);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), border-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-payment__add-btn:hover,
.homeofself-my-account .homeofself-payment__add-btn:focus-visible {
  background: var(--homeofself-card-bg-muted);
  border-color: var(--homeofself-nav-text);
  color: var(--homeofself-nav-text-hover);
  text-decoration: none;
  outline: none;
}
.homeofself-my-account {
  /* ===================================================================
     VIEW ORDER (single order details)
     =================================================================== */
}
.homeofself-my-account .homeofself-view-order {
  max-width: 100%;
}
.homeofself-my-account .homeofself-view-order--error {
  padding: 1rem 0;
}
.homeofself-my-account .homeofself-view-order__header {
  margin-bottom: 1.5rem;
}
.homeofself-my-account .homeofself-view-order__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--homeofself-nav-text);
  text-decoration: none;
  transition: color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-view-order__back:hover,
.homeofself-my-account .homeofself-view-order__back:focus-visible {
  color: var(--hos-sub-accent);
  text-decoration: underline;
  outline: none;
}
.homeofself-my-account .homeofself-view-order__back svg {
  flex-shrink: 0;
}
.homeofself-my-account .homeofself-view-order__heading {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--homeofself-nav-text-hover);
  letter-spacing: -0.02em;
}
.homeofself-my-account .homeofself-view-order__content {
  background: var(--homeofself-card-bg);
  border: 1px solid var(--homeofself-card-border);
  border-radius: var(--hos-sub-card-radius);
  padding: 1.5rem;
}
.homeofself-my-account .homeofself-view-order__content > p:first-child {
  margin-top: 0;
  font-size: 0.9375rem;
  color: var(--homeofself-nav-text);
  line-height: 1.5;
}
.homeofself-my-account .homeofself-view-order__content .woocommerce-OrderUpdates,
.homeofself-my-account .homeofself-view-order__content .woocommerce-order-details,
.homeofself-my-account .homeofself-view-order__content .woocommerce-order-details__title {
  margin: 1.25rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--homeofself-nav-text-hover);
}
.homeofself-my-account .homeofself-view-order__content .woocommerce-order-details:first-of-type {
  margin-top: 1.5rem;
}
.homeofself-my-account .homeofself-view-order__content .woocommerce-table--order-details,
.homeofself-my-account .homeofself-view-order__content .shop_table.order_details {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  margin: 0.75rem 0 0;
}
.homeofself-my-account .homeofself-view-order__content .woocommerce-table--order-details th,
.homeofself-my-account .homeofself-view-order__content .shop_table.order_details th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--homeofself-nav-text);
  border-bottom: 1px solid var(--homeofself-card-border);
  background: var(--homeofself-card-bg-muted);
}
.homeofself-my-account .homeofself-view-order__content .woocommerce-table--order-details td,
.homeofself-my-account .homeofself-view-order__content .shop_table.order_details td {
  padding: 0.75rem 1rem;
  color: var(--homeofself-nav-text-hover);
  border-bottom: 1px solid var(--homeofself-card-border);
}
.homeofself-my-account .homeofself-view-order__content .woocommerce-table--order-details tr:last-child td,
.homeofself-my-account .homeofself-view-order__content .shop_table.order_details tr:last-child td {
  border-bottom: none;
}
.homeofself-my-account .homeofself-view-order__content mark {
  background: transparent;
  color: inherit;
  font-weight: 600;
}
.homeofself-my-account .homeofself-view-order__content .woocommerce-OrderUpdate,
.homeofself-my-account .homeofself-view-order__content .commentlist.notes {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}
.homeofself-my-account .homeofself-view-order__content .woocommerce-OrderUpdate-inner {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--homeofself-card-border);
  font-size: 0.9375rem;
  color: var(--homeofself-nav-text);
}
.homeofself-my-account {
  /* ===================================================================
     ADDRESSES LIST (billing + shipping cards)
     =================================================================== */
}
.homeofself-my-account .homeofself-addresses-list__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .homeofself-my-account .homeofself-addresses-list__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.homeofself-my-account .homeofself-address-card {
  background: var(--homeofself-card-bg);
  border: 1px solid var(--homeofself-card-border);
  border-radius: var(--hos-sub-card-radius);
  padding: 1.25rem;
  transition: box-shadow var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.homeofself-my-account .homeofself-address-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.homeofself-my-account .homeofself-address-card__title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--homeofself-nav-text-hover);
}
.homeofself-my-account .homeofself-address-card__content {
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  color: var(--homeofself-nav-text);
  line-height: 1.5;
}
.homeofself-my-account .homeofself-address-card__address {
  font-style: normal;
  white-space: pre-line;
  margin: 0;
}
.homeofself-my-account .homeofself-address-card__empty {
  margin: 0;
  opacity: 0.8;
}
.homeofself-my-account .homeofself-address-card__edit {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hos-sub-accent);
  text-decoration: none;
  transition: color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-address-card__edit:hover,
.homeofself-my-account .homeofself-address-card__edit:focus-visible {
  text-decoration: underline;
  outline: none;
}
.homeofself-my-account {
  /* ===================================================================
     CANCELLATION MODAL
     =================================================================== */
}
.homeofself-my-account .homeofself-cancel-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.homeofself-my-account .homeofself-cancel-modal[hidden] {
  display: none;
}
.homeofself-my-account .homeofself-cancel-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  animation: hosModalFadeIn 0.2s ease;
}
.homeofself-my-account .homeofself-cancel-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 26rem;
  background: var(--homeofself-card-bg);
  border-radius: var(--hos-sub-card-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: hosModalSlideUp 0.25s ease;
}
.homeofself-my-account .homeofself-cancel-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 9999px;
  background: transparent;
  color: var(--homeofself-nav-text);
  cursor: pointer;
  transition: background-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-cancel-modal__close:hover,
.homeofself-my-account .homeofself-cancel-modal__close:focus-visible {
  background: var(--homeofself-card-bg-muted);
  color: var(--homeofself-nav-text-hover);
  outline: none;
}
.homeofself-my-account .homeofself-cancel-modal__icon {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--hos-sub-status-on-hold);
  opacity: 0.9;
}
.homeofself-my-account .homeofself-cancel-modal__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--homeofself-nav-text-hover);
}
.homeofself-my-account .homeofself-cancel-modal__plan {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--homeofself-nav-text-hover);
}
.homeofself-my-account .homeofself-cancel-modal__body {
  margin: 0 0 0.25rem;
  font-size: 0.9375rem;
  color: var(--homeofself-nav-text);
  line-height: 1.5;
}
.homeofself-my-account .homeofself-cancel-modal__date {
  margin: 0 0 0.75rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--homeofself-nav-text-hover);
}
.homeofself-my-account .homeofself-cancel-modal__note {
  margin: 0 0 1.5rem;
  font-size: 0.8125rem;
  color: var(--homeofself-nav-text);
  opacity: 0.8;
  line-height: 1.5;
}
.homeofself-my-account .homeofself-cancel-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.homeofself-my-account .homeofself-cancel-modal__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--homeofself-nav-link-min-height);
  padding: 0.625rem 1.25rem;
  border-radius: var(--homeofself-btn-radius);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), border-color var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease), transform var(--homeofself-sidebar-duration) var(--homeofself-sidebar-ease);
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-cancel-modal__btn--keep {
  background: var(--homeofself-btn-bg);
  color: var(--homeofself-btn-color);
  border: none;
}
.homeofself-my-account .homeofself-cancel-modal__btn--keep:hover,
.homeofself-my-account .homeofself-cancel-modal__btn--keep:focus-visible {
  background: var(--homeofself-btn-bg-hover);
  color: var(--homeofself-btn-color);
  outline: none;
  transform: translateY(-1px);
}
.homeofself-my-account .homeofself-cancel-modal__btn--confirm {
  background: transparent;
  color: #b91c1c;
  border: 1px solid rgba(185, 28, 28, 0.3);
}
.homeofself-my-account .homeofself-cancel-modal__btn--confirm:hover,
.homeofself-my-account .homeofself-cancel-modal__btn--confirm:focus-visible {
  background: rgba(185, 28, 28, 0.06);
  border-color: rgba(185, 28, 28, 0.5);
  color: #991b1b;
  outline: none;
}
@keyframes hosModalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes hosModalSlideUp {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================================================
   DESKTOP (≥992px)
   =================================================================== */
@media (min-width: 992px) {
  .homeofself-my-account .homeofself-subscriptions__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .homeofself-my-account .homeofself-cancel-modal__actions {
    flex-direction: row-reverse;
    justify-content: center;
  }
}
/**
 * Live Studio section – hub, live embed page, past recordings, upcoming list/calendar.
 * Mobile-first; uses dashboard variables. Scoped under .homeofself-my-account.
 * @package HomeOfSelf
 * @since 1.0.0
 */
.homeofself-my-account {
  /* -------------------------------------------------------------------------
     Section shell
     ------------------------------------------------------------------------- */
}
.homeofself-my-account .homeofself-live-studio {
  --homeofself-section-header-accent: var(--homeofself-nav-active-accent);
  --homeofself-live-studio-gap: 1.25rem;
  --homeofself-live-studio-radius: 0.75rem;
  --homeofself-live-studio-status-live: #dc2626;
  --homeofself-live-studio-status-scheduled: #d97706;
  --homeofself-live-studio-status-off: var(--homeofself-sidebar-border);
  --homeofself-live-studio-cta-bg: #e74c3c;
  --homeofself-live-studio-cta-bg-hover: #c0392b;
  --homeofself-live-studio-event-accent: #e74c3c;
  --homeofself-live-studio-event-past: #7c3aed;
}
.homeofself-my-account {
  /* -------------------------------------------------------------------------
     Intro text
     ------------------------------------------------------------------------- */
}
.homeofself-my-account .homeofself-live-studio__intro {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  color: var(--homeofself-nav-text);
  line-height: 1.5;
}
.homeofself-my-account {
  /* -------------------------------------------------------------------------
     CTA: play circle + label
     ------------------------------------------------------------------------- */
}
.homeofself-my-account .homeofself-live-studio__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.5rem 0.5rem 0.5rem;
  margin-bottom: 1.5rem;
  border-radius: var(--homeofself-btn-radius);
  border: none;
  background: var(--homeofself-live-studio-cta-bg);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-live-studio__cta:hover,
.homeofself-my-account .homeofself-live-studio__cta:focus-visible {
  background: var(--homeofself-live-studio-cta-bg-hover);
  color: #fff;
  outline: none;
}
.homeofself-my-account .homeofself-live-studio__cta-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  flex-shrink: 0;
}
.homeofself-my-account .homeofself-live-studio__cta-text {
  white-space: nowrap;
}
.homeofself-my-account {
  /* -------------------------------------------------------------------------
     Countdown
     ------------------------------------------------------------------------- */
}
.homeofself-my-account .homeofself-live-studio__countdown {
  margin: 1rem 0 1.5rem;
  font-size: 0.9375rem;
  color: var(--homeofself-nav-text);
  line-height: 1.5;
}
.homeofself-my-account .homeofself-live-studio__countdown strong {
  color: var(--homeofself-nav-text-hover);
  font-weight: 700;
}
.homeofself-my-account {
  /* -------------------------------------------------------------------------
     Schedule: view tabs (Calendar / Listă)
     ------------------------------------------------------------------------- */
}
.homeofself-my-account .homeofself-live-studio__schedule {
  margin-bottom: 2rem;
}
.homeofself-my-account .homeofself-live-studio__view-tabs {
  display: inline-flex;
  gap: 0;
  margin-bottom: 1.25rem;
  padding: 3px;
  border-radius: var(--homeofself-btn-radius);
  background: var(--homeofself-card-bg-muted);
  border: 1px solid var(--homeofself-card-border);
}
.homeofself-my-account .homeofself-live-studio__view-tab {
  min-height: 2.25rem;
  padding: 0.25rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--homeofself-btn-radius);
  background: transparent;
  color: var(--homeofself-nav-text);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-live-studio__view-tab:hover,
.homeofself-my-account .homeofself-live-studio__view-tab:focus-visible {
  color: var(--homeofself-nav-text-hover);
  outline: none;
}
.homeofself-my-account .homeofself-live-studio__view-tab--active {
  background: #fff;
  color: var(--homeofself-nav-text-hover);
  border-color: var(--homeofself-sidebar-border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.homeofself-my-account .homeofself-live-studio__list-wrap[hidden],
.homeofself-my-account .homeofself-live-studio__calendar-wrap[hidden] {
  display: none;
}
.homeofself-my-account {
  /* -------------------------------------------------------------------------
     Calendar – 7-column grid, mobile-first, no overflow
     ------------------------------------------------------------------------- */
}
.homeofself-my-account .homeofself-calendar {
  margin-bottom: 0.5rem;
  padding: 1rem;
  border-radius: var(--homeofself-live-studio-radius);
  border: 1px solid var(--homeofself-card-border);
  background: var(--homeofself-card-bg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 360px;
}
.homeofself-my-account .homeofself-calendar__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.homeofself-my-account .homeofself-calendar__month-select,
.homeofself-my-account .homeofself-calendar__year-select {
  appearance: auto;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--homeofself-card-border);
  border-radius: 0.375rem;
  background: var(--homeofself-card-bg);
  color: var(--homeofself-nav-text-hover);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}
.homeofself-my-account .homeofself-calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-bottom: 0.25rem;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--homeofself-nav-text);
}
.homeofself-my-account .homeofself-calendar__weekday {
  padding: 0.2rem 0;
}
.homeofself-my-account .homeofself-calendar__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}
.homeofself-my-account .homeofself-calendar__day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--homeofself-card-bg-muted);
  color: var(--homeofself-nav-text-hover);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: default;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.homeofself-my-account .homeofself-calendar__day--current {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-calendar__day--current:hover,
.homeofself-my-account .homeofself-calendar__day--current:focus-visible {
  background: var(--homeofself-nav-bg-hover);
  color: var(--homeofself-nav-text-hover);
  outline: none;
}
.homeofself-my-account {
  /* Upcoming/selected: solid purple fill, white text */
}
.homeofself-my-account .homeofself-calendar__day--has-events:not(.homeofself-calendar__day--past) {
  font-weight: 700;
  color: #fff;
  background: var(--homeofself-live-studio-event-accent);
  box-shadow: 0 1px 3px rgba(231, 76, 60, 0.35);
}
.homeofself-my-account .homeofself-calendar__day--has-events:not(.homeofself-calendar__day--past):hover,
.homeofself-my-account .homeofself-calendar__day--has-events:not(.homeofself-calendar__day--past):focus-visible {
  background: var(--homeofself-live-studio-cta-bg-hover);
  color: #fff;
}
.homeofself-my-account {
  /* Past events: purple outline, light fill, black text */
}
.homeofself-my-account .homeofself-calendar__day--has-events.homeofself-calendar__day--past {
  background: var(--homeofself-card-bg);
  color: var(--homeofself-nav-text-hover);
  border: 2px solid var(--homeofself-live-studio-event-past);
  box-shadow: 0 1px 2px rgba(124, 58, 237, 0.2);
}
.homeofself-my-account .homeofself-calendar__day--has-events.homeofself-calendar__day--past:hover,
.homeofself-my-account .homeofself-calendar__day--has-events.homeofself-calendar__day--past:focus-visible {
  border-color: #6d28d9;
  background: rgba(124, 58, 237, 0.08);
}
.homeofself-my-account .homeofself-calendar__day--current.homeofself-calendar__day--selected {
  background: var(--homeofself-live-studio-event-accent);
  color: #fff;
  border-color: transparent;
}
.homeofself-my-account .homeofself-calendar__day--today:not(.homeofself-calendar__day--has-events) {
  box-shadow: inset 0 0 0 2px var(--homeofself-live-studio-event-past);
  font-weight: 600;
}
.homeofself-my-account .homeofself-calendar__day--other {
  color: var(--homeofself-sidebar-border);
  font-size: 0.75rem;
  background: transparent;
  box-shadow: none;
}
.homeofself-my-account {
  /* Selected event card below calendar */
}
.homeofself-my-account .homeofself-calendar__selected-event {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--homeofself-live-studio-radius);
  background: var(--homeofself-card-bg-muted);
  border: 1px solid var(--homeofself-card-border);
}
.homeofself-my-account .homeofself-calendar__selected-event[hidden] {
  display: none;
}
.homeofself-my-account .homeofself-calendar__selected-event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  min-width: 2.75rem;
  flex-shrink: 0;
}
.homeofself-my-account .homeofself-calendar__selected-event-day {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--homeofself-nav-text-hover);
}
.homeofself-my-account .homeofself-calendar__selected-event-month {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--homeofself-nav-text);
  text-transform: lowercase;
}
.homeofself-my-account .homeofself-calendar__selected-event-title {
  font-size: 0.9375rem;
  color: var(--homeofself-nav-text);
  line-height: 1.4;
}
.homeofself-my-account {
  /* -------------------------------------------------------------------------
     Upcoming list (inside hub)
     ------------------------------------------------------------------------- */
}
.homeofself-my-account .homeofself-live-studio__upcoming-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.homeofself-my-account .homeofself-event-card {
  padding: 1rem;
  border-radius: var(--homeofself-live-studio-radius);
  border: 1px solid var(--homeofself-card-border);
  background: var(--homeofself-card-bg);
}
.homeofself-my-account .homeofself-event-card__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--homeofself-nav-text-hover);
}
.homeofself-my-account .homeofself-event-card__datetime {
  margin: 0 0 0.35rem;
  font-size: 0.875rem;
  color: var(--homeofself-nav-text);
}
.homeofself-my-account .homeofself-event-card__time {
  margin-left: 0.35rem;
}
.homeofself-my-account .homeofself-event-card__description {
  margin: 0;
  font-size: 0.875rem;
  color: var(--homeofself-nav-text);
  line-height: 1.45;
}
.homeofself-my-account .homeofself-event-card__title a {
  color: var(--homeofself-nav-active-accent);
  text-decoration: none;
}
.homeofself-my-account .homeofself-event-card__title a:hover {
  text-decoration: underline;
}
.homeofself-my-account .homeofself-event-card--past {
  opacity: 0.8;
}
.homeofself-my-account {
  /* -------------------------------------------------------------------------
     Past recordings / sesiuni trecute
     ------------------------------------------------------------------------- */
}
.homeofself-my-account .homeofself-live-studio__recordings {
  margin-bottom: 1.75rem;
}
.homeofself-my-account .homeofself-live-studio__subheading {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--homeofself-nav-text-hover);
}
.homeofself-my-account .homeofself-live-studio__recordings-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.homeofself-my-account .homeofself-recording-card {
  border-radius: var(--homeofself-live-studio-radius);
  border: 1px solid var(--homeofself-card-border);
  background: var(--homeofself-card-bg);
  transition: border-color 0.2s ease;
}
.homeofself-my-account .homeofself-recording-card:hover {
  border-color: var(--homeofself-nav-text);
}
.homeofself-my-account .homeofself-recording-card__link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: var(--homeofself-nav-text);
  transition: color 0.2s ease;
}
.homeofself-my-account a.homeofself-recording-card__link:hover,
.homeofself-my-account a.homeofself-recording-card__link:focus-visible {
  color: var(--homeofself-nav-text-hover);
  outline: none;
}
.homeofself-my-account .homeofself-recording-card__link--disabled {
  opacity: 0.6;
  cursor: default;
}
.homeofself-my-account .homeofself-recording-card__play {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 2px solid var(--homeofself-sidebar-border);
  background: transparent;
  color: var(--homeofself-nav-text);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.homeofself-my-account a.homeofself-recording-card__link:hover .homeofself-recording-card__play {
  border-color: var(--homeofself-nav-active-accent);
  color: var(--homeofself-nav-active-accent);
}
.homeofself-my-account .homeofself-recording-card__title {
  font-size: 0.9375rem;
  line-height: 1.4;
}
.homeofself-my-account {
  /* -------------------------------------------------------------------------
     Load more
     ------------------------------------------------------------------------- */
}
.homeofself-my-account .homeofself-live-studio__load-more-wrap {
  margin-top: 1.25rem;
  text-align: center;
}
.homeofself-my-account .homeofself-live-studio__load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--homeofself-nav-link-min-height);
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: var(--homeofself-btn-radius);
  background: var(--homeofself-btn-bg);
  color: var(--homeofself-btn-color);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-live-studio__load-more:hover:not(:disabled),
.homeofself-my-account .homeofself-live-studio__load-more:focus-visible:not(:disabled) {
  background: var(--homeofself-btn-bg-hover);
  color: var(--homeofself-btn-color);
  outline: none;
}
.homeofself-my-account .homeofself-live-studio__load-more:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.homeofself-my-account {
  /* -------------------------------------------------------------------------
     Empty states
     ------------------------------------------------------------------------- */
}
.homeofself-my-account .homeofself-live-studio-empty {
  padding: 1.5rem;
  text-align: center;
  border-radius: var(--homeofself-live-studio-radius);
  background: var(--homeofself-card-bg-muted);
  border: 1px dashed var(--homeofself-card-border);
}
.homeofself-my-account .homeofself-live-studio-empty__message {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--homeofself-nav-text);
  line-height: 1.5;
}
.homeofself-my-account {
  /* -------------------------------------------------------------------------
     Embed page (dedicated live) – full-screen, minimal chrome
     ------------------------------------------------------------------------- */
}
.homeofself-my-account .homeofself-live-studio__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
  color: var(--homeofself-nav-active-accent);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-live-studio__back:hover,
.homeofself-my-account .homeofself-live-studio__back:focus-visible {
  color: var(--homeofself-nav-text-hover);
  outline: none;
}
.homeofself-my-account {
  /* Status dot/label */
}
.homeofself-my-account .homeofself-live-studio__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--homeofself-nav-text);
}
.homeofself-my-account .homeofself-live-studio__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--homeofself-live-studio-status-off);
  transition: background-color 0.2s ease;
}
.homeofself-my-account .homeofself-live-studio__status[data-status=live_now] .homeofself-live-studio__status-dot {
  background: var(--homeofself-live-studio-status-live);
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.3);
}
.homeofself-my-account .homeofself-live-studio__status[data-status=scheduled] .homeofself-live-studio__status-dot {
  background: var(--homeofself-live-studio-status-scheduled);
}
.homeofself-my-account .homeofself-live-studio__status--large .homeofself-live-studio__status-label {
  font-size: 1rem;
}
.homeofself-my-account .homeofself-live-studio__embed-wrap {
  width: 100%;
  border-radius: var(--homeofself-live-studio-radius);
  overflow: hidden;
  background: var(--homeofself-card-bg-muted);
}
.homeofself-my-account .homeofself-live-studio__embed-container,
.homeofself-my-account .homeofself-live-studio__zoom-container {
  position: relative;
  width: 100%;
  min-height: 400px;
  background: #fff;
  border-radius: var(--homeofself-live-studio-radius);
}
.homeofself-my-account .homeofself-live-studio__embed-container {
  padding-bottom: 56.25%;
  height: 0;
}
.homeofself-my-account .homeofself-live-studio__embed-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.homeofself-my-account .homeofself-live-studio__zoom-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.homeofself-my-account .homeofself-live-studio__zoom-loading {
  text-align: center;
  color: var(--homeofself-nav-text);
}
.homeofself-my-account .homeofself-live-studio__zoom-loading-spinner {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--homeofself-sidebar-border);
  border-top-color: var(--homeofself-nav-active-accent);
  border-radius: 50%;
  animation: homeofself-zoom-spin 0.8s linear infinite;
  margin-bottom: 0.75rem;
}
@keyframes homeofself-zoom-spin {
  to {
    transform: rotate(360deg);
  }
}
.homeofself-my-account .homeofself-live-studio__zoom-error {
  color: #dc2626;
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}
.homeofself-my-account .homeofself-live-studio__zoom-error.homeofself-zoom-error--visible {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 1.5rem;
  background: var(--homeofself-sidebar-bg, #f8f9fa);
  color: var(--homeofself-nav-text-hover, #111);
  font-size: 1rem;
  text-align: center;
  box-sizing: border-box;
}
.homeofself-my-account .homeofself-live-studio__zoom-container #meetingSDKElement {
  position: relative;
  width: 100%;
  min-height: 400px;
  height: 70vh;
  max-height: 720px;
  overflow: hidden;
  border-radius: var(--homeofself-live-studio-radius, 0.5rem);
  transform: translateZ(0);
  isolation: isolate;
}
.homeofself-my-account .homeofself-live-studio__zoom-container #meetingSDKElement #zmmtg-root,
.homeofself-my-account .homeofself-live-studio__zoom-container #meetingSDKElement #zmmtg-root.homeofself-zoom-root--embedded,
.homeofself-my-account .homeofself-live-studio__zoom-container #meetingSDKElement .homeofself-zoom-root--embedded {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  overflow: hidden;
}
.homeofself-my-account {
  /* Host video: contain to avoid cropped/zoomed look */
}
.homeofself-my-account .homeofself-live-studio__zoom-container video,
.homeofself-my-account .homeofself-live-studio__zoom-container #meetingSDKElement video,
.homeofself-my-account .homeofself-live-studio__zoom-container #zmmtg-root video {
  object-fit: contain !important;
}
.homeofself-my-account .homeofself-live-studio__zoom-container.homeofself-zoom-embed--fullscreen {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  z-index: 2147483646;
  background: #000;
  border-radius: 0;
  padding: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.homeofself-my-account .homeofself-live-studio__zoom-container.homeofself-zoom-embed--fullscreen #meetingSDKElement {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  border-radius: 0;
}
.homeofself-my-account .homeofself-live-studio__zoom-container.homeofself-zoom-embed--fullscreen video {
  object-fit: contain !important;
}
.homeofself-my-account .homeofself-zoom-embed-exit-fullscreen {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2147483647;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 0.375rem;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-zoom-embed-exit-fullscreen:hover,
.homeofself-my-account .homeofself-zoom-embed-exit-fullscreen:focus-visible {
  background: rgba(0, 0, 0, 0.85);
  outline: none;
}
.homeofself-my-account .homeofself-live-studio__fallback {
  padding: 2rem 1.5rem;
  text-align: center;
}
.homeofself-my-account .homeofself-live-studio__fallback-icon {
  margin-bottom: 1rem;
  color: var(--homeofself-sidebar-border);
}
.homeofself-my-account .homeofself-live-studio__fallback-message {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: var(--homeofself-nav-text);
  line-height: 1.5;
}
.homeofself-my-account .homeofself-live-studio__fallback-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: var(--homeofself-btn-radius);
  border: none;
  background: var(--homeofself-btn-bg);
  color: var(--homeofself-btn-color);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.homeofself-my-account .homeofself-live-studio__fallback-cta:hover,
.homeofself-my-account .homeofself-live-studio__fallback-cta:focus-visible {
  background: var(--homeofself-btn-bg-hover);
  color: var(--homeofself-btn-color);
  outline: none;
}
.homeofself-my-account {
  /* -------------------------------------------------------------------------
     Upcoming page (standalone) – preserved for /upcoming/ sub-page
     ------------------------------------------------------------------------- */
}
.homeofself-my-account .homeofself-live-studio--upcoming .homeofself-calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.homeofself-my-account .homeofself-live-studio--upcoming .homeofself-calendar__month-title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--homeofself-nav-text-hover);
}
.homeofself-my-account .homeofself-calendar__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--homeofself-card-border);
  border-radius: var(--homeofself-btn-radius);
  background: var(--homeofself-card-bg-muted);
  color: var(--homeofself-nav-text);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.homeofself-my-account .homeofself-calendar__nav:hover,
.homeofself-my-account .homeofself-calendar__nav:focus-visible {
  background: var(--homeofself-nav-bg-hover);
  color: var(--homeofself-nav-text-hover);
  outline: none;
}
.homeofself-my-account .homeofself-calendar__list {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--homeofself-live-studio-radius);
  background: var(--homeofself-card-bg-muted);
  border: 1px solid var(--homeofself-card-border);
}
.homeofself-my-account .homeofself-calendar__no-events,
.homeofself-my-account .homeofself-calendar__event-list {
  margin: 0;
  font-size: 0.875rem;
  color: var(--homeofself-nav-text);
}
.homeofself-my-account .homeofself-calendar__event-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.homeofself-my-account .homeofself-calendar__event-list .homeofself-event-card {
  margin: 0;
}

/* Ensure page scroll when live embed is present (counter Zoom SDK overflow:hidden) */
html:has(body.homeofself-my-account .homeofself-live-studio--embed-page),
body.homeofself-my-account:has(.homeofself-live-studio--embed-page) {
  overflow-y: auto !important;
}

/**
 * Lesson page nav: 3-column grid below the video.
 *
 *   [col-1: prev ◄]   [col-2: ↩ back — center]   [col-3: next ►]
 *
 * Uses CSS Grid for a stable 3-column layout that isn't affected by
 * LearnDash's responsive Flexbox overrides on .ld-content-actions.
 *
 * @package HomeOfSelf
 * @since 1.0.0
 */
.learndash_post_sfwd-lessons .learndash-wrapper .ld-breadcrumbs .ld-breadcrumbs-segments li:after,
.learndash_post_sfwd-topic .learndash-wrapper .ld-breadcrumbs .ld-breadcrumbs-segments li:after {
  vertical-align: top;
}
.learndash_post_sfwd-lessons .learndash-wrapper .ld-status,
.learndash_post_sfwd-topic .learndash-wrapper .ld-status {
  margin-bottom: 0;
}
.learndash_post_sfwd-lessons .learndash-wrapper .ld-content-actions.hos-lesson-nav,
.learndash_post_sfwd-topic .learndash-wrapper .ld-content-actions.hos-lesson-nav {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  flex-direction: unset !important;
  flex-wrap: unset !important;
  justify-content: unset !important;
  align-content: unset !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 0.75rem 0 !important;
  margin: 0 !important;
  gap: 0 !important;
  border-top: 1px solid var(--ast-border-color, #e5e7eb) !important;
  clear: both;
  overflow: visible !important;
}
.learndash_post_sfwd-lessons .learndash-wrapper .ld-content-actions.hos-lesson-nav .ld-content-action,
.learndash_post_sfwd-topic .learndash-wrapper .ld-content-actions.hos-lesson-nav .ld-content-action {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center;
  width: auto !important;
  flex: none !important;
  flex-basis: auto !important;
  position: static !important;
  padding: 0 0.5rem !important;
  min-height: 44px;
  box-sizing: border-box;
}
.learndash_post_sfwd-lessons .learndash-wrapper .hos-lesson-nav__cell--prev,
.learndash_post_sfwd-topic .learndash-wrapper .hos-lesson-nav__cell--prev {
  justify-content: flex-start !important;
  padding-left: 0 !important;
}
.learndash_post_sfwd-lessons .learndash-wrapper .hos-lesson-nav__cell--back,
.learndash_post_sfwd-topic .learndash-wrapper .hos-lesson-nav__cell--back {
  justify-content: center !important;
}
.learndash_post_sfwd-lessons .learndash-wrapper .hos-lesson-nav__cell--next,
.learndash_post_sfwd-topic .learndash-wrapper .hos-lesson-nav__cell--next {
  justify-content: flex-end !important;
  padding-right: 0 !important;
}
.learndash_post_sfwd-lessons .learndash-wrapper .hos-lesson-nav .hos-lesson-nav__link,
.learndash_post_sfwd-topic .learndash-wrapper .hos-lesson-nav .hos-lesson-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ast-global-color-3, #374151);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer;
  transition: color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  min-height: 44px;
  white-space: nowrap;
}
.learndash_post_sfwd-lessons .learndash-wrapper .hos-lesson-nav .hos-lesson-nav__link:hover, .learndash_post_sfwd-lessons .learndash-wrapper .hos-lesson-nav .hos-lesson-nav__link:focus-visible,
.learndash_post_sfwd-topic .learndash-wrapper .hos-lesson-nav .hos-lesson-nav__link:hover,
.learndash_post_sfwd-topic .learndash-wrapper .hos-lesson-nav .hos-lesson-nav__link:focus-visible {
  color: var(--ast-global-color-0, #1e1e1e) !important;
  text-decoration: none !important;
  background: transparent !important;
  outline: none;
}
.learndash_post_sfwd-lessons .learndash-wrapper .hos-lesson-nav .hos-lesson-nav__link:active,
.learndash_post_sfwd-topic .learndash-wrapper .hos-lesson-nav .hos-lesson-nav__link:active {
  opacity: 0.75;
}
.learndash_post_sfwd-lessons .learndash-wrapper .hos-lesson-nav__icon,
.learndash_post_sfwd-topic .learndash-wrapper .hos-lesson-nav__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}
.learndash_post_sfwd-lessons .learndash-wrapper .hos-lesson-nav__icon .hos-icon-wrap,
.learndash_post_sfwd-lessons .learndash-wrapper .hos-lesson-nav__icon .hos-icon,
.learndash_post_sfwd-topic .learndash-wrapper .hos-lesson-nav__icon .hos-icon-wrap,
.learndash_post_sfwd-topic .learndash-wrapper .hos-lesson-nav__icon .hos-icon {
  color: inherit;
  display: inline-flex;
  align-items: center;
}
.learndash_post_sfwd-lessons .learndash-wrapper .hos-lesson-nav__icon--prev .hos-icon-wrap,
.learndash_post_sfwd-topic .learndash-wrapper .hos-lesson-nav__icon--prev .hos-icon-wrap {
  transform: rotate(180deg);
}
.learndash_post_sfwd-lessons .learndash-wrapper .hos-lesson-nav__icon--back,
.learndash_post_sfwd-topic .learndash-wrapper .hos-lesson-nav__icon--back {
  width: 18px;
  height: 18px;
  transform: rotate(-90deg);
}
.learndash_post_sfwd-lessons .learndash-wrapper .hos-lesson-nav__icon--next .hos-icon-wrap,
.learndash_post_sfwd-topic .learndash-wrapper .hos-lesson-nav__icon--next .hos-icon-wrap {
  transform: none;
}
.learndash_post_sfwd-lessons .learndash-wrapper .ld-content-actions.hos-lesson-nav .ld-course-step-back,
.learndash_post_sfwd-topic .learndash-wrapper .ld-content-actions.hos-lesson-nav .ld-course-step-back {
  display: inline-flex !important;
  font-size: 0.9375rem !important;
  margin: 0 !important;
  text-align: left !important;
  text-decoration: none !important;
  width: auto !important;
  padding: 0 !important;
}
@media (max-width: 640px) {
  .learndash_post_sfwd-lessons .learndash-wrapper .ld-content-actions.hos-lesson-nav,
  .learndash_post_sfwd-topic .learndash-wrapper .ld-content-actions.hos-lesson-nav {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 0.5rem !important;
    padding: 1rem 0 !important;
  }
  .learndash_post_sfwd-lessons .learndash-wrapper .ld-content-actions.hos-lesson-nav .ld-content-action,
  .learndash_post_sfwd-topic .learndash-wrapper .ld-content-actions.hos-lesson-nav .ld-content-action {
    display: flex !important;
    padding: 0 !important;
    min-height: 44px;
  }
  .learndash_post_sfwd-lessons .learndash-wrapper .hos-lesson-nav__cell--prev,
  .learndash_post_sfwd-topic .learndash-wrapper .hos-lesson-nav__cell--prev {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-start !important;
  }
  .learndash_post_sfwd-lessons .learndash-wrapper .hos-lesson-nav__cell--back,
  .learndash_post_sfwd-topic .learndash-wrapper .hos-lesson-nav__cell--back {
    grid-column: 1/-1;
    grid-row: 2;
    justify-content: center !important;
  }
  .learndash_post_sfwd-lessons .learndash-wrapper .hos-lesson-nav__cell--next,
  .learndash_post_sfwd-topic .learndash-wrapper .hos-lesson-nav__cell--next {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end !important;
  }
  .learndash_post_sfwd-lessons .learndash-wrapper .hos-lesson-nav .hos-lesson-nav__link,
  .learndash_post_sfwd-topic .learndash-wrapper .hos-lesson-nav .hos-lesson-nav__link {
    width: 100%;
    justify-content: center;
    font-size: 0.9375rem;
    white-space: nowrap;
    padding: 0.5rem 0.75rem !important;
    min-height: 44px;
    border-radius: 0.375rem;
    background: rgba(55, 65, 81, 0.08);
    background: color-mix(in srgb, var(--ast-global-color-3, #374151) 8%, transparent);
  }
  .learndash_post_sfwd-lessons .learndash-wrapper .hos-lesson-nav .hos-lesson-nav__link:hover,
  .learndash_post_sfwd-lessons .learndash-wrapper .hos-lesson-nav .hos-lesson-nav__link:focus-visible,
  .learndash_post_sfwd-topic .learndash-wrapper .hos-lesson-nav .hos-lesson-nav__link:hover,
  .learndash_post_sfwd-topic .learndash-wrapper .hos-lesson-nav .hos-lesson-nav__link:focus-visible {
    background: rgba(55, 65, 81, 0.12) !important;
    background: color-mix(in srgb, var(--ast-global-color-3, #374151) 14%, transparent) !important;
  }
}
